From nobody Wed Feb 11 19:43:58 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A677BC7EE26 for ; Tue, 11 Apr 2023 10:05:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229721AbjDKKEp (ORCPT ); Tue, 11 Apr 2023 06:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbjDKKEZ (ORCPT ); Tue, 11 Apr 2023 06:04:25 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ADE5E26B8; Tue, 11 Apr 2023 03:04:23 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.98,336,1673881200"; d="scan'208";a="155587973" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 11 Apr 2023 19:04:23 +0900 Received: from localhost.localdomain (unknown [10.226.93.123]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id C39FE400F2DA; Tue, 11 Apr 2023 19:04:19 +0900 (JST) From: Biju Das To: Rob Herring , Mauro Carvalho Chehab , Krzysztof Kozlowski Cc: Biju Das , Geert Uytterhoeven , Laurent Pinchart , Magnus Damm , linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Prabhakar Mahadev Lad Subject: [PATCH v2 7/8] arm64: dts: renesas: rzg2l-smarc: Link DSI with ADV7535 Date: Tue, 11 Apr 2023 11:03:45 +0100 Message-Id: <20230411100346.299768-8-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230411100346.299768-1-biju.das.jz@bp.renesas.com> References: <20230411100346.299768-1-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Enable DSI and ADV7535 and link DSI with ADV7535 on RZ/G2L SMARC EVK. Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven --- v1->v2: * Linked DSI with ADV7535. * Added CEC clock and clock names * Added hotplug detection interrupt. * Removed pinctrl properties as it is defined in common. * Removed Rb tag from Geert as there are too many changes. --- arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi | 79 ++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi b/arch/arm64/boot= /dts/renesas/rzg2l-smarc.dtsi index e180a955b6ac..2a158a954b2f 100644 --- a/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi @@ -16,12 +16,91 @@ aliases { serial1 =3D &scif2; i2c3 =3D &i2c3; }; + + osc1: cec-clock { + compatible =3D "fixed-clock"; + #clock-cells =3D <0>; + clock-frequency =3D <12000000>; + }; + + hdmi-out { + compatible =3D "hdmi-connector"; + type =3D "d"; + + port { + hdmi_con_out: endpoint { + remote-endpoint =3D <&adv7535_out>; + }; + }; + }; }; =20 &cpu_dai { sound-dai =3D <&ssi0>; }; =20 +&dsi { + status =3D "okay"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + dsi0_in: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + dsi0_out: endpoint { + data-lanes =3D <1 2 3 4>; + remote-endpoint =3D <&adv7535_in>; + }; + }; + }; +}; + +&i2c1 { + adv7535: hdmi@3d { + compatible =3D "adi,adv7535"; + reg =3D <0x3d>; + + interrupt-parent =3D <&pinctrl>; + interrupts =3D ; + clocks =3D <&osc1>; + clock-names =3D "cec"; + avdd-supply =3D <®_1p8v>; + dvdd-supply =3D <®_1p8v>; + pvdd-supply =3D <®_1p8v>; + a2vdd-supply =3D <®_1p8v>; + v3p3-supply =3D <®_3p3v>; + v1p2-supply =3D <®_1p8v>; + + adi,dsi-lanes =3D <4>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + adv7535_in: endpoint { + remote-endpoint =3D <&dsi0_out>; + }; + }; + + port@1 { + reg =3D <1>; + adv7535_out: endpoint { + remote-endpoint =3D <&hdmi_con_out>; + }; + }; + }; + }; +}; + &i2c3 { pinctrl-0 =3D <&i2c3_pins>; pinctrl-names =3D "default"; --=20 2.25.1