Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp35398rdh; Sat, 23 Sep 2023 00:00:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuiPd8FviTAnt+/gWHM7GKqTTJYfj4Be3uIeF4zQWzB6Qp8gM6mtUT/meghG+5afMW27p7 X-Received: by 2002:a05:6a00:3982:b0:690:ce36:8b00 with SMTP id fi2-20020a056a00398200b00690ce368b00mr1820037pfb.2.1695452456063; Sat, 23 Sep 2023 00:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695452456; cv=none; d=google.com; s=arc-20160816; b=T0wSy8R79m7tMia2PfWu2+5vGLQqbyS4WhcgdpTI8lWz8n7wFvKbRxP6VJUpLqpGTO kA49EATl1XbaJsx8kjkX8AstzOqGgODmH9AYlqPgXymBzJTizLzFi/GRG/4nsS/RQfT9 73zM0Wmbjda+lw9x2FXIvZ4HSQNGQYJC+jyAfnSIF/urYDeaDG1oxlJT0YLZbCpBzTOh oTkFsdOCKZ0c4NKB5dJc6mMCOTQdrXVLYjU3DeyFIL8NYKIanSzUc5VdSSWkqo8zc2Ur E75C2kYnrr6DvQUi2YuzSBzdJR1Em1RJZKgEkORpHOMhK8Yloj2rArJZBqtZMxjt1Sll /+/g== 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=eBbLfmPpKzgVoeBpgucGlr3BpZFPgPf0mz1waJgwt2Q=; fh=tsVhzfn0hK350wFU8QsSdYqZ5N2PHt3oQ+7GL8VB3kk=; b=MZkwoEq1bHehvAU29WNSa+ZtmuHbBB2YaEp+hVFypkuyyeL9/EAVFQpxROsDVqUj/b TE1N7oX2QKh/MxLKaJ0ohYrghfJTTqaivTphopPcPPbfCPBkeBQwBVyobXh/YBGgM+KI A8ehxqf7vNWdwT8pp1gFR3AhphCO9IRT0UYZLXtZJQLCc0n1lEhDtMlnbNjLX8U9jtkd pkQw2C51D5l8uHXDBpCYdCDSvAISMvomM1ofVJj9uwBbwv/fBbb+a9w5gJ3qXUnXFBma Pw2lfmLVPAUV4QsL5l2F3lvZ3a2eAgttoyy7yg7iuOpuEhG9XSE1+ux39zLh3dKiThEl KcHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nIP3ta1u; 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 w20-20020a63fb54000000b00578c10ff649si5285634pgj.796.2023.09.23.00.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 00:00:56 -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=nIP3ta1u; 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 ABA8684EAC6D; Fri, 22 Sep 2023 08:10:13 -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 S232424AbjIVPKL (ORCPT + 99 others); Fri, 22 Sep 2023 11:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232123AbjIVPKK (ORCPT ); Fri, 22 Sep 2023 11:10:10 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D658A3 for ; Fri, 22 Sep 2023 08:10:03 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-503397ee920so3680783e87.1 for ; Fri, 22 Sep 2023 08:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1695395401; x=1696000201; 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=eBbLfmPpKzgVoeBpgucGlr3BpZFPgPf0mz1waJgwt2Q=; b=nIP3ta1uztlrBe6zLQIA6D1mjtCNalCJs/yfLbJ/46/n/UYEkRy8wMHYVpA0o5LDax VPPnYFh6V1RyDCWsH0JUJsDiFkXFg1emgmbGC5XTQdWJDVeNsnQhEgCm/2Y6FtM5uyLJ hgVqaam0FuyLGwSPZvHAEOk+PsDmQxzuA8YnU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695395401; x=1696000201; 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=eBbLfmPpKzgVoeBpgucGlr3BpZFPgPf0mz1waJgwt2Q=; b=MVGFzbzHk9RT5b5qE9EYVrrzDtlczvsPzXOIwj+L1rRh28x9HP9fiWMgCyRq1eNzJR iZZc5OtmWiUPfDgCe//2reaFB3F4dnSLDQgGaWom2BumAguxRrjn5N4v46E1sDOaWQgz lDmiK0sLbSVqcNd1VPlAW+Yd57AFKMyEfwqaq4I32Sw4jJYyIJCfw0+9cDgEF/TP1zJL Zvh3cyOeZDfeiTbynN5Hu6baK6fpVi2JaLC+8qENEyzvnKqwryKm/4ZW5hfNByC3R/+W fOQV0G58oQ++OrPtpo32wzqB+Xb/7L81o1Qs83OUV2SYmtJshzZINabX3mgTo0YfUKRc W8pA== X-Gm-Message-State: AOJu0Yyq/S/FeKK8ohRa1zE0A5i3lPD/14zNnvgE4TtCtsYui7TvJwCy MWnB2AbXPvn6kAocXy4+QnuFXYywzjhHdvndiyknSQ== X-Received: by 2002:a05:6512:449:b0:4f8:77db:1d9e with SMTP id y9-20020a056512044900b004f877db1d9emr7510046lfk.12.1695395401203; Fri, 22 Sep 2023 08:10:01 -0700 (PDT) MIME-Version: 1.0 References: <20230921124459.1.I91ddcfacf9b234af5cc3eabea4b62edb31153317@changeid> In-Reply-To: From: Simon Glass Date: Fri, 22 Sep 2023 09:09:50 -0600 Message-ID: Subject: Re: [PATCH] dt-bindings: mtd: Add a schema for binman To: Alper Nebi Yasak Cc: U-Boot Mailing List , linux-mtd@lists.infradead.org, Tom Rini , Rob Herring , Conor Dooley , Dhruva Gole , Krzysztof Kozlowski , Miquel Raynal , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Richard Weinberger , Rob Herring , Vignesh Raghavendra , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,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]); Fri, 22 Sep 2023 08:10:13 -0700 (PDT) Hi Alper, On Fri, 22 Sept 2023 at 07:57, Alper Nebi Yasak wrote: > > On 2023-09-21 21:45 +03:00, Simon Glass wrote: > > 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 > > > > Signed-off-by: Simon Glass > > --- > > > > .../bindings/mtd/partitions/binman.yaml | 50 +++++++++++++++ > > .../bindings/mtd/partitions/binman/entry.yaml | 61 +++++++++++++++++++ > > .../bindings/mtd/partitions/partitions.yaml | 1 + > > MAINTAINERS | 5 ++ > > 4 files changed, 117 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman.yaml > > create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman/entry.yaml > > This doesn't match the schema in [2], but seems more like v1 of that. Is > that intentional? Yes. Based on discussions with Rob, the idea of setting a general format seems to be too ambitious, at least for now. Regards, Simon