diff options
author | 2024-08-12 16:14:13 +0200 | |
---|---|---|
committer | 2024-08-28 11:20:42 +0800 | |
commit | d8ae1cdea3e735ebd2c12f88a81b2f03d2206a46 (patch) | |
tree | 17b531cbbfde0218fdb0f3d9c8467c5c9533c086 | |
parent | ARM: dts: imx1/imx27: Use dma-controller as node name (diff) | |
download | wireguard-linux-d8ae1cdea3e735ebd2c12f88a81b2f03d2206a46.tar.xz wireguard-linux-d8ae1cdea3e735ebd2c12f88a81b2f03d2206a46.zip |
ARM: dts: imx7-mba7: add iio-hwmon support
Enable IIO hwmon support for ADC1 and ADC2. All channels are
available on X23 (ADC2) and X24 (ADC1) of MBa7x.
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index 52869e68f833..775bd3066b87 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -81,6 +81,12 @@ }; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>, + <&adc2 0>, <&adc2 1>, <&adc2 2>, <&adc2 3>; + }; + reg_sd1_vmmc: regulator-sd1-vmmc { compatible = "regulator-fixed"; regulator-name = "VCC3V3_SD1"; |