From patchwork Fri Oct 4 00:00:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1992567 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=zU30ybQl; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=MwO6U/xB; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKTHK3wNbz1xv1 for ; Fri, 4 Oct 2024 10:01:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K3rsogE0wpR9j/bQPejoiO4PSp2VU4t9p7l073XxJdI=; b=zU30ybQlKcc6+5 7ArdjS6HchdL4d0Ee83lGuqn5vLwn140U97pbiF580wzgd2p91A+p4WP0yaoISE8mmpbPHnltUG1h fNGsgmogojO+4zSpmB5Ap03mKodw7y22LFlnHxXmxaCbp+JB00jn+FYTl4EFIdWckCUxs3BGtFufl T1h7mnIzyAx1pgU9CO7o2uDovadX6tz/uV6tW78vRgHG/+oFEY95A3mcHF/tSfmlHK/Klm8hkJbMO SEDM+/4ScTQDDmYoBu/3VJGYkYL3l8F5MuvgnMqBBL/Xsu6ENFq3MWcd9jJCEN0a7oca0kJaPkBBm RmOgbfGpGQWy5FqR9/Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVlM-0000000AgmU-1wzR; Fri, 04 Oct 2024 00:01:40 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVk7-0000000AgRh-0nNb; Fri, 04 Oct 2024 00:00:24 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-71dba8b05cbso1557595b3a.3; Thu, 03 Oct 2024 17:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000022; x=1728604822; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DckmO3GetrEG9p87L1DNtWdqDrBGlrP6K5aSd93K3po=; b=MwO6U/xBNc/vGI8+MBt+ygR4imCyJ9WP+HQf3pajGO0+ceizysnd0ypMqsti7kP+JY /eij7rbrt7PjXYUObHEGg2gBoRx4u+iCI2i9a+akZXlm3wwaKYFwipG9vaxV55TPb81x kagDoCriLFdFAyWRpNPYQTY9QQlKvIS/K4biAXxxJ4zVih0o00jgzWMrRcOIqNkrd3jl H4IQzcuZxi7hI7F2CumRqkyjWBQY4DQrHFlRBl5YVGb+pOZBSfTSQBXZejCCRTshCKK+ iK1Z6LJgS1Ts7WSXWb2HYWaMLV856rkiZCr6Aoqf3gEpBgx7AwBfYIt17b/01YwHd0hG s0QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000022; x=1728604822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DckmO3GetrEG9p87L1DNtWdqDrBGlrP6K5aSd93K3po=; b=LbGnqvLJUsG8J8lJyApIx5xuwtWy+E7DAz8dVhAjxHh0SxsnGT+UBzSsd9dQyfm3q3 1czRKRn6YXAIm0PU1M1JYRv/ZSM4pT4EEaqhcpQ3BHgZZt/rl2T0cuuCirfiOA7oSCcv VHWGqWrS0V51cM/sJFlTgJH5MvaUXanjMlFnTJeV3OqkHVGj9qPFNF1GGHNqV3nDg1gZ P26jwsuYWK46bXvK+2LjhL6/RasAU4/AR3XPQLZHOhSd9DCz2R1gZa9cDJwfJUEhvmIM XPWZbaQcVXdVGaPlnmIusPY3NNPkYQW96KSMj7biKGn5Qe2jV5gvlOKBAEod+DlFywma lLiw== X-Forwarded-Encrypted: i=1; AJvYcCUhjhQa2Y7piGFRGzrL6vniB8Z3m9q0hSsYz/jnDogLvKkb5ooyJKy1A7YXy4m61zTo4sL5Ew5g71eMQl4x9aZe@lists.infradead.org, AJvYcCVN9hfOp2TW+x2yce6fDZwOG0Pb5HwOWUyfKcYJozlGINQddMNpc8kFl9RiBm95fFvtqAoHh5gq7WYU@lists.infradead.org, AJvYcCWoHUCdr81lndNtOVbM2HMuU7UTf56fQbCtGGUUC+Rfh/36xR9nDo4N/XL+pm1agjf178DcNYfm90EwfHcqESc=@lists.infradead.org X-Gm-Message-State: AOJu0Yzufd56dnZj5/DcdIIABZuHup4nfEqqzbn7ZwkEn2VzICNw1RpR zqNbvfsLdtE8eKG4r5fGedwAqqMTf4cWGDWIxLE3BSIWUWnmajth X-Google-Smtp-Source: AGHT+IHm2GUKSAgOZ/HpAD61qlTLptSCf6b1ehUZaaZSY4WZ55Ktmo+s9wq0ZVPPshsAPAeA01XKkw== X-Received: by 2002:a05:6a21:1583:b0:1d3:2923:e37 with SMTP id adf61e73a8af0-1d6dfa42fc5mr1511911637.30.1728000022072; Thu, 03 Oct 2024 17:00:22 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9cb0b28sm1983047b3a.0.2024.10.03.17.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:21 -0700 (PDT) From: Rosen Penev To: devicetree@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Matthias Brugger , AngeloGioacchino Del Regno , Rosen Penev , Manivannan Sadhasivam , Christian Marangi , linux-mtd@lists.infradead.org (open list:MEMORY TECHNOLOGY DEVICES (MTD)), linux-kernel@vger.kernel.org (open list), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING LIST), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv2 1/5] ARM: dts: qcom: ipq4019: use nvmem-layout Date: Thu, 3 Oct 2024 17:00:11 -0700 Message-ID: <20241004000015.544297-2-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241004000015.544297-1-rosenp@gmail.com> References: <20241004000015.544297-1-rosenp@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_170023_243707_F936E384 X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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(-) Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:435 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org nvmem-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- .../boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi index 0d23c03fae33..a6d4390efa7c 100644 --- a/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dtsi @@ -166,16 +166,19 @@ partition@170000 { label = "ART"; reg = <0x00170000 0x00010000>; read-only; - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; - precal_art_1000: precal@1000 { - reg = <0x1000 0x2f20>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + precal_art_1000: precal@1000 { + reg = <0x1000 0x2f20>; + }; - precal_art_5000: precal@5000 { - reg = <0x5000 0x2f20>; + precal_art_5000: precal@5000 { + reg = <0x5000 0x2f20>; + }; }; }; From patchwork Fri Oct 4 00:00:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1992569 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=KFS37xDy; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TeuJNHK+; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKTJp63wjz1xv1 for ; Fri, 4 Oct 2024 10:03:06 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ip0+9JqT2v0kA8JWM6fM0irmBJ8B/2sGJwhHEq1DT78=; b=KFS37xDyLRCWT/ esqThm39KHJ+R+tLWQy7GOzh9KSPrKYtOmZAP4cJy3RPISFwzOxaOqeUpcmHWH6hCYJuVO38sYy36 0TRAjI0zg+HpcUMH8fNhPU3pp77IJ/TvkUeM5OhTo6nQ04/ciP5Ot6CDioIdgREqgGvS+OZ2tArRi hiptNHCuRIFI7D0ABFBWezysbxnJcCmxcJvf8F+gseSrt47h8Ob8zy/wZBmkOFamzX5U1jHhADGo4 nn41rseeXxXbd9f/GocesKohoiJzi7I/Bdb1jaBWztB03EYUHu7af474FQIswTDDfJY1lOI1k0hwc 21AhiUileKbXejt7Fjww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVmb-0000000AhAq-22k6; Fri, 04 Oct 2024 00:02:57 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVk9-0000000AgSL-3rEw; Fri, 04 Oct 2024 00:00:27 +0000 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7163489149eso1249097a12.1; Thu, 03 Oct 2024 17:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000025; x=1728604825; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GhcJclvvKlTVpqudlmq/F4CEOdWcM7OU7+3pakydX7w=; b=TeuJNHK+Y1yBrCSqKjPM7Y02vw8Jxo4yaMhVjeI2mD2VfkSKganPd+5wuCcuUWiv1G I8bXLOuEPL0KN7Zykrl4VJ1gMDGct6HkKeLYjw7hTIPG4uILoub+zDfIOs2lRJU1T9Xl QpK3hoRcsMVdUCmfIjyoNQcEsExHZCYRXRTRpify9Rn78A0j9AweApqarqjj27VI4Mfe eboAFtw37MFBxteAkTXMTLwLKYz3Vc9Cf0ANF59rTRTnvu5lOP/t2OjiFD1NjiL8aQ0s qcxfgdSJf2/VJ+SCMbjqPhOU6dgGKpDCqBJnDOBJ0gBsGCZr9w2qXndtBHl+Xooi823r J9+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000025; x=1728604825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GhcJclvvKlTVpqudlmq/F4CEOdWcM7OU7+3pakydX7w=; b=VaSfIKh/+A6RnlhxJ5fePbxyyf17RgsDRWzh8ftCKZfltoI+h3Ofy7MMtoNm6pY0rR yLLsL+R9XRWD+w7mcHNFOoHcDDTRYioSErfF9/U4e+JlLy2BnUMM8emPISuPoTiyUFCD IUSn4TmmNeYr6fDkYZ5r8VgkkNKKAE5iNvgRH+Mm6gaiQ2T11khxqTN/Nmpr15DoZBB3 FL3mhmSJV+5sIQimxW9PtV/70eN+t5bfDvrnQNTBHtNvEHVpSOxugbBZ2QYCTOeRM6Wn X7rJeIQ1sQXvHtyMO57GVtGohzKTp/K23DKXTh+sJkLcDd6SfBWQkwdf83LDaZ3U/Pgh bO2g== X-Forwarded-Encrypted: i=1; AJvYcCUqEc8fYnYzHbWhnyaK2PRbxrd3eD8FF0YPHQ1ZqhpveBh/bi2OooMBptSxTdRfomBTcIz6oYNhs91EgHq8lvg=@lists.infradead.org, AJvYcCVBXF9OS1SGq9Sn1XrLQEPnD87Wjs7sMX7p1uapjBMLwXKdu4nWUGtUApuBmjeUm8E9UHaOR61No2oH@lists.infradead.org, AJvYcCWeKYMoFkjLGmmk3wZ3/KzCq3Ddn1JgSJPa8I1VWEDM/ofBwRRzEQh17qCxuOYpMYXRFnZcwRSstJa732mgj2ii@lists.infradead.org X-Gm-Message-State: AOJu0YzXCENpH+DvhGozdFo/cq6MSGprPN7Mreew/A9qEmI8LCNs9M+T tIJJ8rDMluFy7c/bWYt1hql+PmjPU/M9yPAlEcIa+Jfd21cVKJuD X-Google-Smtp-Source: AGHT+IHbZK38QJEukAZze8yEUquD9ve9JqDKgnu6Dg13ZkyRXwdNWpeQg7DPqKeFH5zR6BU/2QG0kw== X-Received: by 2002:a05:6a21:10b:b0:1d3:292a:2f7c with SMTP id adf61e73a8af0-1d6dfae2978mr1585071637.49.1728000024877; Thu, 03 Oct 2024 17:00:24 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9cb0b28sm1983047b3a.0.2024.10.03.17.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:24 -0700 (PDT) From: Rosen Penev To: devicetree@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Matthias Brugger , AngeloGioacchino Del Regno , Rosen Penev , Manivannan Sadhasivam , Christian Marangi , linux-mtd@lists.infradead.org (open list:MEMORY TECHNOLOGY DEVICES (MTD)), linux-kernel@vger.kernel.org (open list), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING LIST), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv2 2/5] arm64: dts: bcm4908: nvmem-layout conversion Date: Thu, 3 Oct 2024 17:00:12 -0700 Message-ID: <20241004000015.544297-3-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241004000015.544297-1-rosenp@gmail.com> References: <20241004000015.544297-1-rosenp@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_170025_964690_257C8C64 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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(-) Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:52f listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org nvmem-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- .../dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts index 999d93730240..df47fc75fa3a 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts @@ -144,16 +144,18 @@ partitions { #size-cells = <1>; partition@0 { - compatible = "nvmem-cells"; label = "cferom"; reg = <0x0 0x100000>; - - #address-cells = <1>; - #size-cells = <1>; ranges = <0 0x0 0x100000>; - base_mac_addr: mac@106a0 { - reg = <0x106a0 0x6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + base_mac_addr: mac@106a0 { + reg = <0x106a0 0x6>; + }; }; }; From patchwork Fri Oct 4 00:00:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1992570 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=eYj1qCjq; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=IIDofYrG; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKTLJ1qwvz1xv1 for ; Fri, 4 Oct 2024 10:04:24 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EAMFZAMtDZIsrPTQrR1zI86lvz+AveMAhS6htI2CWrs=; b=eYj1qCjq/zoYdx Q3w/5Hzu5YZ7bmePkW6C2xOo1B1pJX7WJtErFJpoK5zq1NZxADswWRjdWDDXCmF7eGb8D5+5jygMM fvDsFhqzRzz7H6UIlvlOX5xDWdhc3lddDLnHBHGW5OhpNDPnkRNCaRaJNe7/fZzTAXg2ZXD6Zf7XN ct7Oe6mgyysoXoZnnf5c0TjJM3U2BmWheO3PzAS3hI3kju4gboVcH+o3ICO6RqQ21BqkjLFwtI39m 28hXmaSSLnt0YfFFZzcgWOCtvzBOa/7S6KcxytBz3zn0tCCQa8+MR2lpD4I8in1W0LyYtDRZtScsm g9eTq27yxSXX5leSFtdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVnr-0000000AhVf-0C1Y; Fri, 04 Oct 2024 00:04:15 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVkC-0000000AgT2-3BaQ; Fri, 04 Oct 2024 00:00:30 +0000 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-718d606726cso1206046b3a.3; Thu, 03 Oct 2024 17:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000027; x=1728604827; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YsYC/7Jtn0r0x1yjqgQrRZfLX27SForPWBD0tqCYg8o=; b=IIDofYrGJM9gE+V4ELHm3Ybln5vQebByZgL6hdF6IzESztrYboxUq0n+XTz/dfIsgE 5cw1OWBWeMSf6041GcJZQGN5Ld1qoQvCvsIKjcLKKbXIRM0Accgtajlkx1kmsLatklfT cmActUMaSv4j7FQSROwFh3KcBtQgKKtzCRnlxlx1CIjGwq9RKjp8b4FojET+DfMcJOMB MkxXt7GKSFXTWF6+tB2HNgYHLYQl4//5QVVvTQ3gyqQx1c50AkZ5FVqJkuS0I+hA+Fva Yr4s0cjcCvFld90hafuXMxxdRJ7kNy/eVwSlauMIKVI8jIy41+oKhuFCNw3MhLNtUGEj sG/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000027; x=1728604827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YsYC/7Jtn0r0x1yjqgQrRZfLX27SForPWBD0tqCYg8o=; b=tdK5Sgq/q3Rjx0ZhYfMqRecYwbhIrkQ/7JEbC728Fegjsg7hSjoDvaTXxch/fDH1Iy 6/XOfuvB4mmz8kg694wHdWJ5w6M48DPkno9o7GWY0GhCSHx4QWx/OZLRcWNOBF8d68vR v0ZmGV+mLIc0laXdTAcVXbxgtVOokcpYIFTNO2SPU8bsANoQGXueVUsy2chN29eVRuIE AFAEyUsOY4nwzZd7R7jb8Wd2r+eRt8On0YzdcxcHHZnbLzUoPp7a54xL9tj45lAIbb+i mzLDTEqFogaN06SOncrdu8XjO13iS/yQQI1Fkc1J5yFn61H/VEXM95khTIHkU9q8Rf4C pnAA== X-Forwarded-Encrypted: i=1; AJvYcCVHZGzsqLDYNC/JZJIbWsHloEdvBaMe2b57VHcCYcG0f7TnwKpl65HV4KnMFbaalz3FgiM8Mil83sPRucD/jjs=@lists.infradead.org, AJvYcCVYK0YkeUoR2gcbX+AXf/XPyy+cn31GthEB49Ddh2+s5oNo9Mv+LnXzW+Zh5IiN4gPU0ZjvGI9zIzps@lists.infradead.org, AJvYcCWIV8fDQwps2yJpTpiif8WaPpo0/c8diCEc0OoNz3Jkc6Rtx2WwIjmpD534ME65ipzM2izQ+CNPIvNYQ/GpIqg0@lists.infradead.org X-Gm-Message-State: AOJu0Yyh3ex1/zTz3SPHkzQWqXNpYRSGdVY4ge//cFLvRkkn/o8gsbGe h/GFkam9/bMBiUstT+kgz5uHL1GOBpjP7RiVe8DFnzhcqpOtD0Nn X-Google-Smtp-Source: AGHT+IFirYSitUaPcXPvdVFW+sI34fhLOYlzJmIShM+NEy17p4CN90ldDLXW0bq76BW0YT7QsOaESQ== X-Received: by 2002:a05:6a00:3cc4:b0:714:2d05:60df with SMTP id d2e1a72fcca58-71de23e8e50mr1190663b3a.15.1728000027633; Thu, 03 Oct 2024 17:00:27 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9cb0b28sm1983047b3a.0.2024.10.03.17.00.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:27 -0700 (PDT) From: Rosen Penev To: devicetree@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Matthias Brugger , AngeloGioacchino Del Regno , Rosen Penev , Manivannan Sadhasivam , Christian Marangi , linux-mtd@lists.infradead.org (open list:MEMORY TECHNOLOGY DEVICES (MTD)), linux-kernel@vger.kernel.org (open list), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING LIST), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv2 3/5] arm64: dts: armada-3720-gl-mv1000: use nvmem-layout Date: Thu, 3 Oct 2024 17:00:13 -0700 Message-ID: <20241004000015.544297-4-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241004000015.544297-1-rosenp@gmail.com> References: <20241004000015.544297-1-rosenp@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_170028_805546_E6CFC335 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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(-) Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:42f listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org nvmem-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- .../dts/marvell/armada-3720-gl-mv1000.dts | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts index 56930f2ce481..7b801b60862d 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts @@ -98,10 +98,24 @@ partition@f0000 { reg = <0xf0000 0x8000>; }; - factory: partition@f8000 { + partition@f8000 { label = "factory"; reg = <0xf8000 0x8000>; read-only; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_0: macaddr@0 { + reg = <0x0 0x6>; + }; + + macaddr_factory_6: macaddr@6 { + reg = <0x6 0x6>; + }; + }; }; partition@100000 { @@ -221,17 +235,3 @@ fixed-link { full-duplex; }; }; - -&factory { - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; - - macaddr_factory_0: macaddr@0 { - reg = <0x0 0x6>; - }; - - macaddr_factory_6: macaddr@6 { - reg = <0x6 0x6>; - }; -}; From patchwork Fri Oct 4 00:00:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1992571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=nAtCc8G4; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=WByDlW75; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKTMm1yl1z1xsn for ; Fri, 4 Oct 2024 10:05:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GDCoECyHKv9SOyqtbw5fneL4wMrpxykl0zkchVhuQTQ=; b=nAtCc8G4pGDyg7 V/RPPKmlT9I1GN7lFuvSBfT4g04p1wsCek0elAVZzAjSSXSG3WOWLdKYrIHmU8VxZKU2E2i7k8ahZ SafRtXyZYfMEzxwVJhoVIssWUdmcOpSRqSsLlJyibKNYwa7zNvbDyxa/0/iswsknS75LK6HUcgGk9 n7Ju8pmoXh6+QEWY1TU0VrMNaEXrQZh3/Qglyujzuc/KiqbJ5m6IdKbtMkwDCsUBsaAAv54kFdsxJ 7KUTKoAqfqcCLcp/Uaf+ufG/uUOh9sUWb9HU0uw+dlyx/0LeqluazUG91cSV75t0YC8TBxEKy+R2w bm7HUrc8P4o8Ik8+usOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVp5-0000000AhlT-09FB; Fri, 04 Oct 2024 00:05:31 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVkF-0000000AgTj-1nXb; Fri, 04 Oct 2024 00:00:33 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-71dd92e3718so1179303b3a.3; Thu, 03 Oct 2024 17:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000030; x=1728604830; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3pFqfOh1/PbuJMZ1ovEQo0qGXsKUQzTf4DVIM+oOnHQ=; b=WByDlW75znar4lK4MFzDouDYsrzKkBmRb5fXvuqEEOwCsXm52tsEQhkUk9VtDtFTSA 4geJfVnvPCdqhApmP4/EH7biCuEY021jnlliPzpbDEZ1U6JET9GfUwJs88JvJMKim1u9 Ms7JKq/GWnn9igN6iiRRWyQjxkUklAsESY74QsuZebPZlSfK+Vvsg7J6iS+X6xXILCmC G0w18iGQAfxyRqGHGQ6DaWeeGTnN8FVtf1Mx7DOTkAV8BSOlu4MwjIg6lDabzeK6eu3k L3Pis/CEc9Ugq+Q6Fas0soRAfqdS45XdzEIdm32SbMV8W1zG2ZeAvzMbhP+SVwQo+RmL tjZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000030; x=1728604830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3pFqfOh1/PbuJMZ1ovEQo0qGXsKUQzTf4DVIM+oOnHQ=; b=weZ831w9bbSrzF+NVEOsdjQoQzQMnsZSgCUB+7mP+YiR9DPNBIXrh8jgv4z1tlYno0 r3PGgoRtyveq01zmf8h22F6UIV3aQK0wiTU4+nNPf/QYAkAJq48PVxI3ep4IHSnIxTSo kOAAYFlVuZq+eh9YUUSdLLB9VrL4zPUhCV7kbKzJ7lSotjFC+inAAVUP31m01zGSP4q/ pHM0G7AL0gtHJ0kvn5muI9pYCeBGlgJwBUDzfVKm7OoQrKB/4b3ecqcEA5g5TD5pQzdO eD2x6HUXxts6iCbnaZML9D9pHhWGuE1iTB29Dzixbw03LlX1ID+H+kHf6f2yq0Vxc3a9 OlIg== X-Forwarded-Encrypted: i=1; AJvYcCWdjn6lRAKyLRgUk9DVtri8+JLtv7yL9E26kqxMzFlnoDV0pySENrVOnNv8rtpwulkEpFBMtUh+fnzQh++pxskm@lists.infradead.org, AJvYcCWpq9xfKTT3+zfs8s12OsYYevVczlOJ3HtIudjWkKuBuWPSaq+TPXOfS+YnjDHqP8lVZjPrlAdZelzAoaHwE0I=@lists.infradead.org, AJvYcCWqeBq6GRFGpSkY5w5OEOyiKf+/uR36qjk9m572pd0mcSfE7UYj0+1kCGNv66VVsoumcld4n/xiXOda@lists.infradead.org X-Gm-Message-State: AOJu0Yw5hU+UcSTUSrvgism6aV1mCe/kOwhSRw+aWNJOBG29G+9St0MF mcDjGMbLsvEdmcVbBgpqqN20BKRMJOctLi0+QrAFWWTjCMyBqQcr X-Google-Smtp-Source: AGHT+IGQKNnEzQ8aL7h/Dh0IMEqkbtSWju+f0UHNIlA9oFQ5gkLCt2cqEgTO8XLsflQWB7i7x/N04A== X-Received: by 2002:a05:6a20:db0a:b0:1ce:d9a2:66ed with SMTP id adf61e73a8af0-1d6dfaeef4fmr1477126637.48.1728000030448; Thu, 03 Oct 2024 17:00:30 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9cb0b28sm1983047b3a.0.2024.10.03.17.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:30 -0700 (PDT) From: Rosen Penev To: devicetree@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Matthias Brugger , AngeloGioacchino Del Regno , Rosen Penev , Manivannan Sadhasivam , Christian Marangi , linux-mtd@lists.infradead.org (open list:MEMORY TECHNOLOGY DEVICES (MTD)), linux-kernel@vger.kernel.org (open list), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING LIST), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv2 4/5] arm64: dts: mediatek: 7886cax: use nvmem-layout Date: Thu, 3 Oct 2024 17:00:14 -0700 Message-ID: <20241004000015.544297-5-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241004000015.544297-1-rosenp@gmail.com> References: <20241004000015.544297-1-rosenp@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_170031_480385_1EF258A9 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:431 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org nvmem-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev --- arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts b/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts index 08b3b0827436..9a6625d8660f 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986a-acelink-ew-7886cax.dts @@ -121,7 +121,6 @@ partition@100000 { }; partition@180000 { - compatible = "nvmem-cells"; reg = <0x180000 0x200000>; label = "factory"; read-only; From patchwork Fri Oct 4 00:00:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1992572 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=YOUXH0cE; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=kJiZNYGW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKTPD1yKHz1xsn for ; Fri, 4 Oct 2024 10:06:56 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+VqJDjRIn7i5DguSwoKZ56poxmFnp0Ojy9IizxouDAY=; b=YOUXH0cEXJGVtc m3gEdWAHT33HR5AgOyvXfdmOPBA0txyex0swEfIuH3Ighc3qTZB84KAj78pK+fk0dCyt7QrwLLya7 6d2eAgWAnW9I39UzzcnGpOHGTxwJHg60XrdsmShqDSJluAbMBSieFGR2r3LBDEB7b6clZlsH9FzY2 aimk49d1UwaRaW0eiLrsGHhL0QyioT9SzG6P4kKQtYvIOiFJFqUh0l4mzay7BJPXhQAo+Jmws1PEE AsVPr5G0lIL1nAuauF+MYSWgXC3QH6CTdYXxsTPG+Z0NW3O9dAc5RLg0SrO78BorvCAZe+ZoZWPhY kHytveoQLmHMgAha4SpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swVqI-0000000AhyI-2gWm; Fri, 04 Oct 2024 00:06:46 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swVkI-0000000AgVL-1cNA; Fri, 04 Oct 2024 00:00:35 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-718d91eef2eso1143270b3a.1; Thu, 03 Oct 2024 17:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728000033; x=1728604833; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TPG7NWLbTV1K4yXh2AqTy27S5IzvT22XN7gfixbpbfM=; b=kJiZNYGWsAPcGwfGDWYfivnVsnOOZ99eClGEYzENNh8P0ChSRzdBmyHpLZBIvoo7h8 iquVJ0ySKg0KIol93faVOolLtT8N++j25mAmJfvoH+WcZ299x+xKLlfvTQMkeYxlJmUd e6Q+yeLMHWV8I0sSzn7Y4yUVLVaZzsyjsB1Hr7o7sfIMUQtCwgQehB4CuhxVKtpj4t45 M9oFeepVN1JoKMzy/hADbvF6OOZCGgabtXwWr6QeQQq2hb9UaF8q+LGGRmi1sCfQdBh5 Dk0ndaRtyny/t2LTkvC3P4uWdiRtE64j8jTndgmybZdAYH7AyUKFtTxvAfJ3AJQmR8I4 sfKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728000033; x=1728604833; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TPG7NWLbTV1K4yXh2AqTy27S5IzvT22XN7gfixbpbfM=; b=RWgrGaJNkppxZNAbudo89Jfoj0mAhrK+Isagsdco17OGnpbXsa3YJ5sI1StYNs4rG8 n3psbcMv4AYFdQo70arUy+2SiFK/8Y7MyGXgc0ToAw+zxYa6u1giUlaplcuyD0u9CYdz OwNjB7eDreuWtl5Avxs3iLUx0H987eQyoCPww/Bb4YN9+kUqrWbdqfchaDn+5stp001C DBvw6rnrlDJLB2+WOxdXilAahu8/YgHFGjNiTUJAenSd5ddO3ltOZl0AQdbWGzzravEb RLNBzY0PlB8lje6yNCJi2BXL12VmuRt0sRouH/VyRgYzhYopNz+3EX2bFL6N4D6lkfaS /Gnw== X-Forwarded-Encrypted: i=1; AJvYcCUTYnGdNRVKQqZGHtZDuwuQonk3ZNw3WvQE9Xo3Xw7AIVCQaCo2lqb+Sdx/YzBNBEHyiOZsnoGQADJ9OLQ25gs=@lists.infradead.org, AJvYcCV0YtB7liTPCkmGI17YmJ2fGGXGWXR4bpT/TFE2Qal8OE4tC736Uc0iTW3/fKzVg7nj810TiM9IiRBYaYhA/Cck@lists.infradead.org, AJvYcCVwN47qcwJEZucqB/8pxKgmOukJnC0e/YQXnVA2+Zw8SQk/FMjD7+yXti42lfWWbmcqbMM0wdSHPjUm@lists.infradead.org X-Gm-Message-State: AOJu0YxnTqBqInjuSf+IxdQvdjM4eAIDKl0WRqiXp0ws+RND7xtK7fm4 /FPjtsRefb8p9c72tfOcHXjnMmjYvZ1qd+4t+pKWcyUYEkkiRVg7 X-Google-Smtp-Source: AGHT+IFRpqusbyBChPGJdLDMkF4flvi5LdGXwNB5TEbIL5IvxwzIRTPeVbU6C3UfDDB2eSYpuaFaIQ== X-Received: by 2002:a05:6a00:238d:b0:717:92d8:ca5c with SMTP id d2e1a72fcca58-71dd5ae0c7dmr9336561b3a.3.1728000033244; Thu, 03 Oct 2024 17:00:33 -0700 (PDT) Received: from ryzen.lan ([2601:644:8200:dab8::a86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9cb0b28sm1983047b3a.0.2024.10.03.17.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 17:00:32 -0700 (PDT) From: Rosen Penev To: devicetree@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Matthias Brugger , AngeloGioacchino Del Regno , Rosen Penev , Manivannan Sadhasivam , Christian Marangi , linux-mtd@lists.infradead.org (open list:MEMORY TECHNOLOGY DEVICES (MTD)), linux-kernel@vger.kernel.org (open list), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING LIST), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCMBCA ARM ARCHITECTURE), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCHv2 5/5] documentation: use nvmem-layout in examples Date: Thu, 3 Oct 2024 17:00:15 -0700 Message-ID: <20241004000015.544297-6-rosenp@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241004000015.544297-1-rosenp@gmail.com> References: <20241004000015.544297-1-rosenp@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_170034_445320_5E94FAF2 X-CRM114-Status: GOOD ( 10.49 ) X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 deletio [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:430 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org nvmem-cells are deprecated and replaced with nvmem-layout. For these examples, replace. They're not relevant to the main point of the document anyway. Signed-off-by: Rosen Penev --- .../mtd/partitions/qcom,smem-part.yaml | 19 +++++++++++-------- .../bindings/net/marvell,aquantia.yaml | 13 ++++++++----- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml index 1c2b4e780ca9..8ae149534b23 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml @@ -45,17 +45,20 @@ examples: compatible = "qcom,smem-part"; partition-art { - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; label = "0:art"; - macaddr_art_0: macaddr@0 { - reg = <0x0 0x6>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_art_0: macaddr@0 { + reg = <0x0 0x6>; + }; - macaddr_art_6: macaddr@6 { - reg = <0x6 0x6>; + macaddr_art_6: macaddr@6 { + reg = <0x6 0x6>; + }; }; }; }; diff --git a/Documentation/devicetree/bindings/net/marvell,aquantia.yaml b/Documentation/devicetree/bindings/net/marvell,aquantia.yaml index 9854fab4c4db..5d118553228b 100644 --- a/Documentation/devicetree/bindings/net/marvell,aquantia.yaml +++ b/Documentation/devicetree/bindings/net/marvell,aquantia.yaml @@ -98,15 +98,18 @@ examples: /* ... */ partition@650000 { - compatible = "nvmem-cells"; label = "0:ethphyfw"; reg = <0x650000 0x80000>; read-only; - #address-cells = <1>; - #size-cells = <1>; - aqr_fw: aqr_fw@0 { - reg = <0x0 0x5f42a>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + aqr_fw: aqr_fw@0 { + reg = <0x0 0x5f42a>; + }; }; };