From patchwork Thu Jun 9 12:29:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 580293 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp733082max; Thu, 9 Jun 2022 05:30:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwu2X+ERdz1Ahp0rOJR8kUsf+kD0glJmH+iWyjDJIauZqtyCL4gOCj8T8PrgIXl+B6TgOB8 X-Received: by 2002:a02:9f14:0:b0:331:9195:dd3e with SMTP id z20-20020a029f14000000b003319195dd3emr13463568jal.0.1654777849619; Thu, 09 Jun 2022 05:30:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654777849; cv=none; d=google.com; s=arc-20160816; b=R6ZKB2euS5oJnWX9oNNchr4C87hb/FJFRhimWWhaklSAD9poeWGdaWE8t5WumNQdsD lplDPqSGjXOv3oe9FRU3qyHwA5S2wSA7B8w4Bvd2y3NzvCMKtMdhiZbg4zjwIvitmaDz 9UDDCGzr7AjrXcWC0VJBACGGr1GgidduHBnH6AeMIIpHjXvlGNgUyJELXJd7dATtIqP0 cFHoFzBgWqMBuK2QJyKSJIQBVsoPzxoctKzp1QiNhAArBQgWTGaT6RcyhUqEetQXh1E0 Rr5cmXh9r7ZIuNp+aFrAA6y1X+bhU+v52F3c5/6s2/GpcL9iLkQaIn9nE+4YerFp2Z6i 7MjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=qZt4VLyXs4BoHePoNWb0hp9qMuOha7KWYijgtD7TbAg=; b=QfcfraSx9GUEpfr4TO9YH595FbhH2YQHib/HV/AynrNcUhvsVtVb6vbn/fLw89HRRr CKB78U9Qo8TOGI3Rnoca4LspFPlmZLkpr4WHrV2yyZvgLmkXoe3djJqTejFGNjyN9SVF Lxige4t1sA98ezqQRQL4EQwFgT+dXWIzx4AKmganriSI5ric4qQcSSub5n+eummDi1qa 3kX6PC7uGT26AJBRT3XZ6ihL1EMG3c8wwSqYjZ/sOtcL+gfrMe1igCyVM8LHYDtyq/HC RsPteSoRNq2GpD54b+EMgv4l0hKQ1MIN2Brl+vg6qnTdP/k35RhgTKEC+Km0iTCvdr3/ moXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id h5-20020a056602154500b006696928578fsi13885727iow.64.2022.06.09.05.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 05:30:49 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D3A1843C1; Thu, 9 Jun 2022 14:30:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 0E02D843A1; Thu, 9 Jun 2022 14:30:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 71016843A4 for ; Thu, 9 Jun 2022 14:30:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 041D912FC; Thu, 9 Jun 2022 05:30:30 -0700 (PDT) Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.16.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 92A233F766; Thu, 9 Jun 2022 05:30:25 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Takahiro Akashi , Patrick Delaunay , Patrice Chotard , Simon Glass , Bin Meng , Tom Rini , Etienne Carriere , Michal Simek , Jassi Brar , Sughosh Ganu Subject: [PATCH v5 01/23] dt/bindings: Add bindings for FWU Metadata storage device Date: Thu, 9 Jun 2022 17:59:48 +0530 Message-Id: <20220609123010.1017463-2-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220609123010.1017463-1-sughosh.ganu@linaro.org> References: <20220609123010.1017463-1-sughosh.ganu@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Add bindings needed for accessing the FWU metadata partitions. These include the compatible string which point to the access method and the actual device which stores the FWU metadata. The current patch adds basic bindings needed for accessing the metadata structure on GPT partitioned block devices. Signed-off-by: Sughosh Ganu --- .../firmware/fwu-mdata.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata.txt diff --git a/doc/device-tree-bindings/firmware/fwu-mdata.txt b/doc/device-tree-bindings/firmware/fwu-mdata.txt new file mode 100644 index 0000000000..2d8ed056a5 --- /dev/null +++ b/doc/device-tree-bindings/firmware/fwu-mdata.txt @@ -0,0 +1,18 @@ +FWU Metadata Access Devicetree Binding + +The FWU Multi Bank Update feature uses a metadata structure, stored on +a separate partition for keeping information on the set of updatable +images. The device tree node provides information on the storage +device that contains the FWU metadata. + +Required properties : + +- compatible : "u-boot,fwu-mdata-gpt"; +- fwu-mdata-store : should point to the storage device which contains + the FWU metadata partition. + +Example : + fwu-mdata { + compatible = "u-boot,fwu-mdata-gpt"; + fwu-mdata-store = <&sdmmc1>; + };