[PATCH v6 07/10] ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes
Potin Lai
potin.lai.pt at gmail.com
Fri Mar 21 18:26:08 AEDT 2025
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 at gmail.com>
---
.../dts/aspeed/aspeed-bmc-facebook-catalina.dts | 45 ----------------------
1 file changed, 45 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index 306931c08cb0..6702be32918e 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -432,35 +432,11 @@ power-sensor at 22 {
compatible = "mps,mp5990";
reg = <0x22>;
};
- power-sensor at 41 {
- compatible = "ti,ina238";
- reg = <0x41>;
- shunt-resistor = <500>;
- };
- power-sensor at 42 {
- compatible = "ti,ina238";
- reg = <0x42>;
- shunt-resistor = <500>;
- };
- power-sensor at 44 {
- compatible = "ti,ina238";
- reg = <0x44>;
- shunt-resistor = <500>;
- };
};
i2c1mux0ch1: i2c at 1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1>;
-
- power-sensor at 41 {
- compatible = "ti,ina238";
- reg = <0x41>;
- };
- power-sensor at 43 {
- compatible = "ti,ina238";
- reg = <0x43>;
- };
};
i2c1mux0ch2: i2c at 2 {
#address-cells = <1>;
@@ -753,27 +729,6 @@ i2c5mux0ch7: i2c at 7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
-
- power-sensor at 40 {
- compatible = "ti,ina230";
- reg = <0x40>;
- shunt-resistor = <2000>;
- };
- power-sensor at 41 {
- compatible = "ti,ina230";
- reg = <0x41>;
- shunt-resistor = <2000>;
- };
- power-sensor at 44 {
- compatible = "ti,ina230";
- reg = <0x44>;
- shunt-resistor = <2000>;
- };
- power-sensor at 45 {
- compatible = "ti,ina230";
- reg = <0x45>;
- shunt-resistor = <2000>;
- };
};
};
};
--
2.31.1
More information about the Linux-aspeed
mailing list