From: AngeloGioacchino Del Regno Date: Thu, 10 Apr 2025 14:39:43 +0000 (+0200) Subject: pmdomain: mediatek: Bump maximum bus protect data array elements X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=92d25c5742a5e922856786ca228ed52a7da60dca;p=users%2Fjedix%2Flinux-maple.git pmdomain: mediatek: Bump maximum bus protect data array elements In preparation for adding support for the MediaTek Dimensity 1200 MT6893 SoC, bump the maximum elements of the bp_cfg array to 7. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Link: https://lore.kernel.org/r/20250410143944.475773-3-angelogioacchino.delregno@collabora.com Signed-off-by: Ulf Hansson --- diff --git a/drivers/pmdomain/mediatek/mtk-pm-domains.h b/drivers/pmdomain/mediatek/mtk-pm-domains.h index 2ac96804b985..7085fa2976e9 100644 --- a/drivers/pmdomain/mediatek/mtk-pm-domains.h +++ b/drivers/pmdomain/mediatek/mtk-pm-domains.h @@ -44,7 +44,7 @@ #define PWR_STATUS_AUDIO BIT(24) #define PWR_STATUS_USB BIT(25) -#define SPM_MAX_BUS_PROT_DATA 6 +#define SPM_MAX_BUS_PROT_DATA 7 enum scpsys_bus_prot_flags { BUS_PROT_REG_UPDATE = BIT(1),