diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2020-01-14 16:19:02 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-02-12 14:59:35 +0100 |
commit | 8ba92585075cb7894cacf2728ec87bab0f6b37c2 (patch) | |
tree | dc3717734f57d788032b3b4ae4ed0e62ece12d84 /arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts | |
parent | ARM: mxs: Enable usbphy1 and usb1 on apx4devkit DTS (diff) | |
download | linux-8ba92585075cb7894cacf2728ec87bab0f6b37c2.tar.xz linux-8ba92585075cb7894cacf2728ec87bab0f6b37c2.zip |
ARM: dts: vf610-zii-ssmb-spu3: Add voltage monitor DT node
Add a DT node for various voltage supply rails connected to SoC's ADC
for voltage monitoring purposes.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts')
-rw-r--r-- | arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts b/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts index 453fce80f858..3d05c894bdc0 100644 --- a/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts +++ b/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts @@ -46,6 +46,14 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; + + supply-voltage-monitor { + compatible = "iio-hwmon"; + io-channels = <&adc0 8>, /* 12V_MAIN */ + <&adc0 9>, /* +3.3V */ + <&adc1 8>, /* VCC_1V5 */ + <&adc1 9>; /* VCC_1V2 */ + }; }; &adc0 { |