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 X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0B9CC35DEE for ; Thu, 27 Feb 2020 17:02:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A874246A2 for ; Thu, 27 Feb 2020 17:02:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="E9YYRu+6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729635AbgB0RCt (ORCPT ); Thu, 27 Feb 2020 12:02:49 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.82]:21812 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729223AbgB0RCt (ORCPT ); Thu, 27 Feb 2020 12:02:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1582822966; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=yeUIqaAJ7VXFqwVruCWqy0jWCc6j1Qnr2zUWCdNbA7g=; b=E9YYRu+6ZOvtLW+QoUfpSQ6RwEnQVBPNstXKvZBzVUPGQeRPgwIJO9LY0SjZiJgY+z jy++uGJ+VdfJitrnBGIFrTGOiZaevL6i3a5PGQJthn0XzvdgQA7aQKZG8hvYdQsDboU/ Y1ghwzUKZlbaJV8+WXbw5ChvCce+clM+mn+bUndtaZzvxEvK3TNDnxFHdrhpUMjtzcO7 rwPJjgVPv4XUC3GFE8hi/XECfwcbWXC5qd6q8kWxXwFCnLTwvrfn7l8R7vy2ZqeEO6+V 3AsZuWmZcR/Uzpac+ruz/m+WwtLKRauRhe05EKgYzFHth5MxpFqKkpML7wgKIqW+mj3w pHNg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBp5hRw/qOxWRk4dCygV4+2OGxpoAD/iZZ4UvO7sJFY5u171hM7FV7f" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2001:16b8:2655:a800:246e:381e:f646:1249] by smtp.strato.de (RZmta 46.1.12 AUTH) with ESMTPSA id U06217w1RH2bCKd (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 27 Feb 2020 18:02:37 +0100 (CET) Subject: Re: [RFC 0/8] MIPS: CI20: add HDMI out support Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: "H. Nikolaus Schaller" In-Reply-To: <20200227165706.GA20296@ravnborg.org> Date: Thu, 27 Feb 2020 18:02:44 +0100 Cc: Paul Cercueil , Paul Boddie , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , Linus Walleij , Andi Kleen , Krzysztof Kozlowski , Geert Uytterhoeven , "Eric W. Biederman" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, kernel@pyra-handheld.com, letux-kernel@openphoenux.org Content-Transfer-Encoding: quoted-printable Message-Id: <514B0D8F-E503-4643-BC4C-7EBAAB78213A@goldelico.com> References: <20200227122325.GA7587@ravnborg.org> <8EE60F87-415A-44EA-AA49-632E232095FF@goldelico.com> <20200227165706.GA20296@ravnborg.org> To: Sam Ravnborg X-Mailer: Apple Mail (2.3124) Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Sam, great. Thank you very much! > Am 27.02.2020 um 17:57 schrieb Sam Ravnborg : >=20 > Hi Nikolaus. >=20 >>>> Zubair Lutfullah Kakakhel (2): >>>> dt-bindings: video: Add jz4780-lcd binding >>>> dt-bindings: video: Add jz4780-hdmi binding >>>>=20 >>>> .../bindings/display/ingenic-jz4780-hdmi.txt | 41 ++++++ >>>> .../bindings/display/ingenic-jz4780-lcd.txt | 39 ++++++ >>> New bindings in DT Schema format please... >>> We want to have then in a formal launguage so we can use these >>> to verify the DT files. >>=20 >> Yes, I know. And I fully support the goal. >>=20 >> But I personally do not have the time to learn the (IMHO = brain-twisting) >> way the Schema format is working. Especially, I am not interested >> in becoming volunteer translator for .txt based schemas developed >> by someone else. >>=20 >> So I hope that someone from the community can and is willing to do >> that. >=20 > I went ahead and typed them - please review and use these if OK. >=20 > Sam >=20 > =46rom 6fee276807dfe4a502ff760e7c7840480d275052 Mon Sep 17 00:00:00 = 2001 > From: Sam Ravnborg > Date: Thu, 27 Feb 2020 17:18:29 +0100 > Subject: [PATCH 1/2] dt-bindings: display: add ingenic-jz4780-lcd DT = Schema >=20 > Add DT bindings for the LCD controller on the jz4780 SoC > Based on .txt binding from Zubair Lutfullah Kakakhel >=20 > Signed-off-by: Sam Ravnborg > Cc: Zubair Lutfullah Kakakhel > Cc: H. Nikolaus Schaller > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > --- > .../bindings/display/ingenic-jz4780-lcd.yaml | 78 +++++++++++++++++++ > 1 file changed, 78 insertions(+) > create mode 100644 = Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml >=20 > diff --git = a/Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml = b/Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml > new file mode 100644 > index 000000000000..c71415a3a342 > --- /dev/null > +++ = b/Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml > @@ -0,0 +1,78 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/ingenic-jz4780-lcd.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Bindings for Ingenic JZ4780 LCD Controller > + > +maintainers: > + - Zubair Lutfullah Kakakhel > + - H. Nikolaus Schaller > + > +description: | > + LCD Controller is the Display Controller for the Ingenic JZ4780 SoC > + > +properties: > + compatible: > + items: > + - const: ingenic,jz4780-lcd > + > + reg: > + maxItems: 1 > + description: the address & size of the LCD controller registers > + > + interrupts: > + maxItems: 1 > + description: Specifies the interrupt provided by parent > + > + clocks: > + maxItems: 2 > + description: Clock specifiers for the JZ4780_CLK_TVE = JZ4780_CLK_LCD0PIXCLK > + > + clock-names: > + items: > + - const: lcd_clk > + - const: lcd_pixclk > + > + port: > + type: object > + description: | > + A port node with endpoint definitions as defined in > + Documentation/devicetree/bindings/media/video-interfaces.txt > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + lcd: jz4780-lcdk@0x13050000 { > + compatible =3D "ingenic,jz4780-lcd"; > + reg =3D <0x13050000 0x1800>; > + > + clocks =3D <&cgu JZ4780_CLK_TVE>, <&cgu = JZ4780_CLK_LCD0PIXCLK>; > + clock-names =3D "lcd_clk", "lcd_pixclk"; > + > + interrupt-parent =3D <&intc>; > + interrupts =3D <31>; > + > + jz4780_lcd_out: port { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + jz4780_out_hdmi: endpoint@0 { > + reg =3D <0>; > + remote-endpoint =3D <&hdmi_in_lcd>; > + }; > + }; > + }; > + > +... > --=20 > 2.20.1 >=20 > =46rom f4d01a657e07d468eb0bc811ed8edae0b58d66d7 Mon Sep 17 00:00:00 = 2001 > From: Sam Ravnborg > Date: Thu, 27 Feb 2020 17:52:34 +0100 > Subject: [PATCH 2/2] dt-bindings: display: add ingenic-jz4780-ihdmi DT = Schema >=20 > Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. > Based on .txt binding from Zubair Lutfullah Kakakhel >=20 > Signed-off-by: Sam Ravnborg > Cc: Zubair Lutfullah Kakakhel > Cc: H. Nikolaus Schaller > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > --- > .../bindings/display/ingenic-jz4780-hdmi.yaml | 83 +++++++++++++++++++ > 1 file changed, 83 insertions(+) > create mode 100644 = Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml >=20 > diff --git = a/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml = b/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > new file mode 100644 > index 000000000000..9b71c427bd69 > --- /dev/null > +++ = b/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > @@ -0,0 +1,83 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/ingenic-jz4780-hdmi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Bindings for Ingenic JZ4780 HDMI Transmitter > + > +maintainers: > + - Zubair Lutfullah Kakakhel > + - H. Nikolaus Schaller > + > +description: | > + The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys DesignWare = HDMI 1.4 > + TX controller IP with accompanying PHY IP. > + > +allOf: > + - $ref: panel/panel-common.yaml# > + > +properties: > + compatible: > + items: > + - const: ingenic,jz4780-hdmi > + > + reg: > + maxItems: 1 > + description: the address & size of the LCD controller registers > + > + reg-io-width: > + const: 4 > + > + interrupts: > + maxItems: 1 > + description: Specifies the interrupt provided by parent > + > + clocks: > + maxItems: 2 > + description: Clock specifiers for isrf and iahb clocks > + > + clock-names: > + items: > + - const: isfr > + - const: iahb > + > + ddc-i2c-bus: true > + ports: true > + > +required: > + - compatible > + - clocks > + - clock-names > + - ports > + - reg-io-width > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + hdmi: hdmi@10180000 { > + compatible =3D "ingenic,jz4780-hdmi"; > + reg =3D <0x10180000 0x8000>; > + reg-io-width =3D <4>; > + ddc-i2c-bus =3D <&i2c4>; > + interrupt-parent =3D <&intc>; > + interrupts =3D <3>; > + clocks =3D <&cgu JZ4780_CLK_HDMI>, <&cgu JZ4780_CLK_AHB0>; > + clock-names =3D "isfr", "iahb"; > + > + ports { > + hdmi_in: port { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + hdmi_in_lcd: endpoint@0 { > + reg =3D <0>; > + remote-endpoint =3D <&jz4780_out_hdmi>; > + }; > + }; > + }; > + }; > + > +... > --=20 > 2.20.1 >=20 I'll integrate into v2. Now we need to make the HDMI output show something... BR, Nikolaus 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 X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1549AC3F2D0 for ; Fri, 28 Feb 2020 08:00:26 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D83D2467B for ; Fri, 28 Feb 2020 08:00:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="WOr+Tnlw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D83D2467B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goldelico.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CA6426EE4B; Fri, 28 Feb 2020 08:00:08 +0000 (UTC) Received: from mo6-p02-ob.smtp.rzone.de (mo6-p02-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5302::11]) by gabe.freedesktop.org (Postfix) with ESMTPS id D131E89FFD for ; Thu, 27 Feb 2020 17:02:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1582822963; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=yeUIqaAJ7VXFqwVruCWqy0jWCc6j1Qnr2zUWCdNbA7g=; b=WOr+TnlwCKsj1MlxzAUPLVX+8l2togw+0Rz70k/VH1pj7DtS5YOFztNL9I8qbEXKcc S68CEj+kupN3FBs0M6bdJaNl+zrWDlZr67BcHkIkehA3lXQSGclZp6LehIsvEoxGzOsx pBng0IMXhETOr1yhp0rPgLlUSVthz+VlYnq3ipa3Z7Xk3CaK8Rl3kYtfLOzD8upSw8uF 6oM+RH/ufKugMENrCfTbvHmw65vwEBTWWx+Z7wMFhGKIQCcks4w0rXw+rXT7qs6LOJ/1 uAzgE186OzZg2uS/Z68C7MoZUWzn/os+R3ntdY65dKS28RV0P8Q1uN89PNnJvnfBQejh 2nQg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBp5hRw/qOxWRk4dCygV4+2OGxpoAD/iZZ4UvO7sJFY5u171hM7FV7f" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2001:16b8:2655:a800:246e:381e:f646:1249] by smtp.strato.de (RZmta 46.1.12 AUTH) with ESMTPSA id U06217w1RH2bCKd (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 27 Feb 2020 18:02:37 +0100 (CET) Subject: Re: [RFC 0/8] MIPS: CI20: add HDMI out support Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: "H. Nikolaus Schaller" In-Reply-To: <20200227165706.GA20296@ravnborg.org> Date: Thu, 27 Feb 2020 18:02:44 +0100 Message-Id: <514B0D8F-E503-4643-BC4C-7EBAAB78213A@goldelico.com> References: <20200227122325.GA7587@ravnborg.org> <8EE60F87-415A-44EA-AA49-632E232095FF@goldelico.com> <20200227165706.GA20296@ravnborg.org> To: Sam Ravnborg X-Mailer: Apple Mail (2.3124) X-Mailman-Approved-At: Fri, 28 Feb 2020 07:59:27 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Paul Boddie , Geert Uytterhoeven , Paul Burton , linux-gpio@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ralf Baechle , linux-mips@vger.kernel.org, Paul Cercueil , Andi Kleen , Rob Herring , Krzysztof Kozlowski , kernel@pyra-handheld.com, letux-kernel@openphoenux.org, "Eric W. Biederman" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Sam, great. Thank you very much! > Am 27.02.2020 um 17:57 schrieb Sam Ravnborg : > > Hi Nikolaus. > >>>> Zubair Lutfullah Kakakhel (2): >>>> dt-bindings: video: Add jz4780-lcd binding >>>> dt-bindings: video: Add jz4780-hdmi binding >>>> >>>> .../bindings/display/ingenic-jz4780-hdmi.txt | 41 ++++++ >>>> .../bindings/display/ingenic-jz4780-lcd.txt | 39 ++++++ >>> New bindings in DT Schema format please... >>> We want to have then in a formal launguage so we can use these >>> to verify the DT files. >> >> Yes, I know. And I fully support the goal. >> >> But I personally do not have the time to learn the (IMHO brain-twisting) >> way the Schema format is working. Especially, I am not interested >> in becoming volunteer translator for .txt based schemas developed >> by someone else. >> >> So I hope that someone from the community can and is willing to do >> that. > > I went ahead and typed them - please review and use these if OK. > > Sam > > From 6fee276807dfe4a502ff760e7c7840480d275052 Mon Sep 17 00:00:00 2001 > From: Sam Ravnborg > Date: Thu, 27 Feb 2020 17:18:29 +0100 > Subject: [PATCH 1/2] dt-bindings: display: add ingenic-jz4780-lcd DT Schema > > Add DT bindings for the LCD controller on the jz4780 SoC > Based on .txt binding from Zubair Lutfullah Kakakhel > > Signed-off-by: Sam Ravnborg > Cc: Zubair Lutfullah Kakakhel > Cc: H. Nikolaus Schaller > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > --- > .../bindings/display/ingenic-jz4780-lcd.yaml | 78 +++++++++++++++++++ > 1 file changed, 78 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml > > diff --git a/Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml b/Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml > new file mode 100644 > index 000000000000..c71415a3a342 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/ingenic-jz4780-lcd.yaml > @@ -0,0 +1,78 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/ingenic-jz4780-lcd.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Bindings for Ingenic JZ4780 LCD Controller > + > +maintainers: > + - Zubair Lutfullah Kakakhel > + - H. Nikolaus Schaller > + > +description: | > + LCD Controller is the Display Controller for the Ingenic JZ4780 SoC > + > +properties: > + compatible: > + items: > + - const: ingenic,jz4780-lcd > + > + reg: > + maxItems: 1 > + description: the address & size of the LCD controller registers > + > + interrupts: > + maxItems: 1 > + description: Specifies the interrupt provided by parent > + > + clocks: > + maxItems: 2 > + description: Clock specifiers for the JZ4780_CLK_TVE JZ4780_CLK_LCD0PIXCLK > + > + clock-names: > + items: > + - const: lcd_clk > + - const: lcd_pixclk > + > + port: > + type: object > + description: | > + A port node with endpoint definitions as defined in > + Documentation/devicetree/bindings/media/video-interfaces.txt > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + lcd: jz4780-lcdk@0x13050000 { > + compatible = "ingenic,jz4780-lcd"; > + reg = <0x13050000 0x1800>; > + > + clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD0PIXCLK>; > + clock-names = "lcd_clk", "lcd_pixclk"; > + > + interrupt-parent = <&intc>; > + interrupts = <31>; > + > + jz4780_lcd_out: port { > + #address-cells = <1>; > + #size-cells = <0>; > + > + jz4780_out_hdmi: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&hdmi_in_lcd>; > + }; > + }; > + }; > + > +... > -- > 2.20.1 > > From f4d01a657e07d468eb0bc811ed8edae0b58d66d7 Mon Sep 17 00:00:00 2001 > From: Sam Ravnborg > Date: Thu, 27 Feb 2020 17:52:34 +0100 > Subject: [PATCH 2/2] dt-bindings: display: add ingenic-jz4780-ihdmi DT Schema > > Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. > Based on .txt binding from Zubair Lutfullah Kakakhel > > Signed-off-by: Sam Ravnborg > Cc: Zubair Lutfullah Kakakhel > Cc: H. Nikolaus Schaller > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > --- > .../bindings/display/ingenic-jz4780-hdmi.yaml | 83 +++++++++++++++++++ > 1 file changed, 83 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > > diff --git a/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml b/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > new file mode 100644 > index 000000000000..9b71c427bd69 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > @@ -0,0 +1,83 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/ingenic-jz4780-hdmi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Bindings for Ingenic JZ4780 HDMI Transmitter > + > +maintainers: > + - Zubair Lutfullah Kakakhel > + - H. Nikolaus Schaller > + > +description: | > + The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys DesignWare HDMI 1.4 > + TX controller IP with accompanying PHY IP. > + > +allOf: > + - $ref: panel/panel-common.yaml# > + > +properties: > + compatible: > + items: > + - const: ingenic,jz4780-hdmi > + > + reg: > + maxItems: 1 > + description: the address & size of the LCD controller registers > + > + reg-io-width: > + const: 4 > + > + interrupts: > + maxItems: 1 > + description: Specifies the interrupt provided by parent > + > + clocks: > + maxItems: 2 > + description: Clock specifiers for isrf and iahb clocks > + > + clock-names: > + items: > + - const: isfr > + - const: iahb > + > + ddc-i2c-bus: true > + ports: true > + > +required: > + - compatible > + - clocks > + - clock-names > + - ports > + - reg-io-width > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + hdmi: hdmi@10180000 { > + compatible = "ingenic,jz4780-hdmi"; > + reg = <0x10180000 0x8000>; > + reg-io-width = <4>; > + ddc-i2c-bus = <&i2c4>; > + interrupt-parent = <&intc>; > + interrupts = <3>; > + clocks = <&cgu JZ4780_CLK_HDMI>, <&cgu JZ4780_CLK_AHB0>; > + clock-names = "isfr", "iahb"; > + > + ports { > + hdmi_in: port { > + #address-cells = <1>; > + #size-cells = <0>; > + hdmi_in_lcd: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&jz4780_out_hdmi>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.20.1 > I'll integrate into v2. Now we need to make the HDMI output show something... BR, Nikolaus _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel