From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F936E9DE68 for ; Thu, 9 Apr 2026 09:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=fkx+zy7S8tkXKrRqnkiWo05Crsd7tC+YW6b0KB03TfI=; b=vNHIbkjxaDNvjOBOmmohyNqq4s B8CiF1Gi0ZJDbNpOCsicDLn1MLKdHpTKdmrL7AtfbI9jRONulO5mG2nWjT6KKa8BRB1/efqBevwgn dQMS+cp6VLSO59luPAKETwNZmJoE988pRB7zxNeVaBhbswp9p9tN91w4hmMLKUi4Uy3Gp9vaIIBpc 3K1SO5OYq/iFDt7yD8J538SRlaWzKwSWULftlXM4UbOZko69vHzrGg63hClVFKbuY/kf6GWpNwVH6 r7U9NRSL4cvJTiv30VTP5bfszLgPSodgfxIRjgyGdlBmkCihN9j9Odi3To7kIWWlvx2OBBPij53YB zM7MLASA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wAlKF-0000000A0IM-1Rsi; Thu, 09 Apr 2026 09:05:23 +0000 Received: from cp2.siel.si ([46.19.12.180]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wAlKC-0000000A0F2-2alZ for linux-arm-kernel@lists.infradead.org; Thu, 09 Apr 2026 09:05:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fkx+zy7S8tkXKrRqnkiWo05Crsd7tC+YW6b0KB03TfI=; b=YbZ+puSb6eFdNciDrS41w2OGCn Y+L1S6KskFMGjhKMDUrdEPDDI+/JruLc5AQ3q0zwsJU4Z33BON072t97yDMxWpQgqyJDukbLgWjj9 qE8khwDBQxAehbLTwfC8cydmKitxbqljb6hxUB1EOabvYOhL7TYkWnwce1qGGZVzQu/8oiwji8Zdu Hbmk/YOFwAgjmccF4Lv5loK9nIpoCy5wX7t8l4HsjhT2Hrip5Ip3RU0gLN9VnzUQ+sSOChiSegv8p jS0Y/rxV2D9aNiBRrg1iDTVYq0H/lcqZnk70xC7tuODv1HZnsiMacA6/TfhbdISTctyKnSBtII4fa 46rnBuug==; Received: from 89-212-21-243.static.t-2.net ([89.212.21.243]:47156 helo=florijan-nb..) by cp2.siel.si with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.1) (envelope-from ) id 1wAlJW-0000000FYk7-02IH; Thu, 09 Apr 2026 11:04:35 +0200 From: Florijan Plohl To: Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH v2] arm64: dts: imx{91,93}-phyboard-segin: Add peb-av-18 overlays Date: Thu, 9 Apr 2026 11:01:25 +0200 Message-ID: <20260409090432.130489-1-florijan.plohl@norik.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp2.siel.si X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cp2.siel.si: authenticated_id: florijan.plohl@norik.com X-Authenticated-Sender: cp2.siel.si: florijan.plohl@norik.com X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260409_020521_321214_92026EEE X-CRM114-Status: GOOD ( 10.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add overlay for the PHYTEC Audio/Video adapter module PEB-AV-18 on phyBOARD-Segin-i.MX91/93 boards. The supported AC220 display is Powertip PH800480T032-ZHC19 panel with a backlight and Ilitek touch-screen controller. Signed-off-by: Florijan Plohl --- Changes in v2: - Link to v1: https://lore.kernel.org/all/20260402070826.970012-1-florijan.plohl@norik.com/ - Improve commit message to clarify what PEB-AV-18 is - Move imx91-phyboard-segin-peb-av-18 dtb entry next to the other imx91 phyboard-segin definition in Makefile - Introduce common imx91-93-phyboard-segin-peb-av-18.dtsi - Adjust drive-strength values arch/arm64/boot/dts/freescale/Makefile | 6 ++ .../imx91-93-phyboard-segin-peb-av-18.dtsi | 93 +++++++++++++++++++ .../imx91-phyboard-segin-peb-av-18.dtso | 57 ++++++++++++ .../imx93-phyboard-segin-peb-av-18.dtso | 57 ++++++++++++ 4 files changed, 213 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx91-93-phyboard-segin-peb-av-18.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx91-phyboard-segin-peb-av-18.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-18.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index bae24b53bce6..574960280744 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -416,6 +416,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx91-11x11-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx91-11x11-frdm.dtb dtb-$(CONFIG_ARCH_MXC) += imx91-11x11-frdm-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx91-phyboard-segin.dtb + +imx91-phyboard-segin-peb-av-18-dtbs += imx91-phyboard-segin.dtb imx91-phyboard-segin-peb-av-18.dtbo +dtb-$(CONFIG_ARCH_MXC) += imx91-phyboard-segin-peb-av-18.dtb + dtb-$(CONFIG_ARCH_MXC) += imx91-tqma9131-mba91xxca.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb @@ -441,6 +445,7 @@ imx93-phyboard-nash-jtag-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-nash-jta imx93-phyboard-nash-peb-wlbt-07-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-nash-peb-wlbt-07.dtbo imx93-phyboard-nash-pwm-fan-dtbs += imx93-phyboard-nash.dtb imx93-phyboard-nash-pwm-fan.dtbo imx93-phyboard-segin-peb-av-02-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-av-02.dtbo +imx93-phyboard-segin-peb-av-18-dtbs += imx93-phyboard-segin.dtb imx93-phyboard-segin-peb-av-18.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 @@ -448,6 +453,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash-jtag.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash-peb-wlbt-07.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-nash-pwm-fan.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-av-02.dtb +dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin-peb-av-18.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/imx91-93-phyboard-segin-peb-av-18.dtsi b/arch/arm64/boot/dts/freescale/imx91-93-phyboard-segin-peb-av-18.dtsi new file mode 100644 index 000000000000..53d5cbcd798b --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx91-93-phyboard-segin-peb-av-18.dtsi @@ -0,0 +1,93 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2026 PHYTEC Messtechnik GmbH + * + * Author: Florijan Plohl + */ + +#include +#include +#include + +/dts-v1/; +/plugin/; + +&{/} { + backlight: backlight { + compatible = "pwm-backlight"; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <5>; + power-supply = <®_vcc_3v3_con>; + pwms = <&pwm7 0 5000000 0>; + }; + + panel { + compatible = "powertip,ph800480t032-zhc19"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_panel>; + + backlight = <&backlight>; + enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; + power-supply = <®_vcc_3v3_con>; + + port { + panel_in: endpoint { + remote-endpoint = <&dpi_to_panel>; + }; + }; + }; + + pwm7: pwm-7 { + compatible = "pwm-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm7>; + gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; + #pwm-cells = <3>; + }; + + reg_vcc_3v3_con: regulator-vcc-3v3-con { + compatible = "regulator-fixed"; + regulator-name = "VCC3V3_CON"; + 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 = <27272728>; + status = "okay"; +}; + +&lpi2c2 { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@41 { + compatible = "ilitek,ili2130"; + reg = <0x41>; + 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 = <800>; + touchscreen-size-y = <480>; + wakeup-source; + }; +}; + +&media_blk_ctrl { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx91-phyboard-segin-peb-av-18.dtso b/arch/arm64/boot/dts/freescale/imx91-phyboard-segin-peb-av-18.dtso new file mode 100644 index 000000000000..35edf9b0fb0f --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx91-phyboard-segin-peb-av-18.dtso @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2026 PHYTEC Messtechnik GmbH + * + * Author: Florijan Plohl + */ + +#include "imx91-pinfunc.h" +#include "imx91-93-phyboard-segin-peb-av-18.dtsi" + +&iomuxc { + pinctrl_lcdif: lcdifgrp { + fsl,pins = < + MX91_PAD_GPIO_IO00__MEDIAMIX_DISP_CLK 0x57e + MX91_PAD_GPIO_IO01__MEDIAMIX_DISP_DE 0x51e + MX91_PAD_GPIO_IO02__MEDIAMIX_DISP_VSYNC 0x51e + MX91_PAD_GPIO_IO03__MEDIAMIX_DISP_HSYNC 0x51e + MX91_PAD_GPIO_IO04__MEDIAMIX_DISP_DATA0 0x51e + MX91_PAD_GPIO_IO05__MEDIAMIX_DISP_DATA1 0x51e + MX91_PAD_GPIO_IO06__MEDIAMIX_DISP_DATA2 0x51e + MX91_PAD_GPIO_IO07__MEDIAMIX_DISP_DATA3 0x51e + MX91_PAD_GPIO_IO08__MEDIAMIX_DISP_DATA4 0x51e + MX91_PAD_GPIO_IO09__MEDIAMIX_DISP_DATA5 0x51e + MX91_PAD_GPIO_IO10__MEDIAMIX_DISP_DATA6 0x51e + MX91_PAD_GPIO_IO11__MEDIAMIX_DISP_DATA7 0x51e + MX91_PAD_GPIO_IO12__MEDIAMIX_DISP_DATA8 0x51e + MX91_PAD_GPIO_IO13__MEDIAMIX_DISP_DATA9 0x51e + MX91_PAD_GPIO_IO14__MEDIAMIX_DISP_DATA10 0x51e + MX91_PAD_GPIO_IO15__MEDIAMIX_DISP_DATA11 0x51e + MX91_PAD_GPIO_IO16__MEDIAMIX_DISP_DATA12 0x51e + MX91_PAD_GPIO_IO17__MEDIAMIX_DISP_DATA13 0x51e + MX91_PAD_GPIO_IO18__MEDIAMIX_DISP_DATA14 0x51e + MX91_PAD_GPIO_IO19__MEDIAMIX_DISP_DATA15 0x51e + MX91_PAD_GPIO_IO20__MEDIAMIX_DISP_DATA16 0x51e + MX91_PAD_GPIO_IO21__MEDIAMIX_DISP_DATA17 0x51e + >; + }; + + pinctrl_panel: panelgrp { + fsl,pins = < + MX91_PAD_CCM_CLKO4__GPIO4_IO29 0x1133e + >; + }; + + pinctrl_pwm7: pwm7grp { + fsl,pins = < + MX91_PAD_CCM_CLKO3__GPIO4_IO28 0x1133e + >; + }; + + pinctrl_touchscreen: touchscreengrp { + fsl,pins = < + MX91_PAD_ENET1_MDIO__GPIO4_IO1 0x11e + MX91_PAD_ENET1_RD2__GPIO4_IO12 0x1133e + >; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-18.dtso b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-18.dtso new file mode 100644 index 000000000000..11f7d7502be4 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin-peb-av-18.dtso @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2026 PHYTEC Messtechnik GmbH + * + * Author: Florijan Plohl + */ + +#include "imx93-pinfunc.h" +#include "imx91-93-phyboard-segin-peb-av-18.dtsi" + +&iomuxc { + pinctrl_lcdif: lcdifgrp { + fsl,pins = < + MX93_PAD_GPIO_IO00__MEDIAMIX_DISP_CLK 0x57e + MX93_PAD_GPIO_IO02__MEDIAMIX_DISP_VSYNC 0x51e + MX93_PAD_GPIO_IO01__MEDIAMIX_DISP_DE 0x51e + MX93_PAD_GPIO_IO03__MEDIAMIX_DISP_HSYNC 0x51e + MX93_PAD_GPIO_IO04__MEDIAMIX_DISP_DATA00 0x51e + MX93_PAD_GPIO_IO05__MEDIAMIX_DISP_DATA01 0x51e + MX93_PAD_GPIO_IO06__MEDIAMIX_DISP_DATA02 0x51e + MX93_PAD_GPIO_IO07__MEDIAMIX_DISP_DATA03 0x51e + MX93_PAD_GPIO_IO08__MEDIAMIX_DISP_DATA04 0x51e + MX93_PAD_GPIO_IO09__MEDIAMIX_DISP_DATA05 0x51e + MX93_PAD_GPIO_IO10__MEDIAMIX_DISP_DATA06 0x51e + MX93_PAD_GPIO_IO11__MEDIAMIX_DISP_DATA07 0x51e + MX93_PAD_GPIO_IO12__MEDIAMIX_DISP_DATA08 0x51e + MX93_PAD_GPIO_IO13__MEDIAMIX_DISP_DATA09 0x51e + MX93_PAD_GPIO_IO14__MEDIAMIX_DISP_DATA10 0x51e + MX93_PAD_GPIO_IO15__MEDIAMIX_DISP_DATA11 0x51e + MX93_PAD_GPIO_IO16__MEDIAMIX_DISP_DATA12 0x51e + MX93_PAD_GPIO_IO17__MEDIAMIX_DISP_DATA13 0x51e + MX93_PAD_GPIO_IO18__MEDIAMIX_DISP_DATA14 0x51e + MX93_PAD_GPIO_IO19__MEDIAMIX_DISP_DATA15 0x51e + MX93_PAD_GPIO_IO20__MEDIAMIX_DISP_DATA16 0x51e + MX93_PAD_GPIO_IO21__MEDIAMIX_DISP_DATA17 0x51e + >; + }; + + pinctrl_panel: panelgrp { + fsl,pins = < + MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x1133e + >; + }; + + pinctrl_pwm7: pwm7grp { + fsl,pins = < + MX93_PAD_CCM_CLKO3__GPIO4_IO28 0x1133e + >; + }; + + pinctrl_touchscreen: touchscreengrp { + fsl,pins = < + MX93_PAD_ENET1_MDIO__GPIO4_IO01 0x11e + MX93_PAD_ENET1_RD2__GPIO4_IO12 0x1133e + >; + }; +}; -- 2.43.0