public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spmi: Only use Hikey 970 SPMI controller driver when ARM64
@ 2025-02-18  5:05 WangYuli
  2025-02-27 22:31 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: WangYuli @ 2025-02-18  5:05 UTC (permalink / raw)
  To: sboyd
  Cc: linux-kernel, mayulong1, mchehab+huawei, zhanjun, niecheng1,
	chenlinxuan, WangYuli, Wentao Guan

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>
---
 drivers/spmi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig
index 737802046314..4ee496491c74 100644
--- a/drivers/spmi/Kconfig
+++ b/drivers/spmi/Kconfig
@@ -14,6 +14,7 @@ if SPMI
 config SPMI_HISI3670
 	tristate "Hisilicon 3670 SPMI Controller"
 	select IRQ_DOMAIN_HIERARCHY
+	depends on ARM64 || COMPILE_TEST
 	depends on HAS_IOMEM
 	help
 	  If you say yes to this option, support will be included for the
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] spmi: Only use Hikey 970 SPMI controller driver when ARM64
  2025-02-18  5:05 [PATCH] spmi: Only use Hikey 970 SPMI controller driver when ARM64 WangYuli
@ 2025-02-27 22:31 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2025-02-27 22:31 UTC (permalink / raw)
  To: WangYuli
  Cc: linux-kernel, mayulong1, mchehab+huawei, zhanjun, niecheng1,
	chenlinxuan, WangYuli, Wentao Guan

Quoting WangYuli (2025-02-17 21:05:52)
> 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>
> ---

Applied to spmi-next

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-27 22:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18  5:05 [PATCH] spmi: Only use Hikey 970 SPMI controller driver when ARM64 WangYuli
2025-02-27 22:31 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox