Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3359485ybd; Tue, 25 Jun 2019 00:57:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEa236r9kHYngiNqo1VLMdFLI2wfLMKMScCMlDi/v5+jAcseOdJHPyz7Cz0BMnWZy+xxCc X-Received: by 2002:a17:90a:b30a:: with SMTP id d10mr30585879pjr.8.1561449479712; Tue, 25 Jun 2019 00:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561449479; cv=none; d=google.com; s=arc-20160816; b=wr5E1FGw4NsL2hCtRVKXml5ORT2MVcGbcWdEGgKh/7QAOYPmZELj/e7ePASdAQWNQU vhxNTtIsWstEtr3Zc+Yq0g+VCueEUZ6ZfKtK+UKuneY6HYDDKRRZ2EDGLlGw2fOlrKhg q4O2aoVbMTT5II11rDUxBpmh+bgmw9esBAmgi4fNg+NEgTo/Zlvbr9iCPOUzhnBsY638 v3wVjOWotE0YNErqaK4/KjHc3kt8xcA+LI3QcVV6G14Aw2GBzr4XkM0LzvY4aRAxUvu3 MNfZWEa5wuqzKBM353gvh/0zQuNI76kh+SkL99yidYz/OjuemFp9BEeGgDBDJSfbCc6V XLHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GnZsesMnRhCyMve6rmmm2qyoKcVVxVfrObEhxSsbZQI=; b=yxYqJNbZlifbitRV2qn/OTBfy1fy0gcgC9uJpay7i17BLIP+As7gFC1btqaoPru37L hRqy5kIIbUS0bIevyDaW55YL8HKZwbCmXB9Z3jdYyvYYCRUVeVTCOte9lp92lt8OZk+A ENP2drcxcwqL5QtJdREYN3ZbTrPatFMFFEI4F5vEt5iVRMXGcPR/oXjO1u80B+K/HWjA jg1nKbBqKiDQf5a8GZtNDgNt91tVV5iNMaQlnQ4nSCIwNcRl2UFJYZd1EPNQK28OJalo hG4XrMu/ld9dvU7ubdWC0ohbUwIJDYhvpZN5bhFn25suoleiKh+TB+tuegryv0TugXoi HYUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34si12975625pld.82.2019.06.25.00.57.44; Tue, 25 Jun 2019 00:57:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728443AbfFYHzt (ORCPT + 99 others); Tue, 25 Jun 2019 03:55:49 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:35659 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726543AbfFYHzs (ORCPT ); Tue, 25 Jun 2019 03:55:48 -0400 X-Originating-IP: 90.88.16.156 Received: from localhost (aaubervilliers-681-1-41-156.w90-88.abo.wanadoo.fr [90.88.16.156]) (Authenticated sender: maxime.ripard@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 0484C20007; Tue, 25 Jun 2019 07:55:42 +0000 (UTC) Date: Tue, 25 Jun 2019 09:55:42 +0200 From: Maxime Ripard To: Rob Herring Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Laurent Pinchart , Philipp Zabel Subject: Re: [PATCH v2 06/15] dt-bindings: display: Convert dlc,dlc0700yzg-1 panel to DT schema Message-ID: <20190625075542.u5kzex4cbrcss5ga@flea> References: <20190624215649.8939-1-robh@kernel.org> <20190624215649.8939-7-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="frjixve4rb2lda6m" Content-Disposition: inline In-Reply-To: <20190624215649.8939-7-robh@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --frjixve4rb2lda6m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Mon, Jun 24, 2019 at 03:56:40PM -0600, Rob Herring wrote: > Convert the dlc,dlc0700yzg-1 panel binding to DT schema. > > Cc: Philipp Zabel > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: Maxime Ripard > Cc: Laurent Pinchart > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Rob Herring > --- > .../display/panel/dlc,dlc0700yzg-1.txt | 13 --------- > .../display/panel/dlc,dlc0700yzg-1.yaml | 28 +++++++++++++++++++ > 2 files changed, 28 insertions(+), 13 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt > create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt > deleted file mode 100644 > index bf06bb025b08..000000000000 > --- a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt > +++ /dev/null > @@ -1,13 +0,0 @@ > -DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel > - > -Required properties: > -- compatible: should be "dlc,dlc0700yzg-1" > -- power-supply: See simple-panel.txt > - > -Optional properties: > -- reset-gpios: See panel-common.txt > -- enable-gpios: See simple-panel.txt > -- backlight: See simple-panel.txt > - > -This binding is compatible with the simple-panel binding, which is specified > -in simple-panel.txt in this directory. > diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml > new file mode 100644 > index 000000000000..1b0b63d46f3e > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml > @@ -0,0 +1,28 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel > + > +maintainers: > + - Philipp Zabel > + - Thierry Reding > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: dlc,dlc0700yzg-1 > + > + reset-gpios: true > + enable-gpios: true > + backlight: true Do we need to list them? Since we don't have additionalItems, it doesn't really change anything since it will be validated by panel-common. Either way, it should be consistent between your patches, and the previous patches in this series didn't list all the properties in the binding. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --frjixve4rb2lda6m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXRHTfgAKCRDj7w1vZxhR xckbAP9haADI6iVzGhwqdxZYMaptx5O2GF8fzxwrKHZAZdAcJwEA3R3Tmk1C/okO mASJ6FAiJiVOZxzo24B0UCtOmozocA0= =EraD -----END PGP SIGNATURE----- --frjixve4rb2lda6m--