Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2708491rdb; Wed, 4 Oct 2023 09:06:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfKJQ2eNIqrBxeQNZapwQf35YzTPNn+Nmocxr/mrURnokJiIobE6XXu0AWpOiUI7TydCzm X-Received: by 2002:a17:90b:4b87:b0:277:68c3:64b9 with SMTP id lr7-20020a17090b4b8700b0027768c364b9mr100099pjb.5.1696435586452; Wed, 04 Oct 2023 09:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696435586; cv=none; d=google.com; s=arc-20160816; b=cL5y4VnC48vyPEv2ZlIk3rQic9YHhhi16myN/dPEujNhOdbqmxAx7iYqnmDuvgL74s ixtwXgrRmsVKfO/336p6q8QG2INryDFfnkqVPAjg1qVSjAhT68mi0VgXaBh7UD2ehhJ+ Pj74kk3wwHkHVsA8F92hPEcs6qkAPSE7+C6cAVjksfLaYlifknyId4Hwpz7GSyoNpoSF dNzEvh9XqqdT7TIgJz2RIuS1KNRKW2NqA3jteNr+k4p+dliHSRROg2jPltl9dS1u5xtl qp7X0G+d6+rv5OL86blzsWV2JcBNtKXMOPZ2Vfpp6sFqvGBrD1/qE8bV6yEPCxDZHhTk VPYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pen+iO+M2gIPTh3d/Qy4b5+52uIYKXLIWWiVeTqgDBs=; fh=FF9xv0CUMMnOD86Z1AH6BKQzck15vECsuw3gpo5E7K0=; b=zX3BLogAUNK5amazI87cKLoDaGae4XYR5vadz1eQ7J1cnVZ2xr6HvaCNt105+kBPGM KxPdfEyyaCtm89wRo0Fw1Vdy5HIvvLh0nKV8nGn5uQwmiuVtIK9dOhEnWhulKAIcm73J xvhwjbLG8Vut4EM5sm+gxpIGZ47SRrku28jbDF+dItLp5I/WNDffTEFbHGelEgnxIShe f5C+YCFQRriOiAEK4XOOwSePvnXpJEkDMQ8P9igFgcWDMhdJnJFeprsqHdDRckoCmcTt RtRwfiwD5pMyR9Pns/wz3cyppSi3nnhNpuquGrkM3lJhWOEC0+gtZTCnVzS5wTWDkG7k IVBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=V4QEzJKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j191-20020a638bc8000000b00573ffd25b44si3965080pge.182.2023.10.04.09.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 09:06:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=V4QEzJKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3E9268215AF0; Wed, 4 Oct 2023 09:06:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243232AbjJDQGT (ORCPT + 99 others); Wed, 4 Oct 2023 12:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243224AbjJDQGQ (ORCPT ); Wed, 4 Oct 2023 12:06:16 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA113D7 for ; Wed, 4 Oct 2023 09:06:12 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so3953908a12.2 for ; Wed, 04 Oct 2023 09:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1696435571; x=1697040371; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pen+iO+M2gIPTh3d/Qy4b5+52uIYKXLIWWiVeTqgDBs=; b=V4QEzJKkHMowKbRadA6vVB7ur+02TtY1ajkJZJzNRXgHJR+XmeASc4kWBxHaguBVDb Si6fq8v3y3FyTdSRN85F+3e2yTzmfkFO1TX7b9w1I6KnN6sjDdEC2g3sk8mFSsovD2Sp iQQtVgrixWXeSEtK79ZwzNYnY4tx1YSd+KGoQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696435571; x=1697040371; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pen+iO+M2gIPTh3d/Qy4b5+52uIYKXLIWWiVeTqgDBs=; b=PC9MVFzLOqYSqSrgly9WLu5xcAqdio+fyH8GBAO9AG3oPjKHUEGzWf9TDssp2edpUK X6LHzvaGCr5ZrdRJS8sHplj2iEbnitprHiJMR5iFrMLrdlP8/hdj3poswyA/HtErG0L/ BId13l2gMU+6MczPUG7eDdO24h7hTn1yOGQVAfF6sdqD53CLWltLAPhwwVy9vmGk0XU8 y4mfmJ0c8W/dGpt8MdZO5Ew3koNpiBwsb9kEZTL6712uaJdVMsnVdeIvIJuzCNMk50Zj po4RR22UXlwMbWEw/qTsN3OMe6RIwgrR9/XksabpUq2I6tqCbxKxWCTWpvK4ojAJF2yQ Km4g== X-Gm-Message-State: AOJu0Yxk+L4I6K7EbmPaUWeivcYkwenMk6isj8g03p+QOeEJsYcArzx+ R6DbefWfsJL61K9erIR7KG+UBMHWh02AE83A6Dfz0w== X-Received: by 2002:a17:907:7613:b0:9ae:55ae:587f with SMTP id jx19-20020a170907761300b009ae55ae587fmr2416199ejc.37.1696435570826; Wed, 04 Oct 2023 09:06:10 -0700 (PDT) MIME-Version: 1.0 References: <20231004093620.2b1d6917@xps-13> <20231004113458.531124-1-mwalle@kernel.org> In-Reply-To: <20231004113458.531124-1-mwalle@kernel.org> From: Simon Glass Date: Wed, 4 Oct 2023 10:05:59 -0600 Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible To: Michael Walle Cc: miquel.raynal@bootlin.com, 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, trini@konsulko.com, u-boot@lists.denx.de, vigneshr@ti.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_SPF_WL 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 09:06:20 -0700 (PDT) Hi Michael, On Wed, 4 Oct 2023 at 05:35, Michael Walle wrote: > > 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? The goal is simply to have a full binding for firmware layout, such that firmware images can be created, examined and updated. The -u-boot.dtsi files are a stopgap while we sort out a real binding. They should eventually go away. > > Maybe (a more complete) example would be helpful. Can you please be a bit more specific? What is missing from the example? Regards, Simon