aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSvyatoslav Ryhel <clamor95@gmail.com>2024-08-06 15:39:01 +0300
committerThierry Reding <treding@nvidia.com>2024-08-29 17:16:28 +0200
commitc79e35e6067fae709ba8c986d222704cd03fef68 (patch)
treefda341282b6dc3a4ad6751f51b650c94b50d13f2
parentARM: tegra: tf701t: Add Bluetooth node (diff)
downloadwireguard-linux-c79e35e6067fae709ba8c986d222704cd03fef68.tar.xz
wireguard-linux-c79e35e6067fae709ba8c986d222704cd03fef68.zip
ARM: tegra: tf701t: Adjust sensors nodes
Complete and adjust magnetometer, thermal sensor, motion tracker, power and light sensors according to available sources. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts21
1 files changed, 18 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts b/arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts
index a5b236da64ee..6618529fda02 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts
+++ b/arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts
@@ -1250,7 +1250,14 @@
compatible = "asahi-kasei,ak09911";
reg = <0xc>;
- vdd-supply = <&vdd_3v3_sys>;
+ /* no DRDY (polling) */
+
+ vdd-supply = <&vdd_2v85_sen>;
+ vid-supply = <&vdd_1v8_vio>;
+
+ mount-matrix = "0", "1", "0",
+ "1", "0", "0",
+ "0", "0","-1";
};
rt5639: audio-codec@1c {
@@ -1267,7 +1274,10 @@
compatible = "onnn,nct1008";
reg = <0x4c>;
- vcc-supply = <&vdd_3v3_sys>;
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_EDGE_FALLING>;
+
+ vcc-supply = <&vdd_1v8_vio>;
#thermal-sensor-cells = <1>;
};
@@ -1278,6 +1288,9 @@
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(R, 3) IRQ_TYPE_LEVEL_HIGH>;
+ vdd-supply = <&vdd_2v85_sen>;
+ vddio-supply = <&vdd_1v8_vio>;
+
mount-matrix = "0", "-1", "0",
"1", "0", "0",
"0", "0", "1";
@@ -1291,6 +1304,8 @@
power-sensor@44 {
compatible = "ti,ina230";
reg = <0x44>;
+
+ shunt-resistor = <5000>;
};
};
@@ -1302,7 +1317,7 @@
compatible = "dynaimage,al3320a";
reg = <0x1c>;
- vdd-supply = <&vdd_3v3_sys>;
+ vdd-supply = <&vdd_1v8_vio>;
};
};