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