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

2019-02-17 Thread Lukasz Majewski
Hi Krzysztof, > On Fri, Feb 15, 2019 at 08:15:45AM +0100, Lukasz Majewski wrote: > > On Wed, 13 Feb 2019 17:46:44 +0100 > > Krzysztof Kozlowski wrote: > > > > > Fix detection of Odroid HC1 (Exynos5422) after reboot if kernel > > > disabled the LDO4/VDD_ADC regulator. > > > > > > The LDO4 supp

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

2019-02-16 Thread Krzysztof Kozlowski
On Fri, Feb 15, 2019 at 08:15:45AM +0100, Lukasz Majewski wrote: > On Wed, 13 Feb 2019 17:46:44 +0100 > Krzysztof Kozlowski wrote: > > > Fix detection of Odroid HC1 (Exynos5422) after reboot if kernel > > disabled the LDO4/VDD_ADC regulator. > > > > The LDO4 supplies both ADC block and the ADC i

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

2019-02-15 Thread Krzysztof Kozlowski
On Fri, 15 Feb 2019 at 08:16, Lukasz Majewski wrote: > > On Wed, 13 Feb 2019 17:46:44 +0100 > Krzysztof Kozlowski wrote: > > > Fix detection of Odroid HC1 (Exynos5422) after reboot if kernel > > disabled the LDO4/VDD_ADC regulator. > > > > The LDO4 supplies both ADC block and the ADC input AIN9.

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

2019-02-14 Thread Lukasz Majewski
On Wed, 13 Feb 2019 17:46:44 +0100 Krzysztof Kozlowski wrote: > Fix detection of Odroid HC1 (Exynos5422) after reboot if kernel > disabled the LDO4/VDD_ADC regulator. > > The LDO4 supplies both ADC block and the ADC input AIN9. Voltage on > AIN9 will rise slowly, so be patient and wait for it t

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

2019-02-13 Thread Krzysztof Kozlowski
Fix detection of Odroid HC1 (Exynos5422) after reboot if kernel disabled the LDO4/VDD_ADC regulator. The LDO4 supplies both ADC block and the ADC input AIN9. Voltage on AIN9 will rise slowly, so be patient and wait for it to stabilize. First reads on Odroid HC1 return 305, 1207, 1297 and finally