* [PATCH 0/2] i.MX93 phyBOARD-Segin DisplayKit AV-02 Support
@ 2025-12-02 13:44 Marco Felsch
2025-12-02 13:44 ` [PATCH 1/2] clk: imx: fracn-gppll: Add 332.60 MHz Support Marco Felsch
2025-12-02 13:44 ` [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay Marco Felsch
0 siblings, 2 replies; 8+ messages in thread
From: Marco Felsch @ 2025-12-02 13:44 UTC (permalink / raw)
To: Abel Vesa, Peng Fan, Michael Turquette, Stephen Boyd, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, andrej.picej, primoz.fiser,
c.hemp, s.mueller-klieser, n.wesp, c.stoidner
Cc: linux-clk, imx, linux-arm-kernel, linux-kernel, devicetree,
kernel, Marco Felsch
Hi,
this small series add the support for the phyBOARD-Segin DisplayKit
AV-02 evaluation kit. This patchset depends on the following patchsets:
- https://lore.kernel.org/linux-arm-kernel/20251202-v6-18-topic-imx93-blkctrl-v2-0-e73501034adc@pengutronix.de/
- https://lore.kernel.org/linux-arm-kernel/20251202-v6-18-topic-imx93-parallel-display-v7-0-2cce31d64608@pengutronix.de/
My test setup was:
- phyCORE-i.MX93 +
- phyBOARD-Segin +
- DisplayKit
and I used 'modeset -r' to validate the display output.
Regards,
Marco
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
Andrej Picej (1):
arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay
Marco Felsch (1):
clk: imx: fracn-gppll: Add 332.60 MHz Support
arch/arm64/boot/dts/freescale/Makefile | 2 +
.../freescale/imx93-phyboard-segin-peb-av-02.dtso | 135 +++++++++++++++++++++
drivers/clk/imx/clk-fracn-gppll.c | 1 +
3 files changed, 138 insertions(+)
---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251202-v6-18-topic-imx93-phyboard-segin-av-02-display-c1687aa1ccf4
Best regards,
--
Marco Felsch <m.felsch@pengutronix.de>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/2] clk: imx: fracn-gppll: Add 332.60 MHz Support
2025-12-02 13:44 [PATCH 0/2] i.MX93 phyBOARD-Segin DisplayKit AV-02 Support Marco Felsch
@ 2025-12-02 13:44 ` Marco Felsch
2025-12-03 8:31 ` Primoz Fiser
2025-12-02 13:44 ` [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay Marco Felsch
1 sibling, 1 reply; 8+ messages in thread
From: Marco Felsch @ 2025-12-02 13:44 UTC (permalink / raw)
To: Abel Vesa, Peng Fan, Michael Turquette, Stephen Boyd, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, andrej.picej, primoz.fiser,
c.hemp, s.mueller-klieser, n.wesp, c.stoidner
Cc: linux-clk, imx, linux-arm-kernel, linux-kernel, devicetree,
kernel, Marco Felsch
Some parallel panels have a pixelclk of 33.260 MHz. Add support for
332.60 MHz so a by 10 divider can be used to derive the exact pixelclk.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
drivers/clk/imx/clk-fracn-gppll.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c
index 090d608672508a8819dc68eedec5b8d4a2c140c8..579f76494eb041dfba58b8cd10eb2453a0ec4178 100644
--- a/drivers/clk/imx/clk-fracn-gppll.c
+++ b/drivers/clk/imx/clk-fracn-gppll.c
@@ -88,6 +88,7 @@ static const struct imx_fracn_gppll_rate_table fracn_tbl[] = {
PLL_FRACN_GP(445333333U, 167, 0, 1, 0, 9),
PLL_FRACN_GP(400000000U, 200, 0, 1, 0, 12),
PLL_FRACN_GP(393216000U, 163, 84, 100, 0, 10),
+ PLL_FRACN_GP(332600000U, 138, 584, 1000, 0, 10),
PLL_FRACN_GP(300000000U, 150, 0, 1, 0, 12)
};
--
2.47.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay
2025-12-02 13:44 [PATCH 0/2] i.MX93 phyBOARD-Segin DisplayKit AV-02 Support Marco Felsch
2025-12-02 13:44 ` [PATCH 1/2] clk: imx: fracn-gppll: Add 332.60 MHz Support Marco Felsch
@ 2025-12-02 13:44 ` Marco Felsch
2025-12-03 8:34 ` Primoz Fiser
1 sibling, 1 reply; 8+ messages in thread
From: Marco Felsch @ 2025-12-02 13:44 UTC (permalink / raw)
To: Abel Vesa, Peng Fan, Michael Turquette, Stephen Boyd, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, andrej.picej, primoz.fiser,
c.hemp, s.mueller-klieser, n.wesp, c.stoidner
Cc: linux-clk, imx, linux-arm-kernel, linux-kernel, devicetree,
kernel, Marco Felsch
From: Andrej Picej <andrej.picej@norik.com>
Add overlay for Audio-Video module PEB-AV-02. Add support for panel
display, capacitive touchscreen and backlight.
For now the backlight is configured as a GPIO, brightness of the display
can not be set. When the FLEXIO PWM driver is available this should be
switched to PWM backlight driver.
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
[rework commit message, use local regulator, remove compatible]
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
[m.felsch@pengutronix.de: cleanup downstream commit]
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
arch/arm64/boot/dts/freescale/Makefile | 2 +
.../freescale/imx93-phyboard-segin-peb-av-02.dtso | 135 +++++++++++++++++++++
2 files changed, 137 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 525ef180481d331e9c4decd092b7b831c497b67e..27e27ac29e82bc0692e86c2ba15c240dc9fbe1c6 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -357,10 +357,12 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash.dtb
dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin.dtb
imx93-phyboard-nash-peb-wlbt-07-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-nash-peb-wlbt-07.dtbo
+imx93-phyboard-segin-peb-av-02-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-av-02.dtbo
imx93-phyboard-segin-peb-eval-01-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-eval-01.dtbo
imx93-phyboard-segin-peb-wlbt-05-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-wlbt-05.dtbo
imx93-phycore-rpmsg-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-segin.dtb imx93-phycore-rpmsg.dtbo
dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash-peb-wlbt-07.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-av-02.dtb
dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-eval-01.dtb
dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-wlbt-05.dtb
dtb-$(CONFIG_ARCH_MXC) += imx93-phycore-rpmsg.dtb
diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso
new file mode 100644
index 0000000000000000000000000000000000000000..2e7074e402dc8fdeb1568d4f2d4960431e972501
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso
@@ -0,0 +1,135 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2025 PHYTEC Messtechnik GmbH
+ * Copyright (C) 2025 Pengutronix
+ *
+ * Author: Andrej Picej <andrej.picej@norik.com>
+ * Author: Marco Felsch <kernel@pengutronix.de>
+ */
+
+#include <dt-bindings/clock/imx93-clock.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include "imx93-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+ /* TODO: Convert to PWM backlight once the FlexIO PWM is supported */
+ backlight: backlight {
+ compatible = "gpio-backlight";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_backlight>;
+ gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
+ };
+
+ panel {
+ compatible = "edt,etm0700g0edh6";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_panel>;
+
+ backlight = <&backlight>;
+ enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
+ power-supply = <®_x71_vcc_3v3>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&dpi_to_panel>;
+ };
+ };
+ };
+
+ reg_x71_vcc_3v3: regulator-x71-vcc-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "X71-VCC3V3";
+ regulator-max-microvolt = <3300000>;
+ regulator-min-microvolt = <3300000>;
+ };
+};
+
+&dpi_bridge {
+ status = "okay";
+};
+
+&dpi_to_panel {
+ remote-endpoint = <&panel_in>;
+ bus-width = <18>;
+};
+
+&lcdif {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_lcdif>;
+ assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>;
+ assigned-clock-rates = <332600000>;
+ status = "okay";
+};
+
+&lpi2c2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ touchscreen@38 {
+ compatible = "edt,edt-ft5406";
+ reg = <0x38>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_touchscreen>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
+ reset-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
+ touchscreen-size-x = <1792>;
+ touchscreen-size-y = <1024>;
+ };
+};
+
+&media_blk_ctrl {
+ status = "okay";
+};
+
+&iomuxc {
+ pinctrl_backlight: backlightgrp {
+ fsl,pins = <
+ MX93_PAD_CCM_CLKO3__GPIO4_IO28 0x1133e
+ >;
+ };
+
+ pinctrl_lcdif: lcdifgrp {
+ fsl,pins = <
+ MX93_PAD_GPIO_IO00__MEDIAMIX_DISP_CLK 0x50e
+ MX93_PAD_GPIO_IO01__MEDIAMIX_DISP_DE 0x50e
+ MX93_PAD_GPIO_IO02__MEDIAMIX_DISP_VSYNC 0x50e
+ MX93_PAD_GPIO_IO03__MEDIAMIX_DISP_HSYNC 0x50e
+ MX93_PAD_GPIO_IO04__MEDIAMIX_DISP_DATA00 0x50e
+ MX93_PAD_GPIO_IO05__MEDIAMIX_DISP_DATA01 0x50e
+ MX93_PAD_GPIO_IO06__MEDIAMIX_DISP_DATA02 0x50e
+ MX93_PAD_GPIO_IO07__MEDIAMIX_DISP_DATA03 0x50e
+ MX93_PAD_GPIO_IO08__MEDIAMIX_DISP_DATA04 0x50e
+ MX93_PAD_GPIO_IO09__MEDIAMIX_DISP_DATA05 0x51e
+ MX93_PAD_GPIO_IO10__MEDIAMIX_DISP_DATA06 0x50e
+ MX93_PAD_GPIO_IO11__MEDIAMIX_DISP_DATA07 0x50e
+ MX93_PAD_GPIO_IO12__MEDIAMIX_DISP_DATA08 0x50e
+ MX93_PAD_GPIO_IO13__MEDIAMIX_DISP_DATA09 0x50e
+ MX93_PAD_GPIO_IO14__MEDIAMIX_DISP_DATA10 0x50e
+ MX93_PAD_GPIO_IO15__MEDIAMIX_DISP_DATA11 0x50e
+ MX93_PAD_GPIO_IO16__MEDIAMIX_DISP_DATA12 0x506
+ MX93_PAD_GPIO_IO17__MEDIAMIX_DISP_DATA13 0x506
+ MX93_PAD_GPIO_IO18__MEDIAMIX_DISP_DATA14 0x506
+ MX93_PAD_GPIO_IO19__MEDIAMIX_DISP_DATA15 0x506
+ MX93_PAD_GPIO_IO20__MEDIAMIX_DISP_DATA16 0x506
+ MX93_PAD_GPIO_IO21__MEDIAMIX_DISP_DATA17 0x506
+ >;
+ };
+
+ pinctrl_panel: panelgrp {
+ fsl,pins = <
+ MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1133e
+ >;
+ };
+
+ pinctrl_touchscreen: touchscreengrp {
+ fsl,pins = <
+ MX93_PAD_ENET1_MDIO__GPIO4_IO01 0x11e
+ MX93_PAD_ENET1_RD2__GPIO4_IO12 0x1133e
+ >;
+ };
+};
--
2.47.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] clk: imx: fracn-gppll: Add 332.60 MHz Support
2025-12-02 13:44 ` [PATCH 1/2] clk: imx: fracn-gppll: Add 332.60 MHz Support Marco Felsch
@ 2025-12-03 8:31 ` Primoz Fiser
0 siblings, 0 replies; 8+ messages in thread
From: Primoz Fiser @ 2025-12-03 8:31 UTC (permalink / raw)
To: Marco Felsch, Abel Vesa, Peng Fan, Michael Turquette,
Stephen Boyd, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
andrej.picej, c.hemp, s.mueller-klieser, n.wesp, c.stoidner
Cc: linux-clk, imx, linux-arm-kernel, linux-kernel, devicetree
Hi Marco,
On 2. 12. 25 14:44, Marco Felsch wrote:
> Some parallel panels have a pixelclk of 33.260 MHz. Add support for
> 332.60 MHz so a by 10 divider can be used to derive the exact pixelclk.
Reviewed-by: Primoz Fiser <primoz.fiser@norik.com>
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> drivers/clk/imx/clk-fracn-gppll.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c
> index 090d608672508a8819dc68eedec5b8d4a2c140c8..579f76494eb041dfba58b8cd10eb2453a0ec4178 100644
> --- a/drivers/clk/imx/clk-fracn-gppll.c
> +++ b/drivers/clk/imx/clk-fracn-gppll.c
> @@ -88,6 +88,7 @@ static const struct imx_fracn_gppll_rate_table fracn_tbl[] = {
> PLL_FRACN_GP(445333333U, 167, 0, 1, 0, 9),
> PLL_FRACN_GP(400000000U, 200, 0, 1, 0, 12),
> PLL_FRACN_GP(393216000U, 163, 84, 100, 0, 10),
> + PLL_FRACN_GP(332600000U, 138, 584, 1000, 0, 10),
> PLL_FRACN_GP(300000000U, 150, 0, 1, 0, 12)
> };
>
>
--
Primoz Fiser
phone: +386-41-390-545
email: primoz.fiser@norik.com
--
Norik systems d.o.o.
Your embedded software partner
Slovenia, EU
phone: +386-41-540-545
email: info@norik.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay
2025-12-02 13:44 ` [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay Marco Felsch
@ 2025-12-03 8:34 ` Primoz Fiser
2025-12-15 17:07 ` Marco Felsch
0 siblings, 1 reply; 8+ messages in thread
From: Primoz Fiser @ 2025-12-03 8:34 UTC (permalink / raw)
To: Marco Felsch, Abel Vesa, Peng Fan, Michael Turquette,
Stephen Boyd, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
andrej.picej, c.hemp, s.mueller-klieser, n.wesp, c.stoidner
Cc: linux-clk, imx, linux-arm-kernel, linux-kernel, devicetree
Hi Marco,
On 2. 12. 25 14:44, Marco Felsch wrote:
> From: Andrej Picej <andrej.picej@norik.com>
>
> Add overlay for Audio-Video module PEB-AV-02. Add support for panel
> display, capacitive touchscreen and backlight.
>
> For now the backlight is configured as a GPIO, brightness of the display
> can not be set. When the FLEXIO PWM driver is available this should be
> switched to PWM backlight driver.
>
> Signed-off-by: Andrej Picej <andrej.picej@norik.com>
> [rework commit message, use local regulator, remove compatible]
> Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
> [m.felsch@pengutronix.de: cleanup downstream commit]
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> arch/arm64/boot/dts/freescale/Makefile | 2 +
> .../freescale/imx93-phyboard-segin-peb-av-02.dtso | 135 +++++++++++++++++++++
> 2 files changed, 137 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> index 525ef180481d331e9c4decd092b7b831c497b67e..27e27ac29e82bc0692e86c2ba15c240dc9fbe1c6 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -357,10 +357,12 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin.dtb
>
> imx93-phyboard-nash-peb-wlbt-07-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-nash-peb-wlbt-07.dtbo
> +imx93-phyboard-segin-peb-av-02-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-av-02.dtbo
> imx93-phyboard-segin-peb-eval-01-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-eval-01.dtbo
> imx93-phyboard-segin-peb-wlbt-05-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-wlbt-05.dtbo
> imx93-phycore-rpmsg-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-segin.dtb imx93-phycore-rpmsg.dtbo
> dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash-peb-wlbt-07.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-av-02.dtb
Here you need to rebase since new commits on linux-next.
> dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-eval-01.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-wlbt-05.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-phycore-rpmsg.dtb
> diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso
> new file mode 100644
> index 0000000000000000000000000000000000000000..2e7074e402dc8fdeb1568d4f2d4960431e972501
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso
> @@ -0,0 +1,135 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (C) 2025 PHYTEC Messtechnik GmbH
> + * Copyright (C) 2025 Pengutronix
> + *
> + * Author: Andrej Picej <andrej.picej@norik.com>
> + * Author: Marco Felsch <kernel@pengutronix.de>
> + */
> +
> +#include <dt-bindings/clock/imx93-clock.h>
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include "imx93-pinfunc.h"
> +
> +/dts-v1/;
> +/plugin/;
> +
> +&{/} {
> + /* TODO: Convert to PWM backlight once the FlexIO PWM is supported */
> + backlight: backlight {
> + compatible = "gpio-backlight";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_backlight>;
> + gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
> + };
> +
> + panel {
> + compatible = "edt,etm0700g0edh6";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_panel>;
> +
> + backlight = <&backlight>;
> + enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
> + power-supply = <®_x71_vcc_3v3>;
> +
> + port {
> + panel_in: endpoint {
> + remote-endpoint = <&dpi_to_panel>;
> + };
> + };
> + };
> +
> + reg_x71_vcc_3v3: regulator-x71-vcc-3v3 {
I just checked the schematics.
Can we rename this to reg_vcc_3v3_con in v2 maybe?
> + compatible = "regulator-fixed";
> + regulator-name = "X71-VCC3V3";
And this to "VCC3V3_CON"?
The reasoning behind is that "X71-VCC3V3" voltage doesn't exist on the
schematics, while there is actually "VCC3V3_CON" voltage supplying the
display panel.
> + regulator-max-microvolt = <3300000>;
> + regulator-min-microvolt = <3300000>;
> + };
> +};
> +
> +&dpi_bridge {
> + status = "okay";
> +};
> +
> +&dpi_to_panel {
> + remote-endpoint = <&panel_in>;
> + bus-width = <18>;
> +};
> +
> +&lcdif {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_lcdif>;
> + assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>;
> + assigned-clock-rates = <332600000>;
> + status = "okay";
> +};
> +
> +&lpi2c2 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + touchscreen@38 {
> + compatible = "edt,edt-ft5406";
> + reg = <0x38>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_touchscreen>;
> + interrupt-parent = <&gpio4>;
> + interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
> + reset-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
> + touchscreen-size-x = <1792>;
> + touchscreen-size-y = <1024>;
Please add "wakeup-source" property here like in the downstream commit.
With this in place, panel touch can be used to wake up the board from sleep.
Last but not least, can you add the vcc and iovcc supply regulators here
like in the downstream commit:
vcc-supply = <®_vcc_3v3_con>;
iovcc-supply = <®_vcc_3v3_con>;
to get rid of the following warnings:
edt_ft5x06 1-0038: supply vcc not found, using dummy regulator
edt_ft5x06 1-0038: supply iovcc not found, using dummy regulator
Anyway, I tested the display on the segin board with latest linux-next
and your patches. Can report display, touch and backlight work as expected.
Thank you!
Tested-by: Primoz Fiser <primoz.fiser@norik.com>
BR,
Primoz
> + };
> +};
> +
> +&media_blk_ctrl {
> + status = "okay";
> +};
> +
> +&iomuxc {
> + pinctrl_backlight: backlightgrp {
> + fsl,pins = <
> + MX93_PAD_CCM_CLKO3__GPIO4_IO28 0x1133e
> + >;
> + };
> +
> + pinctrl_lcdif: lcdifgrp {
> + fsl,pins = <
> + MX93_PAD_GPIO_IO00__MEDIAMIX_DISP_CLK 0x50e
> + MX93_PAD_GPIO_IO01__MEDIAMIX_DISP_DE 0x50e
> + MX93_PAD_GPIO_IO02__MEDIAMIX_DISP_VSYNC 0x50e
> + MX93_PAD_GPIO_IO03__MEDIAMIX_DISP_HSYNC 0x50e
> + MX93_PAD_GPIO_IO04__MEDIAMIX_DISP_DATA00 0x50e
> + MX93_PAD_GPIO_IO05__MEDIAMIX_DISP_DATA01 0x50e
> + MX93_PAD_GPIO_IO06__MEDIAMIX_DISP_DATA02 0x50e
> + MX93_PAD_GPIO_IO07__MEDIAMIX_DISP_DATA03 0x50e
> + MX93_PAD_GPIO_IO08__MEDIAMIX_DISP_DATA04 0x50e
> + MX93_PAD_GPIO_IO09__MEDIAMIX_DISP_DATA05 0x51e
> + MX93_PAD_GPIO_IO10__MEDIAMIX_DISP_DATA06 0x50e
> + MX93_PAD_GPIO_IO11__MEDIAMIX_DISP_DATA07 0x50e
> + MX93_PAD_GPIO_IO12__MEDIAMIX_DISP_DATA08 0x50e
> + MX93_PAD_GPIO_IO13__MEDIAMIX_DISP_DATA09 0x50e
> + MX93_PAD_GPIO_IO14__MEDIAMIX_DISP_DATA10 0x50e
> + MX93_PAD_GPIO_IO15__MEDIAMIX_DISP_DATA11 0x50e
> + MX93_PAD_GPIO_IO16__MEDIAMIX_DISP_DATA12 0x506
> + MX93_PAD_GPIO_IO17__MEDIAMIX_DISP_DATA13 0x506
> + MX93_PAD_GPIO_IO18__MEDIAMIX_DISP_DATA14 0x506
> + MX93_PAD_GPIO_IO19__MEDIAMIX_DISP_DATA15 0x506
> + MX93_PAD_GPIO_IO20__MEDIAMIX_DISP_DATA16 0x506
> + MX93_PAD_GPIO_IO21__MEDIAMIX_DISP_DATA17 0x506
> + >;
> + };
> +
> + pinctrl_panel: panelgrp {
> + fsl,pins = <
> + MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1133e
> + >;
> + };
> +
> + pinctrl_touchscreen: touchscreengrp {
> + fsl,pins = <
> + MX93_PAD_ENET1_MDIO__GPIO4_IO01 0x11e
> + MX93_PAD_ENET1_RD2__GPIO4_IO12 0x1133e
> + >;
> + };
> +};
>
--
Primoz Fiser
phone: +386-41-390-545
email: primoz.fiser@norik.com
--
Norik systems d.o.o.
Your embedded software partner
Slovenia, EU
phone: +386-41-540-545
email: info@norik.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay
2025-12-03 8:34 ` Primoz Fiser
@ 2025-12-15 17:07 ` Marco Felsch
2025-12-16 15:29 ` Christoph Stoidner
0 siblings, 1 reply; 8+ messages in thread
From: Marco Felsch @ 2025-12-15 17:07 UTC (permalink / raw)
To: Primoz Fiser
Cc: Abel Vesa, Peng Fan, Michael Turquette, Stephen Boyd, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, andrej.picej, c.hemp,
s.mueller-klieser, n.wesp, c.stoidner, linux-clk, imx,
linux-arm-kernel, linux-kernel, devicetree
Hi Primoz,
On 25-12-03, Primoz Fiser wrote:
> Hi Marco,
>
> On 2. 12. 25 14:44, Marco Felsch wrote:
> > From: Andrej Picej <andrej.picej@norik.com>
> >
> > Add overlay for Audio-Video module PEB-AV-02. Add support for panel
> > display, capacitive touchscreen and backlight.
> >
> > For now the backlight is configured as a GPIO, brightness of the display
> > can not be set. When the FLEXIO PWM driver is available this should be
> > switched to PWM backlight driver.
> >
> > Signed-off-by: Andrej Picej <andrej.picej@norik.com>
> > [rework commit message, use local regulator, remove compatible]
> > Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
> > Signed-off-by: Christian Hemp <c.hemp@phytec.de>
> > [m.felsch@pengutronix.de: cleanup downstream commit]
> > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> > ---
> > arch/arm64/boot/dts/freescale/Makefile | 2 +
> > .../freescale/imx93-phyboard-segin-peb-av-02.dtso | 135 +++++++++++++++++++++
> > 2 files changed, 137 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> > index 525ef180481d331e9c4decd092b7b831c497b67e..27e27ac29e82bc0692e86c2ba15c240dc9fbe1c6 100644
> > --- a/arch/arm64/boot/dts/freescale/Makefile
> > +++ b/arch/arm64/boot/dts/freescale/Makefile
> > @@ -357,10 +357,12 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash.dtb
> > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin.dtb
> >
> > imx93-phyboard-nash-peb-wlbt-07-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-nash-peb-wlbt-07.dtbo
> > +imx93-phyboard-segin-peb-av-02-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-av-02.dtbo
> > imx93-phyboard-segin-peb-eval-01-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-eval-01.dtbo
> > imx93-phyboard-segin-peb-wlbt-05-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-wlbt-05.dtbo
> > imx93-phycore-rpmsg-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-segin.dtb imx93-phycore-rpmsg.dtbo
> > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash-peb-wlbt-07.dtb
> > +dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-av-02.dtb
>
> Here you need to rebase since new commits on linux-next.
Argh.. will do.
> > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-eval-01.dtb
> > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-wlbt-05.dtb
> > dtb-$(CONFIG_ARCH_MXC) += imx93-phycore-rpmsg.dtb
> > diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso
> > new file mode 100644
> > index 0000000000000000000000000000000000000000..2e7074e402dc8fdeb1568d4f2d4960431e972501
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-02.dtso
> > @@ -0,0 +1,135 @@
> > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> > +/*
> > + * Copyright (C) 2025 PHYTEC Messtechnik GmbH
> > + * Copyright (C) 2025 Pengutronix
> > + *
> > + * Author: Andrej Picej <andrej.picej@norik.com>
> > + * Author: Marco Felsch <kernel@pengutronix.de>
> > + */
> > +
> > +#include <dt-bindings/clock/imx93-clock.h>
> > +#include <dt-bindings/gpio/gpio.h>
> > +#include <dt-bindings/interrupt-controller/arm-gic.h>
> > +#include "imx93-pinfunc.h"
> > +
> > +/dts-v1/;
> > +/plugin/;
> > +
> > +&{/} {
> > + /* TODO: Convert to PWM backlight once the FlexIO PWM is supported */
> > + backlight: backlight {
> > + compatible = "gpio-backlight";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_backlight>;
> > + gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
> > + };
> > +
> > + panel {
> > + compatible = "edt,etm0700g0edh6";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_panel>;
> > +
> > + backlight = <&backlight>;
> > + enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
> > + power-supply = <®_x71_vcc_3v3>;
> > +
> > + port {
> > + panel_in: endpoint {
> > + remote-endpoint = <&dpi_to_panel>;
> > + };
> > + };
> > + };
> > +
> > + reg_x71_vcc_3v3: regulator-x71-vcc-3v3 {
>
> I just checked the schematics.
>
> Can we rename this to reg_vcc_3v3_con in v2 maybe?
>
> > + compatible = "regulator-fixed";
> > + regulator-name = "X71-VCC3V3";
>
> And this to "VCC3V3_CON"?
>
> The reasoning behind is that "X71-VCC3V3" voltage doesn't exist on the
> schematics, while there is actually "VCC3V3_CON" voltage supplying the
> display panel.
I know that "X71-VCC3V3" doesn't exist, I also thought about
"X71:VCC3V3" to make it clear. Why I mentioned the X71 in the first
place was to not cause any naming conflict. I would like to keep the X71
naming since "VCC3V3_CON" really is the "X71-VCC3V3" with some filters
applied. Anyway, I can change this of course.
> > + regulator-max-microvolt = <3300000>;
> > + regulator-min-microvolt = <3300000>;
> > + };
> > +};
> > +
> > +&dpi_bridge {
> > + status = "okay";
> > +};
> > +
> > +&dpi_to_panel {
> > + remote-endpoint = <&panel_in>;
> > + bus-width = <18>;
> > +};
> > +
> > +&lcdif {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_lcdif>;
> > + assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>;
> > + assigned-clock-rates = <332600000>;
> > + status = "okay";
> > +};
> > +
> > +&lpi2c2 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + touchscreen@38 {
> > + compatible = "edt,edt-ft5406";
> > + reg = <0x38>;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_touchscreen>;
> > + interrupt-parent = <&gpio4>;
> > + interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
> > + reset-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
> > + touchscreen-size-x = <1792>;
> > + touchscreen-size-y = <1024>;
>
> Please add "wakeup-source" property here like in the downstream commit.
>
> With this in place, panel touch can be used to wake up the board from sleep.
Is this a required feature? Touchscreens with no certain
low-power mode handlig (e.g. reduced scanning time) can draw much power
in suspend.
I can add it if Phytec is aware of this fact and still wants to have
thsi feature.
> Last but not least, can you add the vcc and iovcc supply regulators here
> like in the downstream commit:
>
> vcc-supply = <®_vcc_3v3_con>;
> iovcc-supply = <®_vcc_3v3_con>;
>
> to get rid of the following warnings:
>
> edt_ft5x06 1-0038: supply vcc not found, using dummy regulator
> edt_ft5x06 1-0038: supply iovcc not found, using dummy regulator
Will do.
> Anyway, I tested the display on the segin board with latest linux-next
> and your patches. Can report display, touch and backlight work as expected.
>
> Thank you!
>
> Tested-by: Primoz Fiser <primoz.fiser@norik.com>
Regards,
Marco
>
> BR,
> Primoz
>
> > + };
> > +};
> > +
> > +&media_blk_ctrl {
> > + status = "okay";
> > +};
> > +
> > +&iomuxc {
> > + pinctrl_backlight: backlightgrp {
> > + fsl,pins = <
> > + MX93_PAD_CCM_CLKO3__GPIO4_IO28 0x1133e
> > + >;
> > + };
> > +
> > + pinctrl_lcdif: lcdifgrp {
> > + fsl,pins = <
> > + MX93_PAD_GPIO_IO00__MEDIAMIX_DISP_CLK 0x50e
> > + MX93_PAD_GPIO_IO01__MEDIAMIX_DISP_DE 0x50e
> > + MX93_PAD_GPIO_IO02__MEDIAMIX_DISP_VSYNC 0x50e
> > + MX93_PAD_GPIO_IO03__MEDIAMIX_DISP_HSYNC 0x50e
> > + MX93_PAD_GPIO_IO04__MEDIAMIX_DISP_DATA00 0x50e
> > + MX93_PAD_GPIO_IO05__MEDIAMIX_DISP_DATA01 0x50e
> > + MX93_PAD_GPIO_IO06__MEDIAMIX_DISP_DATA02 0x50e
> > + MX93_PAD_GPIO_IO07__MEDIAMIX_DISP_DATA03 0x50e
> > + MX93_PAD_GPIO_IO08__MEDIAMIX_DISP_DATA04 0x50e
> > + MX93_PAD_GPIO_IO09__MEDIAMIX_DISP_DATA05 0x51e
> > + MX93_PAD_GPIO_IO10__MEDIAMIX_DISP_DATA06 0x50e
> > + MX93_PAD_GPIO_IO11__MEDIAMIX_DISP_DATA07 0x50e
> > + MX93_PAD_GPIO_IO12__MEDIAMIX_DISP_DATA08 0x50e
> > + MX93_PAD_GPIO_IO13__MEDIAMIX_DISP_DATA09 0x50e
> > + MX93_PAD_GPIO_IO14__MEDIAMIX_DISP_DATA10 0x50e
> > + MX93_PAD_GPIO_IO15__MEDIAMIX_DISP_DATA11 0x50e
> > + MX93_PAD_GPIO_IO16__MEDIAMIX_DISP_DATA12 0x506
> > + MX93_PAD_GPIO_IO17__MEDIAMIX_DISP_DATA13 0x506
> > + MX93_PAD_GPIO_IO18__MEDIAMIX_DISP_DATA14 0x506
> > + MX93_PAD_GPIO_IO19__MEDIAMIX_DISP_DATA15 0x506
> > + MX93_PAD_GPIO_IO20__MEDIAMIX_DISP_DATA16 0x506
> > + MX93_PAD_GPIO_IO21__MEDIAMIX_DISP_DATA17 0x506
> > + >;
> > + };
> > +
> > + pinctrl_panel: panelgrp {
> > + fsl,pins = <
> > + MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1133e
> > + >;
> > + };
> > +
> > + pinctrl_touchscreen: touchscreengrp {
> > + fsl,pins = <
> > + MX93_PAD_ENET1_MDIO__GPIO4_IO01 0x11e
> > + MX93_PAD_ENET1_RD2__GPIO4_IO12 0x1133e
> > + >;
> > + };
> > +};
> >
>
> --
> Primoz Fiser
> phone: +386-41-390-545
> email: primoz.fiser@norik.com
> --
> Norik systems d.o.o.
> Your embedded software partner
> Slovenia, EU
> phone: +386-41-540-545
> email: info@norik.com
>
>
--
#gernperDu
#CallMeByMyFirstName
Pengutronix e.K. | |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay
2025-12-15 17:07 ` Marco Felsch
@ 2025-12-16 15:29 ` Christoph Stoidner
2025-12-18 16:19 ` Marco Felsch
0 siblings, 1 reply; 8+ messages in thread
From: Christoph Stoidner @ 2025-12-16 15:29 UTC (permalink / raw)
To: Marco Felsch, Primoz Fiser
Cc: Abel Vesa, Peng Fan, Michael Turquette, Stephen Boyd, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Andrej Picej, Christian Hemp,
Stefan Müller-Klieser, Norbert Wesp,
linux-clk@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Hi Marco,
On Mo, 2025-12-15 at 18:07 +0100, Marco Felsch wrote:
> Hi Primoz,
>
> On 25-12-03, Primoz Fiser wrote:
> > Hi Marco,
> >
> > On 2. 12. 25 14:44, Marco Felsch wrote:
> > > From: Andrej Picej <andrej.picej@norik.com>
> > >
> > > Add overlay for Audio-Video module PEB-AV-02. Add support for
> > > panel
> > > display, capacitive touchscreen and backlight.
> > >
> > > For now the backlight is configured as a GPIO, brightness of the
> > > display
> > > can not be set. When the FLEXIO PWM driver is available this
> > > should be
> > > switched to PWM backlight driver.
> > >
> > > Signed-off-by: Andrej Picej <andrej.picej@norik.com>
> > > [rework commit message, use local regulator, remove compatible]
> > > Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
> > > Signed-off-by: Christian Hemp <c.hemp@phytec.de>
> > > [m.felsch@pengutronix.de: cleanup downstream commit]
> > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> > > ---
> > > arch/arm64/boot/dts/freescale/Makefile | 2 +
> > > .../freescale/imx93-phyboard-segin-peb-av-02.dtso | 135
> > > +++++++++++++++++++++
> > > 2 files changed, 137 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/freescale/Makefile
> > > b/arch/arm64/boot/dts/freescale/Makefile
> > > index
> > > 525ef180481d331e9c4decd092b7b831c497b67e..27e27ac29e82bc0692e86c2
> > > ba15c240dc9fbe1c6 100644
> > > --- a/arch/arm64/boot/dts/freescale/Makefile
> > > +++ b/arch/arm64/boot/dts/freescale/Makefile
> > > @@ -357,10 +357,12 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-
> > > nash.dtb
> > > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin.dtb
> > >
> > > imx93-phyboard-nash-peb-wlbt-07-dtbs += imx93-phyboard-nash.dtb
> > > imx93-phyboard-nash-peb-wlbt-07.dtbo
> > > +imx93-phyboard-segin-peb-av-02-dtbs += imx93-phyboard-segin.dtb
> > > imx93-phyboard-segin-peb-av-02.dtbo
> > > imx93-phyboard-segin-peb-eval-01-dtbs += imx93-phyboard-
> > > segin.dtb imx93-phyboard-segin-peb-eval-01.dtbo
> > > imx93-phyboard-segin-peb-wlbt-05-dtbs += imx93-phyboard-
> > > segin.dtb imx93-phyboard-segin-peb-wlbt-05.dtbo
> > > imx93-phycore-rpmsg-dtbs += imx93-phyboard-nash.dtb imx93-
> > > phyboard-segin.dtb imx93-phycore-rpmsg.dtbo
> > > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash-peb-wlbt-07.dtb
> > > +dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-av-02.dtb
> >
> > Here you need to rebase since new commits on linux-next.
>
> Argh.. will do.
>
> > > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-eval-01.dtb
> > > dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-wlbt-05.dtb
> > > dtb-$(CONFIG_ARCH_MXC) += imx93-phycore-rpmsg.dtb
> > > diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-
> > > peb-av-02.dtso b/arch/arm64/boot/dts/freescale/imx93-phyboard-
> > > segin-peb-av-02.dtso
> > > new file mode 100644
> > > index
> > > 0000000000000000000000000000000000000000..2e7074e402dc8fdeb1568d4
> > > f2d4960431e972501
> > > --- /dev/null
> > > +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-
> > > 02.dtso
> > > @@ -0,0 +1,135 @@
> > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> > > +/*
> > > + * Copyright (C) 2025 PHYTEC Messtechnik GmbH
> > > + * Copyright (C) 2025 Pengutronix
> > > + *
> > > + * Author: Andrej Picej <andrej.picej@norik.com>
> > > + * Author: Marco Felsch <kernel@pengutronix.de>
> > > + */
> > > +
> > > +#include <dt-bindings/clock/imx93-clock.h>
> > > +#include <dt-bindings/gpio/gpio.h>
> > > +#include <dt-bindings/interrupt-controller/arm-gic.h>
> > > +#include "imx93-pinfunc.h"
> > > +
> > > +/dts-v1/;
> > > +/plugin/;
> > > +
> > > +&{/} {
> > > + /* TODO: Convert to PWM backlight once the FlexIO PWM is
> > > supported */
> > > + backlight: backlight {
> > > + compatible = "gpio-backlight";
> > > + pinctrl-names = "default";
> > > + pinctrl-0 = <&pinctrl_backlight>;
> > > + gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
> > > + };
> > > +
> > > + panel {
> > > + compatible = "edt,etm0700g0edh6";
> > > + pinctrl-names = "default";
> > > + pinctrl-0 = <&pinctrl_panel>;
> > > +
> > > + backlight = <&backlight>;
> > > + enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
> > > + power-supply = <®_x71_vcc_3v3>;
> > > +
> > > + port {
> > > + panel_in: endpoint {
> > > + remote-endpoint =
> > > <&dpi_to_panel>;
> > > + };
> > > + };
> > > + };
> > > +
> > > + reg_x71_vcc_3v3: regulator-x71-vcc-3v3 {
> >
> > I just checked the schematics.
> >
> > Can we rename this to reg_vcc_3v3_con in v2 maybe?
> >
> > > + compatible = "regulator-fixed";
> > > + regulator-name = "X71-VCC3V3";
> >
> > And this to "VCC3V3_CON"?
> >
> > The reasoning behind is that "X71-VCC3V3" voltage doesn't exist on
> > the
> > schematics, while there is actually "VCC3V3_CON" voltage supplying
> > the
> > display panel.
>
> I know that "X71-VCC3V3" doesn't exist, I also thought about
> "X71:VCC3V3" to make it clear. Why I mentioned the X71 in the first
> place was to not cause any naming conflict. I would like to keep the
> X71
> naming since "VCC3V3_CON" really is the "X71-VCC3V3" with some
> filters
> applied. Anyway, I can change this of course.
>
> > > + regulator-max-microvolt = <3300000>;
> > > + regulator-min-microvolt = <3300000>;
> > > + };
> > > +};
> > > +
> > > +&dpi_bridge {
> > > + status = "okay";
> > > +};
> > > +
> > > +&dpi_to_panel {
> > > + remote-endpoint = <&panel_in>;
> > > + bus-width = <18>;
> > > +};
> > > +
> > > +&lcdif {
> > > + pinctrl-names = "default";
> > > + pinctrl-0 = <&pinctrl_lcdif>;
> > > + assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>;
> > > + assigned-clock-rates = <332600000>;
> > > + status = "okay";
> > > +};
> > > +
> > > +&lpi2c2 {
> > > + #address-cells = <1>;
> > > + #size-cells = <0>;
> > > +
> > > + touchscreen@38 {
> > > + compatible = "edt,edt-ft5406";
> > > + reg = <0x38>;
> > > + pinctrl-names = "default";
> > > + pinctrl-0 = <&pinctrl_touchscreen>;
> > > + interrupt-parent = <&gpio4>;
> > > + interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
> > > + reset-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
> > > + touchscreen-size-x = <1792>;
> > > + touchscreen-size-y = <1024>;
> >
> > Please add "wakeup-source" property here like in the downstream
> > commit.
> >
> > With this in place, panel touch can be used to wake up the board
> > from sleep.
>
> Is this a required feature? Touchscreens with no certain
> low-power mode handlig (e.g. reduced scanning time) can draw much
> power
> in suspend.
>
> I can add it if Phytec is aware of this fact and still wants to have
> thsi feature.
Yes, please add this "wakeup-source" property again. This feature
shall work on our platform by default. And one who wants to avoid
touchscreen as wakeup-source can modify the device-tree or disable
it for wakeup via policy/sysfs.
Thanks,
Christoph
>
> > Last but not least, can you add the vcc and iovcc supply regulators
> > here
> > like in the downstream commit:
> >
> > vcc-supply = <®_vcc_3v3_con>;
> > iovcc-supply = <®_vcc_3v3_con>;
> >
> > to get rid of the following warnings:
> >
> > edt_ft5x06 1-0038: supply vcc not found, using dummy regulator
> > edt_ft5x06 1-0038: supply iovcc not found, using dummy regulator
>
> Will do.
>
> > Anyway, I tested the display on the segin board with latest linux-
> > next
> > and your patches. Can report display, touch and backlight work as
> > expected.
> >
> > Thank you!
> >
> > Tested-by: Primoz Fiser <primoz.fiser@norik.com>
>
> Regards,
> Marco
>
> >
> > BR,
> > Primoz
> >
> > > + };
> > > +};
> > > +
> > > +&media_blk_ctrl {
> > > + status = "okay";
> > > +};
> > > +
> > > +&iomuxc {
> > > + pinctrl_backlight: backlightgrp {
> > > + fsl,pins = <
> > > + MX93_PAD_CCM_CLKO3__GPIO4_IO28
> > > 0x1133e
> > > + >;
> > > + };
> > > +
> > > + pinctrl_lcdif: lcdifgrp {
> > > + fsl,pins = <
> > > + MX93_PAD_GPIO_IO00__MEDIAMIX_DISP_CLK
> > > 0x50e
> > > + MX93_PAD_GPIO_IO01__MEDIAMIX_DISP_DE
> > > 0x50e
> > > + MX93_PAD_GPIO_IO02__MEDIAMIX_DISP_VSYNC
> > > 0x50e
> > > + MX93_PAD_GPIO_IO03__MEDIAMIX_DISP_HSYNC
> > > 0x50e
> > > + MX93_PAD_GPIO_IO04__MEDIAMIX_DISP_DATA00
> > > 0x50e
> > > + MX93_PAD_GPIO_IO05__MEDIAMIX_DISP_DATA01
> > > 0x50e
> > > + MX93_PAD_GPIO_IO06__MEDIAMIX_DISP_DATA02
> > > 0x50e
> > > + MX93_PAD_GPIO_IO07__MEDIAMIX_DISP_DATA03
> > > 0x50e
> > > + MX93_PAD_GPIO_IO08__MEDIAMIX_DISP_DATA04
> > > 0x50e
> > > + MX93_PAD_GPIO_IO09__MEDIAMIX_DISP_DATA05
> > > 0x51e
> > > + MX93_PAD_GPIO_IO10__MEDIAMIX_DISP_DATA06
> > > 0x50e
> > > + MX93_PAD_GPIO_IO11__MEDIAMIX_DISP_DATA07
> > > 0x50e
> > > + MX93_PAD_GPIO_IO12__MEDIAMIX_DISP_DATA08
> > > 0x50e
> > > + MX93_PAD_GPIO_IO13__MEDIAMIX_DISP_DATA09
> > > 0x50e
> > > + MX93_PAD_GPIO_IO14__MEDIAMIX_DISP_DATA10
> > > 0x50e
> > > + MX93_PAD_GPIO_IO15__MEDIAMIX_DISP_DATA11
> > > 0x50e
> > > + MX93_PAD_GPIO_IO16__MEDIAMIX_DISP_DATA12
> > > 0x506
> > > + MX93_PAD_GPIO_IO17__MEDIAMIX_DISP_DATA13
> > > 0x506
> > > + MX93_PAD_GPIO_IO18__MEDIAMIX_DISP_DATA14
> > > 0x506
> > > + MX93_PAD_GPIO_IO19__MEDIAMIX_DISP_DATA15
> > > 0x506
> > > + MX93_PAD_GPIO_IO20__MEDIAMIX_DISP_DATA16
> > > 0x506
> > > + MX93_PAD_GPIO_IO21__MEDIAMIX_DISP_DATA17
> > > 0x506
> > > + >;
> > > + };
> > > +
> > > + pinctrl_panel: panelgrp {
> > > + fsl,pins = <
> > > + MX93_PAD_CCM_CLKO4__GPIO4_IO29
> > > 0x1133e
> > > + >;
> > > + };
> > > +
> > > + pinctrl_touchscreen: touchscreengrp {
> > > + fsl,pins = <
> > > + MX93_PAD_ENET1_MDIO__GPIO4_IO01
> > > 0x11e
> > > + MX93_PAD_ENET1_RD2__GPIO4_IO12
> > > 0x1133e
> > > + >;
> > > + };
> > > +};
> > >
> >
> > --
> > Primoz Fiser
> > phone: +386-41-390-545
> > email: primoz.fiser@norik.com
> > --
> > Norik systems d.o.o.
> > Your embedded software partner
> > Slovenia, EU
> > phone: +386-41-540-545
> > email: info@norik.com
> >
> >
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay
2025-12-16 15:29 ` Christoph Stoidner
@ 2025-12-18 16:19 ` Marco Felsch
0 siblings, 0 replies; 8+ messages in thread
From: Marco Felsch @ 2025-12-18 16:19 UTC (permalink / raw)
To: Christoph Stoidner
Cc: Primoz Fiser, Abel Vesa, Peng Fan, Michael Turquette,
Stephen Boyd, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Andrej Picej, Christian Hemp, Stefan Müller-Klieser,
Norbert Wesp, linux-clk@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
On 25-12-16, Christoph Stoidner wrote:
> Hi Marco,
>
> On Mo, 2025-12-15 at 18:07 +0100, Marco Felsch wrote:
> > Hi Primoz,
> >
> > On 25-12-03, Primoz Fiser wrote:
...
> > > > + touchscreen@38 {
> > > > + compatible = "edt,edt-ft5406";
> > > > + reg = <0x38>;
> > > > + pinctrl-names = "default";
> > > > + pinctrl-0 = <&pinctrl_touchscreen>;
> > > > + interrupt-parent = <&gpio4>;
> > > > + interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
> > > > + reset-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
> > > > + touchscreen-size-x = <1792>;
> > > > + touchscreen-size-y = <1024>;
> > >
> > > Please add "wakeup-source" property here like in the downstream
> > > commit.
> > >
> > > With this in place, panel touch can be used to wake up the board
> > > from sleep.
> >
> > Is this a required feature? Touchscreens with no certain
> > low-power mode handlig (e.g. reduced scanning time) can draw much
> > power
> > in suspend.
> >
> > I can add it if Phytec is aware of this fact and still wants to have
> > thsi feature.
>
> Yes, please add this "wakeup-source" property again. This feature
> shall work on our platform by default. And one who wants to avoid
> touchscreen as wakeup-source can modify the device-tree or disable
> it for wakeup via policy/sysfs.
Okay, I added the property for the v2.
Regards,
Marco
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-12-18 16:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02 13:44 [PATCH 0/2] i.MX93 phyBOARD-Segin DisplayKit AV-02 Support Marco Felsch
2025-12-02 13:44 ` [PATCH 1/2] clk: imx: fracn-gppll: Add 332.60 MHz Support Marco Felsch
2025-12-03 8:31 ` Primoz Fiser
2025-12-02 13:44 ` [PATCH 2/2] arm64: dts: imx93-phyboard-segin: Add peb-av-02 overlay Marco Felsch
2025-12-03 8:34 ` Primoz Fiser
2025-12-15 17:07 ` Marco Felsch
2025-12-16 15:29 ` Christoph Stoidner
2025-12-18 16:19 ` Marco Felsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox