Re: [PATCH 11/11] arm64: defconfig: Enable Apple Silicon drivers

From: Robin Murphy
Date: Fri Jun 13 2025 - 12:50:42 EST


On 2025-06-12 10:11 pm, Sven Peter wrote:
Enable drivers for hardware present on Apple Silicon machines.
The power domain and interrupt driver should be built-it since these are
critical for the system to boot, the rest can be build as modules.

Nit: I'd be tempted to put this patch first, just in case anyone bisecting with "make defconfig" in their process lands in the middle and suddenly loses some drivers (although arguably them going from "=y" to "=m" could still be a surprise, but at least a bit less so).

[...]
@@ -1504,6 +1520,7 @@ CONFIG_ARCH_TEGRA_194_SOC=y
CONFIG_ARCH_TEGRA_234_SOC=y
CONFIG_TI_PRUSS=m
CONFIG_OWL_PM_DOMAINS=y
+CONFIG_APPLE_PMGR_PWRSTATE=y

If this is critical for any Apple platform to work then it would probably make sense to explicitly select it from ARCH_APPLE, as is done for APPLE_AIC...

CONFIG_RASPBERRYPI_POWER=y
CONFIG_IMX_SCU_PD=y
CONFIG_QCOM_CPR=y
@@ -1567,6 +1584,7 @@ CONFIG_QCOM_PDC=y
CONFIG_QCOM_MPM=y
CONFIG_TI_SCI_INTR_IRQCHIP=y
CONFIG_TI_SCI_INTA_IRQCHIP=y
+CONFIG_APPLE_AIC=y

...which I think means this would already be redundant.

Thanks,
Robin.

CONFIG_RESET_GPIO=m
CONFIG_RESET_IMX7=y
CONFIG_RESET_QCOM_AOSS=y
@@ -1640,6 +1658,7 @@ CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m
CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m
CONFIG_MESON_DDR_PMU=m
CONFIG_NVMEM_LAYOUT_SL28_VPD=m
+CONFIG_NVMEM_APPLE_EFUSES=m
CONFIG_NVMEM_IMX_OCOTP=y
CONFIG_NVMEM_IMX_OCOTP_ELE=m
CONFIG_NVMEM_IMX_OCOTP_SCU=y