Skip to content

Commit 7521109

Browse files
WangYuliopsiff
authored andcommitted
spmi: Only use Hikey 970 SPMI controller driver when ARM64
[ Upstream commit cdd18ef ] SPMI_HISI3670, the Hikey 970 SPMI controller driver, is only required to use the Kirin 970 SPMI bus. And the Kirin 970 is an ARM64-based SoC, it cannot be used on platforms of other architectures. Link: https://lore.kernel.org/all/b4810f476e41e7de4efdf28b42472ae4ffe7defe.1597647359.git.mchehab+huawei@kernel.org/ Reported-by: Wentao Guan <[email protected]> Closes: #604 Signed-off-by: WangYuli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> [ Backport from v6.16 ] Signed-off-by: WangYuli <[email protected]>
1 parent 9fdac1c commit 7521109

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spmi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if SPMI
1414
config SPMI_HISI3670
1515
tristate "Hisilicon 3670 SPMI Controller"
1616
select IRQ_DOMAIN_HIERARCHY
17+
depends on ARM64 || COMPILE_TEST
1718
depends on HAS_IOMEM
1819
help
1920
If you say yes to this option, support will be included for the

0 commit comments

Comments
 (0)