Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2160136rdb; Mon, 9 Oct 2023 15:03:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYRUZ8uh45DgXZu+1H/1MibP2WIGrfYPdp3FYP2fQSXdL4Lyc3KUtYJHrVotRPBbRwzsCG X-Received: by 2002:a05:6a21:998c:b0:16c:b99a:754f with SMTP id ve12-20020a056a21998c00b0016cb99a754fmr7456274pzb.36.1696889005831; Mon, 09 Oct 2023 15:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696889005; cv=none; d=google.com; s=arc-20160816; b=Ztw0DKpKLIz4DUCEeHxgnYnyy+OrNZY8EbSvqLDXzuYJf848sQZbU7VLxcE5ky3EY/ LyChVR1ju7dxMVSSn69aGKutSyqntX8r4Zw5m1fhk1QyDuJF1OxNgGroXdeWf+/u/9PK r6e4f21jBJH5XUUmRABaB/k8cHS1/jnKZPWBjasfvf3Rt+Rj4dbasrB/rzst44gk1AOL +I1UdfNwrwaxxT98hVKgijq8K89YbgtMRObigLyKjTbqXjnYVnKO91uOEy61AHe2xxyC vbk9fjS4x+TFA65N43P3W6NBVITShEbWPpRrd4Ga0vOLUGFBkdpwnMacpMR3ag6CB+Bn WClQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Rjq4mQ6ok9vbI4s2uRAhNlsstGCnbhA6GK5uk3ZBc6s=; fh=Gl4FR9UJv/LMFjE7maFEHvJZO1mLbzBtPB+gR2266TY=; b=UcVDNK/AA0LF+O3KjX5N8QVGXEcDLPJe5Cafc9MO9SJfwiaKck4UZmrneZknuz/J7t QyZRFr7wd64Rvwn0l926xTyXLK5FFQaJ+mDIhOPuoUXtozDK2vTCCwNlBlx+fRFtx7QZ /TUMM/nIQvDas2NYcNCSP8gOZ4rI2olfq+Eha4SsqTH6tamvqeoq3NCuYM9oHiCrTBgr OHt+yCstRSezUuu0bf3MG2i0ezPaJUXFguUvtzxd+DQNCc92OVaBPTdqy+217VNe3d3W Zn9dYxv1vGOCeerauG8wuAsZRnLf5M0pyDXnq2s46QSaJjm4It69fc0VrxClUbz0Cj+M W5GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NFeMzAoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x185-20020a6386c2000000b00578b9d1d118si10052226pgd.219.2023.10.09.15.03.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 15:03:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NFeMzAoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7AE9E81BECA7; Mon, 9 Oct 2023 15:03:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378826AbjJIWDG (ORCPT + 99 others); Mon, 9 Oct 2023 18:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378742AbjJIWDB (ORCPT ); Mon, 9 Oct 2023 18:03:01 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F60E9E for ; Mon, 9 Oct 2023 15:03:00 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9b2cee40de8so1088856866b.1 for ; Mon, 09 Oct 2023 15:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1696888978; x=1697493778; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Rjq4mQ6ok9vbI4s2uRAhNlsstGCnbhA6GK5uk3ZBc6s=; b=NFeMzAoMSzzsP1enzdkmIpGu0Qse+EtYPLu7hlVLPxt02Bvxl+US8oTAZrjFQBnQOs A1vYYUWh181x+CgskiqIiyB4xifCziqGX6bQqTXvVkAKIZ5K2cwIV0CC5LCnHDg3b8Xz 8wOEG8fRDLX1MQorBfKSXMsyQi9N+ks+GQN1k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696888978; x=1697493778; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Rjq4mQ6ok9vbI4s2uRAhNlsstGCnbhA6GK5uk3ZBc6s=; b=qJLyRknkK3+DkNvLtcbexaGCX9u3J305s8gYDY2oadfYOViVfQu9FVBjUDXizu7edV gtrVW9h6PmHTC0fGMmBvZ0cEi8udAqH/w06DFHnEv2JWm1LhXcBLJk7llJCB7SlMQgqB zMEaCLfMg0mwsZ2pvUyS7dk2TqdBYzjA/yQjtpNLT3Nc3eUKJtcdbDdzIliyqcAYZkeQ Gp5i2co0L83g8dI/61mhH7tFxI3a+Y7q027adcwn5hZFf6hTLASWfqZmZw8Oug5lvJTA cjZbaPLFmPeozKIyP0Qn+zI16IsuOTYQdOCmeh43J7wuhkbAGAOznTDqdwfBaXXOPOxc dfXw== X-Gm-Message-State: AOJu0YzGFeJCIf8VyNfqUhda6qJLdJtk6HSkXYqpv1OjrAU/vuCv2gY3 s2o9sLQdnec8++zZgxkKo05ebgDSVP7e477L80fAYg== X-Received: by 2002:a17:906:af10:b0:9ad:8a9e:23ee with SMTP id lx16-20020a170906af1000b009ad8a9e23eemr11254081ejb.13.1696888978460; Mon, 09 Oct 2023 15:02:58 -0700 (PDT) MIME-Version: 1.0 References: <20231009201005.1964794-1-sjg@chromium.org> <20231009201005.1964794-2-sjg@chromium.org> <169688631230.3255827.3268332902446136449.robh@kernel.org> In-Reply-To: <169688631230.3255827.3268332902446136449.robh@kernel.org> From: Simon Glass Date: Mon, 9 Oct 2023 16:02:40 -0600 Message-ID: Subject: Re: [PATCH v3 2/3] dt-bindings: mtd: binman-partition: Add binman compatibles To: Rob Herring Cc: Rob Herring , 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Mon, 09 Oct 2023 15:03:23 -0700 (PDT) X-Spam-Level: ** 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? Anyway, I'll send v4 Regards, Simon