[PATCH v2 3/3] mailbox: Kconfig: enable ARM SMC mailbox on 64-bit Allwinner SoCs
From: Andre Przywara
Date: Sun Jul 23 2017 - 19:45:39 EST
For 64-bit Allwinner SoCs there exist firmware implementations which
provide SCPI controlled handlers for DVFS, sensors and power domains.
To allow usage of this features, enable the required SMC mailbox when
Allwinner SoCs are supported by the kernel.
Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
---
drivers/mailbox/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 5664b7f..6d6e8bb 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -174,6 +174,7 @@ config BCM_FLEXRM_MBOX
config ARM_SMC_MBOX
tristate "Generic ARM smc mailbox"
depends on OF && HAVE_ARM_SMCCC
+ default y if ARM64 && ARCH_SUNXI
help
Generic mailbox driver which uses ARM smc calls to call into
firmware for triggering mailboxes.
--
2.8.2