From nobody Wed Nov 27 12:35:05 2024 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13778193092; Wed, 9 Oct 2024 21:51:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510672; cv=none; b=bjraNklBhNLu//LP0LKqzY4pJEAxT5KDccBWnuJZyazaAuYAmsxpSscjN/u2HWNJ9VnCWPjREGssLcmRufsNOGLB5XlOaYzUaJ09J47EE0rUJrdSXJ4vvQKikROOnsTnYU+KUv1S3pzOvIw9w5wnn45AUDEEQRomfB/tIuGUl0Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510672; c=relaxed/simple; bh=B6je7jiASQma6mnF5MKfSYj3VVukHkDMhDLnpofeCsg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ae2iG3WNOBHpcY/XoOVbOpcpLNVjxggcbYAGJ+xScBlEcgfhxu8uzMMFdM+bXheh5NyTMd3R0jldqt3C4dik1ot7HtKlZqU+QsGiHXF7r0eQckKtkeurchdZnhbUGlO9KGCaVhx5Ye7kOFQsK4rHUDsw1HG8mdOL6kDLczS0Mi4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=duRES0Ng; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="duRES0Ng" Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-71e15fe56c9so239737b3a.3; 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=vger.kernel.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=duRES0Ng3euFfrubIL4fjQmxdtZmH0tXLg2zXT/HrAQLmhlRR3C2LPSsiSYesM2bfW j+0oNyTreQ1O1+gOfkSWE2sX+tPSblZo9VG1icv3GzVjiVLL+E37GlOVWSWQ7kZinlRW H4HnTQuCFaKNa6lO7nRVTCU2OTZOrVaGr9zGtTq1Lxe5Ks+us0ImsVl+NMchsjYob0XQ C6iBJ9r7Ud58AyITtTgInC3CGoU7DTXDwqbR78E0ax+pIHDq+FFMXc5Yl0/cJ1j+HoX/ BLHZJEMz+p1AehXQZt6fQXw2BQdd3Ccb5lOeUbbyQAQkgLCAHgRSZE+IkWXOJngklkuS q94w== 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=obPOGyySwMgca6CYvR/yw2DUWEAc/foj8y/a7KdQ8OqYWWA7oiBOxFu0SkYev5p8iZ gkRBOMmwa4ugj69c1udkmKJ7GZjVrddYpAjtJDHJR0kWbgFZMj7mAV3CVdRre0tv7xUa nVrUsZan1vNU4cFBXWXqx3y09o70I2fSBuvsWnv/SAluzeRVJm5OOibXE1lXUbloR5p6 kaolO2e3zFg8rnHvVffHPpw6AiW6xjLZL62vchWeCbPu+QKoyGZl4XIklfGdj1IwBlnN 7W7xsbiDxrOJw2Snvf7dOWh5z8jORF+6QxqgWq4xMUHte9rToNHJpnSHVfIppFCHCAzD kJDw== X-Forwarded-Encrypted: i=1; AJvYcCUMVy1g1jpCw46ZegJQLUwJhCmoOUsdIN5seUMPdQuCQARYLj5nSRvVQJBwjbWkKMd2SWWYHvz6WwED@vger.kernel.org, AJvYcCWaeZkBNDaUstjFAANs0xUpwC2EzoNPSUxG27LPyt9BcsEQWGFJtrCFyvf1hmypFyosL2j2dTjY3WAGv+eu@vger.kernel.org X-Gm-Message-State: AOJu0Yydd9j9Xen0tI80LBvd/f9PARETQWwttV+rYaW4aDY6rTNgeGg9 GQIKSvkmRN/xuvWLib6his3WFCtMUrYvEoeY2g+z3eIT6b97agpX 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?q?Rafa=C5=82=20Mi=C5=82ecki?= , 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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,bcm= 4908-partitions.yaml index 94f0742b375c..aed37922a5fc 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partiti= ons.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partiti= ons.yaml @@ -30,12 +30,17 @@ properties: enum: [ 1, 2 ] =20 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 =20 required: - "#address-cells" --=20 2.44.2 From nobody Wed Nov 27 12:35:05 2024 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 331901E32B6; Wed, 9 Oct 2024 21:51:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510673; cv=none; b=lzmipT9qEws11S2NY9kHi4tlK+Zmjz32viaj+pNUNrFYbHPFp5L7284C+nVHiXSGlK7Zyc4ecMqYydo+vBakoZscTwIXcVgelF3JQgfZrkDjG6rmH2w7/81lcXgjQ3vgyfbyuk/hMMhCtPmbp72ETvTgEpS4penTatUFweAVMOU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510673; c=relaxed/simple; bh=ONBNSlAlXIlnWIDU8T+Xm05D9sszY9YcES1lOpBMQWg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SN2LcD6UYmmG701MUUO4hKUemTW9uSxuTwngiiAamyr4DgKGezNHkFU9Oa4YBY9BneygA3TKwhB8tFsco5kE68qJmnscov1pWiqNrFjA7Zj9DHCZyXbxhjdLarP30OgrYnzIhP/p6fNWr135Gi7/yVpeEAIY/dlirs1aPhFNPPw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=apiDZ00b; arc=none smtp.client-ip=209.85.215.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="apiDZ00b" Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-7db908c9c83so164087a12.2; 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=vger.kernel.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=apiDZ00bitHwV9d2TwzHM1J3hqJxjPHLu4OV8pb0/56bXOyJyuxgMIgBUh08UOLxf5 llwUOdKcTX78glpq6+rUvdlumcuwRBYb0mhReOPnNsXH6TBPrVrMSYrsGyAbVZsz9+rn +xB4my5MIb7lUWifEbSWPXV5ttf60AgfDqfqtw/u41mmQfg0Masi+zxox4YWZvCc3AGH kdoEb137DkjYkJIDSva4HtqKsNTA6FCrH0bJV4d/CQbBpix2xiEApcO9oc+0V386lcDH EgzfbKmoMCro2+Yt6XNkwGGivh3h6uPu13WqkcHPVuKg5Fhp5+bDggdZ+sVVYA9a1rJV Wmcg== 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=W/Prmm8ejRnVaOZUwmST6CdNJOCU0/jMhExq1anr5rhDsgZaXOeRTRJwDU2kg8XKqh UWHweaGf9j0b4OiYJK5nXwjWPwk56afGSIuoJKqsk60WU0OsxRS74Bw7itleOBjlKm6z PYdxkJy64ob+dpJC1O/TXvcPA4PSQkWuvYv5dfOsKytpcg/Wq3pPI/wa7TCvv+sSXzlV zIk9CU+5N6GHUGQV+0BHHAKYFll2MeSCu2WIHb+V/83biRos/GAQRfMXe4O9mMp6evZL VS88kzMONOhiAXd9NwL8MrOtYnXMfZIOL3zdQO827I7s8mPnQquefzmBa3VTHa8wu/6F 5QDg== X-Forwarded-Encrypted: i=1; AJvYcCUaER0SHcCVxkYKMT9OJ9bNegKveqdY1mA89yBB/zZ3kNz9DY5R3tonwngINcuIDQUwJis5xtbsktuwc75Q@vger.kernel.org, AJvYcCXvH8ethLZQyNY1N8VIiIZiLBMVI5ds9etVEkllkeUzx70T5lYp28vg5+zK0Pt7OfI8uT9JCIoDQ5Dv@vger.kernel.org X-Gm-Message-State: AOJu0YwZHEh2pyQbPMTAfud6gVmvsLyK8C8taproALvLzCsWijBj0Au2 eRXf2u9s1mJpf61ZmMz1lSiCr8Z00wm5nRDb0qQLlRdPLRXY3suK 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?q?Rafa=C5=82=20Mi=C5=82ecki?= , 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D <1>; =20 partition@0 { + compatible =3D "nvmem-cells"; label =3D "cferom"; reg =3D <0x0 0x100000>; =20 - nvmem-layout { - compatible =3D "fixed-layout"; - #address-cells =3D <1>; - #size-cells =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <1>; =20 - base_mac_addr: mac@106a0 { - reg =3D <0x106a0 0x6>; - }; + base_mac_addr: mac@106a0 { + reg =3D <0x106a0 0x6>; }; }; =20 --=20 2.44.2 From nobody Wed Nov 27 12:35:05 2024 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1AB01E3DC0; Wed, 9 Oct 2024 21:51:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510675; cv=none; b=ftmj1qJAI4CyVy5shYLEdoVQTKhZ4FCV+q3EU6gRN8odlTcsWy97feVT6r3zRkristgJceG218TdPGHrdOfxUuSj/ZE+5sUyLBHqnsV0s2F9H/BTbLyi6QDw7qTA2PDDYWkVE8cOgQ7Gr4xeJNtaC1RI5B82Ww3c4EwEyPDRM+U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728510675; c=relaxed/simple; bh=rriGjK0Qsui0z8FOUhESLDFrd94RUi02X72fhkyWP8Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oMwWIXCXiUzqoc9n3XGZK4Odv+S9DUmwg9gEPXZVna4FZF+Juoe83BxF5hTARMBRyWLswQravG0V7QPXH8czDPZYA+Dc2PitIQX2XqCZfCLiZWCQ0tmHqF9PzkCLN2vC6/pG8YqPAIKjdbMSDFlagSoqKrW5xhD60ZS3h/PTeGE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FJF1U9WD; arc=none smtp.client-ip=209.85.215.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FJF1U9WD" Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-7163489149eso194331a12.1; 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=vger.kernel.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=FJF1U9WDifsBFMcPHV45Wx2yroXGlx9I/GUrRx4okCxCLCKpexw88q9Z+tNNjflizi yVzqy5B6br+kHfTWhYG+z2Lvic3LDDchWfl24PhXVWPDmrPi4AIpEGpzOi3u2blv1uYE h3s7dXxM+KrwuPBtD1HX948qIgI9QJNn5TXewdutKf+1YltR7klt0togmFdvrlQQ8iUf p+G8+dkvBWi5t4JojsV8CJIcXX6/eXyLli2SL2YZ2l4Y0G6UKslm71248GKoHdq/QvLZ jpOaTKNyK0qujerFNi5IkKs0ELBJs56/TGMMA+iWmnvJAfEe2ArPG9Te6AcRfnaSx51N uIBQ== 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=nvG1SuQ9BpolSbobJHmA+Vi6ltQD+RWomqXs4Nlhg/BP973weJMP7DNvmGxAFJVoi5 Df4eTNqOoUkHcGCAhLFcF67K5bc+m2l1gyoYftP5gW+L0Xxs49b921B3CSYECLqmABI2 btdxYxONzSMKCGIoOOpZ8J0Bwic3JPUGvoO9PI/rAhKh1xhS+KzeK32IZGKB74vnxO39 emJ/dOXpFivwx7xUpMcd/kh3vE/tkeDZWlYSAUuTdD/0NztS5yJps7LUsc6dxRAn/yMO BUd5b+/7LvSadN/9Jwu83r1gy0/igmvjVGBO629sNrit2f1nBZ6ckctLThl1UIrEZw8v +tlg== X-Forwarded-Encrypted: i=1; AJvYcCU6+CMYbd9ZkajB34BNSvmpvwDtugVy6f2/D1yHEBxXXsygHye0yVRrRmWK5pe18BR5XFOxwGA+L8JPdQob@vger.kernel.org, AJvYcCVDOMMglurXtQ+/nkOldHAPPWyJm5ZFg+vy+62UsDtMjWhna/DOzdkQstFP0zHflcA7/vXVS6V4PMI4@vger.kernel.org X-Gm-Message-State: AOJu0Yxg/z4Muk+T6TlAadScXK9XUsrmYY32EVs+6/xSxJxGx0XRyUYe kCOwzfSjqxgSt4xEluomo9AJ5avcyiNz9W7LVgLMs9srCDKUt4oi 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?q?Rafa=C5=82=20Mi=C5=82ecki?= , 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D <0>; =20 partitions { - compatible =3D "fixed-partitions"; + compatible =3D "brcm,bcm4908-partitions"; #address-cells =3D <1>; #size-cells =3D <1>; =20 @@ -150,7 +150,6 @@ partition@0 { =20 #address-cells =3D <1>; #size-cells =3D <1>; - ranges =3D <0 0x0 0x100000>; =20 base_mac_addr: mac@106a0 { reg =3D <0x106a0 0x6>; @@ -159,7 +158,6 @@ base_mac_addr: mac@106a0 { =20 partition@100000 { compatible =3D "brcm,bcm4908-firmware"; - label =3D "firmware"; reg =3D <0x100000 0x4400000>; }; }; --=20 2.44.2