Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2815545rdb; Fri, 22 Sep 2023 09:04:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrjUhKLDUTyb3SoZw/aHAQf1wYj9ye0jvmYvtvIbxbN5iRqQjuV2k7LlGxALGp4ofMyKuO X-Received: by 2002:a17:902:7c82:b0:1c0:e6e1:4a11 with SMTP id y2-20020a1709027c8200b001c0e6e14a11mr7529857pll.54.1695398682961; Fri, 22 Sep 2023 09:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695398682; cv=none; d=google.com; s=arc-20160816; b=bUFJebi4UxlKYlB2nCkVXrJgqTEtkbCJ4oVi30gw+S33JXnHSe7wuPJmFgE29AIWWT bw8AmYXmtD71pUdh/l/6n4qwgeowwp9uZZ64EAcKd3sYjoFeny+g+ICdzbCaTN5LXRlo AqeHH2nIm8vz8D0W+548gHPCaaiGHLrZK1aaaSj/Q0SczjpbzfevENuD4Azd8j7bA9B4 rruIYia/346dYhVan5/rTcuhHFrTLhxBS6Hkyrs6uTSPsZr5dgKTj3nnZSTbYyteCWIv AYgSMsHuiadsZ8owefNMj3vNuCwYPR0RE3p6KzcyatyxESlfUQKdz0n1HJtnbdAsilAV iCjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=xhaA32OBzVOM6nAoPy+gaX1FXQZKalbztmjU2PzXFPQ=; fh=vTCeHZ7DFlflBHvbSjQBQprOUyNP2y1PqNhCk2Lz3EM=; b=NwxNcieGzG1dsXlIz7WM77T8lND2G1LI3EAWAIvAHpz7llBZ94YG0rq2Zh6d9Kvzcd fTRKg2VCMBoEvi9pjrnHwbFXpTm3HdU94s5WdEn7tSkRPTYjMIeP75UgXnZ672h8dGzt R1B9mcuqcMB7V5oKafRmtY/lY3r3b8IR8zJfbyzGoftizja99eWRi5bXH5ncxR7APXm6 KzUDJl6pDw+t8pns92jFnRrZxcnhgVP5XDHR2EmZpMcPTZpMlUt9WskPu28HPI5c7IKl rXf+KYC6rfNO1FVKLXe+6OqqQmO/uW/0ai2TJklMDoL42RFrCziItjCs2bcByJTwMx8Y 5b0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ggzP0E0D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id kv16-20020a17090328d000b001bbdd44bbd4si4139544plb.74.2023.09.22.09.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ggzP0E0D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id A19A1828E09C; Fri, 22 Sep 2023 09:01:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231599AbjIVQA7 (ORCPT + 99 others); Fri, 22 Sep 2023 12:00:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbjIVQA6 (ORCPT ); Fri, 22 Sep 2023 12:00:58 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1A7E99 for ; Fri, 22 Sep 2023 09:00:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C434C433CC; Fri, 22 Sep 2023 16:00:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695398452; bh=xhaA32OBzVOM6nAoPy+gaX1FXQZKalbztmjU2PzXFPQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ggzP0E0DGs0mibxseVl52HMOQX0aJ/KNk9DKc7+M5mWQt6G8GwUN+N8OLddQSnP00 mikR3nt6qzuamVj4tB1KHTzXqXbEsUT/Nz515Nxo3qSeT7fKjiTlGV+kk0HNmJFUtn h+W4eEBKX5fqYVPKRizLnCPkmHHPyQtJQ6xKkd3wWuC0bCTDOy3b6JN+vOBXl9CaNg 2YV/3iwkjSnGvmL+BVVAwuWLJK5K/irp+IYCF9eS/5Y5q1UI8irQKKjxh5S5z6MQ0k MYor0XI3CmqlTXmq/gGMHA+94sJ8DMPEG3JOhP7KuaKERhhij7Qm1mRu96NSNFR2EC Q1uK6f7ijoBtw== Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-50307acd445so3792965e87.0; Fri, 22 Sep 2023 09:00:52 -0700 (PDT) X-Gm-Message-State: AOJu0Yzd8T+BXNFU7FQRkwSSJl3XLaSo+3irguQppBcxi/Cz5Z8Jfpml iEt23VPL9kN9jJ55LW0tV2J0OuK2GWmns5hmjQ== X-Received: by 2002:ac2:5041:0:b0:503:2623:7cfc with SMTP id a1-20020ac25041000000b0050326237cfcmr6407321lfm.34.1695398450443; Fri, 22 Sep 2023 09:00:50 -0700 (PDT) MIME-Version: 1.0 References: <20230921124459.1.I91ddcfacf9b234af5cc3eabea4b62edb31153317@changeid> In-Reply-To: <20230921124459.1.I91ddcfacf9b234af5cc3eabea4b62edb31153317@changeid> From: Rob Herring Date: Fri, 22 Sep 2023 11:00:38 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: mtd: Add a schema for binman To: Simon Glass Cc: devicetree@vger.kernel.org, U-Boot Mailing List , linux-mtd@lists.infradead.org, Tom Rini , Conor Dooley , Dhruva Gole , Krzysztof Kozlowski , Miquel Raynal , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Richard Weinberger , Vignesh Raghavendra , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 22 Sep 2023 09:01:00 -0700 (PDT) On Thu, Sep 21, 2023 at 1:45=E2=80=AFPM Simon Glass wrot= e: > > Binman[1] is a tool for creating firmware images. It allows you to > combine various binaries and place them in an output file. > > Binman uses a DT schema to describe an image, in enough detail that > it can be automatically built from component parts, disassembled, > replaced, listed, etc. > > Images are typically stored in flash, which is why this binding is > targeted at mtd. Previous discussion is at [2] [3]. > > [1] https://u-boot.readthedocs.io/en/stable/develop/package/binman.html > [2] https://lore.kernel.org/u-boot/20230821180220.2724080-3-sjg@chromium.= org/ > [3] https://www.spinics.net/lists/devicetree/msg626149.html You missed: https://github.com/devicetree-org/dt-schema/pull/110 where I said: We certainly shouldn't duplicate the existing partitions bindings. What's missing from them (I assume we're mostly talking about "fixed-partitions" which has been around forever I think (before me))? To repeat, unless there is some reason binman partitions conflict with fixed-partitions, you need to start there and extend it. From what's posted here, it neither conflicts nor needs extending. I did a bit more research. "fixed-partitions" as a compatible has "only" been around since 2015. Prior to that, it was implicit with just partition nodes with addresses (i.e. reg) and that dates back to 2007. Looks like u-boot only supports the newer form and since 2021. Rob