From patchwork Wed Oct 9 21:48:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13829291 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C6BA1E32A4; Wed, 9 Oct 2024 21:48:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510536; cv=none; b=bBsOBXZN107ASIRf3a15VaO/jl/NWI6y1YB3WZiYeh3yBaGw9K/wJd8L99Zg374T2Tjhz4ouUAmSzmi8vHe3GscNoXNbudEfwxkOrjsgKClV7J4pPDyBO4FmKZLcFoVt1B9rGGo5/LgCwiGj926c5UXMpSfiQ3Ks4enfygLvHTw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510536; c=relaxed/simple; bh=8W1ncdfuUr/pmKqqzrfdU2GbcujlsBW9bxCSyhfwVQA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SKwJSEtKUMPBplD80pnSJoFoZkrwrlZmWFhoQHIqWCuFvDAPLoBxU2qJAMHBcFNifJ9AHsRjsvrLIDgcAkKdvgqWtLB15xXV8tNDu8pj7R+NmxJP58WvRShIW71gteyKOKWSYrTyNYMoBsHw/kgWi7HZQNPdNw5xUNhp2Fu7D50= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=In4MECCV; arc=none smtp.client-ip=209.85.215.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="In4MECCV" Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-7e9f998e1e4so192464a12.1; Wed, 09 Oct 2024 14:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510535; x=1729115335; darn=vger.kernel.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=In4MECCV4RvI3b+RDkgjC6OIlObnvFduMwP7024uHs06rWZmFPKL5I6Rbya/xj8dCe khc7EUw4PXxNnbAYlrBtcVzCd77mfDqomRfTRhynQdaFnKVaCEgrnyn5/vaHLTGl2lMY jjKYtz77EDu+3asKJldG412Pv+RnvhmCOuq7Jc7Nko1yvonJRNUW18HQnN3sW/sTccGf nNAHd7OojOy9gKB/3+5KZd6RED+GHTCpm2q19NWfgk5GZM4pr3A4vJzPM20e92iJlPAg kLE12suBkosFBd7OVQkyymxKRn8cYrvC/q+ippgi82oiDnBnKxyjzkcMl4osSn6Jsm3z lUFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510535; x=1729115335; 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=hwqr2tJbGrs1wXuXcUt+OBGo1i5Eg0tzcWThLBp25WJ8W2ZKVKGdDDh7kLJ5xcCFnu VLS3dUtjV/LtHiRvfNFHJQWzbGqM/+O+AS3rAHv4YEHsOWOtpo33kRNPFC+I7nEKtDt1 vXcwTflMwErqkeRr3vA/UVldcEYIgaLFgbrDYK6ZedyOKkNRWQ+Cfigq7JL9z013NdpL t3hVRe3Ue7YbMRdWJI/7qNgH2Gm9FncG4Y/pcOmgnKxZJ9RRzjZeDo6M/cu4oihZxaVQ MAkqJiy/CWwK3/c/zwOqgjjPMkevahfbaf2/r3tx1emoTKchfgNBhnzaVWJJ0/2K2Rrn 0p8A== X-Forwarded-Encrypted: i=1; AJvYcCV5XrxAEdvVY5BQ8d639uYXU87ocV1nA6CDPu1GYSK3QsxnkUvCFYB8r1L/E5IdTNSMWQXryjkZ0nKCxwqE@vger.kernel.org, AJvYcCVFOegdRrFDNB+ddCkHv3ohds7fyxbBLnWkTxEcpCSO1pnsyyiawe7dh53D7BUHR6QyCbznNX5I@vger.kernel.org, AJvYcCVO/YCcgk335aBgfJF4oLXa4mErepRyW/OTI2E62tL0Mq3FIo3iGUc/2vjCx2Bd1kHwIKfpJOt8i2OWyRdl@vger.kernel.org X-Gm-Message-State: AOJu0Yw94f4L0bITVgas7UQ05ZN2fU0OD2aYL3zMbWE0pkol5MpZ9m3/ SrqNqRYpz3Dmw0IiLVbAwE4avbJy0qiVaGXv5G9HHxOwX7tSm3HrqdE3Kssd X-Google-Smtp-Source: AGHT+IGhwngumyAYyqZ1symFrdRfFaXP4R+sFpGQBU93XFua+hCTTIL0kqZrLusjEuP0mO4Kr5kc/Q== X-Received: by 2002:a17:90b:347:b0:2d8:8175:38c9 with SMTP id 98e67ed59e1d1-2e2a2476181mr4650725a91.20.1728510534600; Wed, 09 Oct 2024 14:48:54 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e2a5707cacsm2250091a91.21.2024.10.09.14.48.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:48:54 -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 SUPPORT), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv3 1/5] ARM: dts: qcom: ipq4019: use nvmem-layout Date: Wed, 9 Oct 2024 14:48:43 -0700 Message-ID: <20241009214847.67188-2-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241009214847.67188-1-rosenp@gmail.com> References: <20241009214847.67188-1-rosenp@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Wed Oct 9 21:48:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13829292 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 469EB1E47BC; Wed, 9 Oct 2024 21:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510539; cv=none; b=XKQB2DAaptq0/NsY/ozUbe0Nr1CA9W7pDsr6SuPC5snnRyBWOdgl9WtfnTNmJcx+TkIJuiDaH4V1sjmhd4XgFTwkapw7z9jIFt0hzJPKWAEuW+HGbw23448dUXjzR1xZ2Di/4UnZSIjHyTPN0t3O4Sq1JRlozVJ1DZaVizVfcuY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510539; c=relaxed/simple; bh=gbCv8Hj0hrgFmiKZHVb+fygiodK3HtVEgN3izlzRLtQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AS7DnNfANuWk51yiRuMThCePN77Cr5gDN58HYUh9FeLh9O6552vmPeiFsHhOdstLHkZPxxuUjp5AvPMuLSQID1RRUyAUZBIrFg+FSM6SeH4SKFhsrYZY1hpSGAF9dJw9sVfZ6KfB3NfN63vjrULrRfUNvzz8ijPrOx0XIO/Z7mQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=B7e/+TTA; arc=none smtp.client-ip=209.85.215.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="B7e/+TTA" Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-7ea0ff74b15so139533a12.3; Wed, 09 Oct 2024 14:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510537; x=1729115337; darn=vger.kernel.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=jjMZ4asDtbZI1OpBAaaU9600/p3BCgdIVo5rxbXzhhs=; b=B7e/+TTAf2TNUWYTuR6kyBsPayeT9eoU7HJusfYXjfTSPQX5EtgH3s/wQWto8Z+UWz ZVg7O94xesQljlbaqxZGeUlgffLd2CBe787cWydqcZj1spFuBubko4Ob8eb37jsNZqJw ibQJFFhtLviL+K1caQHEuhUTHjWoiSf4vsebqvKUJbPhlD9bd9RRhokQvkvv0zft+fUw tEXTwBZkz+IMAFEk3x/4Q4B7llN96YMNrhPet044b/hSA1TL9hzx0JzgWUwCmIl3rOgW sgn2OLorOjsfZkjxbECWsofRcT30dfQWmoraUI/RkLTRTt+fnvkg292lE/mghtvk0M0t 7bEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510537; x=1729115337; 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=jjMZ4asDtbZI1OpBAaaU9600/p3BCgdIVo5rxbXzhhs=; b=hdTmdfH6hO20n0fqqkILjnnRqm0VqI0svgdhMZo3mmPReQhpYBwZj0fJUZzCo+umBh 3peal2/Jmcx08aYQlK+KwH2IqT1fW5w6fKwTJMmFDXsjbQUVNZrTm3DRA6vzvOE2N0j+ bDenUD15Dn3LExTVG4701Gc1KKH0fljFKb/1QEhP0o0wVGPBLxzQVimQYpR8mDmJva18 q8pocG733N7TS8UL64YLGOBmY8s05UvYuXKBIdLh2iRkrO3zdO6T+M/OtAKmMTnXKubx a+e0CHK39hQgs4m5aQFinM4WqpB8WLTafbhFO1GVEW4hRqNmfB91BRw7Sd0cQsRpQPpU Gdaw== X-Forwarded-Encrypted: i=1; AJvYcCUAyqv9kYVKtSCmfMXKCfQbApiWKvfdqfAMCvoTdyNsXJ3IcAqXdkaSRfBTlnUyk+MOIR9U0B+jyGLB0kw6@vger.kernel.org, AJvYcCUOC0RG4KuVuPflKSF5Oy9EOcZofvPNXHDKkzky93PQ3N9uhzEIWPccu0mjYEHS8+4ZIxcoNOu/R1/mrD9Q@vger.kernel.org, AJvYcCXWyH2yHhm47AFm4WZObBgyfjkSw5mRwkr5Rqu8yUoaEKn+fva7SJORzWXi/84lutjmt8dJvnsB@vger.kernel.org X-Gm-Message-State: AOJu0YyK/UbVdzghGcDpW23pPhjyL+LiXBfhBDAjXKJQNke+T55vpvbg xeMGSkxCzcRwoiWgws33WN8tCp5tMl55FP9LEMpXHKNGc7h2FZlcYD654RLx X-Google-Smtp-Source: AGHT+IELYP0yGIhGAlZNDRXRCQNBpF6TBCDwk0p6CIeGBqN+IhhJq6fhE5zhJrcK45Fi8aeSvj9fuQ== X-Received: by 2002:a17:90b:d85:b0:2cb:4c25:f941 with SMTP id 98e67ed59e1d1-2e2a2471edcmr4392095a91.17.1728510537440; Wed, 09 Oct 2024 14:48:57 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e2a5707cacsm2250091a91.21.2024.10.09.14.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:48:57 -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 SUPPORT), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv3 2/5] arm64: dts: bcm4908: nvmem-layout conversion Date: Wed, 9 Oct 2024 14:48:44 -0700 Message-ID: <20241009214847.67188-3-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241009214847.67188-1-rosenp@gmail.com> References: <20241009214847.67188-1-rosenp@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 nvmem-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- .../dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 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..a5f9ec92bd5e 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,20 @@ 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 Wed Oct 9 21:48:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13829293 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7EA511E5719; Wed, 9 Oct 2024 21:49:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510542; cv=none; b=U+zRlirL6cqRvBJ8gj/lDBLurXlq9XARAgiTuqvWDoc7O+ChTjL1FUEJzNf8XXlTUHRJCjqOJ+X47MzwNAwYucx+boIZrFcWbf4Nb80H9CeFTjGLZjltldDMs1cRAKYbHCHm+KQV/T8jdWTmu2NCR0sV7MU6AZb2cAMYdYRWL7U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510542; c=relaxed/simple; bh=HWCBJH4vlO4UTqoBAE9e+56a00lpQ9+VWXRweVrTiJQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NmAViRB7nUy2xYIhj2otglm2GhS6SzQlPJBq0g/zSB8MTMJ60ZPuHzXc/9FW0aTO94Dy/qmGn6lmwZu7f+eh8+dwV7KkRd+jW/IQrwVWBNFiMG9aD69yvEmuI8CI9PuY1AnjdCtTuA0rKXTU14LMZ10/kFnO/Lcq4occXVV6E34= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aQCrp/DH; arc=none smtp.client-ip=209.85.215.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aQCrp/DH" Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-7db90a28cf6so1036847a12.0; Wed, 09 Oct 2024 14:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510541; x=1729115341; darn=vger.kernel.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=aQCrp/DHXZckKtsOZP35G7ifJnarokNVE3tSA1caiHPMdXEqtNHWvPfH4LrPz0tuJZ /s6zBPgMx9AvThfAZtGTtgPBrkeru2D9NNKSYEvknXnZt0Jrs5V5WU/suQEHuLcpsEa3 jO0cxTkzEQZitnWi2w9FnwEXnMXZHYY2D3pvWEe8tlr0uhJpb0S6szKoHB6rEB3F3jK/ B6GdMMLSz8v0raNrzzsZixS9Jd1I7nsD370fgfuE6P2YlqW9npIPhAENMQu1gLGWUHL0 IaoWASDxJ6oRY+9kHu5/yZfEQL83xeTcGXErjU2XOx6VeJNplFLgmZJMtY+qkTJfScqo uAAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510541; x=1729115341; 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=fYHqvVEOrUi3QHooQNsUNThK2qwkfXm0joyl7ZvS18sghp7XcuITaojsqxLBLS0bSV AbXBoKFohlxEvBa1kQkeKk1HaA3Z7oJ967otfzaqkI1WROcXPUeQIDZvKs0O1d5FvmsG Lq8+OzwzY8ksw51m4pf++DExMValMo/HhWdN0GLoWIB2dzGMfo74hkx14EqcQlutidF6 EqVtc/fYksOdVmBBYA5Ltph2g/1VE2zil+EbxN+dM/gtGujqc8PJJurEqkEahdyxT5wx I3VAvy6MgVr6Gnr4/5eN/U4lBmY2tNdg+HOt/DU5plmvfxmLlY6Qa1MmReylLqtWWevP 5ijA== X-Forwarded-Encrypted: i=1; AJvYcCUp7rY4ZOBTA3NCKPGg2kINmzk3tdZkcju2ie0CrDvDGCQ3SkMknQbTEOkxaACRxJbUSTY2nftyiCOpPgmD@vger.kernel.org, AJvYcCVh/lnzgwMBTWyTQ6hd8UuCSjijT+qN6dKMTDYcerNdjjgoBu1RrH8uPCgq3lm3Tq9lWzel9Yib@vger.kernel.org, AJvYcCW+6IjwVF7bmTVOjqSjsoSNH7RLdZpGAkStzzZKMwcpdRRgitdzpEeqCupNpg4W/9yg+cDHP7A/2pPmqA0Q@vger.kernel.org X-Gm-Message-State: AOJu0Yx0m/r/0d0T/NKQSoCW7h3tfCyduBDM7PSt0lsGo9lkUmeKTeSm ts8+qSL5n7wtRmC5VXJSh+mRTSclr6yZXEkms8AEeuo8H+hvZfQRuIzl82uS X-Google-Smtp-Source: AGHT+IH1PO060N+LN83MEtxQiIs1yeGS3MqDF3lj4wBSmoDLk5QqHdMEkb5sAG9gkJ8bgAD+wSlxHQ== X-Received: by 2002:a17:90a:f40d:b0:2c9:36bf:ba6f with SMTP id 98e67ed59e1d1-2e2c800c77amr1697173a91.3.1728510540499; Wed, 09 Oct 2024 14:49:00 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e2a5707cacsm2250091a91.21.2024.10.09.14.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:49:00 -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 SUPPORT), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv3 3/5] arm64: dts: armada-3720-gl-mv1000: use nvmem-layout Date: Wed, 9 Oct 2024 14:48:45 -0700 Message-ID: <20241009214847.67188-4-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241009214847.67188-1-rosenp@gmail.com> References: <20241009214847.67188-1-rosenp@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Wed Oct 9 21:48:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13829294 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C6451E6DC9; Wed, 9 Oct 2024 21:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510545; cv=none; b=nVWCErCsEUkbelckjYd4AMBtWiY6YeWr1EybUB5J6pziQpvSXZdBiBEXzM5ImCEgN5q+EoGJ/Vnxr3I+VP5It8uGkuBamnifFfBrVHLgrT7pld1oj3CQsasctxVhjAK3zgIcb2aiQU8rX04kNLfmhR28m0bmbewP2xwxOkq53tE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510545; c=relaxed/simple; bh=shHER4u0OAOXldgRE1LJnGWQ82XScGlYljOXINFDXdk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b4JnDvEcNYQ+XGH3LV+KlmnpqtSGuH1zurqdxYE34FynuD9hZOPmNe1G6Tu1+Fkk6BClOvHSQ7NinEfUDygTmQoMgLVUUZXKER3vg+Dz2sQcoEP0ST0BGNMAy0yQygNNBewLiFMBHdukTM1pkiFgx7fzkjfFc/RHPwZBPVEbkig= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=INnC7QOP; arc=none smtp.client-ip=209.85.215.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="INnC7QOP" Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-7e9ad969a4fso154580a12.3; Wed, 09 Oct 2024 14:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510543; x=1729115343; darn=vger.kernel.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=INnC7QOPuXqWdGdMOeYAkdSIff+PKEiDeiQJKKVYxRvaUbcWvByENR4aaQRkIa3GaF jsJsCq3M3OIy9txVtkd5/8ouRePyiCoJ5XOvkejSrtYoAyCYE33LLGiWNQUA6Vd7x5Eu CjHBtYfDCvn3XGdzMZfL6w5KRWLMnBNSGcbofLCmyVu0QsjiFQvpLMByCyUAlqHAB4Ct GUac6V3OMjeCoDiQpSpb/A4S3Evap8/R+sQgVFMxXaCMQu/5UjU49ZDh1nfDfQLv6SAG NP6YgUS+TGfRCiteIQYtTBkliNL2+zqWOlyLOqGW7QjngNQmBhs3Gcfk+wIpBb5/jrLW 665w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510543; x=1729115343; 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=fAHLf3zFkUad6Xxce5KZyP/8M3KNsLqLuyKJe0ytagTS4Cq+J7Zj6lYIBExZAYCV1c U0akoXMnabAnnhO79F7ZXOx6S2gmjwyU6f+GX4f6v6etLJv1+71MEr8TpwHgzn3FCFLT djBTYtgZ9hwi2UvR+5Fr0xtZJoRpiPgqLKuYgYxTbq9MCFJUAc1pHczzQu9gYeYjYdAQ THsiH1XsZ41C+VkWwWwnOjesEfzgAP6bMao3PzvnAPyoeiPjICoeoZCO9req0TNPm6bt 78VIoE5pmUL6/S5M3od/7qc70HKyK1jA3rfcJvf+eyNG1EMCGP5NUlUM4OBZzuCVf4cw 6jvw== X-Forwarded-Encrypted: i=1; AJvYcCVIXP/na0ax2wQ3yc3nLNXMnheY0Cr9JqPtTr0nAjnY//mRjPlwv1bLBI3INXslZm/RGf3NcnwTGVa5sRpK@vger.kernel.org, AJvYcCWLvBMt0UvfCMwArxON7rrwoBAfmrMbxTdoyC15nJLP0C4lIFLfsJzyjx2q3LcNQQ+Kzd3zyRn4@vger.kernel.org, AJvYcCWjV9e3F8tnLNL/bFIEpWmn8INCPdw/GCpSsX9Kf0QL3LuwTDq2j1dZzmhHVNFsUuUbWPW7JDyYu6yMkdyO@vger.kernel.org X-Gm-Message-State: AOJu0Yxc8fbj5wvFfrNz6cvkH7tMGa3L+GLXjd5Y6MBp2USSIj2fdTWK 6agKZqg5uQzp2vynz9lOpo7QyQvcDO5fJ5aM4MEffyI1motut5YopU4J4t5R X-Google-Smtp-Source: AGHT+IGMs1YOfwcLXnyF3f5oAEJht16GdUiRrrh5sgEZq7TMWIylXPioMMZpPWgcLjjmm8ho3Ji8YA== X-Received: by 2002:a17:90a:a410:b0:2e2:ac13:6f7 with SMTP id 98e67ed59e1d1-2e2ac130994mr3869737a91.4.1728510543308; Wed, 09 Oct 2024 14:49:03 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e2a5707cacsm2250091a91.21.2024.10.09.14.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:49:03 -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 SUPPORT), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv3 4/5] arm64: dts: mediatek: 7886cax: use nvmem-layout Date: Wed, 9 Oct 2024 14:48:46 -0700 Message-ID: <20241009214847.67188-5-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241009214847.67188-1-rosenp@gmail.com> References: <20241009214847.67188-1-rosenp@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Wed Oct 9 21:48:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13829295 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 508481E283D; Wed, 9 Oct 2024 21:49:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510548; cv=none; b=E2neXGJ+OoxSLGXQEjGvqw7oFkBKLzyp99ucjnlLiaPnJDtnc8D3wixrdG5Qpg/dhoXA3zscpDBz5g8FZU4NJzYl5ZXQqdYsn6JzewuownVFjGCkfXH3Cwk/1rKpzv0oJScx64ORWgoVbbt07rsdUJ1TYotSItN+4l5Hf4KQMmk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510548; c=relaxed/simple; bh=8/V4mCz60Djcp4rXiN2Qk3GZR0mXJBHEXRg8u/t1mVQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rMu6MF2HsTS8oZIUCZvtI6ytujfqDFgRZHzDEhKmPBLzOyMQ01aSRdfxLe2F1BP8Q41m8MAA2MHKjS6Qn1PEL9w73iK58O38QMo0X9N9B8PZ6b+hxaQqBL99kebxEGs+9CB9ZPZex7AwxYS9q+DO0Jln3h85UFsG7KI0xeOgiMo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iu6/xZ8o; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iu6/xZ8o" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-7e9ad969a4fso154605a12.3; Wed, 09 Oct 2024 14:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510546; x=1729115346; darn=vger.kernel.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=omks9Q4h4Sk44JoHLzJxf+QUQKqJEvhZ1YL1d9UMfmc=; b=iu6/xZ8oD01Y5fu/OPbtoMcqkL0VNgebj6qEso0TRaFXeUg4FB1oiP7q7wMIsIlwvA tWTkHy+iRdRML6z2ib1Edr/61DvC2UTEDVhNLHrt6RijQHOljTBpAO2QZYvB4s+mtbE0 0fvrTYueOP+ufY19BrdJsse10ArI/ngcsr8EoEPHAF5MQQcYZjyBTiWgnXpE5P/HU1ZB 144xD+PJxf/HcXb0iyRJNPVPr41cASOLIMpuzqSZhMZQRfN53bRpszw5F4ggRinlQ4QB vDABk2rxgQRqC2PoYcJimXQo7wn+w/ozHBpwkKjCCV5bpTaSNi9U1WBmM9pwqM+4znZC HqFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510546; x=1729115346; 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=omks9Q4h4Sk44JoHLzJxf+QUQKqJEvhZ1YL1d9UMfmc=; b=R8aLh/X0nci8nEGsrELjt5071xQHMFGQDca1IaBLX4p443T1m0vbxa1JOWgf2WAISJ 1TIz0qnAzcvNMymBORUA5U/ivUCbztaEMrkXDmlTKLaCNM17QfxJBuGtUCCkOajeakZ6 /yGqaoJrzVMTsa+jIVydRwOLPXmXcMuaed6kC9nXV3sDayjQwmv4ohVgpPdskbnxFTPv T8T1b88PAGFHvfRiac7vYxrO45ZM5BiT7Vy1cctvpul1/5SyCdZu7yWKBHQQb382Wctk nCRhz+j3IKoOXz5bJ/HrwhY+O9pBv1o/ewDTtwxdX2GVmuDK6Bz/tMdqIwu6/OeW6oz8 ytHA== X-Forwarded-Encrypted: i=1; AJvYcCUGvfrpiYwZR0Kf4bx95Meywc2PBmp61lq1lSTXU+uKn/QxY5Ks62aW5jHasimdsH1Nu8J9gItix1POPfmK@vger.kernel.org, AJvYcCUjUJY4M0f8jAqzgj30J5Uz+ch3gLqoHpM5P4ax8wc5nEbsCChElAsEiw/GpEjUYr8R1S9bgiNQMxhOkkqI@vger.kernel.org, AJvYcCWFW2xAwq4xjyrkjqsoRIeEhRGTGIn3Lnt9PANq58uDLybE9YAklKFg7URDoTc55++MLiAe43Y2@vger.kernel.org X-Gm-Message-State: AOJu0YwCRtaVCQIJntNm6lSCLiIAfwVMK/THLhsIDarj87sACSwcX/RG QB+6OXV43C38s8HncX6rEt4dhB4hFyr4CtL9Lf94mlFOxTjAmqCWXompKjwp X-Google-Smtp-Source: AGHT+IGJTDWb4p1RVq8AM/pshnbsRHxFVfsJRJKLsj6ouxokCYwq4RiFeILnKKSnnCg/FTOOAbILsQ== X-Received: by 2002:a17:90a:fe82:b0:2c9:6a38:54e4 with SMTP id 98e67ed59e1d1-2e2a2599211mr4000173a91.41.1728510546505; Wed, 09 Oct 2024 14:49:06 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e2a5707cacsm2250091a91.21.2024.10.09.14.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:49:06 -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 SUPPORT), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv3 5/5] documentation: use nvmem-layout in examples Date: Wed, 9 Oct 2024 14:48:47 -0700 Message-ID: <20241009214847.67188-6-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241009214847.67188-1-rosenp@gmail.com> References: <20241009214847.67188-1-rosenp@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.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 | 21 +++++++++++-------- .../bindings/net/marvell,aquantia.yaml | 13 +++++++----- 2 files changed, 20 insertions(+), 14 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..c2cc11286d80 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml @@ -23,7 +23,7 @@ properties: patternProperties: "^partition-[0-9a-z]+$": - $ref: nvmem-cells.yaml + $ref: nvmem-layout.yaml required: - compatible @@ -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>; + }; }; };