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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E29FC43334 for ; Mon, 6 Jun 2022 13:30:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238903AbiFFNa4 (ORCPT ); Mon, 6 Jun 2022 09:30:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238867AbiFFNay (ORCPT ); Mon, 6 Jun 2022 09:30:54 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF161053EC; Mon, 6 Jun 2022 06:30:49 -0700 (PDT) X-UUID: a0ec86c67f274074b7e688a18597a874-20220606 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:8658252a-4f70-4798-8950-687847093197,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:2a19b09,CLOUDID:2ce8557e-c8dc-403a-96e8-6237210dceee,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:1,File:nil ,QS:0,BEC:nil X-UUID: a0ec86c67f274074b7e688a18597a874-20220606 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1973886207; Mon, 06 Jun 2022 21:30:43 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Mon, 6 Jun 2022 21:30:42 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Mon, 6 Jun 2022 21:30:42 +0800 Message-ID: <8598b46381861bd36008cc87599c73863cb4b98e.camel@mediatek.com> Subject: Re: [RESEND v4 1/3] dt-bindings: mediatek: add vdosys1 RDMA definition for mt8195 From: Rex-BC Chen To: Rob Herring CC: Project_Global_Chrome_Upstream_Group , "airlied@linux.ie" , "linux-arm-kernel@lists.infradead.org" , "robh+dt@kernel.org" , "pavel@ucw.cz" , "Nancy Lin =?UTF-8?Q?=28=E6=9E=97=E6=AC=A3=E8=9E=A2=29?=" , "devicetree@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "krzysztof.kozlowski+dt@linaro.org" , "chunkuang.hu@kernel.org" , "CK Hu =?UTF-8?Q?=28=E8=83=A1=E4=BF=8A=E5=85=89=29?=" , "matthias.bgg@gmail.com" , "linux-kernel@vger.kernel.org" , "angelogioacchino.delregno@collabora.com" , "linux-mediatek@lists.infradead.org" , "p.zabel@pengutronix.de" Date: Mon, 6 Jun 2022 21:30:42 +0800 In-Reply-To: <1654520033.524963.534472.nullmailer@robh.at.kernel.org> References: <20220606051131.14182-1-rex-bc.chen@mediatek.com> <20220606051131.14182-2-rex-bc.chen@mediatek.com> <1654520033.524963.534472.nullmailer@robh.at.kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2022-06-06 at 20:53 +0800, Rob Herring wrote: > On Mon, 06 Jun 2022 13:11:29 +0800, Bo-Chen Chen wrote: > > From: "Nancy.Lin" > > > > Add vdosys1 RDMA definition. > > > > Signed-off-by: Nancy.Lin > > Signed-off-by: Bo-Chen Chen > > Reviewed-by: AngeloGioacchino Del Regno < > > angelogioacchino.delregno@collabora.com> > > Reviewed-by: Krzysztof Kozlowski > > Tested-by: AngeloGioacchino Del Regno < > > angelogioacchino.delregno@collabora.com> > > --- > > .../display/mediatek/mediatek,mdp-rdma.yaml | 88 > > +++++++++++++++++++ > > 1 file changed, 88 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/display/mediatek/mediatek,mdp- > > rdma.yaml > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m > dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/linux-dt- > review/Documentation/devicetree/bindings/display/mediatek/mediatek,md > p-rdma.yaml: properties:compatible: [{'const': 'mediatek,mt8195-vdo1- > rdma'}] is not of type 'object', 'boolean' > from schema $id: > https://urldefense.com/v3/__http://json-schema.org/draft-07/schema*__;Iw!!CTRNKA9wMg0ARbw!3hhZrSKSWnCN5Bha9laiHlB5JCx9_p-ksaYDZmoCLQRi1tI4KJCcTJQva2vds3j3bwKF$ > > /builds/robherring/linux-dt- > review/Documentation/devicetree/bindings/display/mediatek/mediatek,md > p-rdma.yaml: ignoring, error in schema: properties: compatible > Documentation/devicetree/bindings/display/mediatek/mediatek,mdp- > rdma.example.dtb:0:0: /example-0/soc/rdma@1c104000: failed to match > any schema with compatible: ['mediatek,mt8195-vdo1-rdma'] > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/patch/ > > This check can fail if there are any dependencies. The base for a > patch > series is generally the most recent rc1. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up > to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit. > Hello Rob, We found that if we write this, and the error will disapear: properties: compatible: - - const: mediatek,mt8195-vdo1-rdma + items: + - const: mediatek,mt8195-vdo1-rdma But from Krzysztof's review[1], he adviced us to drop items. Is there any suggsetion for this error or do we have any misunderstanding? [1]:https://patchwork.kernel.org/comment/24849447/ BRs, Rex