diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2020-01-14 18:19:05 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-02-12 17:01:06 +0300 |
commit | 6c92d53d0da22467a6dab2e680607417cf50a2bd (patch) | |
tree | f7d58f898d8fc49dac50035ffc72bd3d944360aa /arch/arm/boot/dts/vf610-zii-dev.dtsi | |
parent | 68aaa6aa13756200d3eed46b66e71032d8295983 (diff) | |
download | linux-6c92d53d0da22467a6dab2e680607417cf50a2bd.tar.xz |
ARM: dts: vf610-zii-dev: 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-dev.dtsi')
-rw-r--r-- | arch/arm/boot/dts/vf610-zii-dev.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-dev.dtsi b/arch/arm/boot/dts/vf610-zii-dev.dtsi index a1b4ccee2a10..95d0060fb56c 100644 --- a/arch/arm/boot/dts/vf610-zii-dev.dtsi +++ b/arch/arm/boot/dts/vf610-zii-dev.dtsi @@ -84,6 +84,14 @@ regulator-boot-on; gpio = <&gpio0 6 0>; }; + + supply-voltage-monitor { + compatible = "iio-hwmon"; + io-channels = <&adc0 8>, /* VCC_1V5 */ + <&adc0 9>, /* VCC_1V8 */ + <&adc1 8>, /* VCC_1V0 */ + <&adc1 9>; /* VCC_1V2 */ + }; }; &adc0 { |