projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3208f3a
)
ARM: dts: aspeed: tacoma: Add iio-hwmon nodes for IIO devices
author
Eddie James
<eajames@linux.ibm.com>
Mon, 30 Mar 2020 21:14:30 +0000
(16:14 -0500)
committer
Joel Stanley
<joel@jms.id.au>
Tue, 5 May 2020 07:07:16 +0000
(16:37 +0930)
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>
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
patch
|
blob
|
history
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
(file)
--- 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 {