[PATCH v2 5/6] board: amlogic: jethub j100: enable saradc in dts

Vyacheslav adeep at lexina.in
Sat Apr 23 09:06:15 CEST 2022



22.04.2022 16:26, Neil Armstrong wrote:
> On 22/04/2022 07:29, Vyacheslav Bocharov wrote:
>> Prepare to use ADC channel 1 to check the hardware revision of the board.
>>
>> Signed-off-by: Vyacheslav Bocharov <adeep at lexina.in>
>> ---
>>   arch/arm/dts/meson-axg-jethome-jethub-j100.dts | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100.dts 
>> b/arch/arm/dts/meson-axg-jethome-jethub-j100.dts
>> index 5783732dc6..00a0b268af 100644
>> --- a/arch/arm/dts/meson-axg-jethome-jethub-j100.dts
>> +++ b/arch/arm/dts/meson-axg-jethome-jethub-j100.dts
>> @@ -359,3 +359,8 @@
>>   &cpu3 {
>>       #cooling-cells = <2>;
>>   };
>> +
>> +&saradc {
>> +    status = "okay";
>> +    vref-supply = <&vddio_ao18>;
>> +};
> 
> Please move this in a -u-boot.dtsi file to keep the main DT in sync with 
> Linux.

Thanks. Anyway, I will submit patch to the kernel later.

> Neil


More information about the U-Boot mailing list