summaryrefslogtreecommitdiff
path: root/board/grinn
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-03-06 19:37:53 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2019-03-11 15:53:19 +0900
commitfce86100606d14e53517a3601849646e69715465 (patch)
treee173fc703b4529c71c71aede601cceab823743e7 /board/grinn
parent345a53685f7dc7a8da8fbc1be596c02c7209bfbf (diff)
downloadu-boot-fce86100606d14e53517a3601849646e69715465.tar.gz
arm: exynos: Wait till ADC stabilizes before checking Odroid HC1 revision
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 use delay of 5 milliseconds instead of timers-based loop to wait for voltage stabilization. First reads on Odroid HC1 return 305, 1207, 1297 and finally 1308 (reference value is 1309). Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/grinn')
0 files changed, 0 insertions, 0 deletions