Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp704317lqp; Wed, 22 May 2024 18:24:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVEkgTbdWgik3u+UcPZzfJCI78w++Z8vCkkEDQ+vIN1G0FAU100lzVW0jGnCnDpMRIPlPEuLZP5OLkE5xgVfy+yr/ciAsEhxMymVMDyxw== X-Google-Smtp-Source: AGHT+IHjAB2oDaRDZgAtKe3uVXCBX2oGVMLR2jXMSvvUyWLjHFqjcz8DVZR0/Y3wdT10VF8OIllv X-Received: by 2002:a05:6a20:968f:b0:1aa:4289:5921 with SMTP id adf61e73a8af0-1b1f8b2c6cbmr3688920637.50.1716427440997; Wed, 22 May 2024 18:24:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716427440; cv=pass; d=google.com; s=arc-20160816; b=tdPrRqpkDOH8zcpaIJH2WMRSKgmBO+1wMjKBjQhaFtKoo5XBcXqDfgqKNx4Drh6i1z XwHakhV7/cIlQC4tVpf5iTFcWoZjEn+b6hh7jzeyqNW7rTiZAHjM7QTSxjlGMWgzt1IN n/hbD6WDXk+9xlIateoPqVkcZDyDonRhZ2H9C8gwBl8EgyxFsAdMid+QbcMrvxssbP8A vT1+d+eiQ1ZKi+12gDmLWQzy7VfZelvGNzPz7T35bGUhDrjxKqis36D52pV7O9lJXkyw p2gmK+G4wKZzkPaoK/TTgdlmjH5YICVZ53XcxsaFm+lbJZNAm0kF3GdEBV5oh+65bpNv qJMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=1mmgZ2Abb09hYswC7umLPr7YtcFCCEt7qpZSMYOzKPs=; fh=K4bcIEdQXJ5U9ZWgbaxXLdcjcnBInI4wMOlq4SRjshQ=; b=LGdXNrK2UegcGEaLxwupdPp2VtND7Bp6S2bREHCUq9oZj+eC/1YN4ZtJB1iFM7oEeC 4aYKUqPUocDYm+LKRLO8+vLwfTTDQV1uhjh2bXYF+WEsqx7JSBZOTl8EaiMn/X921rcP QDhV2cTlDN2BRBsvaW8LBooEBy1IS55VZm7glmNygHySgmCA+rN/10xrEem4gr3whR9g 61C2XGuqrITR59pncfW/zrrfINKFpov2YI+J3Ym8muA9OgO19RprgKhJxNfMilG9MXuM +RHuxi9AYcR4uybeGkvTi+A1oYQfXQQGvULZf8nMXgGQEsxFK7Zp27BNF/vimwo0JNpl zK4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a9UI8cjc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186882-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-657171579c7si4123315a12.671.2024.05.22.18.24.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 18:24:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186882-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a9UI8cjc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186882-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9DD30282352 for ; Thu, 23 May 2024 01:24:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04B7A4428; Thu, 23 May 2024 01:23:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a9UI8cjc" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7937EC7; Thu, 23 May 2024 01:23:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716427432; cv=none; b=TfBpoNchCM6A95Q3gJneBJZYTi+6TGrGZB69hZ7MvWZ5oV2BIup/yShvVziTH9Hn5P6D+zZsS2+mAtNf8m+Jo7C2mMek3000wEkyQQMaoM8wpTA6btES1LvnpbDQL/b2NCsBXHXdjcZS7RIuXwd2+X3oU2/fGmGPSoUmmdUdzP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716427432; c=relaxed/simple; bh=lrYPyou6GmUkuNkg168NThhIN99DFmu/CkC/pcafMpU=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=kbbNLmdbjHJdULOu7t1ZH/zUOxSezFloLfbYHUywDVtsSVTDFPAwzOVf3RiP1wm1/sjAPJrLUDw2tPbaGFVcaXDAtI/qua97EEdF5Ja4ejgia59BvTPTdSx9T8Lpy388kRNv9m/jBAN/Al9arAez9u085V++xe+i1o4l8PcDVEI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a9UI8cjc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23063C2BBFC; Thu, 23 May 2024 01:23:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716427431; bh=lrYPyou6GmUkuNkg168NThhIN99DFmu/CkC/pcafMpU=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=a9UI8cjcr7yBXmgK3G3Iq3Fi1CuTXmpqVjQlWE/hXy+AnwKIZ/6UKJVeQ7dHNQ/Np awRHaA8gGqkEB3yZlQ21/Has3Mfo9Qq6PYa99qWXoP5NA3INKL3aioSAWdANfVBn9V KKhi3nV5/N4bRaO6aJgrru2rc0AaG/TL897o+vplLedYCWudHufTm6hdfCgcHfhp5f SCpl5xb1t8mYlklON6iwsiN91Z94OIvudHz013EtuuqkJB5wDca9PR9CMAdZjNOzQR ZLUKVf9j3eQNqZravRHhnF2TsP/zO//NHr4wxOFVuqCJ1Ey2FmGWOfi+x+rG919vrx aWQ1dpudOUJEA== Date: Wed, 22 May 2024 20:23:50 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rob Herring (Arm)" To: Elliot Berman Cc: Conor Dooley , Amrit Anand , Simon Glass , Julius Werner , Frank Rowand , devicetree@vger.kernel.org, Rob Herring , Michal Simek , Conor Dooley , Caleb Connolly , "Humphreys, Jonathan" , Bjorn Andersson , Chen-Yu Tsai , Andy Gross , Peter Griffin , linux-kernel@vger.kernel.org, Konrad Dybcio , Sumit Garg , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, boot-architecture@lists.linaro.org, linux-arm-msm@vger.kernel.org, Doug Anderson In-Reply-To: <20240522-board-ids-v4-2-a173277987f5@quicinc.com> References: <20240522162545887-0700.eberman@hu-eberman-lv.qualcomm.com> <20240522-board-ids-v4-2-a173277987f5@quicinc.com> Message-Id: <171642742999.680723.11765315495034693179.robh@kernel.org> Subject: Re: [PATCH RFC v3 2/9] dt-bindings: board: Introduce board-id On Wed, 22 May 2024 16:54:23 -0700, Elliot Berman wrote: > Device manufcturers frequently ship multiple boards or SKUs under a > single softwre package. These software packages ship multiple devicetree > blobs and require some mechanims to pick the correct DTB for the boards > that use the software package. This patch introduces a common language > for adding board identifiers to devicetrees. > > Signed-off-by: Elliot Berman > --- > .../devicetree/bindings/board/board-id.yaml | 71 ++++++++++++++++++++++ > 1 file changed, 71 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/opp/opp-v2.example.dtb: opp-table-0: opp-1200000000:opp-microvolt-slow:0: [915000, 900000, 925000, 925000, 910000, 935000] is too long from schema $id: http://devicetree.org/schemas/opp/opp-v2.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/opp/opp-v2.example.dtb: opp-table-0: opp-1200000000:opp-microvolt-fast:0: [975000, 970000, 985000, 965000, 960000, 975000] is too long from schema $id: http://devicetree.org/schemas/opp/opp-v2.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/opp/opp-v2.example.dtb: opp-table-0: Unevaluated properties are not allowed ('opp-1000000000', 'opp-1200000000', 'opp-shared' were unexpected) from schema $id: http://devicetree.org/schemas/opp/opp-v2.yaml# compress: size (5) error for type uint32-matrix /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.example.dtb: uimage@100000: compress: b'lzma\x00' is not of type 'object', 'array', 'boolean', 'null' from schema $id: http://devicetree.org/schemas/dt-core.yaml# marvell,pad-type: size (11) error for type uint32-matrix marvell,pad-type: size (3) error for type uint32-matrix /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@aa0000: marvell,pad-type: b'fixed-1-8v\x00' is not of type 'array' from schema $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@aa0000: marvell,pad-type: b'fixed-1-8v\x00' is not of type 'array' from schema $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@aa0000: Unevaluated properties are not allowed ('marvell,pad-type' was unexpected) from schema $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@aa0000: marvell,pad-type: b'fixed-1-8v\x00' is not of type 'object', 'array', 'boolean', 'null' from schema $id: http://devicetree.org/schemas/dt-core.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@ab0000: marvell,pad-type: b'sd\x00' is not of type 'array' from schema $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@ab0000: marvell,pad-type: b'sd\x00' is not of type 'array' from schema $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@ab0000: Unevaluated properties are not allowed ('marvell,pad-type' was unexpected) from schema $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.example.dtb: mmc@ab0000: marvell,pad-type: b'sd\x00' is not of type 'object', 'array', 'boolean', 'null' from schema $id: http://devicetree.org/schemas/dt-core.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/power/supply/sc27xx-fg.example.dtb: battery: ocv-capacity-table-0:0: [4185000, 100, 4113000, 95, 4066000, 90, 4022000, 85, 3983000, 80, 3949000, 75, 3917000, 70, 3889000, 65, 3864000, 60, 3835000, 55, 3805000, 50, 3787000, 45, 3777000, 40, 3773000, 35, 3770000, 30, 3765000, 25, 3752000, 20, 3724000, 15, 3680000, 10, 3605000, 5, 3400000, 0] is too long from schema $id: http://devicetree.org/schemas/power/supply/battery.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/power/supply/battery.example.dtb: battery: ocv-capacity-table-0:0: [4185000, 100, 4113000, 95, 4066000, 90] is too long from schema $id: http://devicetree.org/schemas/power/supply/battery.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/power/supply/battery.example.dtb: battery: ocv-capacity-table-1:0: [4200000, 100, 4185000, 95, 4113000, 90] is too long from schema $id: http://devicetree.org/schemas/power/supply/battery.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/power/supply/battery.example.dtb: battery: ocv-capacity-table-2:0: [4250000, 100, 4200000, 95, 4185000, 90] is too long from schema $id: http://devicetree.org/schemas/power/supply/battery.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/power/supply/battery.example.dtb: battery: ocv-capacity-celsius: 'anyOf' conditional failed, one must be fixed: [4294967286, 0, 10] is too long 4294967286 is greater than the maximum of 2147483647 from schema $id: http://devicetree.org/schemas/property-units.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/power/supply/battery.example.dtb: battery: operating-range-celsius: 'anyOf' conditional failed, one must be fixed: [4294967266, 50] is too long 4294967266 is greater than the maximum of 2147483647 from schema $id: http://devicetree.org/schemas/property-units.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/power/supply/battery.example.dtb: battery: ambient-celsius: 'anyOf' conditional failed, one must be fixed: [4294967291, 50] is too long 4294967291 is greater than the maximum of 2147483647 from schema $id: http://devicetree.org/schemas/property-units.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/afe/temperature-transducer.example.dtb: temperature-sensor-0: sense-offset-millicelsius: 'anyOf' conditional failed, one must be fixed: 4294694146 is greater than the maximum of 2147483647 from schema $id: http://devicetree.org/schemas/property-units.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/afe/temperature-transducer.example.dtb: temperature-sensor-1: sense-offset-millicelsius: 'anyOf' conditional failed, one must be fixed: 4294694146 is greater than the maximum of 2147483647 from schema $id: http://devicetree.org/schemas/property-units.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-tsa.example.dtb: tsa@ae0: tdm@0:fsl,tx-ts-routes:0: [2, 0, 24, 3, 1, 0, 5, 2] is too long from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-tsa.example.dtb: tsa@ae0: tdm@0:fsl,rx-ts-routes:0: [2, 0, 24, 3, 1, 0, 5, 2] is too long from schema $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/board/board-id.example.dtb: /: 'model' is a required property from schema $id: http://devicetree.org/schemas/root-node.yaml# Documentation/devicetree/bindings/board/board-id.example.dtb: /: failed to match any schema with compatible: ['example'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240522-board-ids-v4-2-a173277987f5@quicinc.com 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.