From patchwork Thu Oct 3 21:57:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 13821634 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 13EDECF34CA for ; Thu, 3 Oct 2024 22:00:41 +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=uZcOja2BIUrQbVjCjMFclhEuG9 e4j4nLwCOo0IARYGtd08fzl7k766sL5YkbX4/YZdT6Rl/qv+ce1mYdJrWmPBSCsbJtPzDAwEz9xCM VCzaBAcrx7HMgKED9WGItzyspUCOBwskT/IX5NR1YVSDNdGNOoa/bThdS5gKiuDNaNaLQJEF7Ron5 /mM6KTO6nZvCFL07zVTgLEwJ6pDJiTtnL1fpdta9/32yym1EI13IexjqNqtIAckIwPHyncnOzPq1U afZJRkft0328Ni4SnoqxuHw1jX95nPInMYcOSRU7q8uRiyVyrg24CiTOtbGSpyKgMkyVq62ccKWr6 4Ygya7aA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swTs5-0000000ASSD-3lMr; Thu, 03 Oct 2024 22:00:29 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swTpa-0000000ARkM-2whx; Thu, 03 Oct 2024 21:57:55 +0000 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-7d7a9200947so935198a12.3; Thu, 03 Oct 2024 14:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727992673; x=1728597473; 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=mVJV8sYyKIPY3bQM/fBRbCsMRxf/4kz3c2HLQABS7ZuXP0wQwNsVOEKBlEJ3s4ZrA8 GLktz8/HjEed5tnHRgFAb4m12wSlbm52heo9rgyt22nngxa5XWijhacidLcIQxLiold0 UM65EhhvSe0evE4fADRSOLt7EQ/zlOsg5vhDwXjYN+XhM9g2P7b0I9dQkdNaEv2k+fA8 EfAaqQFmFjXCfJjPJ82V/2lj68Cm8DBIkg3Zvi/a25Eo68DHWF2JK9sR3kKE0gaeTtuU QqyLgjzLoF5XZa4Wqg8Ed1/GJKATDjYGqienEJyAbPWqNc7/thTXZ76MhVeeDKrtx6ri Ptbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727992673; x=1728597473; 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=p4N54zHMX+lsDkfjoIPJ/htiHrTOTdlzzhGdDV8QmNTSdP/QZLXSpeyREcdFA5boxh 63ofmuSVZAIqaslbfQAr7OvmGAXMUPmB+Gh8Yr5C3rGiEezM5f8G2yOZxp+DMuddC+t0 7lpShrIEdfMuZp+Z0QnnuWN/cyTE6m4M6f6+izC33dC1DN5tRBQpwE4baBF/Atf5YgGc uYZeYOfHVkCH+lT2/1GbWYNh5jNd6/DA7ScTfO1wvAxMOvDSI4rUqckCtDEuHTusaDTj S6ULzuCFRK+P9T7I2N4kBnmmP7E9RaWFpVAjLf1CO89fNsVCFdQhVX6qc7D+D1YUi+qx vhBg== X-Forwarded-Encrypted: i=1; AJvYcCUZHtHyu08HGAd5o963Plsm1GouXOtS62GIscb+nhCDW+Lu1C31F6fAAX8cyWovyScfbAPTSXgX65hZUKpZn2o=@lists.infradead.org, AJvYcCWIfCisrwpwpJnJPdKNLKO+SEWGDjJFg+kcBts5eU0JqUxlMXMX+ZiibjFyrOdqWZg68fvZvC13aYaRuvdBHcc8@lists.infradead.org, AJvYcCXJ2aPNsHQ9lCbSFkoFr4sRiXHgVimJpWEUqXLERGLvt7QFPFCbb1NdYqcSaL2ab1LtwnHTOOVs2pSU@lists.infradead.org X-Gm-Message-State: AOJu0YztA18MUJT+xumW+xUz1o05tK6QjeTGjx13zdqQWpCMRBhADBvI cTUUQeYSfwyzAxAQRU6OzDy/7wF5Xgb1XGgQL1iYysxM6zOP6x3Y X-Google-Smtp-Source: AGHT+IHV0ZruXNJv6AzhOrEEhOLFYJ67nUgRR/hs4aYDbbI5bNfk9FeWWoW2cIPBdRwzo2izo5msvg== X-Received: by 2002:a05:6a21:a34b:b0:1d2:eb91:c0c1 with SMTP id adf61e73a8af0-1d6dfaef79cmr986798637.42.1727992673503; Thu, 03 Oct 2024 14:57:53 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9d6e67esm1863026b3a.39.2024.10.03.14.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:57:52 -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: [PATCH 1/5] ARM: dts: qcom: ipq4019: use nvmem-layout Date: Thu, 3 Oct 2024 14:57:42 -0700 Message-ID: <20241003215746.275349-2-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241003215746.275349-1-rosenp@gmail.com> References: <20241003215746.275349-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_145754_760449_17AF7A49 X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Thu Oct 3 21:57: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: 13821635 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 41885CF34CC for ; Thu, 3 Oct 2024 22:01:54 +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=xSNuVdGCM5EszYcKU2Swj66nW2 lyAXYIe1wZP2ajY2wUlb2b8bDFLEfDAXoQ7KG3ooQmBvbLfyJPtC37QXKM1L5v7l8dhI6Zg9Jk0WW OgP9Rjw+ZyKMfJ17xYp7eAZtYJ6s5Wwdrff2yK6DE+abp2zcW/3X8UxBeGZPkhhTrVmXlSTVWR0tT FtIb8yPYoV+aR7koj7zq9OIKR4DsDkThaTcbCCGirOlubbcAwjLMiQwCYyj2pEMyUmMSUXm2Udb+l xQZ/jc9HhOU7mmTdrrW4wC2Tp3tLRuKfKCxrY0Pm42erRnzmz0dZpOSMYAjz15qSVxMHShe5hjxGp xz5rcc/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swTtJ-0000000ASf2-1YqY; Thu, 03 Oct 2024 22:01:45 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swTpd-0000000ARl6-3eXQ; Thu, 03 Oct 2024 21:57:59 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-718e2855479so1234460b3a.1; Thu, 03 Oct 2024 14:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727992677; x=1728597477; 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=UbrVq1uCOkSDvwdbvpnFArVMxEdpZKD/TQqaUKyVYukCxPt8GiurKUiAI41tQmX+hr py4XWWgZtoJHVQ6+ijoeLlNQrfWLXwsqnU9xQ7DodlBxsuA3qUCw6EXMV7HTP8gDeaqg f+2TBjBpff2WZjzDvbmA60kb1o3dOVINTPok9M/ChMzbmS/u1qDTx9XKNUuBGnEw56Iy SVHq/9TA1sCcIzWEV+OY6zARUh9HA1iICEsYbhJecf9YYf1iIrstPJbzeBjT/80c9rCB qA+x4ubUZkWcVNjliAFbXtDw6KPNsGVPU2yQ9XDq+sV3RjhBcLARAcaJp/80PRujheF+ pCjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727992677; x=1728597477; 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=vQcH3Gw/z1oItvvIEVme/hZL6vkzzun69WQcW1/FoJdVpdqloHs/Yhqs/gEIhVJIOI QJEfFnaN7yfeZ7rodZQ9+ao6/Fnxyi8dZQejGikHCL4py9SiMdpYRHXJlMCeLfUEOxPq DEY16CfQihW457dvYL9R0bGvvh5i6WduSsviMOCWZ/EhQuyvwK0MrkuPkpCzL3rBtmfW ptAYs9I/WW3BqyyO3m6vpM6eYYmU0ZbfrffWRiSS1Ywy4hq+h1iVp3szIepRobD8odeF aoa5Rv5akDqwxNFbv+eaPmCYIoa1O9GetErvCtFJmHqoLoMf+JcueNn6+Ioc3onjf3bp 1XvQ== X-Forwarded-Encrypted: i=1; AJvYcCUK3YftQ4PdyGvJv5kX+nBTjXPBwuM7xNP74Jb+j1frtumCZ/crk53sxTdS7YAKRxrZ4IgXLxOTDHCdawPIEca9@lists.infradead.org, AJvYcCVIpwEZ62tS71wQOG7i2WrbaZJlNidavyT1pzyqAw95gPdUxpHAbMVdA6LZOnxhhjxfEPUjQke7GQpw/Rxr728=@lists.infradead.org, AJvYcCXfe5BTOF92eRnyXotcKvwSslPINjfRwiyMz6xkN7RZ9Ev5hmtA+KLAxeXatps5iYFgn6+fvIg04/oL@lists.infradead.org X-Gm-Message-State: AOJu0Yw+cp+nBgB6WrIQyUYtJwnhESwMkM5moVcIxOdVdbh1zhbAclid wXoWrLrb3JuUkp72xghOCncVo44FPkHbbK7d6bJ8BZI16iI/kuzo X-Google-Smtp-Source: AGHT+IF2A+OiaIcWGLxGd8MeHk5wY3Ar7PK8Rihzo/zaHvJamB//ytcahyJROu787wdayCYZ6ZY2mQ== X-Received: by 2002:a05:6a00:181a:b0:719:7475:f07e with SMTP id d2e1a72fcca58-71de23a7b55mr858114b3a.4.1727992676621; Thu, 03 Oct 2024 14:57:56 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9d6e67esm1863026b3a.39.2024.10.03.14.57.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:57:56 -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: [PATCH 2/5] arm64: dts: bcm4908: nvmem-layout conversion Date: Thu, 3 Oct 2024 14:57:43 -0700 Message-ID: <20241003215746.275349-3-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241003215746.275349-1-rosenp@gmail.com> References: <20241003215746.275349-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_145757_931985_3A5E0510 X-CRM114-Status: UNSURE ( 9.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Thu Oct 3 21:57: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: 13821636 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 1D94ACF34CC for ; Thu, 3 Oct 2024 22:03:12 +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=m68m6Q99tCdi/ds/tUWAz05OCI a6S8s3BtDNlty+Yv5mr/ILDezDMIrNbBVgIQR1JUcCBc7W7iTM6paMRPlf+EXh4/SyxuSFXZNhDcI kLZqm/kmnJ3JUUrSbjbxVl+K8/sS98vnH+Flh72rB98nSjTgL8R2WFG3LvVVejBd+xKax8mYEWlyM YAg5Niieq/BMkHzfuaRMRYCQ0C4Ah8GHZbvv2icXQPKNRPTJU0EYRK7eCMzJpzUY4jwy1B2twmbL4 CoupUb+dsi5TsspDhZtnuXm6nq70lJ2cJPR1JyFofNmmKm7an1eH10LelgQRU8tLo8fVusZhK8npV EgBtn7Ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swTuW-0000000ASp6-0zUv; Thu, 03 Oct 2024 22:03:00 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swTpg-0000000ARmT-35ro; Thu, 03 Oct 2024 21:58:03 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-71c702b2d50so1166889b3a.1; Thu, 03 Oct 2024 14:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727992679; x=1728597479; 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=Ge8fH3W+ovmqAEWvrde9F6a+rs61jyIxEQgblkvycbBatC2VLugbbcUt/kpK8v0cXi jJHKsEdLBBjOMzzMNPw/3d+lZNO694GIlOnz2l+kVmyhTNdtEmiLJS+GSl9/wMt3+uNA 4fZCCkeUYEGwSkWEzxVlH4JVQmOcDMc9gr4gknGHUOtG+yO5mNEQsIQZA6Cd1LQ5MUnj SqFA4Hvuj03U8OUnxXVSze3Qmpg1XpLUsXYESqgPCoNiYtFN1bvgwG6yd44iXZWe8fTF zfBSVDmQCw400i3udXZsZD2b8VZPEDvsXHpWGWe+PDIDG+kKmbOLl0hteQnYteMMiBPy 3Kuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727992679; x=1728597479; 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=s0C8YcL2x96HfI81wQR42whBGuwQw3dhbI5pgJN+pMBberFeSEn8K74+tGTQuZDc6E twwoQRpE5iQqAwep2VNOIOIQJH2qyoLp87KiKkou7XbK6do1rrjsJxF+vO0JHOXbxzUU vJHGTPy1g40xKg9mDbAyJogVqio2bl98P3rj1fnWmm5+oiOt+EgRuMPk6p55ItXnClzb k4cjGIDV+pUK1ngooiLNXxdxcf0u3NwqVcrfLtN4IXspsW+L7ORl9MMAHT99bJppF9Ff sOhuiCD6RTO7oqPpYmSIw6q1HLN9DwVpOx9bFLmN7XJn5kiKj6B2H5KbndPcplr7xlBv 48vw== X-Forwarded-Encrypted: i=1; AJvYcCU7TjobMuuyz+1ZddHIFvX4R/cPpPIgt1et02J/wLm+n7yL3SxpKJtHu4b0z0hMhDDpmc4+ow9gSOv8jd8XhRmq@lists.infradead.org, AJvYcCVht4s73TuSCfP7NMFGygrFvpxojoOqqERClQbrha/wceX5LqGPSSh3gXCb5dssS8V1eUndH4c/wO6gnPBXb50=@lists.infradead.org, AJvYcCX3e3y1rxQM5JKYfapfUJl5eQjAMl9hKnf1pt81tHp2KoLgSBcHp2YC+6yvzhC+iRhvjl4Ti4upqh1t@lists.infradead.org X-Gm-Message-State: AOJu0YwUe8QmpRq9C/HLVVllaj20JvDlevrlUJGiMllmrJYxe3iF4mSD VyoRPyezmc9lq/GSEBYm4vWRtw4k1FQWZLLWe6HXXC9tXSaOcjTn X-Google-Smtp-Source: AGHT+IGNMbuIWrbIujwDABmLxc7Xkn9bDyXrwfmLiE2AMdFP+FxMPt8AB6DnXDiuWAiw72FyjSuYTg== X-Received: by 2002:a05:6a00:138e:b0:719:20b0:d041 with SMTP id d2e1a72fcca58-71de23b6c4fmr898223b3a.10.1727992679452; Thu, 03 Oct 2024 14:57:59 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9d6e67esm1863026b3a.39.2024.10.03.14.57.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:57:59 -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: [PATCH 3/5] arm64: dts: armada-3720-gl-mv1000: use nvmem-layout Date: Thu, 3 Oct 2024 14:57:44 -0700 Message-ID: <20241003215746.275349-4-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241003215746.275349-1-rosenp@gmail.com> References: <20241003215746.275349-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_145800_805613_86504502 X-CRM114-Status: GOOD ( 10.03 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Thu Oct 3 21:57: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: 13821637 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 7679ACF34CA for ; Thu, 3 Oct 2024 22:04:25 +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=jBd5ayt6bycLzu4X6Qi9/+//1I nwFOjvY4ganJuZ3DSm9No3g99LdIxvlsMnna85/8lE1fqs4Di3gl6Ie0wKl5KUhOvTQszL9F3MM23 kIT3saITxoofxi3xrwazgJxQsmakMEjhfFD716ryEqGiAxSQmzYx6Xzq4dNDcMw9w1M4+8t+0MyV/ 3z/qw3MtxkJPFHzeGspCdDbn0cTSj0Il89h/dtQ+q9hRM/OS8daH9mu4b1OZjpz9rOw8v6cFP3tOx 8RSeG8gIOec2fTgQs4cwsDXwrL8pB/qGtuj7RF4g0WkBroQFjUTjCtqVKHkBM39APz6xeB+OWfe/X 15G4RF8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swTvj-0000000ASzc-2Wzr; Thu, 03 Oct 2024 22:04:15 +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 1swTpj-0000000ARns-3Eaw; Thu, 03 Oct 2024 21:58:05 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-71dd92e3718so1105503b3a.3; Thu, 03 Oct 2024 14:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727992682; x=1728597482; 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=A9sG1fhm/NJPGdfxr4G18K6Ih+RSY9r2nmoVNu4wNq+t5T1+9SkNJn8DIoyFRio1bI QWXqA3eSMk1+d4ivwqvOz3nCiBVGhXXcCJYx+Y+okxO25PfpGzDznifMmcRS/3717PqE ihLmeQN+9CSMxH9jv0rlljDn1pzQ97KgZu9tJkpr/8MWPgeUfmBAZtjdk3Ufa67MsY55 BsT89xRa6SmpGeL+L2rrmwjkhGv/6NOQnXEWM2Fow6FL0R1/tCJBMG45xIHf/Ks6zOwb kZurjo3mumSPUqzucDGl8tjDp7tArX4ai4WEZ4TmoZ+7rczzJlpHh9h9OPsmAhTog2X+ 7CgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727992682; x=1728597482; 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=ZWigYtEp2dVucU79E3zfguFynBiCWPPwTPIiW91PBjUypbej14/xg1oKJrb12Le3+x 0VwYd1uZguDM/yjLQgK59JNUIZTmifoD11n/I+rf4IuKzNPydgqmXWDKBi4jzfkho+4e qgnTGGfcxzGscOpXycdXpwbIhBMdFbbTvHR0UhWGCr2mAq05naZSbLwb2nIeiMZQz3G4 +yIiv6vWX7D1NT6iS/C5yq4zmBTYM9Yyr1cyXMcfoLbyiXt/h6CFXWPJWEr9BNpU/Yqh J+qbQdfTx/y7oLM8mZpR+fCjf5+MEsgIxwvhLDEI9ExeIM+pwkRa7ldkxtLeCv0b/NeC oQKg== X-Forwarded-Encrypted: i=1; AJvYcCUXVYG2oa4S+N26kOas8JFeWssXMkjh3L2t4q/N8lGHLDnwQNqcEPucSaWU83nG84yjYf03bxzJ4JIAnsUkYS4=@lists.infradead.org, AJvYcCVJRL4PCOVMSDDXhpMR281Rku7UlvfJpEhdQ2bnlhtdVbgSbYZ4hHmVeoe2KhlJuxsko4SylydM2kFup3hj95oJ@lists.infradead.org, AJvYcCVq9Z6QBvvIF55xl4zVLLImeOom6MC7/Jj0kJMV4C8WOXuqvgQe/LnU0W0QkjpjI1o4MZvQ4u2X/3R0@lists.infradead.org X-Gm-Message-State: AOJu0YxLV5/fVdnlF7+d0s3LAnElP/HQB05KPwCIbjgnuYDLWNXuJX8m KD+SXUZdrPybU14EMoeCdRR8Vq4OGY9wJyzaA22Cx3tH3LMebGPt X-Google-Smtp-Source: AGHT+IHJqyapFBKOON3QyW/aCDKnHFR5P5nYewm7xCRhQXhZ3/cPAH/NbBXMeDfGtFQLIxdmZOQT6Q== X-Received: by 2002:a05:6a00:4fd3:b0:714:3de8:a616 with SMTP id d2e1a72fcca58-71de2449f43mr796517b3a.19.1727992682109; Thu, 03 Oct 2024 14:58:02 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9d6e67esm1863026b3a.39.2024.10.03.14.57.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:58:01 -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: [PATCH 4/5] arm64: dts: mediatek: 7886cax: use nvmem-layout Date: Thu, 3 Oct 2024 14:57:45 -0700 Message-ID: <20241003215746.275349-5-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241003215746.275349-1-rosenp@gmail.com> References: <20241003215746.275349-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_145803_834440_F69C9070 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Thu Oct 3 21:57: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: 13821639 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 9F985CF34CC for ; Thu, 3 Oct 2024 22:05:41 +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=BoWKDt0SpQuuIThiGyg8a6unwje1fIaaXWcdpLVdhAs=; b=WUeBFE15xzYDWjqlX2NP4QOGha sFMYLMxOeUCHviBieVFE03DxFzlx+Sk5WGPSL00d+MwNyY6ahAX7xfD2iHnLz+V5724QPGTRiQ2Ij 4/AGwuraxmGGiaQmHd3lzSTUTv8ppGsy9VTuqxwCpug+Tt2W6rXz/miUEyaY0uGJHYaOJOuyAQAMp X+CACJfqXvrEpszTnEydvDDu/wl2DnkCJAMuuV9WG4Z8PwZkuj3YYEbdbF09KnX/mDQkgzCehjx40 LWrIIeSi3oJP0yyZeeWRBxHhUL1fVWfiSaW3nJu0qQGFCHqCOW7ztY6BHTHcF98UvJxEZJW4D0kGe RBQMT92g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swTwz-0000000ATH9-0SM1; Thu, 03 Oct 2024 22:05:33 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swTpm-0000000ARon-0LFT; Thu, 03 Oct 2024 21:58:07 +0000 Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-7db908c9c83so879164a12.2; Thu, 03 Oct 2024 14:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727992685; x=1728597485; 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=BoWKDt0SpQuuIThiGyg8a6unwje1fIaaXWcdpLVdhAs=; b=RrUUM16ot4GUFW+r4as8rVBawGW5Oh2b7nxfLOP3Xeo+4lcAvoNtaQkJI+Y+xZVgSE yJ1OrZBPP5PYNG6QDWlgmljcLmubdiAQTSfwcqJn/CayaUZnc+c7E29WtnJ9jNiOBkAG F5mVyXExyf+IWcp3hI4NrAm+tWbKL0ILcYh12BMC0EiyKPtOrlAfGVeuXj4KSU0e/NcP aRCK6/O2p145aI+tKDlcqBJZ0PeCki3QE0ahcFP+EqXIpMZkhcxgk3QGBE6rpbQvOIyq iET82i05/T22GfLNeyJjrVqU/ltov2gQ7GmdPUmQjIpoKLBafZ67OVU7E3mO3itKHK0W d+Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727992685; x=1728597485; 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=BoWKDt0SpQuuIThiGyg8a6unwje1fIaaXWcdpLVdhAs=; b=xBrDpq7ZEhvT3IerB75Q4JIvB0THN7ovSIbuGXeR96SoWi7GTMklB/J3Rr2TkrR19y Zu6B1KU55M8RKp3bAflCGQvWGDZu8o/0P51kMoWrAvtcyxpA3j7kZqb2jSDYBaYA9Fmo n4ufE5DY7ikLAILw4ButXo34wepnDuoUSFQciHtqsT964Cg6f6TIG9EUdiOL7HB1gQkJ K7FiE+hWJcRSnHfdpdPinUu6fymDnlSCJufa7fCG8iD2NfUIn4PJj8CL/o32ZMjJN7K9 G01uoUn4I9euHe5cT5aYjnLkGFniXZ96RC829uAt72Yft9zULACThWZFabU6YaGf3j8d Md/w== X-Forwarded-Encrypted: i=1; AJvYcCWVThB92j1+5dBvUeW8QDQdJPZuBgbOmoyfabnzLifgm/ySD9dxoA5mxPZICqPDDmDXCdzhAdLYzOlb@lists.infradead.org, AJvYcCWrtHpAFlfv9Ss9pqNlGbg00b2YowcKkVkPgOwY1QAAkoo+MJWJgo4/OYpjI8U4rElk17DKk1nlhISM6T99qDd6@lists.infradead.org, AJvYcCXMSHtwCv1zMUfXDYlAA4ATnss1dRfFarPt8tQvQYaYeQPfDcepTbi6SfrAW7CsU5a1KDZ2vv+H7Cgo8EpEXqc=@lists.infradead.org X-Gm-Message-State: AOJu0YzUoQjl6rEHJigYq7hCiCNaYJXD06tJVM5kFf6P486Nnjeavsp1 x6wvKM7o5VSS2UdhlzW+JWj8KgZR1CyDYqE+KU77G6LWK/lMjRNC X-Google-Smtp-Source: AGHT+IGKkbd3xJEakgda96Mzg7E21a6ZE9bsKsHRDvZzyTa8MLym/gUdPLpgQwzRTLIL4veRP+kBKw== X-Received: by 2002:a05:6a20:9f0f:b0:1d4:fac8:966 with SMTP id adf61e73a8af0-1d6dfa27e8emr889256637.10.1727992684786; Thu, 03 Oct 2024 14:58:04 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9d6e67esm1863026b3a.39.2024.10.03.14.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:58:04 -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: [PATCH 5/5] documentation: use nvmem-layout in examples Date: Thu, 3 Oct 2024 14:57:46 -0700 Message-ID: <20241003215746.275349-6-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241003215746.275349-1-rosenp@gmail.com> References: <20241003215746.275349-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_145806_142507_3C710B2F X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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..f57a6e7d0049 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>; + }; }; };