Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7426845rwr; Wed, 10 May 2023 08:07:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qOX+avZebfu17Jj7CPp1gxPdh4ZJmFVNmlhEhRVcBN+O9vPbvxLdinaSSj0W4e5uDAPz3 X-Received: by 2002:a05:6808:311:b0:38c:6519:6e77 with SMTP id i17-20020a056808031100b0038c65196e77mr3234351oie.43.1683731238588; Wed, 10 May 2023 08:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683731238; cv=none; d=google.com; s=arc-20160816; b=I9f42I3kRXMfBJJPEQr16NwB/t9zGPvH2KjJVuNNnvBLQD/D/99ft9WJOZxDva+rcl nlV5oHkhYr7XN4DLbRmITnTh+05AlYGqPYHA7ftmcxMBd9HNV6xfkej0exK8984wrKFd Z6fdn4iLORprfJ22YsT7mnW7/7CcVQkvma3sKZowV8HOwivjlcvigyqi5QNfkdUcCn0H +RcFo1zQjBqe8Pr1az60fH5ASux9MkvMxzwpGCbIPW+v/+HmANVB3OlgVRkagTUhdCb0 Eb9P7mxGvla8aXGOPaO/BvkLNXvGOzsm8l9rvEfuQyPtB449iNr7RF2DFWJiQrvEPYt5 dxmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gGKIDnp5BcnMW9gCpRCUAYeE1qjMs1lyP7Vbjiy3irY=; b=oz6uw73et/CRw7O9J0D1h+yClQh/3G98vEYZaziR1QwTMe35+qesVG/hLa2vkUMpZs akwo8sKk2p7MHWFJpBXNi4NgQq3D4V/2k4pr7YlY/vbIcQGc16UkMT4HvScJb2eO5LHu tPuQzzs0T1NFGnOkEdakbT5MlXbiTWE/ZTpsU/dRVSB4SGQigBaDRdBPVYb10UkMNaq9 Or/xWqQpYXhuDRvQK19877/pBhNZ6TdMA0e5CwGOMFFFLrC+aBKjlsyxUUz8YJoKU98L mbtdFmenpG83u3NCLgTa1f/6R/IX3ntFqrAdOCio28lleOK9Ksf76LrSHdcRWYqtGFmR glCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l14bycRf; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w25-20020a4a7659000000b0054fc426d748si1478294ooe.43.2023.05.10.08.07.04; Wed, 10 May 2023 08:07:18 -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; dkim=pass header.i=@linaro.org header.s=google header.b=l14bycRf; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237621AbjEJO5e (ORCPT + 99 others); Wed, 10 May 2023 10:57:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237154AbjEJO5c (ORCPT ); Wed, 10 May 2023 10:57:32 -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 060C02D64 for ; Wed, 10 May 2023 07:57:31 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-965f7bdab6bso1154071766b.3 for ; Wed, 10 May 2023 07:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683730649; x=1686322649; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gGKIDnp5BcnMW9gCpRCUAYeE1qjMs1lyP7Vbjiy3irY=; b=l14bycRfrRlZbpxmWjdd9s/MZYHJ9DwLn51cx+fW8/aKCO5bN4RQY4P9sZc/VWqyHc LUVBCcAqC0+To0VuR3CRZj4rphtpF8RFVibo8CaEPG3Z4bUJai9QA9bCGb2799qhhYUA gdtMrr4W7bQFgQWiKr1oZVB49Z2LVAOrfenh1bEtPZA3lA0L3mxjTxEQaqVj2lKCUYxA IK8i62rMzgx22Anj7I4QuGMEnfJ//oJtMwgU7whvbcLeMlPg2GrV6AaHbHW1I0Kj/dzx 4CtTvWDgKNa8PxFBCzrV3eBb9xlutfJgi+bR8pUK0P6KL/Gn6Z+1LRToGihau6Fl1Hg4 +ctw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683730649; x=1686322649; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gGKIDnp5BcnMW9gCpRCUAYeE1qjMs1lyP7Vbjiy3irY=; b=Cd/1J2z64PwjVsaWsvCuhe1HPy5P4e/CPmSQ1l0O11/GEyc1Yfvm+c/fNzK/Axr94r jZrE+4Hzw/Y3UusuMJMGtR+Bl1VQRZ9oFBK8M1VopuseeZ+dceIN51ubp4t9fMuenUx+ Ccl3o+2sDuZ0ZHUh9yIWbvbB/FHY+p3dLGFZ/I5ZB4wXnijPok7iaWmkIMgJCl0uGb7t HLieBTMQkOHgut3dcBqDwRhV7EjcRp6p4GUnYqPYBhB0Z0hgcIWbYFoKIXnWFhl4HWmi 281yhNRwWWYQAMwBgyGN28CfAK5ozuNdkboQ1gxf7CzFbxXiMyYzw34CiB5AKkiNgIZa Rr4A== X-Gm-Message-State: AC+VfDztArhTeE99768gHxU8ytxD9XYFTp48/tdRB21W8YUcMg/gNcMT WdN+su0cFw+YWL074jI5WGGMPg== X-Received: by 2002:a17:906:9c83:b0:95f:4889:412a with SMTP id fj3-20020a1709069c8300b0095f4889412amr17648241ejc.33.1683730649389; Wed, 10 May 2023 07:57:29 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:c175:a0f9:6928:8c9d? ([2a02:810d:15c0:828:c175:a0f9:6928:8c9d]) by smtp.gmail.com with ESMTPSA id ci17-20020a170907267100b009682b2b3d66sm2731221ejc.197.2023.05.10.07.57.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 May 2023 07:57:28 -0700 (PDT) Message-ID: <96c63925-91d5-994a-a531-2d7bdb3b642a@linaro.org> Date: Wed, 10 May 2023 16:57:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/2] dt-bindings: mtd: Add SEAMA partition bindings Content-Language: en-US To: Linus Walleij , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Florian Fainelli , Hauke Mehrtens , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Broadcom internal kernel review list Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230506-seama-partitions-v1-0-5806af1e4ac7@linaro.org> <20230506-seama-partitions-v1-1-5806af1e4ac7@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20230506-seama-partitions-v1-1-5806af1e4ac7@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 06/05/2023 17:29, Linus Walleij wrote: > This types of NAND partitions appear in OpenWrt and > U-Boot. > > Signed-off-by: Linus Walleij > --- > .../devicetree/bindings/mtd/partitions/seama.yaml | 50 ++++++++++++++++++++++ > 1 file changed, 50 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..352f008ffdb1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/partitions/seama.yaml > @@ -0,0 +1,50 @@ > +# 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. > + > +maintainers: > + - Linus Walleij > + > +select: false You miss update to partitions.yaml. Anyway, for your testing, temporarily change it to true, to see errors. > + > +properties: > + compatible: > + const: seama > + > + '#address-cells': false > + > + '#size-cells': false You have children, so these must be true. > + > +patternProperties: > + "@[0-9a-f]+$": > + $ref: partition.yaml# > + > +required: > + - compatible address/size-cells as well > + > +additionalProperties: false > + > +examples: Best regards, Krzysztof