]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes
authorPotin Lai <potin.lai.pt@gmail.com>
Fri, 21 Mar 2025 07:26:08 +0000 (15:26 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Wed, 11 Jun 2025 04:19:18 +0000 (13:49 +0930)
Remove INA238 and INA230 power sensor nodes from the device tree (DTS) due
to incompatibility with the second-source ISL28022, which shares the same
I2C address.

Move the driver probe to userspace to handle sensor dynamically.

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Link: https://patch.msgid.link/20250321-potin-catalina-dts-update-20250102-v6-7-4bd85efeb9b4@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts

index 306931c08cb0ae80abf69d046c5927f50be82ddb..6702be32918ec119a1d7114cc58f5d94491e3ea1 100644 (file)
                                compatible = "mps,mp5990";
                                reg = <0x22>;
                        };
-                       power-sensor@41 {
-                               compatible = "ti,ina238";
-                               reg = <0x41>;
-                               shunt-resistor = <500>;
-                       };
-                       power-sensor@42 {
-                               compatible = "ti,ina238";
-                               reg = <0x42>;
-                               shunt-resistor = <500>;
-                       };
-                       power-sensor@44 {
-                               compatible = "ti,ina238";
-                               reg = <0x44>;
-                               shunt-resistor = <500>;
-                       };
                };
                i2c1mux0ch1: i2c@1 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0x1>;
-
-                       power-sensor@41 {
-                               compatible = "ti,ina238";
-                               reg = <0x41>;
-                       };
-                       power-sensor@43 {
-                               compatible = "ti,ina238";
-                               reg = <0x43>;
-                       };
                };
                i2c1mux0ch2: i2c@2 {
                        #address-cells = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <7>;
-
-                       power-sensor@40 {
-                               compatible = "ti,ina230";
-                               reg = <0x40>;
-                               shunt-resistor = <2000>;
-                       };
-                       power-sensor@41 {
-                               compatible = "ti,ina230";
-                               reg = <0x41>;
-                               shunt-resistor = <2000>;
-                       };
-                       power-sensor@44 {
-                               compatible = "ti,ina230";
-                               reg = <0x44>;
-                               shunt-resistor = <2000>;
-                       };
-                       power-sensor@45 {
-                               compatible = "ti,ina230";
-                               reg = <0x45>;
-                               shunt-resistor = <2000>;
-                       };
                };
        };
 };