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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no 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 5E83DC3F2D1 for ; Mon, 2 Mar 2020 19:20:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 373A321D56 for ; Mon, 2 Mar 2020 19:20:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="d0MKOFwQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727591AbgCBTUQ (ORCPT ); Mon, 2 Mar 2020 14:20:16 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:35682 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727526AbgCBTUQ (ORCPT ); Mon, 2 Mar 2020 14:20:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1583176813; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9b0Z/Qba7LUP/RrSMDKMHs9SQ88poHoZJgYnVCQFASA=; b=d0MKOFwQvBM6ClQa3yJHcMLwqnFovSbXy6cAQd+XKMeESguGlK4NDxP3myaRBaTVDvLJpD mPGCFhxHF+bJlFt69p4zpUGcDFAXl7UCG36KcDmYg19DagklpthXmJ9fWu8kzJMlrsTQJJ 2yrP7XgiI383KknSTRt8OErBlYnXfLg= Date: Mon, 02 Mar 2020 16:19:47 -0300 From: Paul Cercueil Subject: Re: [RFC v2 2/8] dt-bindings: display: add ingenic-jz4780-hdmi DT Schema To: "H. Nikolaus Schaller" Cc: 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" , Miquel Raynal , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, Sam Ravnborg , Zubair Lutfullah Kakakhel , Rob Herring Message-Id: <1583176788.3.3@crapouillou.net> In-Reply-To: <0fb2f39437ea04fb4de889aac001b44f4b0a77e8.1582913973.git.hns@goldelico.com> References: <0fb2f39437ea04fb4de889aac001b44f4b0a77e8.1582913973.git.hns@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Nikolaus, Le ven., f=E9vr. 28, 2020 at 19:19, H. Nikolaus Schaller=20 a =E9crit : > From: Sam Ravnborg >=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=20 > +++++++++++++++++++ > 1 file changed, 83 insertions(+) > create mode 100644=20 > Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml >=20 > diff --git=20 > a/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml=20 > b/Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml > new file mode 100644 > index 000000000000..9b71c427bd69 > --- /dev/null > +++=20 > 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 Did Zubair write this glue driver? He's been MIA for a while, doesn't=20 work at ImgTec anymore, and this email doesn't work. > + > +description: | > + The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys=20 > 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 Remove the description here, > + > + reg-io-width: > + const: 4 > + > + interrupts: > + maxItems: 1 > + description: Specifies the interrupt provided by parent and here. The rule is that if there is only one "reg", "interrupts" or "clocks"=20 entry then a description is not needed as it's pretty obvious what it's=20 for. > + > + clocks: > + maxItems: 2 > + description: Clock specifiers for isrf and iahb clocks You need two 'description:' like this: clocks: items: - description: ISRF clock - description: IAHB clock Cheers, -Paul > + > + 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>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.23.0 >=20 = 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=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no 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 644A8C3F2D8 for ; Tue, 3 Mar 2020 08:25:29 +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 3D75B208C3 for ; Tue, 3 Mar 2020 08:25:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="d0MKOFwQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3D75B208C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net 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 B77DE6EA2B; Tue, 3 Mar 2020 08:24:17 +0000 (UTC) Received: from crapouillou.net (outils.crapouillou.net [89.234.176.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id 49EEB6E02F for ; Mon, 2 Mar 2020 19:20:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1583176813; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9b0Z/Qba7LUP/RrSMDKMHs9SQ88poHoZJgYnVCQFASA=; b=d0MKOFwQvBM6ClQa3yJHcMLwqnFovSbXy6cAQd+XKMeESguGlK4NDxP3myaRBaTVDvLJpD mPGCFhxHF+bJlFt69p4zpUGcDFAXl7UCG36KcDmYg19DagklpthXmJ9fWu8kzJMlrsTQJJ 2yrP7XgiI383KknSTRt8OErBlYnXfLg= Date: Mon, 02 Mar 2020 16:19:47 -0300 From: Paul Cercueil Subject: Re: [RFC v2 2/8] dt-bindings: display: add ingenic-jz4780-hdmi DT Schema To: "H. Nikolaus Schaller" Message-Id: <1583176788.3.3@crapouillou.net> In-Reply-To: <0fb2f39437ea04fb4de889aac001b44f4b0a77e8.1582913973.git.hns@goldelico.com> References: <0fb2f39437ea04fb4de889aac001b44f4b0a77e8.1582913973.git.hns@goldelico.com> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 03 Mar 2020 08:24:06 +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 , Paul Boddie , Geert Uytterhoeven , David Airlie , dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, Miquel Raynal , Sam Ravnborg , Andi Kleen , Paul Burton , Krzysztof Kozlowski , devicetree@vger.kernel.org, Zubair Lutfullah Kakakhel , linux-gpio@vger.kernel.org, Rob Herring , letux-kernel@openphoenux.org, linux-kernel@vger.kernel.org, Ralf Baechle , "Eric W. Biederman" , kernel@pyra-handheld.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Nikolaus, Le ven., f=E9vr. 28, 2020 at 19:19, H. Nikolaus Schaller = a =E9crit : > From: Sam Ravnborg > = > 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 Did Zubair write this glue driver? He's been MIA for a while, doesn't = work at ImgTec anymore, and this email doesn't work. > + > +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 Remove the description here, > + > + reg-io-width: > + const: 4 > + > + interrupts: > + maxItems: 1 > + description: Specifies the interrupt provided by parent and here. The rule is that if there is only one "reg", "interrupts" or "clocks" = entry then a description is not needed as it's pretty obvious what it's = for. > + > + clocks: > + maxItems: 2 > + description: Clock specifiers for isrf and iahb clocks You need two 'description:' like this: clocks: items: - description: ISRF clock - description: IAHB clock Cheers, -Paul > + > + 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>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.23.0 > = _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel