From mboxrd@z Thu Jan 1 00:00:00 1970 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 D5F4AC77B7C for ; Fri, 12 May 2023 21:35: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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=60Ucv1mto1GRTTWlatkZbnCN3E4rLO/sdGXJS5fVMmQ=; b=H37ACpu8LMNXm9fq60eeoCGD0j 9mbqAALUagHQfzQ8i2eIAIieNAKY7uMsC8GD00x41bdBaNvdehuX83hnDNx19IIBvjSu88v3iYuSa jyuNaJfk5DWlkLcIKPp+69DORXBKz0p8OdHeU/0L8hB+FeY1B+jWWqMA+Xt8roVmD1u0F1LE4xrJu tfSJTLr5jFYoez4VzfL33o3IpbN2eDqZKhgjbJx36VthTw6j3HE3ATGmYjUM1q34WJCQfjtPiTVvg RkP6ShDK6UjB3T/cxisb58X773Su/WqaJlKeBcydG15/ieHJ6AdWbmBDJRpLSzFn5Yex6xVZgrSvb xTXQLh0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pxaPy-00D67x-14; Fri, 12 May 2023 21:35:14 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pxaPt-00D66r-2A; Fri, 12 May 2023 21:35:11 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DC38B6401D; Fri, 12 May 2023 21:35:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 011DCC433D2; Fri, 12 May 2023 21:35:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683927308; bh=ssPoigezhCRrDjg7mcA2KStxlVolfI3YMYndQSDR72E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rnWJ+EWH6NpSxhEi+rjIYtoO0FVqUzj+M2yz0JL6ra6laKLTgsewUkAJGF7WDI7db kAMtFsNX2vDmy63695efG66uBHWQLnMGPinOgtPVd4knXqdExsA3zrvoIoHRB9lb3N BZbZhqEV6/kl0ZSGozTekrAacngCLqYGsopfJKkPhpkK3k0l4lptSMdDGS1i0q7+9S mBVdrlmEhvFX8CPNgd3rLUSR8GlL+RyA/vXFDMydaftSdcXg+KMQHW/qjGqbgz+tz9 uFBcTtAVC8QM0LM2G+BJxUJQlPEcJrlZmaEPJOxoR7zQtletlJG8vCQCsIyDpc7AeY HFIAh5kfx00+w== Date: Fri, 12 May 2023 22:35:01 +0100 From: Conor Dooley To: Neil Armstrong Cc: Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Airlie , Daniel Vetter , Philipp Zabel , Vinod Koul , Kishon Vijay Abraham I , Sam Ravnborg , Nicolas Belin , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-phy@lists.infradead.org Subject: Re: [PATCH v4 04/13] dt-bindings: display: add Amlogic MIPI DSI Host Controller bindings Message-ID: <20230512-elevation-stream-8acf60905d6b@spud> References: <20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v4-0-2592c29ea263@linaro.org> <20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v4-4-2592c29ea263@linaro.org> MIME-Version: 1.0 In-Reply-To: <20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v4-4-2592c29ea263@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230512_143509_821481_AFDE3C03 X-CRM114-Status: GOOD ( 20.02 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0490730216466858560==" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org --===============0490730216466858560== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="s/aEe9Onk7m7s45t" Content-Disposition: inline --s/aEe9Onk7m7s45t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 12, 2023 at 03:11:35PM +0200, Neil Armstrong wrote: > The Amlogic G12A, G12B & SM1 SoCs embeds a Synopsys DW-MIPI-DSI transceiv= er (ver 1.21a), > with a custom glue managing the IP resets, clock and data input similar t= o the DW-HDMI Glue > on the same Amlogic SoCs. >=20 > Signed-off-by: Neil Armstrong > Signed-off-by: Neil Armstrong This looks fine to me, Reviewed-by: Conor Dooley but I would like Krzysztof to take a look too to be on the safe side! Cheers, Conor. > --- > .../display/amlogic,meson-g12a-dw-mipi-dsi.yaml | 117 +++++++++++++++= ++++++ > 1 file changed, 117 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/display/amlogic,meson-g12a= -dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/amlogic,meson= -g12a-dw-mipi-dsi.yaml > new file mode 100644 > index 000000000000..8169c7e93ff5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/amlogic,meson-g12a-dw-mip= i-dsi.yaml > @@ -0,0 +1,117 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright 2020 BayLibre, SAS > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/amlogic,meson-g12a-dw-mipi-ds= i.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Amlogic specific extensions to the Synopsys Designware MIPI DSI H= ost Controller > + > +maintainers: > + - Neil Armstrong > + > +description: | > + The Amlogic Meson Synopsys Designware Integration is composed of > + - A Synopsys DesignWare MIPI DSI Host Controller IP > + - A TOP control block controlling the Clocks & Resets of the IP > + > +allOf: > + - $ref: dsi-controller.yaml# > + > +properties: > + compatible: > + enum: > + - amlogic,meson-g12a-dw-mipi-dsi > + > + reg: > + maxItems: 1 > + > + clocks: > + minItems: 3 > + > + clock-names: > + minItems: 3 > + items: > + - const: pclk > + - const: bit_clk > + - const: px_clk > + - const: meas_clk > + > + resets: > + minItems: 1 > + > + reset-names: > + items: > + - const: top > + > + phys: > + minItems: 1 > + > + phy-names: > + items: > + - const: dphy > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: Input node to receive pixel data. > + > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: DSI output node to panel. > + > + required: > + - port@0 > + - port@1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - resets > + - reset-names > + - phys > + - phy-names > + - ports > + > +unevaluatedProperties: false > + > +examples: > + - | > + dsi@7000 { > + compatible =3D "amlogic,meson-g12a-dw-mipi-dsi"; > + reg =3D <0x6000 0x400>; > + resets =3D <&reset_top>; > + reset-names =3D "top"; > + clocks =3D <&clk_pclk>, <&bit_clk>, <&clk_px>; > + clock-names =3D "pclk", "bit_clk", "px_clk"; > + phys =3D <&mipi_dphy>; > + phy-names =3D "dphy"; > + > + ports { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + /* VPU VENC Input */ > + mipi_dsi_venc_port: port@0 { > + reg =3D <0>; > + > + mipi_dsi_in: endpoint { > + remote-endpoint =3D <&dpi_out>; > + }; > + }; > + > + /* DSI Output */ > + mipi_dsi_panel_port: port@1 { > + reg =3D <1>; > + > + mipi_out_panel: endpoint { > + remote-endpoint =3D <&mipi_in_panel>; > + }; > + }; > + }; > + }; >=20 > --=20 > 2.34.1 >=20 --s/aEe9Onk7m7s45t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZF6xBQAKCRB4tDGHoIJi 0lkLAP9aw2fomhWlSF6eQEZVTD8Xm33bApDDIK5TJfpd9yZupQD8DFLo/uqOZeTX Sifp4pc02lgSSSXPXhf84CIoaGUoHAU= =h7tW -----END PGP SIGNATURE----- --s/aEe9Onk7m7s45t-- --===============0490730216466858560== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy --===============0490730216466858560==--