Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp68461lqb; Fri, 15 Mar 2024 15:39:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7rU24SAXR7JRffRevMn2bLWXGw57zw1K1lGT/mIu1aQdgfXf+szM/U+cMSTWO7jrn6qk44OKaDwcGKZ5Ym8brpjlPOUsckPQ5cxUMzQ== X-Google-Smtp-Source: AGHT+IF48AfOBUcnLNzmkoftNK2Yh64UlkSeFmXH98TymE2UW8O8kIiNUdD1Nn2b9QB0L5xD86Rt X-Received: by 2002:a0c:f6d0:0:b0:690:da70:c981 with SMTP id d16-20020a0cf6d0000000b00690da70c981mr5611770qvo.1.1710542384301; Fri, 15 Mar 2024 15:39:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710542384; cv=pass; d=google.com; s=arc-20160816; b=ENhZ2krjNZcqyEEc44HCZdMv5Zf27mvR9rjyv8Af2hMSjVmJ89V3cSwkEr2ueUnOkm TvEBE+KDAIf5zGecYYAch8IrAussJQYp3z82URyUIz80bMeRJD1lGSPGcwkwUxeMlp9C 1oQR1IDmBg+Be8MytQboXcr9/m/TtYOyFMz/DrOUM9thHrXadKfAL840ieMXd2TDTd/S DRhkJMx0+ZgGaSSGYllOQ39P2HCMXTmO+eM07pWueXHas4m+2GAfW02Vsdp1R1DppO6O C20WbVSPxqMSiDLSymV+2pvALRRr1y22h51pPSzPMRte1/rd5UjLMgazMm0lLSIQtUdk VO0g== 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=3NKuh99ScrduAvkPkAwyauRPcRXVV5UQsF0hxWGD94s=; fh=5YeKgxnHI1scySweDdGxGLhM9DtWvo2OmqOx60zeJXo=; b=v5MlY2MXblhDgnxVJ1eodUwJ+XrmTYUfww7gBiF0/yQtOjIF/8dizBea2NiBVVvzZM 4rsrOVR1hSy0hM+x4Y49Zdies0je8Px8pyP51aK5O3oQfuY2KpDZh/KktVv4n+R93b/c NbPc0mPO0jgFgaGkUnxOR/F/eGo9u8sLq+/8F1nBTgZI2WiinYrSwVRf7FWugl3Pzqp5 EnrqRs4BueXJdzxroij0arptfpJE3mpWtrU8cKvc6wkL4IExFJZuEDP0sW5IVbxuq/HL eHpC6KycmVVZbAMKqT3Kz1gvANqr9dtVUH/rY5VV/J39MgLC5BtK/6F8HkfYwABlxn8R Q1Rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EhVlUuzJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104967-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h5-20020a0562140da500b00690197c48e2si3929039qvh.236.2024.03.15.15.39.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 15:39:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EhVlUuzJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104967-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0B2D91C20D9A for ; Fri, 15 Mar 2024 22:39:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A381B56B77; Fri, 15 Mar 2024 22:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EhVlUuzJ" 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 C552A1774E; Fri, 15 Mar 2024 22:39:35 +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=1710542375; cv=none; b=NctccMrJUYR6qZ5roSxZRRF2uWJQfAWEuWEHBIDyew1Q+7mlvcQkwHp04gKOd12rsiYAeJDFnm9nCZUnFVJFbMWbTCIPPC49xQjBEugqmpjmETVr7nXzvLEKoqUVTJvVeOBaSKAJsM8dbL3dJDDNiPdOhuIGb7gC6gTbhIhY76U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710542375; c=relaxed/simple; bh=7AGoxyZRNwhWGRoTX0vozA4l+C5nDgnZKf/FebfvTaM=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=sZClRztBrycg7Wn3Eqi3tgA1bMwtyMTaPxuyds4e+sH7bcltFJaDe7SYGC/t+xQlNwLqz1kArUw1ADqIHsqjh3djM3NU9aUXgx3D1aAj7WdN8m3lEOt7G7r8FaLp8xqTEDcZeT/b74q2lQY2P0cKGJgSFzWCdB3NKO08iLm8BOc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EhVlUuzJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28387C433F1; Fri, 15 Mar 2024 22:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710542375; bh=7AGoxyZRNwhWGRoTX0vozA4l+C5nDgnZKf/FebfvTaM=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=EhVlUuzJAcqLU0r1H2j4kr9URd7T6xVe8pbRCDtZAKanIlZ0r2DagcWdPI5uqeoqg 9cQYNI8hjHYRZyK0m5KrCHu8hR0Lwra7Sclv3UC7lMbG7Xuw31s00jilt07Fm2xoA3 BWkr09TCiS+x625sOJKABC6q+IUrp84D/AqlK8vf5GEXR0fMUv8rbebvThQQunjOpZ 3bFr96dJ6ZksmJ33F0oJkVZp7aDUTJsiagVdIe6q+GmIr6pyUTvPPYp6WKu5IoJ0bR OH2ksIE5X8P9EBF78g4XZi8CLONMncZW2hMQljMhhix1aPqsT/if2h8GlWFUa5xUzQ AoJBZ5qknUmTg== Date: Fri, 15 Mar 2024 16:39:34 -0600 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 To: Simon Glass Cc: Miquel Raynal , Krzysztof Kozlowski , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , Michael Walle , Conor Dooley , Richard Weinberger , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, Vignesh Raghavendra In-Reply-To: <20240315204521.28613-1-sjg@chromium.org> References: <20240315204521.28613-1-sjg@chromium.org> Message-Id: <171054237303.2017019.6117263925348911387.robh@kernel.org> Subject: Re: [PATCH v8 1/2] dt-bindings: mtd: fixed-partitions: Add alignment properties On Sat, 16 Mar 2024 09:45:20 +1300, Simon Glass wrote: > Add three properties for controlling alignment of partitions, aka > 'entries' in fixed-partition. > > For now there is no explicit mention of hierarchy, so a 'section' is > just the 'fixed-partitions' node. > > These new properties are inputs to the Binman packaging process, but are > also needed if the firmware is repacked, to ensure that alignment > constraints are not violated. Therefore they are provided as part of > the schema. > > Signed-off-by: Simon Glass > --- > > (no changes since v7) > > Changes in v7: > - Drop patch 'Add binman compatible' > - Put the alignment properties into the fixed-partition binding > > Changes in v6: > - Correct schema-validation errors missed due to older dt-schema > (enum fix and reg addition) > > Changes in v5: > - Add value ranges > - Consistently mention alignment must be power-of-2 > - Mention that alignment refers to bytes > > Changes in v2: > - Fix 'a' typo in commit message > > .../bindings/mtd/partitions/partition.yaml | 72 +++++++++++++++++++ > 1 file changed, 72 insertions(+) > 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: Documentation/devicetree/bindings/mtd/partitions/partition.example.dtb: /example-0/partitions/partition@100000: failed to match any schema with compatible: ['u-boot'] Documentation/devicetree/bindings/mtd/partitions/partition.example.dtb: /example-0/partitions/partition@200000: failed to match any schema with compatible: ['tfa-bl31'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240315204521.28613-1-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.