[PATCH v2 0/3] riscv: pwm: sophgo: add pwm support for SG2044

From: Longbin Li
Date: Thu Apr 17 2025 - 22:30:21 EST


This patch adds PWM controller support for four independent
PWM channel outputs.

---

Changes in v2:

- Modify variable naming and code logic.
- update "MODULE_AUTHOR".

Changes in v1:
You can simply review or test the patches at the link [1].

Link: https://lore.kernel.org/linux-riscv/20250407072056.8629-1-looong.bin@xxxxxxxxx/ [1]
---

Longbin Li (3):
pwm: sophgo: reorganize the code structure
pwm: sophgo: add driver for SG2044
dt-bindings: pwm: sophgo: add pwm controller for SG2044

.../bindings/pwm/sophgo,sg2042-pwm.yaml | 4 +-
drivers/pwm/pwm-sophgo-sg2042.c | 151 ++++++++++++++----
2 files changed, 125 insertions(+), 30 deletions(-)

--
2.49.0