linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: imx8qxp-mek: Add i2c1 sensors
@ 2025-10-29 19:27 Frank Li
  2025-10-29 19:27 ` [PATCH 1/2] dt-bindings: iio: imu: mpu6050: remove interrupts from required list Frank Li
  2025-10-29 19:27 ` [PATCH 2/2] arm64: dts: imx8qxp-mek: Add sensors under i2c1 bus Frank Li
  0 siblings, 2 replies; 5+ messages in thread
From: Frank Li @ 2025-10-29 19:27 UTC (permalink / raw)
  To: Jean-Baptiste Maneyrol, Jonathan Cameron, David Lechner,
	Nuno Sá, Andy Shevchenko, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-iio, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

update iio binding to remove interrupts from required list.
update imx8qxp-mek to support all sensors under i2c1.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
      dt-bindings: iio: imu: mpu6050: remove interrupts from required list
      arm64: dts: imx8qxp-mek: Add sensors under i2c1 bus

 .../bindings/iio/imu/invensense,mpu6050.yaml       |  1 -
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts      | 32 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)
---
base-commit: faae091652fd52f662e1fbc6b9d922b3d6e33641
change-id: 20251029-qxp_sensor-861ef25c4149

Best regards,
--
Frank Li <Frank.Li@nxp.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] dt-bindings: iio: imu: mpu6050: remove interrupts from required list
  2025-10-29 19:27 [PATCH 0/2] arm64: dts: imx8qxp-mek: Add i2c1 sensors Frank Li
@ 2025-10-29 19:27 ` Frank Li
  2025-10-30  8:23   ` Krzysztof Kozlowski
  2025-10-29 19:27 ` [PATCH 2/2] arm64: dts: imx8qxp-mek: Add sensors under i2c1 bus Frank Li
  1 sibling, 1 reply; 5+ messages in thread
From: Frank Li @ 2025-10-29 19:27 UTC (permalink / raw)
  To: Jean-Baptiste Maneyrol, Jonathan Cameron, David Lechner,
	Nuno Sá, Andy Shevchenko, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-iio, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

Irq is optional signal to make sensor work. Not all boards connect this
signals, so remove it from required list.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
index 0bce71529e34c3040f1101069e2cf22d70c3fcaa..1af0855c33e671c92f6439e7c45ef15787a9f329 100644
--- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml
@@ -86,7 +86,6 @@ unevaluatedProperties: false
 required:
   - compatible
   - reg
-  - interrupts
 
 examples:
   - |

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] arm64: dts: imx8qxp-mek: Add sensors under i2c1 bus
  2025-10-29 19:27 [PATCH 0/2] arm64: dts: imx8qxp-mek: Add i2c1 sensors Frank Li
  2025-10-29 19:27 ` [PATCH 1/2] dt-bindings: iio: imu: mpu6050: remove interrupts from required list Frank Li
@ 2025-10-29 19:27 ` Frank Li
  1 sibling, 0 replies; 5+ messages in thread
From: Frank Li @ 2025-10-29 19:27 UTC (permalink / raw)
  To: Jean-Baptiste Maneyrol, Jonathan Cameron, David Lechner,
	Nuno Sá, Andy Shevchenko, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-iio, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

Add sensors under i2c1 bus.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 32 +++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
index 7b033744554105de6dbc4366f21e3c90f1768deb..9a96018e6f0680ac503135726f4899aca121e7f6 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
@@ -450,10 +450,36 @@ i2c@2 {
 			#size-cells = <0>;
 			reg = <2>;
 
+			accelerometer@1e {
+				compatible = "nxp,fxos8700";
+				reg = <0x1e>;
+			};
+
+			gyroscope@21 {
+				compatible = "nxp,fxas21002c";
+				reg = <0x21>;
+			};
+
 			pressure-sensor@60 {
 				compatible = "fsl,mpl3115";
 				reg = <0x60>;
 			};
+
+			/* Ref SCH-54536 */
+			pressure-sensor@77 {
+				compatible = "meas,ms5611";
+				reg = <0x77>;
+			};
+
+			inertial-meter@68 {
+				compatible = "invensense,icm20602";
+				reg = <0x68>;
+			};
+
+			inertial-meter@69 {
+				compatible = "invensense,iam20380";
+				reg = <0x69>;
+			};
 		};
 
 		i2c@3 {
@@ -483,6 +509,12 @@ light-sensor@44 {
 				interrupt-parent = <&lsio_gpio1>;
 				interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
 			};
+
+			/* Ref SCH-54536 */
+			light-sensort@60 {
+				compatible = "vishay,vcnl4035";
+				reg = <0x60>;
+			};
 		};
 	};
 

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: iio: imu: mpu6050: remove interrupts from required list
  2025-10-29 19:27 ` [PATCH 1/2] dt-bindings: iio: imu: mpu6050: remove interrupts from required list Frank Li
@ 2025-10-30  8:23   ` Krzysztof Kozlowski
  2025-11-01 17:01     ` Jonathan Cameron
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-30  8:23 UTC (permalink / raw)
  To: Frank Li
  Cc: Jean-Baptiste Maneyrol, Jonathan Cameron, David Lechner,
	Nuno Sá, Andy Shevchenko, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, linux-iio, devicetree, linux-kernel, imx,
	linux-arm-kernel

On Wed, Oct 29, 2025 at 03:27:18PM -0400, Frank Li wrote:
> Irq is optional signal to make sensor work. Not all boards connect this
> signals, so remove it from required list.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: iio: imu: mpu6050: remove interrupts from required list
  2025-10-30  8:23   ` Krzysztof Kozlowski
@ 2025-11-01 17:01     ` Jonathan Cameron
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Cameron @ 2025-11-01 17:01 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Frank Li, Jean-Baptiste Maneyrol, David Lechner, Nuno Sá,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	linux-iio, devicetree, linux-kernel, imx, linux-arm-kernel

On Thu, 30 Oct 2025 09:23:37 +0100
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On Wed, Oct 29, 2025 at 03:27:18PM -0400, Frank Li wrote:
> > Irq is optional signal to make sensor work. Not all boards connect this
> > signals, so remove it from required list.
> > 
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> >  Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 1 -
> >  1 file changed, 1 deletion(-)  
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> Best regards,
> Krzysztof
> 

Applied. thanks,
J

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-01 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 19:27 [PATCH 0/2] arm64: dts: imx8qxp-mek: Add i2c1 sensors Frank Li
2025-10-29 19:27 ` [PATCH 1/2] dt-bindings: iio: imu: mpu6050: remove interrupts from required list Frank Li
2025-10-30  8:23   ` Krzysztof Kozlowski
2025-11-01 17:01     ` Jonathan Cameron
2025-10-29 19:27 ` [PATCH 2/2] arm64: dts: imx8qxp-mek: Add sensors under i2c1 bus Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).