Message ID | 20220424082159.757622-6-adeep@lexina.in |
---|---|
State | Accepted |
Commit | ee8094f69646825d2c30b8bb9082e976f023f710 |
Delegated to: | Neil Armstrong |
Headers | show |
Series | meson: add clk and adc support for JetHub D1 (j100) | expand |
On 24/04/2022 10:21, Vyacheslav Bocharov wrote: > Prepare to use ADC channel 1 to check the hardware revision of the board: > - add u-boot dts include with saradc node > > Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> > --- > arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > create mode 100644 arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi > > diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi > new file mode 100644 > index 0000000000..3ecb233f8e > --- /dev/null > +++ b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi > @@ -0,0 +1,10 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2022 Vyacheslav Bocharov <adeep@lexina.in> > + * Author: Vyacheslav Bocharov <adeep@lexina.in> > + */ > + > +&saradc { > + status = "okay"; > + vref-supply = <&vddio_ao18>; > +}; Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi new file mode 100644 index 0000000000..3ecb233f8e --- /dev/null +++ b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Vyacheslav Bocharov <adeep@lexina.in> + * Author: Vyacheslav Bocharov <adeep@lexina.in> + */ + +&saradc { + status = "okay"; + vref-supply = <&vddio_ao18>; +};
Prepare to use ADC channel 1 to check the hardware revision of the board: - add u-boot dts include with saradc node Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> --- arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi