Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35523386rwd; Mon, 10 Jul 2023 08:36:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlEv0qsw9wUE+/xl4f8SaVRdILL4M+EeWR7if6Z4k2qsQXwcBJt7gbzJGjEWTHiVEYGFRuTj X-Received: by 2002:a05:6512:39d6:b0:4fb:8b2a:5e07 with SMTP id k22-20020a05651239d600b004fb8b2a5e07mr14521229lfu.36.1689003415393; Mon, 10 Jul 2023 08:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689003415; cv=none; d=google.com; s=arc-20160816; b=n0u4Am5lZLFRWe1ZyEQRxw3XjYFVQY7/piaw44uUBhggvm5UvA0+9UXPVgpHYnM9E+ +DsyMoA3M4+TQFRZ0ukZ+AhHoPTGNMagS9WzWWO2ijvZHhCKwhOe1MK4W3F/ROYjLVW1 lsg8PN8Z5aljhjdzbFO3RBQe5sFdwcfTlNmz1SSY0VtRALXJZqcDqw3lZEcaaGylB+Pi oMlL6g1q1VFkFV4G8qc4uyf+dSDP8FM39663GOYIZYvT6GAhVGFwlED0F/9zlrNIo7LU tiYITpB2h8eudtd2XXpGqkc/BtIjEPIEIKmp9T0dbBWhvOm4IpBT2/5FJ3EXqOiEu9UM 3MiQ== 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; bh=1nyrFjxJo8+g4BJMVmJMgw4xbVv526rn8ok8HJOe1Dk=; fh=vNMsw0Isj5KgzSI505BngY5mmZz94Kou9vF6WDqDSX0=; b=Z1/JXN6Tsc4whk1afHgfJJIpwbvCXatxI+hCEK1KhUBwuPLFzWRKGjJsnLg6uOuw23 IVyg/FmC3svlRI3UaDuI6q3CpqQHArIK+1gbEsQZD/2UN0Z3UHxNQa+8mXcG9rvN7rj3 o7/ZV47gRNIRCEAbAxLxhcoQy0eZnSiL7jDtm9ZqqbBFNtli+uP2nYQ4sZl+oR+JKX5O vKZg6ycOG0MoC6Kp4i71m/61Y08fKNM3Qc2sUM/yr68jl1pvaUCOvl+SogB8qnl4BerA QMVbQRJD3tfWLvgWlPxZR49zjJ2H93cFZ7MdgTdGvc40pWHUNXlwfhDzoNaFndtiib/y O3zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v21-20020aa7d815000000b0051daea25ff3si9632236edq.484.2023.07.10.08.36.28; Mon, 10 Jul 2023 08:36:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233436AbjGJPEQ (ORCPT + 99 others); Mon, 10 Jul 2023 11:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233434AbjGJPEO (ORCPT ); Mon, 10 Jul 2023 11:04:14 -0400 Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD73CE8; Mon, 10 Jul 2023 08:04:12 -0700 (PDT) Received: by mail-io1-f48.google.com with SMTP id ca18e2360f4ac-7835ae70e46so138320439f.3; Mon, 10 Jul 2023 08:04:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689001452; x=1691593452; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1nyrFjxJo8+g4BJMVmJMgw4xbVv526rn8ok8HJOe1Dk=; b=cKE9gPxsnCH4tyNL/yyjLEwi86hbLWg0G8fEke0LA3swaXri5DB7g5bft6gey2IuR3 GiMum8BUT5Ge0wKAggWTjywltq7hTGg1G6k0LI7QkjETqFOL8/vmD7/JANE5RkeMEZUO plpkYy/IRhAlun6nlrGm873WviIeuN/tQKIEtewIGXBAGztThN/4CAk1blAOa41cO8ks 4EiYLtsMty5cb4fAyPhgEikcxVaVX8by7fDhq/b8qLOoHELq1gZKEvIyBA8iitiVP8dN eTemhDjsM+59PUa+LG/FHLj7EZBsmGQCAMxVCW5Jwk9a1N3gsCRGDcyd2lDnvoELznJr yLUA== X-Gm-Message-State: ABy/qLbtq7swbwrL+Iq1eYiKMKOB5AvPuiU05maptdB0wggWUd+Wbdfy Gbh5EM7WYzXPUoZGI1izDg== X-Received: by 2002:a92:d5c6:0:b0:345:cdbe:833a with SMTP id d6-20020a92d5c6000000b00345cdbe833amr12468140ilq.15.1689001451880; Mon, 10 Jul 2023 08:04:11 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id r17-20020a92d991000000b003459023deaasm3610496iln.30.2023.07.10.08.04.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 08:04:11 -0700 (PDT) Received: (nullmailer pid 1975341 invoked by uid 1000); Mon, 10 Jul 2023 15:04:09 -0000 Date: Mon, 10 Jul 2023 09:04:09 -0600 From: Rob Herring To: Linus Walleij Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Florian Fainelli , Hauke Mehrtens , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Broadcom internal kernel review list , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 1/2] dt-bindings: mtd: Add SEAMA partition bindings Message-ID: <20230710150409.GA1959130-robh@kernel.org> References: <20230707-seama-partitions-v3-0-6aa9391b46bb@linaro.org> <20230707-seama-partitions-v3-1-6aa9391b46bb@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230707-seama-partitions-v3-1-6aa9391b46bb@linaro.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 07, 2023 at 07:42:40PM +0200, Linus Walleij wrote: > This types of NAND partitions appear in OpenWrt and > U-Boot. > > Signed-off-by: Linus Walleij > --- > ChangeLog v2->v3: > - Drop reference from partitions.yaml again > - Drop select: false > - Use unevaluatedProperties > ChangeLog v1->v2: > - Fix up the binding to be childless > --- > .../devicetree/bindings/mtd/partitions/seama.yaml | 48 ++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/partitions/seama.yaml b/Documentation/devicetree/bindings/mtd/partitions/seama.yaml > new file mode 100644 > index 000000000000..5105d1a6a44c > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/partitions/seama.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mtd/partitions/seama.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Seattle Image Partitions > + > +description: The SEAttle iMAge (SEAMA) partition is a type of partition > + used for NAND flash devices. This type of flash image is found in some > + D-Link routers such as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L, > + DIR890L and DCH-M225, as well as in WD and NEC routers on the ath79 > + (MIPS), Broadcom BCM53xx, and RAMIPS platforms. This partition type > + does not have children defined in the device tree, they need to be > + detected by software. > + > +allOf: > + - $ref: partition.yaml# > + > +maintainers: > + - Linus Walleij > + > +properties: > + compatible: > + const: seama > + > + '#address-cells': false > + > + '#size-cells': false You don't need these 2. You'd only need them if partition.yaml defined them and you wanted to disallow them. Rob