projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a6b8a4
)
powerpc/t1023rdb: add ina220 current sensor node
author
Shengzhou Liu
<Shengzhou.Liu@freescale.com>
Tue, 7 Jul 2015 06:17:41 +0000
(14:17 +0800)
committer
Scott Wood
<scottwood@freescale.com>
Sat, 8 Aug 2015 03:59:32 +0000
(22:59 -0500)
Add support for INA220 current sensor.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/boot/dts/t1023rdb.dts
patch
|
blob
|
history
diff --git
a/arch/powerpc/boot/dts/t1023rdb.dts
b/arch/powerpc/boot/dts/t1023rdb.dts
index 06b090aba0662aba3f0c663498e2bcd5dce0dc44..aa50885b9212ab15fa21319a2654d573a95ae962 100644
(file)
--- a/
arch/powerpc/boot/dts/t1023rdb.dts
+++ b/
arch/powerpc/boot/dts/t1023rdb.dts
@@
-99,6
+99,17
@@
};
i2c@118100 {
+ current-sensor@40 {
+ compatible = "ti,ina220";
+ reg = <0x40>;
+ shunt-resistor = <1000>;
+ };
+
+ current-sensor@41 {
+ compatible = "ti,ina220";
+ reg = <0x41>;
+ shunt-resistor = <1000>;
+ };
};
};