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=-8.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, 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 998CAC2D0EE for ; Mon, 30 Mar 2020 16:33:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68FC520781 for ; Mon, 30 Mar 2020 16:33:21 +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="sevkwHAF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728091AbgC3QdU (ORCPT ); Mon, 30 Mar 2020 12:33:20 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]:15212 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727191AbgC3QdU (ORCPT ); Mon, 30 Mar 2020 12:33:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1585585998; 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=m5OQurJ34G52si3xIHL2HoNqFTlRdT/1c2JFQwVStnA=; b=sevkwHAFC4Ku8T1/SpAy6r9w/mgj+9cMf79C4S7fF5p3ftt94frkFzwZZVRXXC4IyV x9vhs8r6njYIIcOJmA9iyPDeF9SujHi8UmeFibidIAGmYkcWpDngfWP71hkEwU/PpQIa QJp3nJyfoP9vamSPRVe6B8IPSzHowitCS/+cLu6DIzLdwwH7XHQuFtMhbdgm+1grWUUd 2631FiAqiXfhDGl+wf4pYYu+7undCxQ3rMJ/DLhrLhZHr+iMsHTjVj3xMrBYIGI9PtGO Dw7jxmt59OV6QE+b31BPyPZMXkbe66+XtQC6nIo0VqWen1u5ozqU3lV4oZaNH5Ezy4Oc r1Ew== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw9iZeHmAgw43oE44=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 46.2.1 DYNA|AUTH) with ESMTPSA id m02241w2UGXBGiV (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); Mon, 30 Mar 2020 18:33:11 +0200 (CEST) Subject: Re: [RFC v3 1/8] dt-bindings: display: convert ingenic,lcd.txt to ingenic,lcd.yaml 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: <20200330154202.GA23233@bogus> Date: Mon, 30 Mar 2020 18:33:10 +0200 Cc: Paul Boddie , David Airlie , Daniel Vetter , Geert Uytterhoeven , "Eric W. Biederman" , Miquel Raynal , Thomas Bogendoerfer , Kees Cook , "open list:DRM PANEL DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , linux-mips@vger.kernel.org, "open list:GPIO SUBSYSTEM" , Discussions about the Letux Kernel , MIPS Creator CI20 Development , Rob Herring Content-Transfer-Encoding: quoted-printable Message-Id: <02E5EC5D-1FBB-45E4-907E-10450B449726@goldelico.com> References: <20200330154202.GA23233@bogus> To: Paul Cercueil 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 Paul, > Am 30.03.2020 um 17:42 schrieb Rob Herring : >=20 > On Sun, 29 Mar 2020 19:35:47 +0200, "H. Nikolaus Schaller" wrote: >> and add compatible: jz4780-lcd, including an example how to >> configure both lcd controllers. >>=20 >> Also fix the clock names and examples. >>=20 >> Based on work by Paul Cercueil and >> Sam Ravnborg >>=20 >> Signed-off-by: H. Nikolaus Schaller >> Cc: Rob Herring >> Cc: devicetree@vger.kernel.org >> --- >> .../bindings/display/ingenic,lcd.txt | 45 ------ >> .../bindings/display/ingenic,lcd.yaml | 128 = ++++++++++++++++++ >> 2 files changed, 128 insertions(+), 45 deletions(-) >> delete mode 100644 = Documentation/devicetree/bindings/display/ingenic,lcd.txt >> create mode 100644 = Documentation/devicetree/bindings/display/ingenic,lcd.yaml >>=20 >=20 > My bot found errors running 'make dt_binding_check' on your patch: >=20 > = /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/displ= ay/ingenic,lcd.example.dt.yaml: lcd-controller@13050000: clocks: = [[4294967295, 9]] is too short >=20 > See https://patchwork.ozlabs.org/patch/1263508 If I read the message correctly, I think there should be 2 clocks = specified in the jz4725b-lcd example and not just clocks =3D <&cgu JZ4725B_CLK_LCD>; Unfortunately the jz4725b.dtsi does not seem to be upstream or in = linux-next so I don't know if it works without lcd_pclk or not. If there is really just one clock, we need to modify the clocks and = clock-names schema and add minItems: 1 and maxItems: 2 to allow for this = flexibility. Otherwise we have to fix the example. Do you have some git with an = up-to-date jz4725b.dtsi to look at? >=20 > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure dt-schema is up to date: >=20 > pip3 install = git+https://github.com/devicetree-org/dt-schema.git@master --upgrade +++ :) >=20 > Please check and re-submit. Sure, since it is a RFC. BR and thanks, 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=-8.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 6C60CC2D0E8 for ; Tue, 31 Mar 2020 07:38:30 +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 72E952072A for ; Tue, 31 Mar 2020 07:38:29 +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="r3r7TTHB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72E952072A 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 2BFDB6E58B; Tue, 31 Mar 2020 07:38:02 +0000 (UTC) Received: from mo6-p01-ob.smtp.rzone.de (mo6-p01-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5301::4]) by gabe.freedesktop.org (Postfix) with ESMTPS id BAC076E14A for ; Mon, 30 Mar 2020 16:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1585586000; 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=m5OQurJ34G52si3xIHL2HoNqFTlRdT/1c2JFQwVStnA=; b=r3r7TTHB0p/khSYoVlIPUiiO7YgnPxWmaPHNaOPSfPy6HTLJNT5mR23whLcm2Tj9Dl mjPFDh3KmAaNGiXL9M4GCLSclSNaiG9o3EBXhbRtrj7s8parRqVhHqFDdwIb0iPhqt58 8LZ8Qwsr1dgP4MN+4qOacMsq0pqYHpDha5pymgEPWl9y7OsSMgGOiyxSp3vvo5rYF1N+ noZ/HcfUbdq5nCrGejnctFTldZPywQXEf79dO8Q7V8jQigqr050TuoS6ua2lU9gE/W/m WBHPccn8qiF3koK0q/rsYWTqNYHMmyq7Cm7YJcocd4lSmanZGvBOV0IvBd0y0V5/WCm/ SzOg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw9iZeHmAgw43oE44=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 46.2.1 DYNA|AUTH) with ESMTPSA id m02241w2UGXBGiV (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); Mon, 30 Mar 2020 18:33:11 +0200 (CEST) Subject: Re: [RFC v3 1/8] dt-bindings: display: convert ingenic, lcd.txt to ingenic, lcd.yaml Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: "H. Nikolaus Schaller" In-Reply-To: <20200330154202.GA23233@bogus> Date: Mon, 30 Mar 2020 18:33:10 +0200 Message-Id: <02E5EC5D-1FBB-45E4-907E-10450B449726@goldelico.com> References: <20200330154202.GA23233@bogus> To: Paul Cercueil X-Mailer: Apple Mail (2.3124) X-Mailman-Approved-At: Tue, 31 Mar 2020 07:37:59 +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: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Paul Boddie , Kees Cook , Geert Uytterhoeven , David Airlie , MIPS Creator CI20 Development , Linux Kernel Mailing List , "open list:DRM PANEL DRIVERS" , linux-mips@vger.kernel.org, "open list:GPIO SUBSYSTEM" , Thomas Bogendoerfer , "Eric W. Biederman" , Miquel Raynal , Discussions about the Letux Kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Paul, > Am 30.03.2020 um 17:42 schrieb Rob Herring : > > On Sun, 29 Mar 2020 19:35:47 +0200, "H. Nikolaus Schaller" wrote: >> and add compatible: jz4780-lcd, including an example how to >> configure both lcd controllers. >> >> Also fix the clock names and examples. >> >> Based on work by Paul Cercueil and >> Sam Ravnborg >> >> Signed-off-by: H. Nikolaus Schaller >> Cc: Rob Herring >> Cc: devicetree@vger.kernel.org >> --- >> .../bindings/display/ingenic,lcd.txt | 45 ------ >> .../bindings/display/ingenic,lcd.yaml | 128 ++++++++++++++++++ >> 2 files changed, 128 insertions(+), 45 deletions(-) >> delete mode 100644 Documentation/devicetree/bindings/display/ingenic,lcd.txt >> create mode 100644 Documentation/devicetree/bindings/display/ingenic,lcd.yaml >> > > My bot found errors running 'make dt_binding_check' on your patch: > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/ingenic,lcd.example.dt.yaml: lcd-controller@13050000: clocks: [[4294967295, 9]] is too short > > See https://patchwork.ozlabs.org/patch/1263508 If I read the message correctly, I think there should be 2 clocks specified in the jz4725b-lcd example and not just clocks = <&cgu JZ4725B_CLK_LCD>; Unfortunately the jz4725b.dtsi does not seem to be upstream or in linux-next so I don't know if it works without lcd_pclk or not. If there is really just one clock, we need to modify the clocks and clock-names schema and add minItems: 1 and maxItems: 2 to allow for this flexibility. Otherwise we have to fix the example. Do you have some git with an up-to-date jz4725b.dtsi to look at? > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure dt-schema is up to date: > > pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade +++ :) > > Please check and re-submit. Sure, since it is a RFC. BR and thanks, Nikolaus _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel