diff options
author | Eddie James <eajames@linux.ibm.com> | 2020-03-30 16:14:30 -0500 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2020-05-05 16:37:16 +0930 |
commit | bf6c99f3aeda127efe54b3d2ede2a98a815a90f6 (patch) | |
tree | bb3515a494d6126a1182fa147decc505a6470fa8 /arch/arm/boot | |
parent | 3208f3a513393aa94c3eaef21c00bbfd003086e1 (diff) | |
download | linux-bf6c99f3aeda127efe54b3d2ede2a98a815a90f6.tar.gz |
ARM: dts: aspeed: tacoma: Add iio-hwmon nodes for IIO devices
Connect the BMP280 and DPS310 to the hwmon subsystem with iio-hwmon
nodes.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts index b7d8b27da161..1526127b27af 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts @@ -142,6 +142,16 @@ linux,code = <7>; }; }; + + iio-hwmon-dps310 { + compatible = "iio-hwmon"; + io-channels = <&dps 0>; + }; + + iio-hwmon-bmp280 { + compatible = "iio-hwmon"; + io-channels = <&bmp 1>; + }; }; &gpio0 { |