Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E2D1C433EF for ; Thu, 17 Feb 2022 15:12:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C255983BF3; Thu, 17 Feb 2022 16:12:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KpsWfkgN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5F3C083BD4; Thu, 17 Feb 2022 16:12:18 +0100 (CET) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3F2C983B7A for ; Thu, 17 Feb 2022 16:12:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masami.hiramatsu@linaro.org Received: by mail-pj1-x1035.google.com with SMTP id t4-20020a17090a510400b001b8c4a6cd5dso5666240pjh.5 for ; Thu, 17 Feb 2022 07:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=dCIgyObDEsnARQNTLVXgSWdoHqA7aqUA7ZMYC4WVxu8=; b=KpsWfkgNT+BhUieB1x+WpNMNaRJ4vcMTv8JANsnI2Nf5M3YxFcwKKfls8FlUT4c4Ph YHobKAK09uhw31HSiFsG6E38H0JtaJQyBplDPCyifdRaF+qIv/ZNyumRkHf6UDWEehPs /MpOB7hk9VFRbGqR+rAm9/Yip+QFfp5e2MTFpMI/kVLWHjKLusp9eR8wxg1JazznRjmv SRJkLMu43K2OpuuXWZDMxy3bCeaAc3o2SXO7i3fn+qMqhht1C19jIZdpiEdU5J58WSST rehwW2UK9VUEcAg46a6oxfM+FN52ICcEyqq4jm8Fz9/931PyFWjHhp78YGerRjsZ3d0k ujSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=dCIgyObDEsnARQNTLVXgSWdoHqA7aqUA7ZMYC4WVxu8=; b=pjIFnsVsoXSq6F6fGtRw9iLkreuGWNUFpy/ZMLJVtihhdac8VSF6sq3H6zsgsDmcXh rGZiLBNC5ve8j7bgwZFMkh+8ak7wx2YMJwbg8GltW4qIVDzGhndhwMFlur3vjP2ptFeN FrdlekzlSqNEVQTQyn2c1tD2I3sodrttglDJu4Pg+c2qCCatdw3GM+VzXoLDM6pzFOxe HJaQtj1T9G4z5+i/PxwopaxLBnEOt6+nnq/xEJD5Vegadujfgoh/2MjuA2CWRQLJZcas 7Jvox6AQogR60egka5JtBREV6RJqFYxf5uqSoTaMwAZ8eoxAPWgep4gT8uKDMybzfXdA I5rQ== X-Gm-Message-State: AOAM532o4cg87jv46PQPyMf3qRzCNk09jelwmKV9lLZQ0Coemm4Mcq2g cb5Dl2A+JZsWdaHlP5fAYpNbrRjj+ed4Yw== X-Google-Smtp-Source: ABdhPJyoRXd/LI59JHY4Z/thW2qoIwqETDCc1/pbFwP2ZUdPrUVRfEyFv9j5r5zQCnzbuIvHGkgmpg== X-Received: by 2002:a17:902:ec90:b0:14f:686a:7558 with SMTP id x16-20020a170902ec9000b0014f686a7558mr1643796plg.31.1645110721512; Thu, 17 Feb 2022 07:12:01 -0800 (PST) Received: from localhost.localdomain (113x37x226x201.ap113.ftth.ucom.ne.jp. [113.37.226.201]) by smtp.gmail.com with ESMTPSA id lk8sm2147490pjb.47.2022.02.17.07.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 07:12:01 -0800 (PST) From: Masami Hiramatsu To: u-boot@lists.denx.de Cc: Masami Hiramatsu , Patrick Delaunay , Patrice Chotard , Heinrich Schuchardt , Alexander Graf , AKASHI Takahiro , Simon Glass , Bin Meng , Ilias Apalodimas , Jose Marinho , Grant Likely , Tom Rini , Etienne Carriere , Sughosh Ganu , Paul Liu Subject: [RFC PATCH v2 4/8] dt/bindings: firmware: Add FWU metadata on SPI flash binding Date: Fri, 18 Feb 2022 00:11:57 +0900 Message-Id: <164511071693.43219.16012389966028151931.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <164511067605.43219.15508992404634142079.stgit@localhost> References: <164511067605.43219.15508992404634142079.stgit@localhost> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 a devicetree-binding YAML file for the FWU metadata on SPI Flash without GPT. Signed-off-by: Masami Hiramatsu --- .../firmware/fwu-mdata-sf.yaml | 38 ++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata-sf.yaml diff --git a/doc/device-tree-bindings/firmware/fwu-mdata-sf.yaml b/doc/device-tree-bindings/firmware/fwu-mdata-sf.yaml new file mode 100644 index 0000000000..3d8726231f --- /dev/null +++ b/doc/device-tree-bindings/firmware/fwu-mdata-sf.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/u-boot,fwu-mdata-sf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: FWU metadata on SPI Flash without GPT + +maintainers: + - Masami Hiramatsu + +properties: + compatible: + items: + - const: u-boot,fwu-mdata-sf + + fwu-mdata-store: + maxItems: 1 + description: Phandle of the SPI NOR flash device which contains the FWU medatata. + + mdata-offsets: + minItems: 2 + description: Offsets of the primary and secondary FWU metadata in the NOR flash. + +required: + - compatible + - fwu-mdata-store + - mdata-offsets + +additionalProperties: false + +examples: + - | + fwu-mdata { + compatible = "u-boot,fwu-mdata-sf"; + fwu-mdata-store = <&spi-flash>; + mdata-offsets = <0x500000 0x530000>; + };