From patchwork Wed Oct 9 21:50:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Edwards X-Patchwork-Id: 13829310 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 49328CEE358 for ; Wed, 9 Oct 2024 21:59:55 +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=ytdNCpY3ywuE2VnDeLP5mnfyE1FOZ+8OMXSn6PncjqA=; b=l6DWlKo263egynhaRctip3RThW HQCA7OCXjg3RfnPk0Lw1ryQ4nA7Prv3TZ4kcK9GWJawXJH7ufS+VdTfLFOuzzs6DIubp/l1fwFoZD rjqk6NYFmKlSTfwhTjT+yHsZE9lFw+odSmFd8srqz9dnIxTuXLLU9goEp8v6WvohX2bAAG2P3syFT z5Q/H+pwx4bcdznvH37Wv+q5eAbcsRl+WbNJtSrf+0dOXmp59hKIEDgLIci1xK670pqobzqDYd8Oz PNYrx1Ui2Nd996ppQA2g+eWLnPn9H4Q4dt58+K2HyFkl1NODB06OGHKAJSDFXAK1uDhWr52NFkXhd H54MEDfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syeif-0000000As9N-0FRQ; Wed, 09 Oct 2024 21:59:45 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeaM-0000000AqVu-3e1x for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 21:51:12 +0000 Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-7e6cbf6cd1dso171437a12.3 for ; Wed, 09 Oct 2024 14:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510670; x=1729115470; 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=ytdNCpY3ywuE2VnDeLP5mnfyE1FOZ+8OMXSn6PncjqA=; b=edNoANB2Ey8MXRRdN/djpe/pfcmQVDhX+PKGLTDIbmF706Gp8/V1UWcwcSW/9CvUEZ ohWjQ3LLMYzN/UESz0PtLBYm3DnibrkbeLrPIHkn/XmAjdoWnkDVAX9peibRYXsyBEaR SgdCE044ItEH6lqDXnAdPJkPAu2Zs82uW/Cmm0tVHjf9E9oNWEmoWTQleGkGwjPM+v9+ /boKClQW19CHgJyhqr996i/Eh78IpeS/3n4DNsIS7NiC6a1GnXi9JAywjjUI1OS80mED PwmW1cJYSsGUtbiLgF6w6Bhu0FS6fUMjxXo1k11Lw/6ul4SwRncomDgR8TNYge5WzJ1F 4NTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510670; x=1729115470; 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=ytdNCpY3ywuE2VnDeLP5mnfyE1FOZ+8OMXSn6PncjqA=; b=RcHl8NH4C1Ue9lFtPecqGnWeWVNEbxDNu8/2VZB7OCX2V/LW1wgAymFrz95wVaS2Mp tBORz3HoIiYwibTE1PSmhLna9stiXny0U/4xUouyE8zHA4bXyja9h+2r3D+SCV5GSAXR UTF+U3qv1ZZr3SeuRk9uQTxlkg0Ke36IaRPeZxWrampU811feyPKeP4sCo2ZrGSZktyC MY7Z48r4EeDy17jexMQydN2vc80LVgWQ5X2hVejwc9scheaXIkldPF1o/BbmCBBr4Mxi MKgaFgEdbk3TO22eoXtO0dv2Thk1TgEkI58DJC+0LO0caOLjnOkuE6NCAZIitdVxFLv+ UYXA== X-Forwarded-Encrypted: i=1; AJvYcCUn1Qi/txybvQHkQIfLAc6tdzHDXG+lsKZR939UJ4Sku/5tJIYq1bA4Y1L1U16DPKB5nAKskqRwW6Jpo6mgcXPe@lists.infradead.org X-Gm-Message-State: AOJu0YyANifS8qI3+uBid+MFpJ6dpOw8HJBBYPXQu0yi46aGePAVui5R tGbUJp3Q5LWtXzo66LWNYYS+XjhvCNmoHgTESc/lNFq2ynZEdWzE X-Google-Smtp-Source: AGHT+IGAb8YE10SWaJg6VOPcMZnsWnq/ERhnLIaiMtgIwviert0u7YtGlBsmxO3ymE0702ihsbZdrQ== X-Received: by 2002:a05:6a21:6b0a:b0:1cf:359b:1a3e with SMTP id adf61e73a8af0-1d8ad83cd67mr2252199637.32.1728510670257; Wed, 09 Oct 2024 14:51:10 -0700 (PDT) Received: from luna.turtle.lan ([2601:1c2:c184:dc00::315]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f6833a95sm7651847a12.52.2024.10.09.14.51.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:51:09 -0700 (PDT) From: Sam Edwards X-Google-Original-From: Sam Edwards To: Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , William Zhang , Anand Gore , Kursad Oney Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Broadcom internal kernel review list , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sam Edwards Subject: [PATCH 1/3] dt-bindings: mtd: Relax BCM4908 partition schema Date: Wed, 9 Oct 2024 14:50:44 -0700 Message-ID: <20241009215046.1449389-2-CFSworks@gmail.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20241009215046.1449389-1-CFSworks@gmail.com> References: <20241009215046.1449389-1-CFSworks@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_145110_954270_24EB59DA X-CRM114-Status: GOOD ( 13.15 ) 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 The BCM4908 partition "parser" is really just a fixed partitions table, with a special partition compatible (`brcm,bcm4908-firmware`) that automatically labels the partition as "firmware" or "backup" depending on what CFE is communicating as the selected active partition. The bcm4908-partitions schema is currently too restrictive, requiring that all child nodes use this special compatible or none at all. This not only contracits what is allowed by the "parser" but also causes warnings for an existing file ("bcm4908-asus-gt-ac5300.dts"). Modify the schema to be strict only for child partitions that use the -firmware compatible. Also update the child name regex to agree with fixed-partitions, so that these differences apply consistently. Signed-off-by: Sam Edwards --- .../mtd/partitions/brcm,bcm4908-partitions.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml b/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml index 94f0742b375c..aed37922a5fc 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml @@ -30,12 +30,17 @@ properties: enum: [ 1, 2 ] patternProperties: - "^partition@[0-9a-f]+$": - $ref: partition.yaml# - properties: - compatible: - const: brcm,bcm4908-firmware - unevaluatedProperties: false + "^partition(-.+|@[0-9a-f]+)$": + type: object + if: + properties: + compatible: + const: brcm,bcm4908-firmware + then: + $ref: partition.yaml# + properties: + compatible: true + unevaluatedProperties: false required: - "#address-cells" From patchwork Wed Oct 9 21:50:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Edwards X-Patchwork-Id: 13829311 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 CA0CFCEE357 for ; Wed, 9 Oct 2024 22:01:16 +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=w/C0CgZTEJhSuNYzvbdQeNWumuAuuIpwzCV8FmhMBfQ=; b=sqY30KUiuBMxgfUQR2op3r5Dqq F/X77+EQQwtkAZiTZoQL8k58CtOyn5eiD2aaEoCZNuGqeZFSbtN69g6r3gMEzN5vzvxkPzbA+qnoH U+ZR6DKQRZy02akehcqmtrovTMH9D6VYPfXDQvWKeWq0pHIS46PxXljzuzBWGjSuN0pIu1HsZXbB4 o1nlCMMduqe42feQipiqGi8A+F80eZdSrX5tD2Mb1UUBzc9lNiK09Wx5BrDkDydkJMxL/AHnLcFim yrUCibC6L9eMT/SqoiIN3KeDOSSTHRmsqMLYLWMmottff9poVvfW6pa6etPvKG00OIkfcyPEug62W fvvNb8kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syejz-0000000AsKz-3kYE; Wed, 09 Oct 2024 22:01:07 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeaO-0000000AqWP-2bjc for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 21:51:13 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7e9fdad5af8so160341a12.3 for ; Wed, 09 Oct 2024 14:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510671; x=1729115471; 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=w/C0CgZTEJhSuNYzvbdQeNWumuAuuIpwzCV8FmhMBfQ=; b=P9mBS0LNIqCWSCB48izOB2qQVB7gwrQuo3g2jyvtZZ81+MNn9kTuLt8ZUfO1nf6anJ Pgs1Q+DLu5UduOU4Zuhd59SdPY897LDHS3UVvK++t7KaYg5Q6y/SPDSF7QDUP7E1BnHY hZybrk0AGu48oFxLCyEpT9X4HuO0R+GhGFHPeL/RvMS1vavRDh6oz/jLyJBZbHL8+jOy rSFobnQVulncntF0hJagq5VJBslMmHFLbReatiltaglk4aZUFWIzCOvkAyTD7OXH7sBJ 0KCrl0ME0sTJmoIwHBX3G62KLOjujvl3E+M/i0qwSeE+9xIvKWUAMA/ovbm0VtUmO57U yIUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510671; x=1729115471; 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=w/C0CgZTEJhSuNYzvbdQeNWumuAuuIpwzCV8FmhMBfQ=; b=MDWR6WNAnLcTS3UZ4ESs9VNrzM3n+Isc0BfjPTGPcIMfnsPiErPUogu/hMjTVIk1Dk WlYYRR7Pq0xdU4GKlPieLWi9U6GNdoXoqPQcJ/kC/vLYbnF8KLQL41/72G4wzOYH+Huy GGCuyBInDtaOVJ/zQjUlQznXLTSZtjlxC/XSZ8/FKfrXZ9APPRX3QnZSkQ7MMAVN4oBZ 3SY5EOKnv8bvdKFUBZ9t1kPEp6EIrbXXjy+jatBTCJUWfXC7ngs4VQ2OcJKDtbuLG6oU rxAWGpOmE4VNTnuGkAlGQrn047n0oAejGUcFQ/NJw/wW5G4nrQ+wqiZXW1g2Hd1fsggt 7UJQ== X-Forwarded-Encrypted: i=1; AJvYcCXaMsG3IM8FFeUtVn/LbzL0P9p/Dqq5P/P+T2tRO7mGAMyS3ugq5c116+qRHfVa1J3vnCZNW62OcCy7NMzoT6SQ@lists.infradead.org X-Gm-Message-State: AOJu0YxgjOHQwYVQDC272j24b8bHrB3sQWlCDoFXI3qseU4Jyht2/KTU 5Z/OMWrtOX7ICjg+3hdVRwBAciAuzeZBqpmvbZbhSD53LSw9IUoke5KB4JhyL80= X-Google-Smtp-Source: AGHT+IGtMH2k2lnk7wn24iMUNlbma/K9cYS39ZHsGCNlcQSd2U8eAqCmfGJhbRyIjqI6KfMytGDfQw== X-Received: by 2002:a05:6a21:6b0a:b0:1d8:ae90:c651 with SMTP id adf61e73a8af0-1d8ae90cc40mr1302204637.47.1728510671574; Wed, 09 Oct 2024 14:51:11 -0700 (PDT) Received: from luna.turtle.lan ([2601:1c2:c184:dc00::315]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f6833a95sm7651847a12.52.2024.10.09.14.51.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:51:10 -0700 (PDT) From: Sam Edwards X-Google-Original-From: Sam Edwards To: Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , William Zhang , Anand Gore , Kursad Oney Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Broadcom internal kernel review list , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sam Edwards Subject: [PATCH 2/3] arm64: dts: broadcom: bcmbca: bcm4908: Fix Asus GT-AC5300's cferom partition Date: Wed, 9 Oct 2024 14:50:45 -0700 Message-ID: <20241009215046.1449389-3-CFSworks@gmail.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20241009215046.1449389-1-CFSworks@gmail.com> References: <20241009215046.1449389-1-CFSworks@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_145112_688983_0560E50F X-CRM114-Status: GOOD ( 12.31 ) 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 Since the previous patch relaxed the BCM4908 partition DT rules, it is now possible to have `nvmem-cells` directly under a BCM4908-partitioned MTD. Make use of this in order to refer to the nvmem MAC address the "correct" way, and pass the DTB check, for Asus GT-AC5300. Signed-off-by: Sam Edwards --- .../dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts index 2a0d4ee3bd79..e4687176cffb 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts @@ -185,17 +185,15 @@ partitions { #size-cells = <1>; partition@0 { + compatible = "nvmem-cells"; label = "cferom"; reg = <0x0 0x100000>; - nvmem-layout { - compatible = "fixed-layout"; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <1>; + #size-cells = <1>; - base_mac_addr: mac@106a0 { - reg = <0x106a0 0x6>; - }; + base_mac_addr: mac@106a0 { + reg = <0x106a0 0x6>; }; }; From patchwork Wed Oct 9 21:50:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Edwards X-Patchwork-Id: 13829312 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 EDA02CEE357 for ; Wed, 9 Oct 2024 22:02:38 +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=sol3W8UFrRCovXlLUgHlM7OspHqVODPsgRHoBONpm0U=; b=4/aM4sqege2FsuSS+z9CxDSV3J K7kAxB/YuZpLcS1ttIq4/Ib/B7r0x5NtSQqiqmOwRUKXIvV881P4rq6xqkEfson+NW9EEcCfRTRXm Ag3Lz6CsnWpx+Noy8jswnrtM8rklMjnU8tRYImW74Irkl6bUiCV3VLflwykER5Xm/essK00szxSMn pieOxEao71vMO+3cQbp+mBQ/pWnAVNbB0OX3H7aSZW+1VF9OWWlMDLj0qIPfny6lp1zX8RLWaIfkG 09veWtEGVHJ39tclrlm538FD/8WBaebRVgQNgQ3PjZHQ/Qwc4cwZuZ2CG0ryv9UdO1+IvWW750Yzb WLvQ708Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syelI-0000000AsVP-237l; Wed, 09 Oct 2024 22:02:28 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syeaQ-0000000AqXB-046a for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 21:51:15 +0000 Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-7db54269325so194055a12.2 for ; Wed, 09 Oct 2024 14:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728510673; x=1729115473; 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=sol3W8UFrRCovXlLUgHlM7OspHqVODPsgRHoBONpm0U=; b=U208Xpha/1IayGs319zEjCli2n9VUr9LrrI6OIwp9Xph72kVW7eZEV2aOL5+A/Ap5j MwTSVBvhT0BjlL6YHCPe5mJd0jVTo/NQFO5QWI3Mw5Q7bhDwsyPiCcqE5rUTw+dmr1KR Ugg47ZzRyaxjLvT64tM+A4GbRSp/wv9H4lufbGS22LSu7ccBisg53zi/4zWxBi/IDYaS 7eYmn6MBJ9BaPf9aQjNFfCjDiOZb3U2UNXDMjpG6R/Yrwl+DJ6t7teu0yq7BigOfn/2b oqYoyRy0yneO7mzoaxUPaDfWhpElGaVes4OY54sPIxXJXh4HwO3sgTixOSwhUJFvjZek F16w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728510673; x=1729115473; 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=sol3W8UFrRCovXlLUgHlM7OspHqVODPsgRHoBONpm0U=; b=UUYw+eLcMPVTqscbA2vO7JuUZVwSA+lUjsOdWVQmXlaUSgJqNWsRB+osX9Y+uA/Kg4 Qox6pHHP15XEG7mC330Ht5OZmaPcpp6FT7g0ndPNEHxc82CbpPqYL6Ru9BJ9N3qSeLoo M1Tk5JEGVRBj4kofwonb1B0/Sfi7v7aJwF+9fOM08gLTIkTaGWaMbx4QvZluX12iwl/E wMc6rK8UgoedWqUxzizDKouVqS0rg2ujl5S/Bw9JgF3AyHSrCBCWtaKRW0ekHtM4R3hP 2ia5+KsJHF6sZTRsIJ1TxbudqyVeKdMPYAw1erOIhf2/jM4hQQN/aY5zxCL1JBr40et9 /68w== X-Forwarded-Encrypted: i=1; AJvYcCV3zyseCYadcTCXkYXWaRVLXHpPscyp49veyfGyJ6eM/v/7wRbo526sd+8YlBz6ENgLzvKIaBdtQo/Md+8fIChH@lists.infradead.org X-Gm-Message-State: AOJu0YzThPkbrbV5hWijVaOEWIwEQ1HEaOWqWuR5Ja00vFdPUFIWOC8Y kb0iFurZU0A4r6JuZd2e1dDz3qd09mKMRvWvziesEU7zYF9A1qL/5sdmVPgADMw= X-Google-Smtp-Source: AGHT+IFCMFQjQCs5Mduv7g2DFaLrTlXLCKgUXJHSGmeSMjL4kNtOPHyYzgo94KQARP/OLNeiSkbv8w== X-Received: by 2002:a05:6a21:a4c1:b0:1d2:ea38:39bc with SMTP id adf61e73a8af0-1d8a3bffb85mr7834663637.11.1728510672732; Wed, 09 Oct 2024 14:51:12 -0700 (PDT) Received: from luna.turtle.lan ([2601:1c2:c184:dc00::315]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f6833a95sm7651847a12.52.2024.10.09.14.51.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 14:51:12 -0700 (PDT) From: Sam Edwards X-Google-Original-From: Sam Edwards To: Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , William Zhang , Anand Gore , Kursad Oney Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Broadcom internal kernel review list , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sam Edwards Subject: [PATCH 3/3] arm64: dts: broadcom: bcmbca: bcm4908: Fix Netgear R8000P partitioning Date: Wed, 9 Oct 2024 14:50:46 -0700 Message-ID: <20241009215046.1449389-4-CFSworks@gmail.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20241009215046.1449389-1-CFSworks@gmail.com> References: <20241009215046.1449389-1-CFSworks@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_145114_085290_5CF2FE5A X-CRM114-Status: GOOD ( 12.43 ) 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 As we have just modified the DT schema for BCM4908 partitioning in order to accommodate `nvmem-cells` partitions, the workaround of using `fixed-partitions` is no longer necessary to pass the DT check. Promote this partition table to full-blown BCM4908 active-partition detection and remove an inappropriate `ranges` property, thus fully complying with the schema. Signed-off-by: Sam Edwards --- .../arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 4 +--- 1 file changed, 1 insertion(+), 3 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..23adcfd52843 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts @@ -139,7 +139,7 @@ &nandcs { #size-cells = <0>; partitions { - compatible = "fixed-partitions"; + compatible = "brcm,bcm4908-partitions"; #address-cells = <1>; #size-cells = <1>; @@ -150,7 +150,6 @@ partition@0 { #address-cells = <1>; #size-cells = <1>; - ranges = <0 0x0 0x100000>; base_mac_addr: mac@106a0 { reg = <0x106a0 0x6>; @@ -159,7 +158,6 @@ base_mac_addr: mac@106a0 { partition@100000 { compatible = "brcm,bcm4908-firmware"; - label = "firmware"; reg = <0x100000 0x4400000>; }; };