Skip to content

riscv: pwm: sophgo: add pwm support for SG2044

Longbin Li linux-devicetree linux-pwm linux-riscv lkml sophgo 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 4 repliesIn review
  2. v43 patches 5 repliesSuperseded
  3. v33 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches8 repliesSuperseded
v12 patches7 repliesSuperseded

Changes in v5 from the cover letter

- Rename function and variables for clarity.
- Modify code style.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: pwm: sophgo: add pwm controller for SG2044Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml+3 -10 replies
2/3pwm: sophgo: reorganize the code structuredrivers/pwm/pwm-sophgo-sg2042.c+37 -150 replies
3/3pwm: sophgo: add driver for SG2044drivers/pwm/pwm-sophgo-sg2042.c+87 -23 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchChen WangKrzysztof Kozlowski
1/3T-b R-b A-b
2/3R-b T-b
3/3R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] riscv: pwm: sophgo: add pwm support for SG2044

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

---

Changes in v5:

- Rename function and variables for clarity.
- Modify code style.

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

- add tags for mail.

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

- Rename macro definitions to unify naming.
- Modify code style.

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

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

Changes in v1:
You can simply review or test the patches at the link [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               | 141 +++++++++++++++---
 2 files changed, 127 insertions(+), 18 deletions(-)

--
2.49.0