Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp285033rdg; Tue, 10 Oct 2023 10:07:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuKCgmh24+WXl3IiOx1mFkSnoTQ4PkAxSPCVYsDzSqLBFlySEHFkL+wpvB4lliZug6/JSi X-Received: by 2002:a05:6e02:1789:b0:357:3e6d:d543 with SMTP id y9-20020a056e02178900b003573e6dd543mr2287040ilu.23.1696957644704; Tue, 10 Oct 2023 10:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696957644; cv=none; d=google.com; s=arc-20160816; b=RsP31QaBhYxiwUWN6TfxyWPSKz8HjdiZ/+8sTbHxNerK/xHR1yhvUEKA6CGSev+JQE D6YlAcDs3DmEx4gmT3e8+Ub/RqAp+ASNbYU059lumJOkLLxSrzCfZ4OCQoNc3/ZW/ziK aJPLTsa8oNWu7pz8EzBDI/mlTxhbBUVjAwcmpQneyR5EdsdNQ6bm8VFuGg4YRsCQdxZ2 u5fT3qXjhqCBJmSCCHeDvFiLAV29s3v0YhCyNwpIA/EYxcq89h76P6GkpyDJ32bK7/qn C2KEtzatdsR7/so9seCXBSWGaOf1evwp28ck7FyuU48iMbOFCnG42IEokc2GbizoT9Gg CWXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8NB0IROPdYK5kaPI4kfnCdfhzl7yNs+rsL5kXYcr17o=; fh=G51hCcVGN8G/MtrCMcH51pxukuHlshtndwJBUfLWPKU=; b=wyvLanFy9Mlp/U4eA9BWMhrj0A3B69Ks8sdfu7f4xwmvXQX1MY9wl8qEXEqm31I9ui XoFAqDUKnHBTjsasEX/waoYEtcxgdEy+THOKj60Vt5ccD/pgc5FZ9uDPZaMQEDX/zvLp KTS8c3lO5Isvzlnp8wGWQLvFLViAOMmELdAZN+U5qIexV1Q5EMD865pKKQPrUuSIXY5L KkxSTYoGcemBNO4tfi+GQwvtT91QLRAIKVH73L+8dzOPZqUh9G6qIVVnzAzRqW5cvirS zLEl88b0V8c3NoSlm2RaCgUkieHmxxWW8lnJrtWT0KPGhlFMEepJZh9RxYBO88g65/hA Z7Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DyA6xxGA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id e8-20020a636908000000b00585a5e9a963si12044618pgc.24.2023.10.10.10.07.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 10:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DyA6xxGA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5F2E2807C565; Tue, 10 Oct 2023 10:06:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233630AbjJJRGs (ORCPT + 99 others); Tue, 10 Oct 2023 13:06:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234410AbjJJRG0 (ORCPT ); Tue, 10 Oct 2023 13:06:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72F1211B for ; Tue, 10 Oct 2023 10:06:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7EF4C433C7; Tue, 10 Oct 2023 17:06:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696957563; bh=fQxhBhW+tBsI74bpxoq2WhIg3iV6j9PgVFhC0vGwcw4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DyA6xxGAjMcq+pqRbop6Hl9L/a7izNrQx+URxcKHk4934m/rfCpF63VFp05pP7x8t oYV5j5bsLcXaK5nEP1CSnbk8TEubM0pjGVGBuDee6xu5DV7Gr21jNks+xxnIEDqSbN l5lHI+PA3HtR260Migd0jbiU0L+XaziHQezq21xNdTpiHcMtB3twWogwuHGGwxauBz ApJxqcjeKTyfLyunkMYYurP+MRGg5Wp2VzbZJ7GiNVpHXbGE4ZtWm9gV3JbmtWAdKA nH7/wVJ1I0ZR8LQfvdlzZ7oxPNQaj38l9ZwSPll8kUSuuy9a1ggijHyDW3aSUBW7x2 666ToubamQsOw== Received: (nullmailer pid 1059527 invoked by uid 1000); Tue, 10 Oct 2023 17:06:00 -0000 Date: Tue, 10 Oct 2023 12:06:00 -0500 From: Rob Herring To: Simon Glass Cc: Miquel Raynal , devicetree@vger.kernel.org, Michael Walle , Richard Weinberger , U-Boot Mailing List , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Krzysztof Kozlowski , Conor Dooley , Tom Rini Subject: Re: [PATCH v3 2/3] dt-bindings: mtd: binman-partition: Add binman compatibles Message-ID: <20231010170600.GA1046256-robh@kernel.org> References: <20231009201005.1964794-1-sjg@chromium.org> <20231009201005.1964794-2-sjg@chromium.org> <169688631230.3255827.3268332902446136449.robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 10 Oct 2023 10:06:57 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 04:02:40PM -0600, Simon Glass wrote: > Hi Rob, > > On Mon, 9 Oct 2023 at 15:18, Rob Herring wrote: > > > > > > On Mon, 09 Oct 2023 14:10:00 -0600, Simon Glass wrote: > > > Add two compatible for binman entries, as a starting point for the > > > schema. > > > > > > Note that, after discussion on v2, we decided to keep the existing > > > meaning of label so as not to require changes to existing userspace > > > software when moving to use binman nodes to specify the firmware > > > layout. > > > > > > Signed-off-by: Simon Glass > > > --- > > > > > > Changes in v3: > > > - Drop fixed-partitions from the example > > > - Use compatible instead of label > > > > > > Changes in v2: > > > - Use plain partition@xxx for the node name > > > > > > .../mtd/partitions/binman-partition.yaml | 48 +++++++++++++++++++ > > > 1 file changed, 48 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman-partition.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/dt-review-ci/linux/Documentation/devicetree/bindings/mtd/partitions/binman-partition.yaml: properties:compatible:items: {'enum': ['u-boot', 'atf-bl31']} is not of type 'array' > > from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# > > > > doc reference errors (make refcheckdocs): > > > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231009201005.1964794-2-sjg@chromium.org > > > > The base for the series is generally the latest rc1. A different dependency > > should be noted in *this* patch. > > > > 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 after running the above command yourself. Note > > that DT_SCHEMA_FILES can be set to your schema file to speed up checking > > your schema. However, it must be unset to test all examples with your schema. > > > > Oh dear, I didn't notice that output but I see it now. Could the check > return a non-zero exit code if something goes wrong? No, because things go wrong too often and then it breaks for everyone. It's better now, but only because of the above reports and 3 maintainers. Also, it is not fatal. The schemas are checked against the DT meta-schema, but are used for validation if they pass just draft2019-09 meta-schema. That allows new DT meta-schema checks to not start excluding previously used schema. Rob