spmi: Only use Hikey 970 SPMI controller driver when ARM64
authorWangYuli <wangyuli@uniontech.com>
Sun, 18 May 2025 03:23:26 +0000 (20:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 12:53:16 +0000 (14:53 +0200)
commitcdd18ef9825953a756f4e0fda734254ec08c4055
treef462e40c08c798aad5e6216d58c1ffb34af079c7
parent0be5eac879f28a11b02c6480b86980f9a5688454
spmi: Only use Hikey 970 SPMI controller driver when ARM64

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 <guanwentao@uniontech.com>
Closes: https://github.com/deepin-community/kernel/pull/604
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link: https://lore.kernel.org/r/23BAA675A75EF4F5+20250218050552.57711-1-wangyuli@uniontech.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20250518032330.2959766-2-sboyd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/Kconfig