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: 13829301 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 A3D1CCEE355 for ; Wed, 9 Oct 2024 21:51:49 +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=yUNWdHSqdNhK6VlHZPY7AaPi8v wV1fdmkVf8b1SxTbuDFvd1ZOdh2DW1wwKWr425A5eSGThsOvwGkIwoK0XT5UG3Je3jMYGVc4DMEhz 84WNotd2cSt4O9nk0+l43NzjT39Ls1UGf6RDEim08vnjb4DcyKvQnQjZoJM6NcACrBf69tG5RbrZ0 QWThY81j1Sh0ZB+wl2hElN3AdTF9iDtnzH95giP37SOZ5AXi+rZxp7IH3dpcbCeXjXYEk3SyvSYxs ffc5rRxAYBAGfUTZlO+MSi4dLvFH2aclVGHFvjEcRUgh+hFDYB4AUFmHDyeWZF0LfIGeo6K8XJd7H J/rXAOig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syeap-0000000AqeJ-2VXG; Wed, 09 Oct 2024 21:51:39 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeYC-0000000Aprs-0VwY; Wed, 09 Oct 2024 21:48:58 +0000 Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2e2b9480617so254748a91.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=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=jDXSHI4/CbZGnspidNijegCVqNCpzXVSchd5kQF3A1uJw2VLcPQ3wsw/y8mbiRM/OL NxGqDFocgSm3Idnk9UR14PhpM2tzeFAog/VxVP+YUfsbQY2EjFMI5enPPb5nKFg18g6b WZy1poVnGNrQ5EZlrKPift8j+bfPZrl5l0TY3Nlo1KymaeG6S99bo93WR1yPz3Ra+SRu 3vWpOJUJBgFUcHk6EXiUZlgAZ6njTBRjlOl/z024/GDiBBJhBrP8b7DCE0co7X6IT92J Bd42gb1UMxfbUesauZoU9kMwUJWMlW7XWGUPa+lCPF4bLe23ruhTZgb2tgQvOYQ8oBlX CMYg== 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=mikfvH+s7yEwexib8WL8A8BrrfE2rjKfrJVPGKmLgOT11+rKCmGB1PRa7DbCjRnoXF lJI1eDroLbp1lgXqqklM5zzPOFSpPvRPXKfrBpdiRTj09RDIbARRjWl0CWp0QaCp3q8u GX4uIX23QSmUMW4NOUkdt26iTkjduvYiUp7aPANZg1PZW9yxrNZEH+p6+cVaS19MMRgd cwSFcdqgYWsabrpiJnfjVNElsACIwzFLn9+mKNfNY1/4c+jH/47qW8DwXgtOxqRsG1As 0t3rlAfSiGsypjthpXiYg8QDNNeFtjKWzS33UzDnu141WDD6w2ultJ3EnvJ/gnE6pZFw MZpg== X-Forwarded-Encrypted: i=1; AJvYcCUYa5KYHFXHS1mxluoWWJNz+9A/K8bLnk/7VI7y+R4WBe+yo/FN2l5+y5FGMhRdOYF5fbGLRAlTgjgbT0L3RYc=@lists.infradead.org, AJvYcCV78iE54wgdHxmwtc74Ant6KIfwZa9e0hAAgZEbzKt9PGT9dbFZOCa6ElljphfsWOMmCOi9Y58fA+Rt@lists.infradead.org, AJvYcCVjPue1z7XizcjY9sOveELyKUA9Gdk64RkSiqEZjx6jK16gEl7gbtWFlBFOOFU/jS5ETllqf471zihZkpdlFPbF@lists.infradead.org X-Gm-Message-State: AOJu0YxNFcZ/QST/S6M7zb3q0XRvLwVVfALp93Svzd8oF0W0TnjbCaxy 1usL1XQanA13DbBvnQOFhpikRbzA83FfyDWLCKqrAJDueXp0xfMhcIcZoJKs 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_144856_589890_6B3E2CF2 X-CRM114-Status: GOOD ( 10.14 ) 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 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: 13829302 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 01BA3CEE355 for ; Wed, 9 Oct 2024 21:53:09 +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=jjMZ4asDtbZI1OpBAaaU9600/p3BCgdIVo5rxbXzhhs=; b=gA8jlI8lQUznwcS5oNeOVEyGlp 8CPlIjMGK5vie7fTSlCh2snpHlV/djH+rZ0XEPAlD4DPIxM8PK+TQieL6PGwMZjG9liRxmTFUTaKH J/A8dOp/7vhi8pQWYHhx0i0WW8/brGjXbzUobbNAS4+uXZ9g2DMbLkYaVbEQXp2QDAuuM8I1RvjeY RzEtDggMoPoqvnUfd2INtNZhlXPeTuDOSFbZpJXJ+grw7LmuQMXh9ogS5qIZmIeJCcac4ITy1tP0Y 8MuQ9prEVlEVyAmZCTZ6ad2BOQfg4gz/D0EtgL3cSXwGfG28cFMpGJ9stOPJCFF0hVejW4sOfrpR1 wmvfUl4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syec8-0000000Aqwr-32G5; Wed, 09 Oct 2024 21:53:00 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeYE-0000000Apsa-18dg; Wed, 09 Oct 2024 21:48:59 +0000 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-2e18293a5efso242330a91.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=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=jjMZ4asDtbZI1OpBAaaU9600/p3BCgdIVo5rxbXzhhs=; b=HlgAqDy52ZiqLjh+LOlPRphppYqyY2yvXpEsP9LDJ1gfS4xkjMjSypz8NivGSoEXj9 f4bcIcqt8feRYNl38G8DMT+AWFQaBoFYNOJ8NHXzj7NdheqYq5BipHCQ+9GL8mw+22m8 Mr6F7V0ZrCgL9LjlqhFtMVqaf0L/mPoXac8b5VREITn4QYYesVWlE/5G2KxieeG9MXE2 WLfjA2p5vSfuk/XPmE4sZl6UWL7yVeuKGU1qvA8VLF27JsTs7SrKoDKk6cabzKKebWoD 7WIv0CDCXKz9j0WTP7cCfU8lsc29PDH6atq8p7BSctyMdhMG/WHqw+fwvIJvHEJzuPJA L3SA== 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=Zd3HMeKGLiFjJL70ScDe7popvgM1TIlc3FizieG+oM65K/Z/qbNd3SaGkUTOVmRkPx adgOId6qrbbPQqd4uinugDSI8JfuChOCvpAmICPowAHPxBwoID0hnYW8CH4seEqZHotg 3h7x99f/ovw8nHNb7fF25+xtU1uhJs6sUCH07mLW4WyUFbBybe+lXmGrgIU7Q97hPSxj zUi83svxdhtX432B19D0rtvyV7yFVpUPNfzzVTYgWgkX0QjM/RaSvBzfBotDtcdPpcFU bQKI7SpcKLmvHWVVjV8p4HEJrHhW7YKOXquIcQpmKhtS9ghGwrCMtAFJiUtptI5cM2G0 h8xg== X-Forwarded-Encrypted: i=1; AJvYcCUKQGtPKecQ2OpQQVNuZBxithqorNqhdeT1TUun872d35wjzAVN8hc5AAnsEfSvYSe4z84BUjgbTD6S@lists.infradead.org, AJvYcCUri67rN3tOLCtLmXUVWJaMuXzo3bMBhBNeN2mi6uCW5ebzB0/4gH/FEi/7aPPtRmTn7tXjaA43lGkc5lPs+S31@lists.infradead.org, AJvYcCVKu9/vZMIPWdN+8GcuW5U5MYSphOQCwCLgq/GIKGFhAaxDn2LMWQopU7cIHiDwt0Mk+kSRH/mWvx494jcI7K0=@lists.infradead.org X-Gm-Message-State: AOJu0YxP4mC+bczJHZxxYTl7sibRgJI2Nhld1mfWxrBIu966RJ16HQLs 23FenkqM0vbS19wsbcUZ14YD6OWGjUlGEHnnNxCGNW90KPCT/394 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_144858_335581_A9B86DB2 X-CRM114-Status: GOOD ( 10.07 ) 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 | 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: 13829303 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 54CBBCEE355 for ; Wed, 9 Oct 2024 21:54:33 +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=hn7VcKp5IrlNbTgBzk+qLY0v7R fynA/n8SMVyvFyrNzkEGW5F3iLfx970nKwpmVxMagpEir3/mnwAGnSed95AhVCkKFch5O6eoyq/eJ aCNFt1m33Ogsduk+dZ2aQmcZShgn5p7mmAizucVyUUCH2eKanPT6JXNH6pVgS+uKEPTozSgUA9gEi ODAI71DMW7qhsDSZD+I/kU1F29vO27WSByauWezYAEl7qe3wpAOMZhXlORjVwOewZUlLJtCdLKPxD Ap+4/2YB6D5MqD0RXHdqFflzV8NSwjgKvZ7n5xDnFTosnLMRh4i+3NlTv0nsfnzoTCtXIyb5WsnyG IFnhuisA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syedS-0000000Ar8v-20YD; Wed, 09 Oct 2024 21:54:22 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeYH-0000000AptH-0y55; Wed, 09 Oct 2024 21:49:02 +0000 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-7c1324be8easo1007565a12.1; 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=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=igNKUVvnDtl+FUbV5vtmlNs2XGtARyXzUNMxvftYkcH/hW1Ca0rE2aqL8PhuI77ve9 WQlYTrRG/yI63dMZ9ecOCMwC/Hh1d/GffYmkho+P3eQPApgjlv4XWiJ4ZvXoh5JUOXUy KJxFqSQn4HJN2uEZBQrJpbw1Bli34bpPDz1QjsXNVJ6QwHD3eB8MpC2sawnzcf8QgHy1 QEUPSSc3+f7km7B+DNiRPkXDTIL4nddAR8hirGpgANSVXy3CdDv/3bldDIfLUs9lG9/U vxXSyKVVitBPYl1HAmD2NzsDXXPwuLYPnCv0Sv3k20cRT6nLiHJbTVN0bJ4YADA/p6aI 91sw== 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=CKZE8IPf+I3evsFiKgKItIQqra/UIDZ9nl8/Y7CBUAB7elKTGpWQRcbP8lH63vQKiN UhzxM9iiohRfkZe1DzHrMkAoBUHpndCU2Tw3djbK9pmebgHr1WKLDJ1gp1v+LRgFGuQ6 q/vtVdzju2JaJhG1ZlzdrN7fHB5CJ1IygR/EEpYrNlyJCg4GjOWxdb6VdunU7Nvs+79v Rr8BsR1/QBcGXZg1AD7G70LeISM3gnVhbdD8mq+G6ag+eo3LjJWgNKwxKi0dodR6bQ/9 wkxoPSH9Jfj0x2OI1D2t1XGV6voAsgim2UwXhUT0NcVb1/sQorGd+S7bA+JGZRXoTflG cuuQ== X-Forwarded-Encrypted: i=1; AJvYcCWiXQcf/HttOsgvq9twRvfqKU0Xpo/gwAYvPI5+YP5ZcjdPa6+gHSkpBObBpB9TehF3msoDU4PcWUVpviOtCAQ=@lists.infradead.org, AJvYcCWns+Mu1W1IzfWoZ8N1dd7VsJ/Z3pnsdgdKdfEyATNzohNKGzB1H8bbYMCelhvuYzuc6JXoT+Td5Gju@lists.infradead.org, AJvYcCXMWOXqsxCCxnJnAI2B4TXaa3LluEuNlb8IaZ59t5WMQKq90CeXRtkGby7qCpfcuagknmxpc25FFzNi6FHN6u+F@lists.infradead.org X-Gm-Message-State: AOJu0Yxht7220SIHKxZvnYvp/5HsP9d+5rlOCAYk7OxV0K7bpKlCn1o/ YZcWEB5IqKpCav1k0CJGFhssCDHeLh7W2aHLKRMRCAGQR+kAIewy 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_144901_290499_F89D9213 X-CRM114-Status: GOOD ( 10.02 ) 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 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: 13829307 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 8865ECEE355 for ; Wed, 9 Oct 2024 21:55: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=3pFqfOh1/PbuJMZ1ovEQo0qGXsKUQzTf4DVIM+oOnHQ=; b=SmlZU//XfABZHRwKEK7TXzzKDi WsJg2l3+hUeLx2yz4gf7av/5euhkknSFTjngGtyyLqGlZMJrCSU+KzBpcaXWDTR1k68K8rqkGxJ04 R1IXxCxvT07JACdNWUC1b+fSH6yaBPOQIrapAX9gx9pydUh/MRYYkxCW7eU/yNIrWk9UopyhQ9c1T 3jpCKsYZ+/JPC3ALED5YIYm8PBIhPmv0XrYCMVG2ZWAtNogR9c2W9St184dXrL9KDkMhYAIhsfNmj dxT1sqBPs93DmYXEKM6T2nV6zaOtfjeaKE/7fayhmLUe0SxsIfreMG3oedeoAedOWHMP5Q78LvY6I zcIjTQsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syeel-0000000ArNu-3Z6F; Wed, 09 Oct 2024 21:55:45 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeYK-0000000Aptv-2kLj; Wed, 09 Oct 2024 21:49:05 +0000 Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-7ea07610762so182405a12.0; Wed, 09 Oct 2024 14:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510543; x=1729115343; 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=Ha5BbZor2h1VljuYKacNYiRbu11dAmGX5iHt2i6hghskDzgh+kiToBbdSZunWXeoz/ c4UQuGooVSGkwyUehC3S5IoB1nQJ6WmA8oIdWExYaETFqqyfWmNgLTF9hg9RsHVuJJJL KvGrH8zbFqVT149KDvUJXAu19v6OjED8TiN7OMQlvPGTHxVBarJRsybufB33dDSyr4U3 wTx3ZW+fBHBA4kZ6wnpctg2s7D7XH418LiHnqHS83k856Twn7gjSBwzuvQ+jn4m4FzyK vgqBtJFsBKrvGkXNM6bmLurGCvp9mo8JWR75E1twGF/r+aGeRzGqUWwDlhxfG52xLNT1 00wQ== 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=G2cSQSOSyEPpCJtZrAp+ogYmMssGGxT1UGk8EZ6owowluf8JDrcKaw9Rmh+TzcRyTV Bw5XtojTrXvEjCnvxAMEzOcnKHJw44nMbBY20ykK1oz1nIgQJIaPfmQl5Rj+G5gqVcCr nWNT7aOheMbehdil9tIcQWQACts6IYs5mMkedPc5yh2t4fKGCm/3EeMfk/Rdikavc9OL JAmSiRVBMgPmkI3YeziuKniKBaffgwtGnCLzHEsKjsMk6iyX4jM4IOFJnVdbGf0g2VAf dt5Ly/pMNzBc2v8iWxqleZz5Av+NOElrfrKpCGAf1I65iOQFdYR+U7y1BK52fTEY3rPI oz6w== X-Forwarded-Encrypted: i=1; AJvYcCUZ6yPZ1PlhpWWN2eVAUsy6Jiasv901jA7TC/s4ErJjiNJpWIDeVAK8i5fTfFlHFjGgkG1GPyLdhZW4InpL5VEd@lists.infradead.org, AJvYcCUhij2GKV8T8eljaIPRwmnMN+StplMLXI8YdWVM3t0OByudZR8U2WAxs6PCFwS7j/lssnHW3nhrVdOv+nxUFkA=@lists.infradead.org, AJvYcCVvjPZLzMDIkgIXRStPS/0Wi2+vhxWRgPiqHA4i866ymTagyrE+E5nVEwzantbgJy9Z+x7HQtTnnyde@lists.infradead.org X-Gm-Message-State: AOJu0YylgUJ1pP0uLPxOSAs6j6nmx7Yk84xSiTCtHsBnNfEmI5G04WpE +NNLwh4b8ezTO/EN4KGfhuKX6ymrFXa6F7d9xTdPyAnAVOH9MCt8 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_144904_713789_8CA6299C X-CRM114-Status: UNSURE ( 9.75 ) 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 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: 13829308 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 60877CEE356 for ; Wed, 9 Oct 2024 21:57:13 +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=omks9Q4h4Sk44JoHLzJxf+QUQKqJEvhZ1YL1d9UMfmc=; b=sZM5qjgnAMqTVsf9/cKhdkXDcL WIxOEIZhRRbMLKlAXT4517iu87W9Xt9iahlVtnOkcs+mQVQVgzb3fKTMmUeSALFss99NX+3cHUVOZ JTQSiiqq6Ofmt3SLth010ZeKmJIPYIZU/4u6zDJMr/KBc5uzTK7XW2pJNVecYbwkxW2z8nc3KliKv nm2wEm9RoZ7qaMEUn4QQr6iHKCEO5JeGDylK+UpNC1g4mWhgL99foIYvCTIY8Pe0GKNb+OkO0HkK0 cleGLiod5eOumsk8QuMjG9wZ1UnVrsuZPZYe+s9OLMJ5kz4i3WSqLVwXynecxTIS4YEVSK8NQc03K UEMe50zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syeg3-0000000Arbq-0lUL; Wed, 09 Oct 2024 21:57:03 +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 1syeYN-0000000Apv4-3Irh; Wed, 09 Oct 2024 21:49:09 +0000 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-7e9ad969a4fso154601a12.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=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=omks9Q4h4Sk44JoHLzJxf+QUQKqJEvhZ1YL1d9UMfmc=; b=G+1bojzFXYf7QyVhXK6Yv2a3DH9sAyiEuhzYqGXk6mPtgOhZXFz9ryB365sYBme9+B UOAqg/zDLvRsqbOptTZuQPImufUWMhCoE10fJ+0y7Fe28stzVgj61DugDybFxs7EHkhw 9uo0vojUCei5YoS+rhTVhy+i4YqRc7RuYbutoDICVAq3Vk+utqBHp3sjLz3okNj470qV Z14N6RfFIriRGFjDx4c5C/dmGHCRC2PnQWNyIYH7sxvMY+pvF9PM3swO0zkhCE7/jJo+ V1O5R2URtaGxj23sN6jTgYfFjJ5+Mv6mU8wabBS9O0wNycvKuknt32kccrZc1okZkbTY WD/A== 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=WDMC5bbdDlo/NX4/5vGiL405zFXqdtoR6JKvODVdKn4nSi76BDkY8mMzZxuYIgvrAo ois5K//c5J0TCeSPFNePUX2SpcvDhSJ6eOplnFWdC5ggzfKCCYTPr7moZy6F1o4iqGV2 C4e9RkYYQFAoTc1vTPpVVqoT9GHGVTnKWCEE2Qlnmd7W1KuDIMBkIjAE6Ge29QKhELlU IYXYhq0n0DoSYlvlWpXVcMOfz4NtsIvbN8OJ2UZkbZdRfcApeoU2zeYIhY5ICiahqJW5 m3PYvXZH9xdOYePxSxHM5J7uWQqiGpYJwW+VzbhIgEzhAQ7lKcrY3ZAX0Ei+4aO9XxLt 9u9w== X-Forwarded-Encrypted: i=1; AJvYcCUowtS8Q1N1UfYXwhXMUz6t9iPxRaQC1Sl+1q27IdmZItuXglCB5f5DnPmegHKuJGgMXP6RPaR8U0po@lists.infradead.org, AJvYcCUp3Gp+Z2fF+FE53b2D62uU7ESa94ccVU12zTKEUutmvdxXxZmtPwcCrPp7cL3HK2Y/+GMdPgYFVSdU2LOBqmI=@lists.infradead.org, AJvYcCVJ+IUJPhb7lpVVWKovSDrBdHB0RaR0o4MPZcwOrmiSknFslbI2l2BR0r594m5U0iLb4L+n+6/BaEtasOWD6M+0@lists.infradead.org X-Gm-Message-State: AOJu0YyCThy9GqiCo6obkArJsvAoOYVI4c/qHkj+HRjUo12rsHwNlIyu BEAzDwvkAbiWIGl8mZDhhM3CN9IR3mDjOMPpbsP/gEICY46Zt4vX 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_144907_848935_6504424B X-CRM114-Status: GOOD ( 11.23 ) 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 | 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>; + }; }; };