From d9ac84e73cf7c77887819d527c9b11da5f4e8279 Mon Sep 17 00:00:00 2001 From: AxxzyWasTaken Date: Tue, 3 Nov 2026 17:24:19 +0000 Subject: [PATCH] soc: apple: mcc: allow up to 32 cache planes The M4 Max (T6041) has up to eight AMCCs with four cache planes each: 32 on the full part, 24 on the binned one (amcc-enable-mask 0x3f). Signed-off-by: AxxzyWasTaken --- .../devicetree/bindings/soc/apple/apple,t8140-mcc.yaml | 2 +- drivers/soc/apple/mcc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml b/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml index 11f103732ef63..63767db0cea1a 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml @@ -28,7 +28,7 @@ properties: reg: description: Per-plane blocks on T8140, or the two multicast apertures on T8132. minItems: 1 - maxItems: 16 + maxItems: 32 nonposted-mmio: true diff --git a/drivers/soc/apple/mcc.c b/drivers/soc/apple/mcc.c index 91fc698f43a72..3b9b47a6d6213 100644 --- a/drivers/soc/apple/mcc.c +++ b/drivers/soc/apple/mcc.c @@ -30,7 +30,7 @@ #define MCC_CACHE_FLUSH 0x2844 #define MCC_CACHE_FLUSH_BUSY BIT(0) -#define MCC_MAX_PLANES 16 +#define MCC_MAX_PLANES 32 #define MCC_FLUSH_TIMEOUT_US 100000 struct apple_mcc {