[PATCH v2 0/2] pwm: spacemit: Add Support for K3 SoC

Yixun Lan posted 2 patches 1 month, 2 weeks ago
.../devicetree/bindings/pwm/marvell,pxa-pwm.yaml   | 41 ++++++++++++++++++++--
drivers/pwm/pwm-pxa.c                              |  8 ++++-
2 files changed, 45 insertions(+), 4 deletions(-)
[PATCH v2 0/2] pwm: spacemit: Add Support for K3 SoC
Posted by Yixun Lan 1 month, 2 weeks ago
The PWM controller in SpacemiT K3 SoC reuse the same IP as previous K1
generation, while the difference is that one additional bus clock is
added. Introduce a new compatible string and also adjust driver code to
support it.

Signed-off-by: Yixun Lan <dlan@kernel.org>
---
Changes in v2:
- Merge dt-binding of clock-names property
- Use local variable for bus clock
- Rebase to v7.1-rc1
- Link to v1: https://lore.kernel.org/r/20260409-03-k3-pwm-drv-v1-0-1307a06fba38@kernel.org

---
Yixun Lan (2):
      dt-bindings: pwm: marvell,pxa-pwm: Add SpacemiT K3 PWM support
      pwm: pxa: Add optional bus clock

 .../devicetree/bindings/pwm/marvell,pxa-pwm.yaml   | 41 ++++++++++++++++++++--
 drivers/pwm/pwm-pxa.c                              |  8 ++++-
 2 files changed, 45 insertions(+), 4 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260401-03-k3-pwm-drv-4ea99ae355d6

Best regards,
-- 
Yixun Lan <dlan@kernel.org>
Re: [PATCH v2 0/2] pwm: spacemit: Add Support for K3 SoC
Posted by Yixun Lan 1 month ago
Hi Uwe Kleine-König,
  Can you queue this one for v7.2? I'm sending the DTS part patch
and got a complaint for "clock definitions violation"

https://lore.kernel.org/all/20260511235952.F32FBC2BCB0@smtp.kernel.org/

On 10:46 Tue 28 Apr     , Yixun Lan wrote:
> The PWM controller in SpacemiT K3 SoC reuse the same IP as previous K1
> generation, while the difference is that one additional bus clock is
> added. Introduce a new compatible string and also adjust driver code to
> support it.
> 
> Signed-off-by: Yixun Lan <dlan@kernel.org>
> ---
> Changes in v2:
> - Merge dt-binding of clock-names property
> - Use local variable for bus clock
> - Rebase to v7.1-rc1
> - Link to v1: https://lore.kernel.org/r/20260409-03-k3-pwm-drv-v1-0-1307a06fba38@kernel.org
> 
> ---
> Yixun Lan (2):
>       dt-bindings: pwm: marvell,pxa-pwm: Add SpacemiT K3 PWM support
>       pwm: pxa: Add optional bus clock
> 
>  .../devicetree/bindings/pwm/marvell,pxa-pwm.yaml   | 41 ++++++++++++++++++++--
>  drivers/pwm/pwm-pxa.c                              |  8 ++++-
>  2 files changed, 45 insertions(+), 4 deletions(-)
> ---
> base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
> change-id: 20260401-03-k3-pwm-drv-4ea99ae355d6
> 
> Best regards,
> -- 
> Yixun Lan <dlan@kernel.org>
> 

-- 
Yixun Lan (dlan)
Re: [PATCH v2 0/2] pwm: spacemit: Add Support for K3 SoC
Posted by Uwe Kleine-König 1 month ago
On Thu, May 14, 2026 at 11:34:48PM +0000, Yixun Lan wrote:
> Hi Uwe Kleine-König,
>   Can you queue this one for v7.2? I'm sending the DTS part patch
> and got a complaint for "clock definitions violation"

I applied it to

https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next

now.

Best regards
Uwe