Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2538748rdb; Wed, 4 Oct 2023 04:35:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGb7d2QmCgC+apSm/UF7D9zJETSrY7icab8Io2ceSlTii5stRB9O1YZMqFcB7sEebR4DfJ4 X-Received: by 2002:a17:902:e547:b0:1c7:56d8:9068 with SMTP id n7-20020a170902e54700b001c756d89068mr2122453plf.31.1696419341628; Wed, 04 Oct 2023 04:35:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696419341; cv=none; d=google.com; s=arc-20160816; b=pEp+l99a6NVWifDKjo7VNM+ACWvuPla19Afh7sGKNh5md0z/43Jt6mYhjSVh21YN09 RPDo18tRPtSbMZtqjzhionHqRlHucBN2zjaaQkrhbdJ+UWE23xo02FuN1lUFtF/q/iAg h04/+euLE1RYFZGlTIn4FTjj7H7KujqqrtTm5Mi01r0kAyzqyjkPnPOFv0ZUoLFxHVQ+ zEFM++ctRhLIWIgYjzw/dFySZd2QwnJbZQZNAKFS+eMaessUNO1++ew01oy0exX4s5Au 3iEaLrZqfEeQLhPbUQoypNa+Q2pP7J2Yi3GA7Jhedt9WOH+ni4l/4AYDsFiEcagex4nT q9PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mK60hHC+RFJo7/1lufM3RhyvyacPq5qVcvYc627JucE=; fh=wYGRtR1ssrK8znJn4OayhM002EA2iuVKgHmyRecRjBg=; b=SH0IMENvaf8tWNQxpkK3Vpto6ggDoFAru8oOBSWyMJR+21y+yR9YQhGeuo79S9s6LD nf5jdAkY5dh3JfYjmPZ1kgUjiW9Yn0JMlwpek0h2xr7aGoG3X7HhtEYpH1jQC/xCJgqS s368XcLw3cVWlA1cJ1wYqGIy82CAXAs590c6Iu3MfQ1hwafucR84/gEtt3LUHnaRQg8U t/+XomcajhZc3DHYQyTP9s2p53bmAu7rewNAsQp0c+EQyZwEDmAzmIPXqXMkAyG0TgEQ Du7HujiDkEUSPWbZIY7r0leqbdlyN4srwKiWmSG0+ntzm6lv8RHW9co5cp2EQGNrGGw9 a0hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E6myhdpp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id h4-20020a170902f54400b001c62161b18esi3614655plf.580.2023.10.04.04.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 04:35:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E6myhdpp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3A5DB80BB518; Wed, 4 Oct 2023 04:35:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242262AbjJDLfR (ORCPT + 99 others); Wed, 4 Oct 2023 07:35:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232944AbjJDLfQ (ORCPT ); Wed, 4 Oct 2023 07:35:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64FCCA1 for ; Wed, 4 Oct 2023 04:35:13 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4756C433C8; Wed, 4 Oct 2023 11:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696419313; bh=EKub7DB0kxiceubZBtND+wquahZHKwwMH5j2bwwGvZo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E6myhdpplLeJMfThiZcQnD5TncbV3oJuuWCinlPuQn3k62ICZ8+K1qAe7EQ3P+ESt x6o33yAOVmljx52m51Uqj3J5Ef+/6Zjv1Uumgy4uOj+QhZoDzNzLvfbSQuB0Ma7uf2 GWh+mHpReWV2wzYF2F2ON1l7PZG9NxLcHKuGCkTHgycbXS8cVWCSH1CH9uV9TWRntm gKrqsO0Wx8WY6IV1emB+TGJeTnLYlhulj+hojFts5ksLDZ3dJc6vcJ24Kh5TPrBpzY Yp2+jP9LJYd3sUDcB4fYX5EkjIFbCYHpVD7jPKnS59GLT78lyezPF2/oKNTNKgZk/x s/fFrsndcc4GQ== From: Michael Walle To: miquel.raynal@bootlin.com Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, ptyadav@amazon.de, rafal@milecki.pl, richard@nod.at, robh+dt@kernel.org, robh@kernel.org, sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de, vigneshr@ti.com, Michael Walle Subject: Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible Date: Wed, 4 Oct 2023 13:34:58 +0200 Message-Id: <20231004113458.531124-1-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231004093620.2b1d6917@xps-13> References: <20231004093620.2b1d6917@xps-13> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 04 Oct 2023 04:35:24 -0700 (PDT) Hi, >> Add a compatible string for binman, so we can extend fixed-partitions >> in various ways. > > I've been thinking at the proper way to describe the binman partitions. > I am wondering if we should really extend the fixed-partitions > schema. This description is really basic and kind of supposed to remain > like that. Instead, I wonder if we should not just keep the binman > compatible alone, like many others already. This way it would be very clear > what is expected and allowed in both cases. I am thinking about > something like that: > > Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml > > this file is also referenced there (but this patch does the same, which > is what I'd expect): > > Documentation/devicetree/bindings/mtd/partitions/partitions.yaml > > I'll let the binding maintainers judge whether they think it's > relevant, it's not a strong opposition. What is the overall goal here? To replace the current binman node which is usually contained in the -u-boot.dtsi files? If one is using binman to create an image, is it expected that one needs to adapt the DT in linux? Or will it still be a seperate -u-boot.dtsi? Because in the latter case I see that there will be conflicts because you have to overwrite the flash node. Or will it be a seperate node with all the information duplicated? Maybe (a more complete) example would be helpful. -michael