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) */