[PATCH v3 6/6] riscv: defconfig: Enable PWM support for SpacemiT K1 SoC

Guodong Xu posted 6 patches 7 months, 3 weeks ago
[PATCH v3 6/6] riscv: defconfig: Enable PWM support for SpacemiT K1 SoC
Posted by Guodong Xu 7 months, 3 weeks ago
Enable CONFIG_PWM and CONFIG_PWM_PXA in the defconfig
to support the PWM controller used on the SpacemiT K1 SoC.

Signed-off-by: Guodong Xu <guodong@riscstar.com>
---
v3: No change
v2: Changed PWM_PXA from built-in to a loadable module (=m)

 arch/riscv/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 3c8e16d71e17..3c4d9bb8f01e 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -257,6 +257,8 @@ CONFIG_RPMSG_CTRL=y
 CONFIG_RPMSG_VIRTIO=y
 CONFIG_PM_DEVFREQ=y
 CONFIG_IIO=y
+CONFIG_PWM=y
+CONFIG_PWM_PXA=m
 CONFIG_THEAD_C900_ACLINT_SSWI=y
 CONFIG_PHY_SUN4I_USB=m
 CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m
-- 
2.43.0
Re: [PATCH v3 6/6] riscv: defconfig: Enable PWM support for SpacemiT K1 SoC
Posted by Yixun Lan 5 months, 2 weeks ago
Hi Conor,
  Can you take this patch? I've checked with riscv's tree for-next
branch, it's still applicable and meet the "savedefconfig" criteria.
  Thanks

On 16:50 Tue 29 Apr     , Guodong Xu wrote:
> Enable CONFIG_PWM and CONFIG_PWM_PXA in the defconfig
> to support the PWM controller used on the SpacemiT K1 SoC.
> 
> Signed-off-by: Guodong Xu <guodong@riscstar.com>
Reviewed-by: Yixun Lan <dlan@gentoo.org>

> ---
> v3: No change
> v2: Changed PWM_PXA from built-in to a loadable module (=m)
> 
>  arch/riscv/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 3c8e16d71e17..3c4d9bb8f01e 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -257,6 +257,8 @@ CONFIG_RPMSG_CTRL=y
>  CONFIG_RPMSG_VIRTIO=y
>  CONFIG_PM_DEVFREQ=y
>  CONFIG_IIO=y
> +CONFIG_PWM=y
> +CONFIG_PWM_PXA=m
>  CONFIG_THEAD_C900_ACLINT_SSWI=y
>  CONFIG_PHY_SUN4I_USB=m
>  CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m
> -- 
> 2.43.0
> 

-- 
Yixun Lan (dlan)
Re: [PATCH v3 6/6] riscv: defconfig: Enable PWM support for SpacemiT K1 SoC
Posted by Conor Dooley 5 months, 1 week ago
On Mon, Jul 07, 2025 at 10:29:10PM +0000, Yixun Lan wrote:
> Hi Conor,
>   Can you take this patch? I've checked with riscv's tree for-next
> branch, it's still applicable and meet the "savedefconfig" criteria.

Sure, done.