ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes

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>
This commit is contained in:
Potin Lai 2025-03-21 15:26:08 +08:00 committed by Andrew Jeffery
parent f2919835b8
commit 8f58b439c4

View File

@ -432,35 +432,11 @@ power-sensor@22 {
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>;
@ -753,27 +729,6 @@ i2c5mux0ch7: i2c@7 {
#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>;
};
};
};
};