From: Eddie James Date: Mon, 30 Mar 2020 21:14:30 +0000 (-0500) Subject: ARM: dts: aspeed: tacoma: Add iio-hwmon nodes for IIO devices X-Git-Tag: v5.10.7~2441^2~48^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf6c99f3aeda127efe54b3d2ede2a98a815a90f6;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Joel Stanley --- diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts index b7d8b27..1526127 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 {