]> www.infradead.org Git - linux.git/commitdiff
ARM: tegra: tf701t: Adjust sensors nodes
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 6 Aug 2024 12:39:01 +0000 (15:39 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Aug 2024 15:16:28 +0000 (17:16 +0200)
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>
arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts

index a5b236da64ee9f0f62ff4c1537c19ec9bf347afa..6618529fda0275129989e6f8366da66d81c83dd4 100644 (file)
                        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 {
                        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>;
                };
 
                        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";
                power-sensor@44 {
                        compatible = "ti,ina230";
                        reg = <0x44>;
+
+                       shunt-resistor = <5000>;
                };
        };
 
                        compatible = "dynaimage,al3320a";
                        reg = <0x1c>;
 
-                       vdd-supply = <&vdd_3v3_sys>;
+                       vdd-supply = <&vdd_1v8_vio>;
                };
        };