devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] pwm: Add pwm driver for Sophgo SG2042
@ 2024-10-08  3:03 Chen Wang
  2024-10-08  3:03 ` [PATCH v3 1/3] dt-bindings: pwm: sophgo: add PWM controller for SG2042 Chen Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chen Wang @ 2024-10-08  3:03 UTC (permalink / raw)
  To: ukleinek, robh, krzk+dt, conor+dt, unicorn_wang, inochiama,
	devicetree, linux-kernel, linux-pwm, linux-riscv, chao.wei,
	haijiao.liu, xiaoguang.xing, chunzhi.lin

From: Chen Wang <unicorn_wang@outlook.com>

Add driver for pwm controller of Sophgo SG2042 SoC.

Thanks,
Chen

---

Changes in v3:
  The patch series is based on v6.12-rc1. 

  Add patch #3 for dts part change.

Changes in v2:

  The patch series is based on v6.11-rc6. You can simply review or test the
  patches at the link [2].

  Fixed following issues as per comments from Yixun Lan, Krzysztof Kozlowski
  and Uwe Kleine-König, thanks.

  - Some minor issues in dt-bindings.
  - driver issues, use macros with name prefix for registers access; add
    limitations comments; fixed potential calculation overflow problem;
    add .get_state() callback and other miscellaneous code improvements.

Changes in v1:
  The patch series is based on v6.11-rc6. You can simply review or test the
  patches at the link [1].

Link: https://lore.kernel.org/linux-riscv/cover.1725536870.git.unicorn_wang@outlook.com/ [1]
Link: https://lore.kernel.org/linux-riscv/cover.1725931796.git.unicorn_wang@outlook.com/ [2]
---

Chen Wang (3):
  dt-bindings: pwm: sophgo: add PWM controller for SG2042
  pwm: sophgo: add driver for Sophgo SG2042 PWM
  riscv: sophgo: dts: add pwm controller for SG2042 SoC

 .../bindings/pwm/sophgo,sg2042-pwm.yaml       |  51 +++++
 arch/riscv/boot/dts/sophgo/sg2042.dtsi        |   8 +
 drivers/pwm/Kconfig                           |  10 +
 drivers/pwm/Makefile                          |   1 +
 drivers/pwm/pwm-sophgo-sg2042.c               | 180 ++++++++++++++++++
 5 files changed, 250 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml
 create mode 100644 drivers/pwm/pwm-sophgo-sg2042.c


base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-10-12  2:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08  3:03 [PATCH v3 0/3] pwm: Add pwm driver for Sophgo SG2042 Chen Wang
2024-10-08  3:03 ` [PATCH v3 1/3] dt-bindings: pwm: sophgo: add PWM controller for SG2042 Chen Wang
2024-10-08  3:04 ` [PATCH v3 2/3] pwm: sophgo: add driver for Sophgo SG2042 PWM Chen Wang
2024-10-08  8:24   ` Sean Young
2024-10-12  2:34     ` Chen Wang
2024-10-08  3:04 ` [PATCH v3 3/3] riscv: sophgo: dts: add pwm controller for SG2042 SoC Chen Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).