[PATCH 8/9] pwm: Kconfig: add depends on ARCH_SPACEMIT to PWM_PXA
From: Guodong Xu
Date: Fri Apr 11 2025 - 09:21:36 EST
The SpacemiT K1 SoC uses PWM_PXA driver.
Update the Kconfig file for the PWM_PXA driver to allow
the SpacemiT K1 SoC to use it.
Signed-off-by: Guodong Xu <guodong@xxxxxxxxxxxx>
---
drivers/pwm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 4731d5b90d7e..6731669e724e 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -493,7 +493,7 @@ config PWM_PCA9685
config PWM_PXA
tristate "PXA PWM support"
- depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
+ depends on ARCH_PXA || ARCH_MMP || ARCH_SPACEMIT || COMPILE_TEST
depends on HAS_IOMEM
help
Generic PWM framework driver for PXA.
--
2.43.0