[PATCH v2 0/3] riscv: pwm: sophgo: add pwm support for SG2044
Chen Wang
unicorn_wang at outlook.com
Fri Apr 18 18:27:05 PDT 2025
On 2025/4/18 10:29, Longbin Li wrote:
> 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@gmail.com/ [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
Tested-by: Chen Wang <unicorn_wang at outlook.com>
Only test with Pioneerbox/SG2042 and it works well, I don't have sg2044
board in hand.
Chen
More information about the linux-riscv
mailing list