From patchwork Sat Aug 12 19:11:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13351920 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 8C5C5C0015E for ; Sat, 12 Aug 2023 19:12:28 +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=30FT2TuxoM5WLJCXrTp/zTnO+3ste0jIGZr1X1WhXkE=; b=FCF33Iou/nHbKt ofodqhU7wX5N+TQBH/vWsy4Er8fId3vsrzeD9vHJJJ0pOhJPe8yzNQotKj3lyaYw/SkR/XvUkCVsI iSEudI144D/dVncsyVWWwH1b9XCvktKsExRELWWFVW278BGPzQibShOIIEGmBio3vUEG21Tfx96pc 6Ai7H0D6mLlb15bpNAkQ+o7mAK9lKlOPZN6MkgeWfsaRFL3LZt21eeLqmTHsdmpZCxU42aoXrb7PE rN4GmYNxI4tfBKO7Ra1ViKoMRheh8hqoA99I27176P2V/J+f9xgbQcF3ceKN7FH6bDBvDGdOWydJm hvuiooSMtz3c7BUEeYhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qUu1h-00DuEA-1r; Sat, 12 Aug 2023 19:11:53 +0000 Received: from mail11.truemail.it ([217.194.8.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qUu1d-00DuCf-18 for linux-arm-kernel@lists.infradead.org; Sat, 12 Aug 2023 19:11:51 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 03941201BC; Sat, 12 Aug 2023 21:11:38 +0200 (CEST) From: Francesco Dolcini To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Francesco Dolcini , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] arm64: dts: ti: verdin-am62: Add DSI display support Date: Sat, 12 Aug 2023 21:11:23 +0200 Message-Id: <20230812191123.14779-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230812_121149_577826_8886874D X-CRM114-Status: GOOD ( 10.17 ) 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: Francesco Dolcini Add MIPI-DSI support to Verdin AM62. Verdin AM62 has a MIPI DSI interface on the edge connector, this is provided with a Toshiba TC358778 DPI to MIPI-DSI bridge connected to the DSS DPI port with a 18-bit width parallel bus. Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi index 5db9ef2dc7e5..40992e7e4c30 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi @@ -815,6 +815,26 @@ cpsw3g_phy0: ethernet-phy@0 { }; }; +&dss { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_parallel_rgb>; + status = "disabled"; +}; + +&dss_ports { + #address-cells = <1>; + #size-cells = <0>; + + /* VP2: DPI Output */ + port@1 { + reg = <1>; + + dpi_out: endpoint { + remote-endpoint = <&rgb_in>; + }; + }; +}; + /* Verdin PWM_1, PWM_2 */ &epwm0 { pinctrl-names = "default"; @@ -1051,6 +1071,7 @@ port@0 { rgb_in: endpoint { data-lines = <18>; + remote-endpoint = <&dpi_out>; }; };