2023-09-24 22:28:27

by Andreas Kemnade

[permalink] [raw]
Subject: [PATCH] ARM: dts: omap: omap4-embt2ws: Let IMU driver handle Magnetometer internally

Possibility to use the i2c gate is only for compatibility reasons,
so avoid messing around with additional i2c busses.

Signed-off-by: Andreas Kemnade <[email protected]>
---
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 9 ---------
1 file changed, 9 deletions(-)

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>;
- };
- };
};
};

--
2.39.2


2023-09-26 07:28:35

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap: omap4-embt2ws: Let IMU driver handle Magnetometer internally

* Andreas Kemnade <[email protected]> [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