ARM: dts: omap: omap4-embt2ws: Let IMU driver handle Magnetometer internally

Message ID 20230924222718.2038849-1-andreas@kemnade.info
State New
Headers
Series ARM: dts: omap: omap4-embt2ws: Let IMU driver handle Magnetometer internally |

Commit Message

Andreas Kemnade Sept. 24, 2023, 10:27 p.m. UTC
  Possibility to use the i2c gate is only for compatibility reasons,
so avoid messing around with additional i2c busses.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 9 ---------
 1 file changed, 9 deletions(-)
  

Comments

Tony Lindgren Sept. 26, 2023, 7:26 a.m. UTC | #1
* Andreas Kemnade <andreas@kemnade.info> [230925 01:27]:
> Possibility to use the i2c gate is only for compatibility reasons,
> so avoid messing around with additional i2c busses.

Seems this is already safe to drop so applying into omap-for-v6.7/dt.

Thanks,

Tony
  

Patch

diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
index 0e6b050d588ac..dd5f5d66e16a3 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
+++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
@@ -327,15 +327,6 @@  mpu9150h: imu@68 {
 		pinctrl-0 = <&mpu9150h_pins>;
 		interrupt-parent = <&gpio2>;
 		interrupt = <19 IRQ_TYPE_LEVEL_HIGH>;
-
-		i2c-gate {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			magnetometer@c {
-				compatible = "asahi-kasei,ak8975";
-				reg = <0x0c>;
-			};
-		};
 	};
 };