From patchwork Thu Sep 1 15:40:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12962837 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 182D7ECAAD1 for ; Thu, 1 Sep 2022 15:42:26 +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: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:In-Reply-To:References: List-Owner; bh=VJL8T/VAoC0qBawN7HGNz+k2RaNGQLs4lL4vN3sCdnw=; b=dON1YYbABwSgaf /kGuLBltHqyFWxO1YYAAGvETOWnmLbNcHstrjKqaQL+IFM0DyW+T0Eu54HTSVJW4+r5k3+3EQfb2A Wysffj1K65sXVL50aJxQtYjwuqYXfC4UAobtJSc5av5ITA9rNcHwrMELTa8Sp5BQ0KugwWbn9ZpBg TR0k26yMeqdqcME47YtP14jbmOKMcUmlN4dRI0FzBLFAlML9bINWAf0JTZuVza13MSo2JbmPiAeSL 6A+VquEjllL4Te9UeI3tBfUiLmgIP3CemB5KOmPzhQgvXFB6mvf16CF3jpSQhjqMkepsHHww022PZ ewtbviqZ7iLLHGgS9IMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTmJc-00Cw4E-2K; Thu, 01 Sep 2022 15:41:12 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTmJU-00Cw14-PH for linux-arm-kernel@lists.infradead.org; Thu, 01 Sep 2022 15:41:10 +0000 Received: by mail-ej1-x636.google.com with SMTP id nc14so30623251ejc.4 for ; Thu, 01 Sep 2022 08:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=UdAxssIJlstCZGaS8Jok9Kgh/CUKOzKmjtPHBIyHVi4=; b=LaVUqW7/5aaJGtTFd8WDfW48b8Qa3G6lf0BGE9xuAuERoiEANky9qxVZm7B7nbg/PB pvHYeUVIf0jAmSkWvMlXKCx/JgRcynWB9tmgqIgDWhp9nvlpOrKRn7vR8HqfYpEY543m LniA9a7v3HwM4P3OeHI1QwJy3f/ODBs7Qq/AE6ssGZ4pMgbGisGYbDDqw3IqLx4e1FS5 tt9BemVlDg0NDtR8ws4vb9Y78mGlVzOzG7SIyJFkFqhfAJjSN+7pSdC1t4WfXhEipnKE jmzd0N1eXK3N9tKytuxq7V5czetDpxZlzBnOc1p3bx0hfHG8/J3CTPDN8kCVaoRXNRBx vYTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=UdAxssIJlstCZGaS8Jok9Kgh/CUKOzKmjtPHBIyHVi4=; b=v1Mh9lZs876HMPD0RGn5rl564WVkQGxR3otfAkbKe3GbhvNNe9BYJbLxGFtRooifw/ AtOCseTxv49TPahAN0fdxZSkQHs5DEgq7L9L2Tx14GgL8fn3Z7stqsqoVA+YO/CobG8K SHH+XpYWlkQ+q7eWX3P4tFcHdSDK0IGlvz1o7E7AJLm9hx8zl6+9t2ovLbQWIOzMPtkE /ik6t/OtC2h2aqHzCHTZFaUJVvR6gApWblh46iwvqGFsTsntVZMIzSXNqmnt54jpOrjP gg0JuE+czW5WxcpOQ91NaPudpqX10uGLXdpD/6i0R+BavG0HVcyPajYNAahCCeog2kAJ 3T+g== X-Gm-Message-State: ACgBeo2fUlhLBrHbRQTzWkVywFRCpfDNkMDIic4aK2m42UYOKCZpr/jF 8txpVf1T3YyiLeGiS9SBjoE= X-Google-Smtp-Source: AA6agR6iDpQf1r7dRyqoRN8uoo+/0JfYGnx+uIepyVxknKh4bMh1Ff/C5w/BfILcoRJIi1boOhDMKA== X-Received: by 2002:a17:906:9b89:b0:73d:6a55:c489 with SMTP id dd9-20020a1709069b8900b0073d6a55c489mr24666187ejc.406.1662046861059; Thu, 01 Sep 2022 08:41:01 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id c25-20020a056402159900b00447b1772a26sm1543103edv.12.2022.09.01.08.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 08:41:00 -0700 (PDT) From: Max Krummenacher To: Max Krummenacher Cc: Fabio Estevam , Krzysztof Kozlowski , Laurent Pinchart , Marcel Ziswiler , NXP Linux Team , Pengutronix Kernel Team , Philippe Schenker , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: imx8mp-verdin: add dsi to hdmi functionality Date: Thu, 1 Sep 2022 17:40:50 +0200 Message-Id: <20220901154051.1885509-1-max.oss.09@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220901_084104_864015_E6AA0837 X-CRM114-Status: GOOD ( 12.14 ) 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 --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index 76cc89296150..bd84a0d135dc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -59,6 +59,14 @@ button-wakeup { }; }; + hdmi_connector: hdmi-connector { + compatible = "hdmi-connector"; + ddc-i2c-bus = <&i2c2>; + label = "hdmi"; + type = "a"; + status = "disabled"; + }; + /* Carrier Board Supplies */ reg_1p8v: regulator-1p8v { compatible = "regulator-fixed"; From patchwork Thu Sep 1 15:40:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12962838 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 3BAF8ECAAD1 for ; Thu, 1 Sep 2022 15:42: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: 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=EA0l01SkXSUhnwIraZS8AZ3p/Q9fjP6/mmkD1BRiCek=; b=yvm/C5Ux8upTRd KgMsvriYqeeQq5HRGiACICjSy+gAF33+MzfQdK74jDqEeaA3OXZh94GmwD5FVwsyxZAOhIfsKrQd/ KTnhfjCW5ImUPhlzzzXZWQqfm5Rq5UNqa3LlRFEcTgKkiJgAFihTF1ekm0biQ9SRFYT++/XZ6iXTi +vtmKp3DMJB+hdUJs8UPuuAs4bh4M2QUHrU4SKEv6K1OMsF27Air7ghAmtMV8E6J+aveDckvzzPnn Lui5i21xQIf+h60C2u9ckSDM82uCDGOeX/fkEmfCPQxs/T8tLimvCkq0kx7JuFYEjf9hGNIdHa5XR Rb8xVlJDURsuToHQdbuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTmJq-00Cw8O-Tv; Thu, 01 Sep 2022 15:41:27 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTmJn-00Cw6T-Bc for linux-arm-kernel@lists.infradead.org; Thu, 01 Sep 2022 15:41:25 +0000 Received: by mail-ed1-x531.google.com with SMTP id z8so14337077edb.6 for ; Thu, 01 Sep 2022 08:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=JxxplVChk1fR4jdUMTZHm2J51GYz2+D62Sgb2oOFN0I=; b=EJpmZxcV/H0wdtJOHcmfSa0JYUz8JFHgBxllCr4dkL9P+Z2xJCFsfuhgZwVKf3zGyU xdtDMW3KiC9F5TnnHgd8bzmfq18rJrvP+DBCUnOPgUUrRgvM7o5hL9NKVtbjVZtH04gS 4kLMe29soL72dRGtpf+YWQUdWMgV4PEu6NXj5QKsvRKrluV+Z+uzpQR3Vy4UAnNjpM9n 6aTrkGVJSh4nQDWkO6twoswkD1SrcHdwp+ZiR5jR43kWQJgpYwxELNRjVhJ80NcATCQZ 8XGVDbMBYDEmWzNS251D6PL1rip5YGjs7DVBaI6ZrmUeKhns8Z8CrY3M7koY58Az6EH0 DkLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=JxxplVChk1fR4jdUMTZHm2J51GYz2+D62Sgb2oOFN0I=; b=OKwyMf28onfIx8x47rWb4iCMGBGP5VgpBYGVTfJAySfAkqx9KhUaOdA7nMusOyJnyl ACDHicBgdZivd0bM/7hsbE+WO/3ARB+x/4DuRmzRz7pATMvCM7i2hIDy0m1PY+ahgGKV FB+tWDDCP3B8g7Cv8BZgwA634gIYFG2Byqbffd7LFWkbCLIhA8IUXfazLzZ8MEDyFgpg JI6dnC5hiI5BAvc438IwCqYl6lVFeCIQFdbOfyRPeJ/L8jIRq9OErb0w+jPtoVqHIBzm cWsKRKGhL0Q8n966R+70yGTUe06KXrDfuBOi/Phroms6vlqFwUFduAtjbIgDoWk2PVLc D5yw== X-Gm-Message-State: ACgBeo0wPYdU55USSjD9nPxmW5yXgbRHBkas6Vq920kSkkcpY1g/ZyUX 489Kmu0GHWA5HooSMzlg5iM= X-Google-Smtp-Source: AA6agR5Y7RlBE4VSvJQJlhfWWkThmcA/jGMUGDj69duBgecT3jkrk873qDBX7ZNFh/J0rbUal4Zm6A== X-Received: by 2002:aa7:cdcc:0:b0:447:bac0:4c20 with SMTP id h12-20020aa7cdcc000000b00447bac04c20mr28510923edw.183.1662046880512; Thu, 01 Sep 2022 08:41:20 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id c25-20020a056402159900b00447b1772a26sm1543103edv.12.2022.09.01.08.41.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 08:41:20 -0700 (PDT) From: Max Krummenacher To: Max Krummenacher Cc: Fabio Estevam , Krzysztof Kozlowski , Laurent Pinchart , Marcel Ziswiler , NXP Linux Team , Pengutronix Kernel Team , Philippe Schenker , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: imx8mp-verdin: add dsi to lvds functionality Date: Thu, 1 Sep 2022 17:40:51 +0200 Message-Id: <20220901154051.1885509-2-max.oss.09@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220901154051.1885509-1-max.oss.09@gmail.com> References: <20220901154051.1885509-1-max.oss.09@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220901_084123_421716_90DEBD8C X-CRM114-Status: GOOD ( 13.79 ) 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 --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index bd84a0d135dc..a3e20c7add3e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -67,6 +67,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"; @@ -690,8 +697,8 @@ gpio_expander_21: gpio-expander@21 { status = "disabled"; }; - lvds_ti_sn65dsi83: bridge@2c { - compatible = "ti,sn65dsi83"; + lvds_ti_sn65dsi84: bridge@2c { + compatible = "ti,sn65dsi84"; /* Verdin GPIO_9_DSI (SN65DSI84 IRQ, SODIMM 17, unused) */ /* Verdin GPIO_10_DSI (SODIMM 21) */ enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;