[U-Boot] [PATCH 4/4] arm: exynos: Remove duplicated "boardname" env setting

2019-02-22 Thread Krzysztof Kozlowski
Various places in the code set "boardname" env property. It was used for booting from ITB images and choosing proper DTB file name. Instead of duplicating it, use existing U-Boot wide - "board_name". Signed-off-by: Krzysztof Kozlowski --- Tested only on Odroid XU3. T

[U-Boot] [PATCH 1/4] arm: exynos: arndale: Replace Chander Kashyap inactive maintainer

2019-02-22 Thread Krzysztof Kozlowski
Last activity from Arndale (Exynos5250) board maintainer Chander Kashyap was in January 2014 (Signed-off). Recently his samsung.com email bounces with 550 (5.1.1 Recipient address rejected: User unknown). Add Krzysztof Kozlowski as odd fixer for this board. Signed-off-by: Krzysztof Kozlowski

Re: [U-Boot] [PATCH] ARM: Odroid XU3: Enable driver I2C support for OdroidXU3

2019-02-25 Thread Krzysztof Kozlowski
On Sun, 24 Feb 2019 at 13:41, Anand Moon wrote: > > This commit enables support for I2C S3C424X0 driver. > > Signed-off-by: Anand Moon > --- > > ODROID-XU3 # i2c bus > Bus 0: i2c@12C6 > Bus 1: i2c@12C7 > Bus 2: i2c@12C8 > Bus 3: i2c@12C9 > Bus 4: i2c@12CA (active 4) >

