From patchwork Fri Oct 4 00:00:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13821690 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 EA526CF34D5 for ; Fri, 4 Oct 2024 00:02:57 +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=DckmO3GetrEG9p87L1DNtWdqDrBGlrP6K5aSd93K3po=; b=dm66ufJs7tEiy3lCJIhU9AgFdy dFfxqTLdsk4xNffVkIYzq6bUjpPXS55FV+SIYwQXTvoPzS1HcKQyeaqC3ICxYTRJoSdtPZNNko29D HwKEtipPbeNUkLlLaWEMNUiL7RxeXUUqevbnwJZ/Nt8b4CB+AiHPZAiWZsuihKjHUcmBptPIckkvO wapElXYWpL8HjM2PvNtvhJt1e1HTVbBFUkS4wizdtpe/j3f6oi4El4VZGA/ROaJ6eUYK7PWWVdASK i4G7qv+X8vrVWrbrk7+T57qLSTKNILK7D8KGK31U7RfSak+qNAjFzyKH0XNeV5EOZ3kuTRowH7hl2 FqbARZZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVmb-0000000AhAO-02TH; Fri, 04 Oct 2024 00:02:57 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVk7-0000000AgRh-0nNb; Fri, 04 Oct 2024 00:00:24 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-71dba8b05cbso1557595b3a.3; Thu, 03 Oct 2024 17:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000022; x=1728604822; 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=DckmO3GetrEG9p87L1DNtWdqDrBGlrP6K5aSd93K3po=; b=MwO6U/xBNc/vGI8+MBt+ygR4imCyJ9WP+HQf3pajGO0+ceizysnd0ypMqsti7kP+JY /eij7rbrt7PjXYUObHEGg2gBoRx4u+iCI2i9a+akZXlm3wwaKYFwipG9vaxV55TPb81x kagDoCriLFdFAyWRpNPYQTY9QQlKvIS/K4biAXxxJ4zVih0o00jgzWMrRcOIqNkrd3jl H4IQzcuZxi7hI7F2CumRqkyjWBQY4DQrHFlRBl5YVGb+pOZBSfTSQBXZejCCRTshCKK+ iK1Z6LJgS1Ts7WSXWb2HYWaMLV856rkiZCr6Aoqf3gEpBgx7AwBfYIt17b/01YwHd0hG s0QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000022; x=1728604822; 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=DckmO3GetrEG9p87L1DNtWdqDrBGlrP6K5aSd93K3po=; b=LbGnqvLJUsG8J8lJyApIx5xuwtWy+E7DAz8dVhAjxHh0SxsnGT+UBzSsd9dQyfm3q3 1czRKRn6YXAIm0PU1M1JYRv/ZSM4pT4EEaqhcpQ3BHgZZt/rl2T0cuuCirfiOA7oSCcv VHWGqWrS0V51cM/sJFlTgJH5MvaUXanjMlFnTJeV3OqkHVGj9qPFNF1GGHNqV3nDg1gZ P26jwsuYWK46bXvK+2LjhL6/RasAU4/AR3XPQLZHOhSd9DCz2R1gZa9cDJwfJUEhvmIM XPWZbaQcVXdVGaPlnmIusPY3NNPkYQW96KSMj7biKGn5Qe2jV5gvlOKBAEod+DlFywma lLiw== X-Forwarded-Encrypted: i=1; AJvYcCUhjhQa2Y7piGFRGzrL6vniB8Z3m9q0hSsYz/jnDogLvKkb5ooyJKy1A7YXy4m61zTo4sL5Ew5g71eMQl4x9aZe@lists.infradead.org, AJvYcCVN9hfOp2TW+x2yce6fDZwOG0Pb5HwOWUyfKcYJozlGINQddMNpc8kFl9RiBm95fFvtqAoHh5gq7WYU@lists.infradead.org, AJvYcCWoHUCdr81lndNtOVbM2HMuU7UTf56fQbCtGGUUC+Rfh/36xR9nDo4N/XL+pm1agjf178DcNYfm90EwfHcqESc=@lists.infradead.org X-Gm-Message-State: AOJu0Yzufd56dnZj5/DcdIIABZuHup4nfEqqzbn7ZwkEn2VzICNw1RpR zqNbvfsLdtE8eKG4r5fGedwAqqMTf4cWGDWIxLE3BSIWUWnmajth X-Google-Smtp-Source: AGHT+IHm2GUKSAgOZ/HpAD61qlTLptSCf6b1ehUZaaZSY4WZ55Ktmo+s9wq0ZVPPshsAPAeA01XKkw== X-Received: by 2002:a05:6a21:1583:b0:1d3:2923:e37 with SMTP id adf61e73a8af0-1d6dfa42fc5mr1511911637.30.1728000022072; Thu, 03 Oct 2024 17:00:22 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:21 -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 1/5] ARM: dts: qcom: ipq4019: use nvmem-layout Date: Thu, 3 Oct 2024 17:00:11 -0700 Message-ID: <20241004000015.544297-2-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_170023_243707_F936E384 X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. 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-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- .../boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi index 0d23c03fae33..a6d4390efa7c 100644 --- a/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi @@ -166,16 +166,19 @@ partition@170000 { label = "ART"; reg = <0x00170000 0x00010000>; read-only; - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; - precal_art_1000: precal@1000 { - reg = <0x1000 0x2f20>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + precal_art_1000: precal@1000 { + reg = <0x1000 0x2f20>; + }; - precal_art_5000: precal@5000 { - reg = <0x5000 0x2f20>; + precal_art_5000: precal@5000 { + reg = <0x5000 0x2f20>; + }; }; }; From patchwork Fri Oct 4 00:00:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13821691 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 9E9CFCF34D6 for ; Fri, 4 Oct 2024 00:04:15 +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=GhcJclvvKlTVpqudlmq/F4CEOdWcM7OU7+3pakydX7w=; b=TnrC7rrs7i3n8oDqFBfLhOr8WF o4g9OWo3Q+0WeFsZLVk2dvpxXQX1pm9LR2WYX5Kf2u+F4/ka+h9UZH/A8a5WHcEvRwdyqP5nYmVOO asiEYf6opjhGiyRb39B37kwFvXF6EV+NEM3Nd+4aJlDnM6d6qm5Xc90tp4kp3mGxQ7KrwuPoHJCjk JDKjzGZtED50z0DisXXqHG0x+/D4E8MM8uW+1ArRo/pZ5Pj/+loGfVcP8LmDMfFuQ5kVDshQqQ2Vf MM0San4Ucp0mBEo5T8ADUBdRkvt3ObX8b1dWmKQmM0ySLYAl5qjxDhtFXdEJVTccLTNzyRPTaDdnr nhiev7QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVnq-0000000AhVO-2TyR; Fri, 04 Oct 2024 00:04:14 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVk9-0000000AgSL-3rEw; Fri, 04 Oct 2024 00:00:27 +0000 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7163489149eso1249097a12.1; Thu, 03 Oct 2024 17:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000025; x=1728604825; 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=GhcJclvvKlTVpqudlmq/F4CEOdWcM7OU7+3pakydX7w=; b=TeuJNHK+Y1yBrCSqKjPM7Y02vw8Jxo4yaMhVjeI2mD2VfkSKganPd+5wuCcuUWiv1G I8bXLOuEPL0KN7Zykrl4VJ1gMDGct6HkKeLYjw7hTIPG4uILoub+zDfIOs2lRJU1T9Xl QpK3hoRcsMVdUCmfIjyoNQcEsExHZCYRXRTRpify9Rn78A0j9AweApqarqjj27VI4Mfe eboAFtw37MFBxteAkTXMTLwLKYz3Vc9Cf0ANF59rTRTnvu5lOP/t2OjiFD1NjiL8aQ0s qcxfgdSJf2/VJ+SCMbjqPhOU6dgGKpDCqBJnDOBJ0gBsGCZr9w2qXndtBHl+Xooi823r J9+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000025; x=1728604825; 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=GhcJclvvKlTVpqudlmq/F4CEOdWcM7OU7+3pakydX7w=; b=VaSfIKh/+A6RnlhxJ5fePbxyyf17RgsDRWzh8ftCKZfltoI+h3Ofy7MMtoNm6pY0rR yLLsL+R9XRWD+w7mcHNFOoHcDDTRYioSErfF9/U4e+JlLy2BnUMM8emPISuPoTiyUFCD IUSn4TmmNeYr6fDkYZ5r8VgkkNKKAE5iNvgRH+Mm6gaiQ2T11khxqTN/Nmpr15DoZBB3 FL3mhmSJV+5sIQimxW9PtV/70eN+t5bfDvrnQNTBHtNvEHVpSOxugbBZ2QYCTOeRM6Wn X7rJeIQ1sQXvHtyMO57GVtGohzKTp/K23DKXTh+sJkLcDd6SfBWQkwdf83LDaZ3U/Pgh bO2g== X-Forwarded-Encrypted: i=1; AJvYcCUqEc8fYnYzHbWhnyaK2PRbxrd3eD8FF0YPHQ1ZqhpveBh/bi2OooMBptSxTdRfomBTcIz6oYNhs91EgHq8lvg=@lists.infradead.org, AJvYcCVBXF9OS1SGq9Sn1XrLQEPnD87Wjs7sMX7p1uapjBMLwXKdu4nWUGtUApuBmjeUm8E9UHaOR61No2oH@lists.infradead.org, AJvYcCWeKYMoFkjLGmmk3wZ3/KzCq3Ddn1JgSJPa8I1VWEDM/ofBwRRzEQh17qCxuOYpMYXRFnZcwRSstJa732mgj2ii@lists.infradead.org X-Gm-Message-State: AOJu0YzXCENpH+DvhGozdFo/cq6MSGprPN7Mreew/A9qEmI8LCNs9M+T tIJJ8rDMluFy7c/bWYt1hql+PmjPU/M9yPAlEcIa+Jfd21cVKJuD X-Google-Smtp-Source: AGHT+IHbZK38QJEukAZze8yEUquD9ve9JqDKgnu6Dg13ZkyRXwdNWpeQg7DPqKeFH5zR6BU/2QG0kw== X-Received: by 2002:a05:6a21:10b:b0:1d3:292a:2f7c with SMTP id adf61e73a8af0-1d6dfae2978mr1585071637.49.1728000024877; Thu, 03 Oct 2024 17:00:24 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:24 -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 2/5] arm64: dts: bcm4908: nvmem-layout conversion Date: Thu, 3 Oct 2024 17:00:12 -0700 Message-ID: <20241004000015.544297-3-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_170025_964690_257C8C64 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. 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-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- .../dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts index 999d93730240..df47fc75fa3a 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts @@ -144,16 +144,18 @@ partitions { #size-cells = <1>; partition@0 { - compatible = "nvmem-cells"; label = "cferom"; reg = <0x0 0x100000>; - - #address-cells = <1>; - #size-cells = <1>; ranges = <0 0x0 0x100000>; - base_mac_addr: mac@106a0 { - reg = <0x106a0 0x6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + base_mac_addr: mac@106a0 { + reg = <0x106a0 0x6>; + }; }; }; From patchwork Fri Oct 4 00:00:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13821708 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 A0237CF34D6 for ; Fri, 4 Oct 2024 00:05:31 +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=YsYC/7Jtn0r0x1yjqgQrRZfLX27SForPWBD0tqCYg8o=; b=Z2ZThQ2uOHc7OZFveKB1jDwEjv UTI+DCLeVAaTpb12cdgALedObGbotLMXD87eNmfjW92zB+tEHorB3oOP7ylUGxilV7/A09EovKgqm dfA5C/P16E1gT/DuJWrfw20ou26TO2TMOdQ5GEA8lrARLqpjDfKnVxTROBdEv+ADfltQNLsXE3AXh XwH5vk5T72QEtH+47zVUSED0wYeIwfWen9quC4l1F1jMtyWDb0rg98Ft+NJsEbA4XiT5ArLYPUZVX V4Icmg6zY50TdxfryPHt0YWfhJYTx5g7FPFRmKmunpUaBNxFpOPiLEerScjDcxzjb3r6a+qdqEzUX drq1verQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVp4-0000000AhlC-2mnS; Fri, 04 Oct 2024 00:05:30 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVkC-0000000AgT2-3BaQ; Fri, 04 Oct 2024 00:00:30 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-718d606726cso1206046b3a.3; Thu, 03 Oct 2024 17:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000027; x=1728604827; 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=YsYC/7Jtn0r0x1yjqgQrRZfLX27SForPWBD0tqCYg8o=; b=IIDofYrGJM9gE+V4ELHm3Ybln5vQebByZgL6hdF6IzESztrYboxUq0n+XTz/dfIsgE 5cw1OWBWeMSf6041GcJZQGN5Ld1qoQvCvsIKjcLKKbXIRM0Accgtajlkx1kmsLatklfT cmActUMaSv4j7FQSROwFh3KcBtQgKKtzCRnlxlx1CIjGwq9RKjp8b4FojET+DfMcJOMB MkxXt7GKSFXTWF6+tB2HNgYHLYQl4//5QVVvTQ3gyqQx1c50AkZ5FVqJkuS0I+hA+Fva Yr4s0cjcCvFld90hafuXMxxdRJ7kNy/eVwSlauMIKVI8jIy41+oKhuFCNw3MhLNtUGEj sG/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000027; x=1728604827; 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=YsYC/7Jtn0r0x1yjqgQrRZfLX27SForPWBD0tqCYg8o=; b=tdK5Sgq/q3Rjx0ZhYfMqRecYwbhIrkQ/7JEbC728Fegjsg7hSjoDvaTXxch/fDH1Iy 6/XOfuvB4mmz8kg694wHdWJ5w6M48DPkno9o7GWY0GhCSHx4QWx/OZLRcWNOBF8d68vR v0ZmGV+mLIc0laXdTAcVXbxgtVOokcpYIFTNO2SPU8bsANoQGXueVUsy2chN29eVRuIE AFAEyUsOY4nwzZd7R7jb8Wd2r+eRt8On0YzdcxcHHZnbLzUoPp7a54xL9tj45lAIbb+i mzLDTEqFogaN06SOncrdu8XjO13iS/yQQI1Fkc1J5yFn61H/VEXM95khTIHkU9q8Rf4C pnAA== X-Forwarded-Encrypted: i=1; AJvYcCVHZGzsqLDYNC/JZJIbWsHloEdvBaMe2b57VHcCYcG0f7TnwKpl65HV4KnMFbaalz3FgiM8Mil83sPRucD/jjs=@lists.infradead.org, AJvYcCVYK0YkeUoR2gcbX+AXf/XPyy+cn31GthEB49Ddh2+s5oNo9Mv+LnXzW+Zh5IiN4gPU0ZjvGI9zIzps@lists.infradead.org, AJvYcCWIV8fDQwps2yJpTpiif8WaPpo0/c8diCEc0OoNz3Jkc6Rtx2WwIjmpD534ME65ipzM2izQ+CNPIvNYQ/GpIqg0@lists.infradead.org X-Gm-Message-State: AOJu0Yyh3ex1/zTz3SPHkzQWqXNpYRSGdVY4ge//cFLvRkkn/o8gsbGe h/GFkam9/bMBiUstT+kgz5uHL1GOBpjP7RiVe8DFnzhcqpOtD0Nn X-Google-Smtp-Source: AGHT+IFirYSitUaPcXPvdVFW+sI34fhLOYlzJmIShM+NEy17p4CN90ldDLXW0bq76BW0YT7QsOaESQ== X-Received: by 2002:a05:6a00:3cc4:b0:714:2d05:60df with SMTP id d2e1a72fcca58-71de23e8e50mr1190663b3a.15.1728000027633; Thu, 03 Oct 2024 17:00:27 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:27 -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 3/5] arm64: dts: armada-3720-gl-mv1000: use nvmem-layout Date: Thu, 3 Oct 2024 17:00:13 -0700 Message-ID: <20241004000015.544297-4-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_170028_805546_E6CFC335 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. 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-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- .../dts/marvell/armada-3720-gl-mv1000.dts | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts index 56930f2ce481..7b801b60862d 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts @@ -98,10 +98,24 @@ partition@f0000 { reg = <0xf0000 0x8000>; }; - factory: partition@f8000 { + partition@f8000 { label = "factory"; reg = <0xf8000 0x8000>; read-only; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_0: macaddr@0 { + reg = <0x0 0x6>; + }; + + macaddr_factory_6: macaddr@6 { + reg = <0x6 0x6>; + }; + }; }; partition@100000 { @@ -221,17 +235,3 @@ fixed-link { full-duplex; }; }; - -&factory { - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; - - macaddr_factory_0: macaddr@0 { - reg = <0x0 0x6>; - }; - - macaddr_factory_6: macaddr@6 { - reg = <0x6 0x6>; - }; -}; From patchwork Fri Oct 4 00:00:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13821709 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 24DF3CF34D6 for ; Fri, 4 Oct 2024 00:06:47 +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=3pFqfOh1/PbuJMZ1ovEQo0qGXsKUQzTf4DVIM+oOnHQ=; b=CQ36B6hzXb6t9LhL7l7v7iMe4E PUDznpiPqW8RaHYB/imw+Fl+dYQLQo59lCVrVXMwM3msEVCMJSCOtMgXxJY4v7DDWQ52HziWXW2/4 XXHH5D7HAfoXWp+3GitLHwucZYxMsQ7hkla+UehcJN5SBch5NGkfux333XpEt40IzuqtKsWXsGjCX aG6m7MW6SUg0H0oHZz92IOVQB2h29fBFRLBUlA+5glSTTtSHvBO+w0ofkxucwhn1SBsPzKB4pEP9j pPYtFOeH2x4CEeyuwMnxsCn+0IuzyM7luVcqfoidE4P6oTWw1SvmJ3z3mw4XrLOZtTzi0LZ9KHcbU MRJVWwIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVqI-0000000Ahxw-0etJ; Fri, 04 Oct 2024 00:06:46 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVkF-0000000AgTj-1nXb; Fri, 04 Oct 2024 00:00:33 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-71dd92e3718so1179303b3a.3; Thu, 03 Oct 2024 17:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000030; x=1728604830; 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=3pFqfOh1/PbuJMZ1ovEQo0qGXsKUQzTf4DVIM+oOnHQ=; b=WByDlW75znar4lK4MFzDouDYsrzKkBmRb5fXvuqEEOwCsXm52tsEQhkUk9VtDtFTSA 4geJfVnvPCdqhApmP4/EH7biCuEY021jnlliPzpbDEZ1U6JET9GfUwJs88JvJMKim1u9 Ms7JKq/GWnn9igN6iiRRWyQjxkUklAsESY74QsuZebPZlSfK+Vvsg7J6iS+X6xXILCmC G0w18iGQAfxyRqGHGQ6DaWeeGTnN8FVtf1Mx7DOTkAV8BSOlu4MwjIg6lDabzeK6eu3k L3Pis/CEc9Ugq+Q6Fas0soRAfqdS45XdzEIdm32SbMV8W1zG2ZeAvzMbhP+SVwQo+RmL tjZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000030; x=1728604830; 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=3pFqfOh1/PbuJMZ1ovEQo0qGXsKUQzTf4DVIM+oOnHQ=; b=weZ831w9bbSrzF+NVEOsdjQoQzQMnsZSgCUB+7mP+YiR9DPNBIXrh8jgv4z1tlYno0 r3PGgoRtyveq01zmf8h22F6UIV3aQK0wiTU4+nNPf/QYAkAJq48PVxI3ep4IHSnIxTSo kOAAYFlVuZq+eh9YUUSdLLB9VrL4zPUhCV7kbKzJ7lSotjFC+inAAVUP31m01zGSP4q/ pHM0G7AL0gtHJ0kvn5muI9pYCeBGlgJwBUDzfVKm7OoQrKB/4b3ecqcEA5g5TD5pQzdO eD2x6HUXxts6iCbnaZML9D9pHhWGuE1iTB29Dzixbw03LlX1ID+H+kHf6f2yq0Vxc3a9 OlIg== X-Forwarded-Encrypted: i=1; AJvYcCWdjn6lRAKyLRgUk9DVtri8+JLtv7yL9E26kqxMzFlnoDV0pySENrVOnNv8rtpwulkEpFBMtUh+fnzQh++pxskm@lists.infradead.org, AJvYcCWpq9xfKTT3+zfs8s12OsYYevVczlOJ3HtIudjWkKuBuWPSaq+TPXOfS+YnjDHqP8lVZjPrlAdZelzAoaHwE0I=@lists.infradead.org, AJvYcCWqeBq6GRFGpSkY5w5OEOyiKf+/uR36qjk9m572pd0mcSfE7UYj0+1kCGNv66VVsoumcld4n/xiXOda@lists.infradead.org X-Gm-Message-State: AOJu0Yw5hU+UcSTUSrvgism6aV1mCe/kOwhSRw+aWNJOBG29G+9St0MF mcDjGMbLsvEdmcVbBgpqqN20BKRMJOctLi0+QrAFWWTjCMyBqQcr X-Google-Smtp-Source: AGHT+IGQKNnEzQ8aL7h/Dh0IMEqkbtSWju+f0UHNIlA9oFQ5gkLCt2cqEgTO8XLsflQWB7i7x/N04A== X-Received: by 2002:a05:6a20:db0a:b0:1ce:d9a2:66ed with SMTP id adf61e73a8af0-1d6dfaeef4fmr1477126637.48.1728000030448; Thu, 03 Oct 2024 17:00:30 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:30 -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 4/5] arm64: dts: mediatek: 7886cax: use nvmem-layout Date: Thu, 3 Oct 2024 17:00:14 -0700 Message-ID: <20241004000015.544297-5-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_170031_480385_1EF258A9 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. 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-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts b/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts index 08b3b0827436..9a6625d8660f 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts @@ -121,7 +121,6 @@ partition@100000 { }; partition@180000 { - compatible = "nvmem-cells"; reg = <0x180000 0x200000>; label = "factory"; read-only; 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>; + }; }; };