arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
Subsystems (2)
v4 cover arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
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
Signature · 1 line
2.43.0
PATCH v4 1/1 arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
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 5MHz for stable operation
Enable Open-EP Community pixpaper-213-c support on NXP i.MX93.
--- 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
arch/arm64/boot/dts/freescale/Makefile +4 -0
@@ -398,6 +398,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
arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtso new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 4 lines · 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.
Quoted 8 lines
The overlay configures:
- LPSPI3 pinmux for SPI communication (MOSI, MISO, CLK, CE0)
- PixPaper display device with proper GPIO assignments
- SPI frequency set to 5MHz for stable operationEnable Open-EP Community pixpaper-213-c support on NXP i.MX93.
Signed-off-by Wig Cheng <[email protected]>
Quoted 11 lines · Wig Cheng
Quoted 9 lines
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 5MHz for stable operation
Quoted 5 lines
Quoted 3 lines
Enable Open-EP Community pixpaper-213-c support on NXP i.MX93.
Signed-off-by Wig Cheng <[email protected]>Reviewed-by Peng Fan <[email protected]>
Hi reviewers,
Thanks to Peng for the review.
Just a gentle ping on this patch.
Please let me know if any further reviews or changes are needed.
Thanks,
Wig
Frank Li
maintainerQuoted 15 lines · Wig Cheng
Quoted 15 lines · Wig Cheng
Quoted 12 lines
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 5MHz for stable operationEnable Open-EP Community pixpaper-213-c support on NXP i.MX93.
Signed-off-by Wig Cheng <[email protected]>
Quoted 8 lines
Quoted 1 line
Reviewed-by Peng Fan <[email protected]>Hi reviewers,
Thanks to Peng for the review.
Just a gentle ping on this patch.
Please let me know if any further reviews or changes are needed.
There are CHECK_DTBS warning
arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtb: display@0 (mayqueen,pixpaper): spi-max-frequency: 5000000 is greater than the maximum of 1000000
from schema $id: http://devicetree.org/schemas/display/mayqueen,pixpaper.yaml
Does 1000000 work for spi-max-frequency? or need update binding doc?
Frank
Quoted 3 lines
Thanks,
Wig
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtb: display@0 (mayqueen,pixpaper): spi-max-frequency: 5000000 is greater than the maximum of 1000000
from schema $id: http://devicetree.org/schemas/display/mayqueen,pixpaper.yamlDoes 1000000 work for spi-max-frequency? or need update binding doc?
Both 1MHz and 5MHz work on i.MX93. I chose 5MHz for better refresh performance, which is within the LPSPI3 controller's capabilities. The 1MHz limit in the binding is a conservative generic value I think.
Thanks,
Wig
Frank Li
maintainerQuoted 10 lines · Wig Cheng
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtb: display@0 (mayqueen,pixpaper): spi-max-frequency: 5000000 is greater than the maximum of 1000000
from schema $id: http://devicetree.org/schemas/display/mayqueen,pixpaper.yamlDoes 1000000 work for spi-max-frequency? or need update binding doc?
Both 1MHz and 5MHz work on i.MX93. I chose 5MHz for better refresh performance, which is within the LPSPI3 controller's capabilities. The 1MHz limit in the binding is a conservative generic value I think.
Okay, let change to 1Mhz first. we will update it after updated binding doc.
Frank
Quoted 3 lines
Thanks,
Wig
Quoted 9 lines · Wig Cheng
Quoted 7 lines
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtb: display@0 (mayqueen,pixpaper): spi-max-frequency: 5000000 is greater than the maximum of 1000000
from schema $id: http://devicetree.org/schemas/display/mayqueen,pixpaper.yamlDoes 1000000 work for spi-max-frequency? or need update binding doc?
Quoted 8 lines
Quoted 3 lines
Both 1MHz and 5MHz work on i.MX93. I chose 5MHz for better refresh performance, which is within the LPSPI3 controller's capabilities. The 1MHz limit in the binding is a conservative generic value I think.
Okay, let change to 1Mhz first. we will update it after updated binding doc.
Frank
Hi Frank,
I've sent v5 with 1MHz as you suggested:
https://lore.kernel.org/all/[email protected]/
Thanks for your help,
Wig
Quoted 9 lines · 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 5MHz for stable operation
Quoted 4 lines
Enable Open-EP Community pixpaper-213-c support on NXP i.MX93.
Signed-off-by Wig Cheng <[email protected]>---
Quoted 79 lines
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.dtsoarch/arm64/boot/dts/freescale/Makefile +4
-0@@ -398,6 +398,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.dtbarch/arm64/boot/dts/freescale/imx93-11x11-frdm-pixpaper.dtso new file +50
-1@@ -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 <[email protected]> + */ + +#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 = <5000000>; + reset-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; + dc-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; + busy-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; + }; +}; --2.43.0
Quoted 6 lines · Wig Cheng
Changes in v4:
- Drop invalid propertyChanges in v3:
- Misunderstood reviewer's feedback in v1, improved commit message description
Quoted 6 lines
Changes in v2:
- FixMakefilealphabetical ordering
- Move vendor property before status in device tree
- Simplify commit message as suggested by reviewer[...]
Applied, thanks!
[1/1] arm64: dts: freescale: add pixpaper display overlay for i.MX93 FRDM
(no commit info)
Best regards,
--
Frank Li <[email protected]>