From patchwork Thu Jul 14 18:39:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 590388 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5817:0:0:0:0 with SMTP id j23csp1849644max; Thu, 14 Jul 2022 11:40:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucCOhD0W3YTz1A0P+X7/ChL0oZPl0rNa9rrP/UtLy2zR4x0Sg97DR7kRBzbVqhpZw4EZM9 X-Received: by 2002:a05:6638:2610:b0:33e:c520:988 with SMTP id m16-20020a056638261000b0033ec5200988mr5811190jat.304.1657824004364; Thu, 14 Jul 2022 11:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657824004; cv=none; d=google.com; s=arc-20160816; b=nlbc+bdP8IhEOCIwWOdVcNVeOdn5PfAiBGIyIJHoZKSWJiv6KAC2kRXe/qMUuns/dJ qvWqEPRSySbZNnpHl5IfyOA/1dkv4n9EWj5f8co3FqBLoirEKM86FzuPiu8a+L3vktiL lxW6RwJ/B+hTmuwA0uNwdosja18sxZXgqFzjhyEcfyIGBmVZe/B9zIMgfhyJk1ZZBCKi OkEtfZEk5pO2+Sa2uhMwhr85Ges5eDH82RglYR1QlXvJV0pqKgtyZGNXUKFnHEpYe3Gp 1bae3j9JtEgzR9Txpv0J+QyMFopftzDFvLdDalwtzxlCUtWgdCw8zxxk9u/VR7i5bLQR M0sA== 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=zAPMLHLBCnRQsX5HG7fMZfh1ZFAUlBgDc07rx5GRjUg=; b=cN/oBCdcPDQvB3YoeJt7ZBXwuujygqLYVaHpv7dRFgfBITZbAfs9tmahRiNtuoVwkw oPWBEGAkoSwohJc8SPN8eDjs/AVSti0ybniLfRGhCZkp/wblRr3x8RtA4v7pf0jY+QK7 gCMS5Cdb0PFmYHqFYVInwaEauAaPJlQ7Co3aJJE1MkJKxBZmQPQMPdyI6/z+omRCdFtW FJBaViQIouyAsB4BrWFKuGJVVu0FMbaIHPUMDeq0uTXpCXymCdByjpRFonqWWVXHouL7 Y3S0oxUwYgXk4AB9dEwPCvm7mEMysMZqepXFYKmdjYIXT18ZcVnhVc1wVpb2kjsvHsIm 056A== 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 k26-20020a02c65a000000b0033f3d5950e4si1903537jan.154.2022.07.14.11.40.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 11:40:04 -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 9D58184099; Thu, 14 Jul 2022 20:39:51 +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 EF8EF84075; Thu, 14 Jul 2022 20:39:49 +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 29BEB83F81 for ; Thu, 14 Jul 2022 20:39:47 +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 BA5F01D13; Thu, 14 Jul 2022 11:39:46 -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 C40083F70D; Thu, 14 Jul 2022 11:39:42 -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 v7 01/13] dt/bindings: Add bindings for FWU Metadata storage device Date: Fri, 15 Jul 2022 00:09:01 +0530 Message-Id: <20220714183913.118505-2-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220714183913.118505-1-sughosh.ganu@linaro.org> References: <20220714183913.118505-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.6 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 Reviewed-by: Heinrich Schuchardt --- Changes since V6: None .../firmware/fwu-mdata.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata.yaml diff --git a/doc/device-tree-bindings/firmware/fwu-mdata.yaml b/doc/device-tree-bindings/firmware/fwu-mdata.yaml new file mode 100644 index 0000000000..97d30bd1c1 --- /dev/null +++ b/doc/device-tree-bindings/firmware/fwu-mdata.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/fwu-mdata.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: FWU metadata on device with GPT partitioned layout + +maintainers: + - Sughosh Ganu + +properties: + compatible: + items: + - const: u-boot,fwu-mdata-gpt + + fwu-mdata-store: + maxItems: 1 + description: Phandle of the device which contains the FWU medatata partition. + +required: + - compatible + - fwu-mdata-store + +additionalProperties: false + +examples: + - | + fwu-mdata { + compatible = "u-boot,fwu-mdata-gpt"; + fwu-mdata-store = <&sdmmc1>; + };