Thread (32 messages) 32 messages, 2 authors, 2017-03-08
STALE3379d

[PATCH 10/11] arm64: tegra: Add power monitors on P2771

From: Thierry Reding <hidden>
Date: 2017-02-23 17:30:52
Also in: linux-tegra
Subsystem: the rest · Maintainer: Linus Torvalds

From: Thierry Reding <redacted>

The P2771 development board comes with two power monitors that can be
used to determine power consumption in different parts of the board.

Signed-off-by: Thierry Reding <redacted>
---
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index 1c195d71806d..9485841e3351 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -8,6 +8,18 @@
 	model = "NVIDIA Tegra186 P2771-0000 Development Board";
 	compatible = "nvidia,p2771-0000", "nvidia,tegra186";
 
+	i2c at 3160000 {
+		power-monitor at 42 {
+			compatible = "ti,ina3221";
+			reg = <0x42>;
+		};
+
+		power-monitor at 43 {
+			compatible = "ti,ina3221";
+			reg = <0x43>;
+		};
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 
-- 
2.11.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help