diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-07-23 09:10:19 +0300 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-07-26 09:51:29 +0300 |
commit | fc8e565f201853c22dfc75c873db9108488111bc (patch) | |
tree | cbb8ae217ee63a9b09ce12a9a78266d6828a9be2 /arch/arm64/boot/dts/sprd | |
parent | 17a376c0b53a18975c71ebfc7cee71c3760de913 (diff) | |
download | linux-fc8e565f201853c22dfc75c873db9108488111bc.tar.xz |
arm64: dts: sprd: Add SC27XX ADC device
Add the Spreadtrum SC27XX PMICs ADC device node which contains 32 channels.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm64/boot/dts/sprd')
-rw-r--r-- | arch/arm64/boot/dts/sprd/sc2731.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index fc68076b8746..82bd642d770b 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -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>; |