projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b5ea9
)
ARM: dts: Add node for ina220 on LS1021ATWR
author
Yuan Yao
<yao.yuan@freescale.com>
Wed, 16 Sep 2015 08:20:43 +0000
(16:20 +0800)
committer
Shawn Guo
<shawnguo@kernel.org>
Mon, 19 Oct 2015 14:45:17 +0000
(22:45 +0800)
The INA220 monitors both shunt drop and supply voltage.
Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/ls1021a-twr.dts
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/boot/dts/ls1021a-twr.dts
b/arch/arm/boot/dts/ls1021a-twr.dts
index e008f9367510dc6274693f849fe24ed09d7cffa0..fbb89d13401ea34e3b45198a062e06b230322e41 100644
(file)
--- a/
arch/arm/boot/dts/ls1021a-twr.dts
+++ b/
arch/arm/boot/dts/ls1021a-twr.dts
@@
-144,6
+144,19
@@
&i2c0 {
status = "okay";
+
+ ina220@40 {
+ compatible = "ti,ina220";
+ reg = <0x40>;
+ shunt-resistor = <1000>;
+ };
+
+ ina220@41 {
+ compatible = "ti,ina220";
+ reg = <0x41>;
+ shunt-resistor = <1000>;
+ };
+
};
&i2c1 {