Re: [U-Boot] [PATCH v3 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-05 Thread Krzysztof Kozlowski
On Tue, 5 Mar 2019 at 11:16, Minkyu Kang wrote: > > Dear Krzysztof Kozlowski, > > On 24/02/2019 21:55, Anand Moon wrote: > > Hi Krzysztof, > > > > Please add my. on Odroid HC1 > > > > Tested-by: Anand Moon > > > > Best Regards > > -Ana

[U-Boot] [PATCH v4 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-05 Thread Krzysztof Kozlowski
Lite and Odroid HC1. Comments and testing are welcomed. Best regards, Krzysztof Krzysztof Kozlowski (9): adc: exynos-adc: Fix wrong bit operation used to stop the ADC power: regulator: s2mps11: Fix step for LDO27 and LDO35 arm: exynos: Detect revision later, when all resources are read

[U-Boot] [PATCH v4 1/9] adc: exynos-adc: Fix wrong bit operation used to stop the ADC

2019-03-05 Thread Krzysztof Kozlowski
When stopping the ADC_V2_CON1_STC_EN should be cleared. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- drivers/adc/exynos-adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/adc/exynos-adc.c b/drivers/adc/exynos-adc.c

[U-Boot] [PATCH v4 2/9] power: regulator: s2mps11: Fix step for LDO27 and LDO35

2019-03-05 Thread Krzysztof Kozlowski
LDO27 and LDO35 have 25 mV step, not 50 mV. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- drivers/power/regulator/s2mps11_regulator.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/power/regulator/s2mps11_regulator.c b/drivers

[U-Boot] [PATCH v4 4/9] arm: exynos: odroid-xu3: Display info late to have proper type

2019-03-05 Thread Krzysztof Kozlowski
Printing the "Type" of board requires proper detection of revision which can happen only late because regulators are needed. Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- board/samsung/common/board.c | 2 +- configs/odroid-xu3_defconfig | 2 ++ 2 files changed, 3

[U-Boot] [PATCH v4 3/9] arm: exynos: Detect revision later, when all resources are ready

2019-03-05 Thread Krzysztof Kozlowski
LDO4 regulator. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- board/samsung/common/board.c| 22 +- board/samsung/common/exynos5-dt-types.c | 16 +--- board/samsung/odroid/odroid.c | 8 in

[U-Boot] [PATCH v4 8/9] arm: dts: exynos: Add supply for ADC block to Odroid XU3 family

2019-03-05 Thread Krzysztof Kozlowski
The ADC block requires VDD supply to be on so provide one. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- arch/arm/dts/exynos5422-odroidxu3.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/arm/dts

[U-Boot] [PATCH v4 5/9] arm: exynos: Wait till ADC stabilizes before checking Odroid HC1 revision

2019-03-05 Thread Krzysztof Kozlowski
reads on Odroid HC1 return 305, 1207, 1297 and finally 1308 (reference value is 1309). Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- board/samsung/common/exynos5-dt-types.c | 38 - 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/board/samsung

[U-Boot] [PATCH v4 6/9] regulator: Add support for ramp delay

2019-03-05 Thread Krzysztof Kozlowski
Changing voltage and enabling regulator might require delays so the regulator stabilizes at expected level. Add support for "regulator-ramp-delay" binding which can introduce required time to both enabling the regulator and to changing the voltage. Signed-off-by: Krzysztof Kozlowski

[U-Boot] [PATCH v4 7/9] power: regulator: s2mps11: Add enable delay

2019-03-05 Thread Krzysztof Kozlowski
According to datasheet, the output on LDO regulators will start appearing after 10-15 us. Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- drivers/power/regulator/s2mps11_regulator.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/power

[U-Boot] [PATCH v4 9/9] arm: dts: exynos: Add ramp delay property to LDO regulators to Odroid XU3 family

2019-03-05 Thread Krzysztof Kozlowski
after changing it. Although the proper value of ramp delay for LDOs is unknown, it seems safer to use at least some value from reference kernel than to leave it unset. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- arch/arm/dts/exynos5422-odroidxu3.dts

Re: [U-Boot] [PATCH v4 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-05 Thread Krzysztof Kozlowski
On Wed, 6 Mar 2019 at 08:03, Minkyu Kang wrote: > > Dear Krzysztof Kozlowski, > > On 06/03/2019 04:57, Krzysztof Kozlowski wrote: > > Hi, > > > > Changes since v3 > > > > 1. Add accumulated review and test tags. > > 2. Patch 6:

[U-Boot] [PATCH] arm: exynos: odroid: Fix build if BOARD_TYPES are not set

2019-03-06 Thread Krzysztof Kozlowski
: In function 'board_usb_init': board/samsung/odroid/odroid.c:473:8: error: 'gd_t' {aka 'volatile struct global_data'} has no member named 'board_type' if (gd->board_type == ODROID_TYPE_U3) ^~ Signed-off-by: Krzysztof Kozlows

[U-Boot] [PATCH v5 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-06 Thread Krzysztof Kozlowski
initialized), 2. Turning VDD_ADC should wait with ramp delay, 3. Reading the value from ADC should wait for it to stabilize. Tested on Odroid XU3-Lite and Odroid HC1. Comments and testing are welcomed. Best regards, Krzysztof Krzysztof Kozlowski (9): adc: exynos-adc: Fix wrong bit operation used

[U-Boot] [PATCH v5 1/9] adc: exynos-adc: Fix wrong bit operation used to stop the ADC

2019-03-06 Thread Krzysztof Kozlowski
When stopping the ADC_V2_CON1_STC_EN should be cleared. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- drivers/adc/exynos-adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/adc/exynos-adc.c b/drivers/adc/exynos-adc.c

[U-Boot] [PATCH v5 3/9] arm: exynos: Detect revision later, when all resources are ready

2019-03-06 Thread Krzysztof Kozlowski
LDO4 regulator. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- board/samsung/common/board.c| 23 ++- board/samsung/common/exynos5-dt-types.c | 16 +--- board/samsung/odroid/odroid.c | 8 in

[U-Boot] [PATCH v5 4/9] arm: exynos: odroid-xu3: Display info late to have proper type

2019-03-06 Thread Krzysztof Kozlowski
Printing the "Type" of board requires proper detection of revision which can happen only late because regulators are needed. Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- board/samsung/common/board.c | 2 +- configs/odroid-xu3_defconfig | 2 ++ 2 files changed, 3

[U-Boot] [PATCH v5 6/9] regulator: Add support for ramp delay

2019-03-06 Thread Krzysztof Kozlowski
Changing voltage and enabling regulator might require delays so the regulator stabilizes at expected level. Add support for "regulator-ramp-delay" binding which can introduce required time to both enabling the regulator and to changing the voltage. Signed-off-by: Krzysztof Kozlowski

[U-Boot] [PATCH v5 2/9] power: regulator: s2mps11: Fix step for LDO27 and LDO35

2019-03-06 Thread Krzysztof Kozlowski
LDO27 and LDO35 have 25 mV step, not 50 mV. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- drivers/power/regulator/s2mps11_regulator.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/power/regulator/s2mps11_regulator.c b/drivers

[U-Boot] [PATCH v5 8/9] arm: dts: exynos: Add supply for ADC block to Odroid XU3 family

2019-03-06 Thread Krzysztof Kozlowski
The ADC block requires VDD supply to be on so provide one. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- arch/arm/dts/exynos5422-odroidxu3.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/arm/dts

[U-Boot] [PATCH v5 7/9] power: regulator: s2mps11: Add enable delay

2019-03-06 Thread Krzysztof Kozlowski
According to datasheet, the output on LDO regulators will start appearing after 10-15 us. Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- drivers/power/regulator/s2mps11_regulator.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/power

[U-Boot] [PATCH v5 5/9] arm: exynos: Wait till ADC stabilizes before checking Odroid HC1 revision

2019-03-06 Thread Krzysztof Kozlowski
reads on Odroid HC1 return 305, 1207, 1297 and finally 1308 (reference value is 1309). Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- board/samsung/common/exynos5-dt-types.c | 38 - 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/board/samsung

[U-Boot] [PATCH v5 9/9] arm: dts: exynos: Add ramp delay property to LDO regulators to Odroid XU3 family

2019-03-06 Thread Krzysztof Kozlowski
after changing it. Although the proper value of ramp delay for LDOs is unknown, it seems safer to use at least some value from reference kernel than to leave it unset. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- arch/arm/dts/exynos5422-odroidxu3.dts

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-03-27 Thread Krzysztof Kozlowski
On 14/03/2025 19:59, Christian Marangi wrote: > Drop NUM_CLOCKS define for EN7581 dts/upstream/src/include. This is not a > binding and > should not be placed here. Value is derived internally in the user > driver. > > Signed-off-by: Christian Marangi > Acked-by: Krzysz

Re: [PATCH v2 6/6] dt-bindings: clock: add ID for eMMC for EN7581

2025-03-27 Thread Krzysztof Kozlowski
On 14/03/2025 19:59, Christian Marangi wrote: > Add ID for eMMC for EN7581. This is to control clock selection of eMMC > between 200MHz and 150MHz. > > Signed-off-by: Christian Marangi > Acked-by: Conor Dooley > Link: https://lore.kernel.org/r/20250113231030.6735-4-ansuels...@gmail.com > Signed-

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-03-27 Thread Krzysztof Kozlowski
On 27/03/2025 15:50, Christian Marangi wrote: > On Thu, Mar 27, 2025 at 03:43:47PM +0100, Krzysztof Kozlowski wrote: >> On 14/03/2025 19:59, Christian Marangi wrote: >>> Drop NUM_CLOCKS define for EN7581 dts/upstream/src/include. This is not a >>> binding and >>&

<    1   2