Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3885720pxu; Mon, 30 Nov 2020 12:21:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5Evalw88sKQ3x8fONkACyC0eEL83dDxCztThg5EcgoOSnznSttRFMsQ1rMU39y74Lr0Q6 X-Received: by 2002:a17:907:2108:: with SMTP id qn8mr20584875ejb.127.1606767689402; Mon, 30 Nov 2020 12:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606767689; cv=none; d=google.com; s=arc-20160816; b=GpHsNYuwq1+Q7UYtF8euzuwbu2tAXx/fzQ6tQG8B/WIjh8Dur78AHBTfqxsd6dMX9w 8bJ8ALB5mP34x/pyMAZvf3RIxMb5wxQq3BPi3nUCL+uc9jyE2VfRWsgJZ0Pj7dt8m20z 16XKJpNYaAeETJQQ5dUKH9TdujWqjMaPIzatXvzd01tGzxPma+zQD2DSvoj/zqoUSRJS uqbIHfg7IvE6GFXW4H0RL//wOU5gfs1u5XWLBVF51ZBzTZINZFWgF8vV2bB3746Rel1C ev7l54I+Stxjq8TbTDZ8Et0vexNUE0REGLJMfx+epM1MvHJIGVdICxOh8eUAF1N9m9xu GXFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=q6BlGY4414WFkL6PyCOH8V7Wh5cFkuev5Q4jMioCNwQ=; b=f/Hqea5/FLlGCPZoIsuJhVR752qHYRdrtPmBzkAk0ZBgTYlapjXBkCntRrrNHbeGog LJyJJPe0PlaPE4TbyvVBdCMad0MpxhTYJhUoSCvILfyuUTwq/HjF20pQ559tSIdFsVLr eCkXCkVnux0LYaLI1CfHKpfiYZWOJ4x12qVBeusu8LO2Nx6hEUu28vYWqwK4Rmwe4dUw n+VnuJR2zRxMNK6uhIhOIucatevcg/03Fc6m1sa38btGqGvDJfKH5sWzBKfDKKQimq9S HBqKLeIwLKmXbHT8RE/rOig0L8nuIIOQz/V5ZsMQozDzgvSwI/d1RQTetGqKqxE5+olt kyxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O9uFaNr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh12si8920866ejb.48.2020.11.30.12.21.05; Mon, 30 Nov 2020 12:21:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O9uFaNr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730011AbgK3UTK (ORCPT + 99 others); Mon, 30 Nov 2020 15:19:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:57438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729665AbgK3UTK (ORCPT ); Mon, 30 Nov 2020 15:19:10 -0500 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BA8A62073C; Mon, 30 Nov 2020 20:18:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606767509; bh=OYAwhBu5ywGPe4jP/b3ZBFwibZjhake7u5Wr/qL2fIM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=O9uFaNr4To7vJTf75zjkEL7XgHxwVqQRCftbAfCkIVP+QNsx891Ugysnp+257Te0m nuWpIHXPOO+K8kpEjh+4gT7tLzzjH9KZy8jgcODRTGPrjEiXjmx/n4gloJK2+bJRzV j7HKJb/r9PmQA8ABEBNPeeTJEchyhpX680ay9BTA= Received: by mail-ej1-f51.google.com with SMTP id a16so24364852ejj.5; Mon, 30 Nov 2020 12:18:28 -0800 (PST) X-Gm-Message-State: AOAM5321f+/9QskaQinM3LICyWQJK/E/UY5w6lhMHqCmevfnbCcwufQm j+8bnV1HaUEDkopKWfANxjsZV5k9xVU9F6ypiw== X-Received: by 2002:a17:906:6713:: with SMTP id a19mr23950068ejp.468.1606767507250; Mon, 30 Nov 2020 12:18:27 -0800 (PST) MIME-Version: 1.0 References: <20201101093150.8071-1-paul@crapouillou.net> <20201101093150.8071-3-paul@crapouillou.net> <20201101122900.GB1269759@ravnborg.org> <9CZ5JQ.CWYPSJ8EDOW4@crapouillou.net> <1XJMKQ.YER47WG3D7R41@crapouillou.net> In-Reply-To: <1XJMKQ.YER47WG3D7R41@crapouillou.net> From: Rob Herring Date: Mon, 30 Nov 2020 13:18:15 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/4] dt-bindings: display: Add ABT Y030XX067A panel bindings To: Paul Cercueil Cc: Sam Ravnborg , Thierry Reding , Christophe Branchereau , od@zcrc.me, dri-devel , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 30, 2020 at 12:39 PM Paul Cercueil wrote= : > > Hi Rob, > > Le lun. 30 nov. 2020 =C3=A0 7:32, Rob Herring a =C3= =A9crit > : > > On Mon, Nov 2, 2020 at 3:19 AM Paul Cercueil > > wrote: > >> > >> > >> > >> Le dim. 1 nov. 2020 =C3=A0 13:29, Sam Ravnborg a > >> =C3=A9crit : > >> > On Sun, Nov 01, 2020 at 09:31:48AM +0000, Paul Cercueil wrote: > >> >> The Asia Better Technology (ABT) Y030XX067A panel is a 3.0" > >> 320x480 > >> >> 24-bit IPS LCD panel. Its particularity is that it has > >> non-square > >> >> pixels > >> >> (as it is 4:3 for a resolution of 320x480), and that it > >> requires odd > >> >> lines to be sent as RGB and even lines to be sent as GRB on its > >> >> 8-bit > >> >> bus. > >> >> > >> >> Signed-off-by: Paul Cercueil > >> >> --- > >> >> .../display/panel/abt,y030xx067a.yaml | 54 > >> >> +++++++++++++++++++ > >> >> 1 file changed, 54 insertions(+) > >> >> create mode 100644 > >> >> > >> Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml > >> >> > >> >> diff --git > >> >> > >> a/Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml > >> >> > >> b/Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml > >> >> new file mode 100644 > >> >> index 000000000000..6407e8bf45fa > >> >> --- /dev/null > >> >> +++ > >> >> > >> b/Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml > >> >> @@ -0,0 +1,54 @@ > >> >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > >> >> +%YAML 1.2 > >> >> +--- > >> >> +$id: > >> >> http://devicetree.org/schemas/display/panel/abt,y030xx067a.yaml# > >> >> +$schema: http://devicetree.org/meta-schemas/core.yaml# > >> >> + > >> >> +title: Asia Better Technology 3.0" (320x480 pixels) 24-bit IPS > >> LCD > >> >> panel > >> >> + > >> >> +description: | > >> >> + The panel must obey the rules for a SPI slave device as > >> >> specified in > >> >> + spi/spi-controller.yaml > >> >> + > >> >> +maintainers: > >> >> + - Paul Cercueil > >> >> + > >> >> +allOf: > >> >> + - $ref: panel-common.yaml# > >> >> + > >> >> +properties: > >> >> + compatible: > >> >> + const: abt,y030xx067a > >> >> + > >> >> + backlight: true > >> >> + port: true > >> >> + power-supply: true > >> >> + reg: true > >> >> + reset-gpios: true > >> > > >> > The binding is missing: > >> > required: > >> > - compatible > >> > - reg > >> > - power-supply > >> > - reset-gpios > >> > - ... > >> > > >> > additionalProperties: false > >> > > >> > So r-b only with these added. > >> > >> Stupid mistake, sorry about that. > >> > >> I'll V2. > > > > I don't have any V2 in my inbox, but looks like it is in linux-next > > now: > > Yes, Sam told me on IRC I could fix it while applying and avoid the V2. > > > /builds/robherring/linux-dt-bindings/Documentation/devicetree/bindings/= display/panel/abt,y030xx067a.example.dt.yaml: > > panel@0: 'spi-max-frequency' does not match any of the regexes: > > 'pinctrl-[0-9]+' > > From schema: > > /builds/robherring/linux-dt-bindings/Documentation/devicetree/bindings/= display/panel/abt,y030xx067a.yaml > > "make dt_binding_check > DT_SCHEMA_FILES=3DDocumentation/devicetree/bindings/display/panel/abt,y03= 0xx067a.yaml" > doesn't complain here :( Even if you do 'touch Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml' or do a clean build? I can't think of any kernel or dt-schema changes which would explain the difference. This is purely related to 'additionalProperties: false'. Rob