From patchwork Tue Nov 29 14:44:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13058668 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 E7880C4321E for ; Tue, 29 Nov 2022 14:45:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lt8U/eWK3QnN6XixnTNV58IVPcDx91EtbPsiz7KcVY4=; b=mWSQSXJYNCDfsV J5KFlDt7D1Qh+miPrB45sc8LLhabtg0yGtnWVhozM2w3uxQyGwXJbQRb2ftuiUiqXCRZGUZrNJydu OOjjNtzHjFOIVNlDR7VLAl7QRegXLQxYhnrK+0oZHqxfY3ceAI3meLOFOGEG9rqDo5pFn+u82uZuP CLmBTxTpae5S3KRT28v/PKZwTlYGPLuS1t2R4GiL6Cs/ZpLHVRTLM1J7BEUgYJcp6qDMfBrt7Qair 7cBGruo4QG3C8fRJIVVNG4liNdR3MGOhnbjGRLcEi/KHyv5UByPQm+PxAThWgv3HOPJGm5y53l0Td Y4SF0QNAwX8aTOVkENhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01qw-009Nia-J2; Tue, 29 Nov 2022 14:44:54 +0000 Received: from smtp-out-01.comm2000.it ([212.97.32.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01qd-009Nas-FX for linux-arm-kernel@lists.infradead.org; Tue, 29 Nov 2022 14:44:37 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-01.comm2000.it (Postfix) with ESMTPSA id 8DA8D843CBE; Tue, 29 Nov 2022 15:44:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1669733074; bh=Ane6xT0USg1n2hwSTiqU2oGaF6O2VGRPsOvULlULlTY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JEjDg+WZ5MHOvj3rwpYBoxW7+0XvZuvB6EsTUmOuRKm6ABzdO2jPkkxfhaH1nT2L6 9aQUqmvrN3A03AYnZkNmwFP5mF9/PbOBMU5kFbNlTx+uSi50G0Gq+iEFuYYVtaZwYq fbDfmelFI9yfisAKJ9cJlWPirXmLvfdkHNgCC/o7XNc5BpN69Uio2eUYWhD/l/MOgw bdMepABMq29pD7ecNdolqfsrTI7jIK4F32Ty1f7Geh9Y3eoxPtBqrL0lcHy3VyVrAy dpJ1/NB4UXeEKtsGMU3eqhUASihdF+bcdNY+7ufe1CkvWNyZb9bB/cIY4NjVgsfa8A 4kYZ4z0Ef2Gkg== From: Francesco Dolcini To: linux-arm-kernel@lists.infradead.org Cc: Max Krummenacher , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, laurent.pinchart@ideasonboard.com, Stefan Eichenberger , Francesco Dolcini Subject: [PATCH v2 1/2] arm64: dts: imx8mp-verdin: add dsi to hdmi functionality Date: Tue, 29 Nov 2022 15:44:11 +0100 Message-Id: <20221129144412.37497-2-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129144412.37497-1-francesco@dolcini.it> References: <20221129144412.37497-1-francesco@dolcini.it> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221129_064435_738645_BC58E66A X-CRM114-Status: GOOD ( 12.75 ) 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 From: Max Krummenacher Add the hdmi connector present on the dsi to hdmi adapter now required by the upstream lontium bridge driver. The dsi to hdmi adapter is enabled in an device tree overlay. Signed-off-by: Max Krummenacher Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index 6a1890a4b5d8..c9c64433cf70 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -60,6 +60,18 @@ button-wakeup { }; }; + hdmi_connector: hdmi-connector { + compatible = "hdmi-connector"; + ddc-i2c-bus = <&i2c2>; + /* Verdin PWM_3_DSI (SODIMM 19) */ + hpd-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; + label = "hdmi"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_3_dsi_hpd_gpio>; + type = "a"; + status = "disabled"; + }; + /* Carrier Board Supplies */ reg_1p8v: regulator-1p8v { compatible = "regulator-fixed"; @@ -701,7 +713,7 @@ hwmon: hwmon@40 { hdmi_lontium_lt8912: hdmi@48 { compatible = "lontium,lt8912b"; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_10_dsi>, <&pinctrl_pwm_3_dsi_hpd_gpio>; + pinctrl-0 = <&pinctrl_gpio_10_dsi>; reg = <0x48>; /* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */ /* Verdin GPIO_10_DSI (SODIMM 21) */ From patchwork Tue Nov 29 14:44:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13058669 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 2918BC4321E for ; Tue, 29 Nov 2022 14:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q2coP1Ya8Tk9yXuakPv2eF0pomz1zqQDvhss1/3pvzE=; b=pJo8RXsFMRORYI VnqSgUJ4LZs6xw5PtS8qnUwUn6thAkbpLwvumEqDgyjr6Kg8XRk+sjNR0Q5Dsk8d1y6H1FZxfTRl+ hRYwVCJ8z35lLjCCpUqUt3Ui307uJ8Jdet7278cdSLMlDF3C7We6CLKjXAb8KKC3fdRiQvi2aGDAU K0f3ay3Zu15y191W3IvtDzsnt3AUngo96lVmXNn46qDtH/YRU3uVNl9r9jyrVJ8lHWsZw4fzcIQQb UusRL2Zo4vrBaRrJzMCJjOJdlXFpPE5AdXtK6q/UEFsRne8brIqVP8dQljzUa0x3B/5fInk3nht+B ErY8l2jB59bISJgCUuaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01rB-009Nps-9e; Tue, 29 Nov 2022 14:45:09 +0000 Received: from smtp-out-01.comm2000.it ([212.97.32.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p01qh-009NcB-OT for linux-arm-kernel@lists.infradead.org; Tue, 29 Nov 2022 14:44:42 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-01.comm2000.it (Postfix) with ESMTPSA id 5CADC844911; Tue, 29 Nov 2022 15:44:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1669733075; bh=DJETYg4L4LGpD3CLysXDZ7uf+K13ie8KvyfwuJtKuBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eDf9QD91rTob6GJegpJ+77oqLFfAYHwYh2fj/8KtoGB6cjGegd7wg3rN16DW13OzV Jsdj7aYWFiSjnQB4MoU1FPbeC8O56dAFjsk9sLDbXmuccPAHvuU9E4n14d2xrjJSv2 Z/YiKweHHeg+BuK/hdLqBIFYUVM6ONYSPcOiruD0xqYEzZ4biw8ewseE+wbZx2VTOd bbVx32PSqJ84OvdRCFWlOchy+qdCXPkeDxKNpZ8EnLb1eQVsDSfGRzhjtXnMhitG3x S8P8T6BweX5LuNCsKk3zEjKpU8CoDJ8zwdMAc9kkLJHtzMXl9OKdvO7J9lbXbS5GgR A9L2DF2R4Ra4A== From: Francesco Dolcini To: linux-arm-kernel@lists.infradead.org Cc: Max Krummenacher , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, laurent.pinchart@ideasonboard.com, Stefan Eichenberger , Francesco Dolcini Subject: [PATCH v2 2/2] arm64: dts: imx8mp-verdin: add dsi to lvds functionality Date: Tue, 29 Nov 2022 15:44:12 +0100 Message-Id: <20221129144412.37497-3-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129144412.37497-1-francesco@dolcini.it> References: <20221129144412.37497-1-francesco@dolcini.it> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221129_064440_012185_BB4EE9E5 X-CRM114-Status: GOOD ( 11.20 ) 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 From: Max Krummenacher Add a panel-lvds node and use the correct dsi to lvds chip name. Both to be later extended in a dt overlay according to the exact board HW configuration. Signed-off-by: Max Krummenacher Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index c9c64433cf70..aefe10de4778 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -72,6 +72,13 @@ hdmi_connector: hdmi-connector { status = "disabled"; }; + panel_lvds: panel-lvds { + compatible = "panel-lvds"; + backlight = <&backlight>; + data-mapping = "vesa-24"; + status = "disabled"; + }; + /* Carrier Board Supplies */ reg_1p8v: regulator-1p8v { compatible = "regulator-fixed";