Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp467969lqp; Thu, 21 Mar 2024 06:49:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVls5hRawVfSZ0CrA/eUA2ZNVudbZtyaBR8+dDtjtpgZA+o97rTrgpKs79Zv1PGqyV01BszNk2caII0PwSdAHuB5Lc0FkbJEXm2X3CoYw== X-Google-Smtp-Source: AGHT+IE5XPQGFLhoAJedm9Yi1lOzcs6y2Mh4cSpwBr7FFmIh0QyjFU+15Iymhannbx8rRiLo2MnV X-Received: by 2002:ac2:5f47:0:b0:513:a9d1:9ced with SMTP id 7-20020ac25f47000000b00513a9d19cedmr3339820lfz.21.1711028971078; Thu, 21 Mar 2024 06:49:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711028971; cv=pass; d=google.com; s=arc-20160816; b=mbIYOEhwKfy2MVMpWmNILYu7pDP0TmooOUlcnM8KLGEagtCOjgyIQzv9Rf7hcqTpmj QyRccGfhhI5F97UDa9hdHK9d6b11eRfQTUHPDy1WcrhuqJQh8xYCAucBTNEkaPsyZ/EI SJhq0xughD9/vUa79uYnjd813nz5R9uQmWd6xwhVI3otEcYcNwzKZO0IDR0QPlOA9F65 dpj8nXGkYVE6uQVgMyd/GsAs9rmvfyS82HiAxZbNNXuw5i2RxJRBOO6b/LTJUjVy8N0N YLkg77UEOEvXiHmhUs2+RAHgmbTKMOgFfhniDGzxuVGhNrW3IA9iJ2ENrIx/En0bruXq Ow9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=G7m2cLK0a6s91oL6S0rlMRgau0wgmbygAmlpdOGCffk=; fh=embitrNuCfYE3JFBW5SPewirh/iBNcKag5JBAX76rQU=; b=fXLQrHLwq9UaUk+1vLbvpClrSvRHPv8bLUUjjHH4uzxWYWlFci/czey9aGYqgp98i3 BiEKRqwTl4BIv9tGIjHtTsSPyJqV8PGcnrXEZFlbJLMblYhOnZ2V4yqg1tCjydGkJusW ojqrFTmgJSHfQh78vtHk1sNSmQ78HqCn0ZKdnkw8FmihPtbTo72S2nBUU9yWoBHsL4mf JGhlM0aVb56dRz8aUuyTh6kghRnh9HcYB2YBpi9jlb4T7969J99LRdgN1/QRyXOVFjse ls7ndi+uSSuYl++uPdEQwcBBrmBKxtYb8gH+Ca1eO188rWvOdV/JAuurs5KgINvVFdlm RRAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QfSH0sCH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ci17-20020a170906c35100b00a471b1360c3si345080ejb.95.2024.03.21.06.49.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 06:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QfSH0sCH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110107-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C6F231F220BC for ; Thu, 21 Mar 2024 13:49:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 650B084A58; Thu, 21 Mar 2024 13:49:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QfSH0sCH" 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 8A9205810B; Thu, 21 Mar 2024 13:49:20 +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=1711028960; cv=none; b=iWrund1msg2JuiSRQ2V9/D2MsBCgMCzv1faUiNrs/sgSZeTsVtMrRDaE/PB7x7lUeQPQSmQr5AxlzUEhJ4r1zYqX5xXg1jp16Hj5yar4IoPiSVTi6ngu2ZSLQDVCkr/Ah3x9Wxh/bBlqPMigJOC8lwK9QR9SwVKUX+iyRqbON8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711028960; c=relaxed/simple; bh=KXx1OqLAULwK6itNYdQKESUqdlN3IelvAK9/XCk+0Z8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZPrps3KRK0GjGySczf9fdfVp4PutdxjYiDSE9huWUGPSEWULaSddIgim2/Hs6zKzjdFBRPg4OADE8bRQMV8EpfV0UwSSyk0UpsqPK2kRJQ1hFVxLOL9p8bIg8mM6WVerN3JFIvh4Imue/98Z5p4IR2Uc7KPjsFt2URwrBomh8UY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QfSH0sCH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE0F8C433C7; Thu, 21 Mar 2024 13:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711028960; bh=KXx1OqLAULwK6itNYdQKESUqdlN3IelvAK9/XCk+0Z8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QfSH0sCHJWrC0Zm7gIFMlUG/67wXwcMg287W1NWjx4xIRms/VFGt2JNm4zsUSMcPh 7G8ynAWHQYnZOBXA+dMX8X4BcoDhTtjpjCry7WRKeQlW1lhGVcckn8v15LQOumwBB3 90CFXSsIkQKwINN5td+GYaGEGfJbimpmYYKsDyao9gbMcaLix8fnk6Oq7uVukKm+0a HvMDRdz1NTJnw0Izki2/BYV2UCmnxzZIBd3YQkpDqcVO42zeHtCs2IG1NwygXU0dZZ 51/feqlB/xRW9Xkg+YKqgOVYm+rEq8/UbSh1jBtcOf8gQ35G7K9SioxkuuWMU35rO1 bHI6wwh90eG1g== Date: Thu, 21 Mar 2024 08:49:17 -0500 From: Rob Herring To: Simon Glass Cc: devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, Michael Walle , Miquel Raynal , Conor Dooley , Krzysztof Kozlowski , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Richard Weinberger , Vignesh Raghavendra , linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 2/2] dt-bindings: mtd: fixed-partition: Add binman compatibles Message-ID: <20240321134917.GA1625959-robh@kernel.org> References: <20240320052449.175786-1-sjg@chromium.org> <20240320052449.175786-2-sjg@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240320052449.175786-2-sjg@chromium.org> On Wed, Mar 20, 2024 at 06:24:49PM +1300, Simon Glass wrote: > Add two compatibles 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. > > Note also that, after discussion on v6, we decided to use the same > 'fixed-partition' schema for the binman features, so this version > adds a new 'binman.yaml' file providing the new compatibles to the > existing partition.yaml binding. > > Signed-off-by: Simon Glass > --- > > (no changes since v8) > > Changes in v8: > - Switch the patch ordering so the partition change comes first > > Changes in v7: > - Adjust MAINTAINERS entry > - Put compatible strings into the 'fixed-partition' binding > > Changes in v5: > - Add mention of why 'binman' is the vendor > - Drop 'select: false' > - Tidy up the compatible setings > - Use 'tfa-bl31' instead of 'atf-bl31' > > Changes in v4: > - Correct selection of multiple compatible strings > > 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 > > .../bindings/mtd/partitions/binman.yaml | 49 +++++++++++++++++++ > .../bindings/mtd/partitions/partition.yaml | 21 ++++++++ > MAINTAINERS | 5 ++ > 3 files changed, 75 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman.yaml > > diff --git a/Documentation/devicetree/bindings/mtd/partitions/binman.yaml b/Documentation/devicetree/bindings/mtd/partitions/binman.yaml > new file mode 100644 > index 000000000000..83417ad5cee9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/partitions/binman.yaml > @@ -0,0 +1,49 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mtd/partitions/binman.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Binman entries > + > +description: | > + TBD ? > + > +maintainers: > + - Simon Glass > + > +allOf: > + - $ref: /schemas/mtd/partitions/partition.yaml# > + > +properties: > + compatible: > + enum: > + - binman,entry # generic binman entry As-is, 'binman' would need to be added to vendor-prefixes.yaml. However, I think just 'binman' would provide just as much information. But really, does it provide anything? What would be the difference between this and no compatible? Rob