public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
@ 2026-02-26 14:48 Wig Cheng
  2026-02-26 14:48 ` [PATCH v5 1/1] " Wig Cheng
  2026-03-09 16:58 ` [PATCH v5 0/1] " Frank Li
  0 siblings, 2 replies; 3+ messages in thread
From: Wig Cheng @ 2026-02-26 14:48 UTC (permalink / raw)
  To: shawnguo, robh, krzk+dt, conor+dt
  Cc: s.hauer, kernel, festevam, devicetree, imx, linux-arm-kernel,
	linux-kernel, zaq14760, Wig Cheng

Changes in v5:
- Use 1MHz spi-max-frequency to comply with binding schema

Changes in v4:
- Drop invalid property

Changes in v3:
- Misunderstood reviewer's feedback in v1, improved commit message description

Changes in v2:
- Fix Makefile alphabetical ordering
- Move vendor property before status in device tree
- Simplify commit message as suggested by reviewer

Wig Cheng (1):
  arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM

 arch/arm64/boot/dts/freescale/Makefile        |  4 ++
 .../freescale/imx93-11x11-frdm-pixpaper.dtso  | 50 +++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtso

-- 
2.43.0


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

* [PATCH v5 1/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
  2026-02-26 14:48 [PATCH v5 0/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM Wig Cheng
@ 2026-02-26 14:48 ` Wig Cheng
  2026-03-09 16:58 ` [PATCH v5 0/1] " Frank Li
  1 sibling, 0 replies; 3+ messages in thread
From: Wig Cheng @ 2026-02-26 14:48 UTC (permalink / raw)
  To: shawnguo, robh, krzk+dt, conor+dt
  Cc: s.hauer, kernel, festevam, devicetree, imx, linux-arm-kernel,
	linux-kernel, zaq14760, Wig Cheng

Add device tree overlay to support the MayQueen PixPaper e-paper display
on the NXP i.MX93 FRDM board. The display is connected via LPSPI3
interface and uses GPIO pins for reset, busy and DC control.

The overlay configures:
    - LPSPI3 pinmux for SPI communication (MOSI, MISO, CLK, CE0)
    - PixPaper display device with proper GPIO assignments
    - SPI frequency set to 1MHz for stable operation

Enable Open-EP Community pixpaper-213-c support on NXP i.MX93.

Signed-off-by: Wig Cheng <onlywig@gmail.com>
---
 arch/arm64/boot/dts/freescale/Makefile        |  4 ++
 .../freescale/imx93-11x11-frdm-pixpaper.dtso  | 50 +++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtso

diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 700bab4d3e60..aa5eb1626c10 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -417,6 +417,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb-i3c.dtb
 
 dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-frdm.dtb
+
+imx93-11x11-frdm-pixpaper-dtbs += imx93-11x11-frdm.dtb imx93-11x11-frdm-pixpaper.dtbo
+dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-frdm-pixpaper.dtb
+
 dtb-$(CONFIG_ARCH_MXC) += imx93-14x14-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-kontron-bl-osm-s.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash.dtb
diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtso b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtso
new file mode 100644
index 000000000000..28aeff9520e2
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtso
@@ -0,0 +1,50 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Overlay for Mayqueen (Open-EP Community) pixpaper display
+ * support on NXP FRDM i.MX 93 Development Board
+ *
+ * Copyright (C) 2026 Wig Cheng <onlywig@gmail.com>
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+#include "imx93-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&iomuxc {
+	pinctrl_lpspi3: lpspi3grp {
+		fsl,pins = <
+			MX93_PAD_GPIO_IO08__GPIO2_IO08		0x3fe /* SPI3 CE0 */
+			MX93_PAD_GPIO_IO09__LPSPI3_SIN		0x3fe /* SPI3 MISO */
+			MX93_PAD_GPIO_IO10__LPSPI3_SOUT		0x3fe /* SPI3 MOSI */
+			MX93_PAD_GPIO_IO11__LPSPI3_SCK		0x3fe /* SPI3 CLK */
+		>;
+	};
+
+	pinctrl_epd_ctrl: epdctrlgrp {
+		fsl,pins = <
+			MX93_PAD_GPIO_IO05__GPIO2_IO05		0x31e /* DC pin */
+			MX93_PAD_GPIO_IO06__GPIO2_IO06		0x31e /* RESET pin */
+			MX93_PAD_GPIO_IO26__GPIO2_IO26		0x31e /* BUSY pin */
+		>;
+	};
+};
+
+&lpspi3 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_lpspi3>, <&pinctrl_epd_ctrl>;
+	cs-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
+	status = "okay";
+
+	display@0 {
+		compatible = "mayqueen,pixpaper";
+		reg = <0>;
+		spi-max-frequency = <1000000>;
+		reset-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
+		dc-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
+		busy-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
+	};
+};
-- 
2.43.0


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

* Re: [PATCH v5 0/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
  2026-02-26 14:48 [PATCH v5 0/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM Wig Cheng
  2026-02-26 14:48 ` [PATCH v5 1/1] " Wig Cheng
@ 2026-03-09 16:58 ` Frank Li
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Li @ 2026-03-09 16:58 UTC (permalink / raw)
  To: shawnguo, robh, krzk+dt, conor+dt, Wig Cheng
  Cc: Frank Li, s.hauer, kernel, festevam, devicetree, imx,
	linux-arm-kernel, linux-kernel, zaq14760


On Thu, 26 Feb 2026 22:48:18 +0800, Wig Cheng wrote:
> Changes in v5:
> - Use 1MHz spi-max-frequency to comply with binding schema
>
> Changes in v4:
> - Drop invalid property
>
> Changes in v3:
> - Misunderstood reviewer's feedback in v1, improved commit message description
>
> [...]

Applied, thanks!

[1/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
      commit: b9f7ae25c9d60b8c2362c397f99d2b046fe74844

Reorder nodes and property name according to tools(
https://github.com/lznuaa/dt-format)'s result. Next time run to keep nice
order for new dts file next time.

Basic rule:

No @hex is first.
order by nodes name.

See detail at https://github.com/lznuaa/dt-format

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

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

end of thread, other threads:[~2026-03-09 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26 14:48 [PATCH v5 0/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM Wig Cheng
2026-02-26 14:48 ` [PATCH v5 1/1] " Wig Cheng
2026-03-09 16:58 ` [PATCH v5 0/1] " Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox