From: Quentin Schulz Date: Mon, 19 Feb 2018 12:47:27 +0000 (+0100) Subject: ARM: dtsi: axp81x: add node for ADC X-Git-Tag: v5.15~9103^2~17^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca6ca2cd212dcdf6ea8c36c4464b94e3b492a685;p=platform%2Fkernel%2Flinux-starfive.git ARM: dtsi: axp81x: add node for ADC This adds a DT node for the ADC of the PMIC so that there can be consumers of its IIO channels declaring their consumptions via DT. Signed-off-by: Quentin Schulz Acked-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi index fd55b89..6b5e7bc 100644 --- a/arch/arm/boot/dts/axp81x.dtsi +++ b/arch/arm/boot/dts/axp81x.dtsi @@ -48,6 +48,11 @@ interrupt-controller; #interrupt-cells = <1>; + axp_adc: adc { + compatible = "x-powers,axp813-adc"; + #io-channel-cells = <1>; + }; + axp_gpio: axp-gpio { compatible = "x-powers,axp813-gpio"; gpio-controller;