Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc8e565f authored by Baolin Wang's avatar Baolin Wang Committed by Olof Johansson
Browse files

arm64: dts: sprd: Add SC27XX ADC device



Add the Spreadtrum SC27XX PMICs ADC device node which contains 32 channels.

Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 17a376c0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -65,6 +65,15 @@
			hwlocks = <&hwlock 12>;
		};

		pmic_adc: adc@480 {
			compatible = "sprd,sc27xx-adc", "sprd,sc2731-adc";
			reg = <0x480>;
			interrupt-parent = <&sc2731_pmic>;
			interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
			#io-channel-cells = <1>;
			hwlocks = <&hwlock 4>;
		};

		vibrator@ec8 {
			compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator";
			reg = <0xec8>;