[U-Boot] [U-Boot, 1/3] rockchip: boot mode: parse adc channel from dts

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Nov 28 09:45:23 UTC 2017


> Most the current rockchip based boards use adc channel
> 1 detect the download key, but there are also some
> boards like rv1108 based plaform use adc channel 0.
> So we parse the adc channel from dts if we can get
> it, otherwise we use the channel 1 as default.
> 
> Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
> ---
> 
>  arch/arm/mach-rockchip/boot_mode.c | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> 

Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>


More information about the U-Boot mailing list