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>; + }; }; };