From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI Date: Tue, 29 Nov 2016 20:46:22 +0200 Message-ID: <5996605.Gh0PjPIAcn@avalon> References: Reply-To: laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Cc: Jean-Francois Moine , Dave Airlie , Maxime Ripard , Rob Herring , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Jean-Fran=C3=A7ois, Thank you for the patch. On Tuesday 29 Nov 2016 10:08:25 Jean-Francois Moine wrote: > Signed-off-by: Jean-Francois Moine > --- > .../devicetree/bindings/display/sunxi/hdmi.txt | 56 ++++++++++++++++= +++ > 1 file changed, 56 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/sunxi/hdmi.= txt >=20 > diff --git a/Documentation/devicetree/bindings/display/sunxi/hdmi.txt > b/Documentation/devicetree/bindings/display/sunxi/hdmi.txt new file mode > 100644 > index 0000000..1e107cb > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/sunxi/hdmi.txt > @@ -0,0 +1,56 @@ > +Allwinner HDMI Transmitter > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > + > +The Allwinner HDMI transmitters are included in the SoCs. > +They support audio and video. > + > +Required properties: > + - compatible : should be one of > + "allwinner,sun8i-a83t-hdmi" > + "allwinner,sun8i-h3-hdmi" > + - reg: base address and size of the I/O memory > + - clocks : phandles to the HDMI clocks as described in > + Documentation/devicetree/bindings/clock/clock-bindings.txt > + - clock-names : must be > + "bus" : bus gate > + "clock" : streaming clock > + "ddc-clock" : DDC clock > + - resets : One or two phandles to the HDMI resets > + - reset-names : when 2 phandles, must be > + "hdmi0" and "hdmi1" > + - #address-cells : should be <1> > + - #size-cells : should be <0> > + > +Required nodes: > + - port: Audio and video input port nodes with endpoint definitions > + as defined in Documentation/devicetree/bindings/graph.txt. > + port@0 is video and port@1 is audio. > + > +Example: > + > + hdmi: hdmi@01ee0000 { > + compatible =3D "allwinner,sun8i-a83t-hdmi"; > + reg =3D <0x01ee0000 0x20000>; > + clocks =3D <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI>, > + <&ccu CLK_HDMI_DDC>; > + clock-names =3D "bus", "clock", "ddc-clock"; > + resets =3D <&ccu RST_HDMI0>, <&ccu RST_HDMI1>; > + reset-names =3D "hdmi0", "hdmi1"; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&hdmi_pins_a>; > + status =3D "disabled"; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + port@0 { /* video */ > + reg =3D <0>; > + hdmi_tcon1: endpoint { > + remote-endpoint =3D <&tcon1_hdmi>; > + }; > + }; > + port@1 { /* audio */ > + reg =3D <1>; > + hdmi_i2s2: endpoint { > + remote-endpoint =3D <&i2s2_hdmi>; > + }; > + }; You need a third port for the HDMI encoder output, connected to an HDMI=20 connector DT node. > + }; --=20 Regards, Laurent Pinchart --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.