From patchwork Fri Oct 4 00:00:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13821710 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA005CF34D5 for ; Fri, 4 Oct 2024 00:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TPG7NWLbTV1K4yXh2AqTy27S5IzvT22XN7gfixbpbfM=; b=3W++ASHX6PiwvAZNljtpP40gsy 76ZWVLlnqLAaxIpzI9C7KuJZ3Xty7ckaUleS+7sP86tquUWf3QeR6wHxlJtkEEnzJFF8ZzL5R74zw WDAPK0qGUMqzY7UgvT+B+PVbvqmauhmSTMobYXw2S5plm2LTCrW4Bx9+NUK9ZG4napLGfN/VxWK/D K1EpP76jvrVyUnDws7+22QOyiac/rH06f+Y8yIxJvA82NM3IvgGsPU+EVGWll3vkP1hoIIDlkBl0l UyflBLwGBvXAzuoHU3QSC7JfN9lbdR3p/ekBomC/BeJlqtQyB0vLmLFZbPVjFuHA86h1WoAc36w93 25E9h7ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVrX-0000000Ai9q-04n2; Fri, 04 Oct 2024 00:08:03 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVkI-0000000AgVL-1cNA; Fri, 04 Oct 2024 00:00:35 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-718d91eef2eso1143270b3a.1; Thu, 03 Oct 2024 17:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000033; x=1728604833; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TPG7NWLbTV1K4yXh2AqTy27S5IzvT22XN7gfixbpbfM=; b=kJiZNYGWsAPcGwfGDWYfivnVsnOOZ99eClGEYzENNh8P0ChSRzdBmyHpLZBIvoo7h8 iquVJ0ySKg0KIol93faVOolLtT8N++j25mAmJfvoH+WcZ299x+xKLlfvTQMkeYxlJmUd e6Q+yeLMHWV8I0sSzn7Y4yUVLVaZzsyjsB1Hr7o7sfIMUQtCwgQehB4CuhxVKtpj4t45 M9oFeepVN1JoKMzy/hADbvF6OOZCGgabtXwWr6QeQQq2hb9UaF8q+LGGRmi1sCfQdBh5 Dk0ndaRtyny/t2LTkvC3P4uWdiRtE64j8jTndgmybZdAYH7AyUKFtTxvAfJ3AJQmR8I4 sfKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000033; x=1728604833; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TPG7NWLbTV1K4yXh2AqTy27S5IzvT22XN7gfixbpbfM=; b=RWgrGaJNkppxZNAbudo89Jfoj0mAhrK+Isagsdco17OGnpbXsa3YJ5sI1StYNs4rG8 n3psbcMv4AYFdQo70arUy+2SiFK/8Y7MyGXgc0ToAw+zxYa6u1giUlaplcuyD0u9CYdz OwNjB7eDreuWtl5Avxs3iLUx0H987eQyoCPww/Bb4YN9+kUqrWbdqfchaDn+5stp001C DBvw6rnrlDJLB2+WOxdXilAahu8/YgHFGjNiTUJAenSd5ddO3ltOZl0AQdbWGzzravEb RLNBzY0PlB8lje6yNCJi2BXL12VmuRt0sRouH/VyRgYzhYopNz+3EX2bFL6N4D6lkfaS /Gnw== X-Forwarded-Encrypted: i=1; AJvYcCUTYnGdNRVKQqZGHtZDuwuQonk3ZNw3WvQE9Xo3Xw7AIVCQaCo2lqb+Sdx/YzBNBEHyiOZsnoGQADJ9OLQ25gs=@lists.infradead.org, AJvYcCV0YtB7liTPCkmGI17YmJ2fGGXGWXR4bpT/TFE2Qal8OE4tC736Uc0iTW3/fKzVg7nj810TiM9IiRBYaYhA/Cck@lists.infradead.org, AJvYcCVwN47qcwJEZucqB/8pxKgmOukJnC0e/YQXnVA2+Zw8SQk/FMjD7+yXti42lfWWbmcqbMM0wdSHPjUm@lists.infradead.org X-Gm-Message-State: AOJu0YxnTqBqInjuSf+IxdQvdjM4eAIDKl0WRqiXp0ws+RND7xtK7fm4 /FPjtsRefb8p9c72tfOcHXjnMmjYvZ1qd+4t+pKWcyUYEkkiRVg7 X-Google-Smtp-Source: AGHT+IFRpqusbyBChPGJdLDMkF4flvi5LdGXwNB5TEbIL5IvxwzIRTPeVbU6C3UfDDB2eSYpuaFaIQ== X-Received: by 2002:a05:6a00:238d:b0:717:92d8:ca5c with SMTP id d2e1a72fcca58-71dd5ae0c7dmr9336561b3a.3.1728000033244; Thu, 03 Oct 2024 17:00:33 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9cb0b28sm1983047b3a.0.2024.10.03.17.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:32 -0700 (PDT) From: Rosen Penev To: devicetree@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Matthias Brugger , AngeloGioacchino Del Regno , Rosen Penev , Manivannan Sadhasivam , Christian Marangi , linux-mtd@lists.infradead.org (open list:MEMORY TECHNOLOGY DEVICES (MTD)), linux-kernel@vger.kernel.org (open list), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING LIST), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv2 5/5] documentation: use nvmem-layout in examples Date: Thu, 3 Oct 2024 17:00:15 -0700 Message-ID: <20241004000015.544297-6-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241004000015.544297-1-rosenp@gmail.com> References: <20241004000015.544297-1-rosenp@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_170034_445320_5E94FAF2 X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org nvmem-cells are deprecated and replaced with nvmem-layout. For these examples, replace. They're not relevant to the main point of the document anyway. Signed-off-by: Rosen Penev --- .../mtd/partitions/qcom,smem-part.yaml | 19 +++++++++++-------- .../bindings/net/marvell,aquantia.yaml | 13 ++++++++----- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml index 1c2b4e780ca9..8ae149534b23 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml @@ -45,17 +45,20 @@ examples: compatible = "qcom,smem-part"; partition-art { - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; label = "0:art"; - macaddr_art_0: macaddr@0 { - reg = <0x0 0x6>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_art_0: macaddr@0 { + reg = <0x0 0x6>; + }; - macaddr_art_6: macaddr@6 { - reg = <0x6 0x6>; + macaddr_art_6: macaddr@6 { + reg = <0x6 0x6>; + }; }; }; }; diff --git a/Documentation/devicetree/bindings/net/marvell,aquantia.yaml b/Documentation/devicetree/bindings/net/marvell,aquantia.yaml index 9854fab4c4db..5d118553228b 100644 --- a/Documentation/devicetree/bindings/net/marvell,aquantia.yaml +++ b/Documentation/devicetree/bindings/net/marvell,aquantia.yaml @@ -98,15 +98,18 @@ examples: /* ... */ partition@650000 { - compatible = "nvmem-cells"; label = "0:ethphyfw"; reg = <0x650000 0x80000>; read-only; - #address-cells = <1>; - #size-cells = <1>; - aqr_fw: aqr_fw@0 { - reg = <0x0 0x5f42a>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + aqr_fw: aqr_fw@0 { + reg = <0x0 0x5f42a>; + }; }; };