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

[PATCH 08/11] arm64: tegra: Enable current monitors on P3310

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

From: Thierry Reding <redacted>

The P3310 processor module contains two current monitors that can be
used to determine the current flow across various parts of the board
design.

Signed-off-by: Thierry Reding <redacted>
---
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
index b18e166527d8..a1cb6b35314e 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
@@ -56,6 +56,16 @@
 
 	i2c at 3160000 {
 		status = "okay";
+
+		power-monitor at 40 {
+			compatible = "ti,ina3221";
+			reg = <0x40>;
+		};
+
+		power-monitor at 41 {
+			compatible = "ti,ina3221";
+			reg = <0x41>;
+		};
 	};
 
 	i2c at 3180000 {
-- 
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