[PATCH] rockchip: boot_mode: find the saradc device name

2020-01-25 Thread Hugh Cole-Baker
adc_channel_single_shot() requires the full device name e.g. "saradc@ff10", which differs between Rockchip SoC's, but they all share the prefix "saradc"; find the ADC device with this name prefix and use its full name. Signed-off-by: Hugh Cole-Baker --- I previously sent this on Jan. 11 as an

[RFC PATCH] rockchip: boot_mode: find the saradc device name

2020-01-11 Thread Hugh Cole-Baker
adc_channel_single_shot() requires the full device name e.g. "saradc@ff10", which differs between Rockchip SoC's, but they all share the prefix "saradc"; find the ADC device with this name prefix and use its full name. Signed-off-by: Hugh Cole-Baker --- I'd noticed a "rockchip_dnl_key_pressed

Re: [PATCH] rockchip: boot_mode: find the saradc device name

2020-01-29 Thread Kever Yang
On 2020/1/26 上午12:19, Hugh Cole-Baker wrote: adc_channel_single_shot() requires the full device name e.g. "saradc@ff10", which differs between Rockchip SoC's, but they all share the prefix "saradc"; find the ADC device with this name prefix and use its full name. Signed-off-by: Hugh Cole-B