diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2020-01-14 16:19:04 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-02-12 15:01:02 +0100 |
commit | 68aaa6aa13756200d3eed46b66e71032d8295983 (patch) | |
tree | 3222af7d0f85ce8b21583214d7ef9c96dd0e6f0f /arch | |
parent | ARM: dts: vf610-zii-ssmb-dtu: Add voltage monitor DT node (diff) | |
download | linux-68aaa6aa13756200d3eed46b66e71032d8295983.tar.xz linux-68aaa6aa13756200d3eed46b66e71032d8295983.zip |
ARM: dts: vf610-zii-spb4: 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 '')
-rw-r--r-- | arch/arm/boot/dts/vf610-zii-spb4.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-spb4.dts b/arch/arm/boot/dts/vf610-zii-spb4.dts index 77e1484211e4..55b4201e27f6 100644 --- a/arch/arm/boot/dts/vf610-zii-spb4.dts +++ b/arch/arm/boot/dts/vf610-zii-spb4.dts @@ -42,6 +42,14 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; + + supply-voltage-monitor { + compatible = "iio-hwmon"; + io-channels = <&adc0 8>, /* 28V_SW */ + <&adc0 9>, /* +3.3V */ + <&adc1 8>, /* VCC_1V5 */ + <&adc1 9>; /* VCC_1V2 */ + }; }; &adc0 { |