devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm: add driver for T-THEAD TH1520 SoC
@ 2023-09-28 17:02 Jisheng Zhang
  2023-09-28 17:02 ` [PATCH 1/2] dt-bindings: pwm: Add T-HEAD PWM controller Jisheng Zhang
  2023-09-28 17:02 ` [PATCH 2/2] pwm: add T-HEAD PWM driver Jisheng Zhang
  0 siblings, 2 replies; 6+ messages in thread
From: Jisheng Zhang @ 2023-09-28 17:02 UTC (permalink / raw)
  To: Thierry Reding, Uwe Kleine-König, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-pwm, devicetree, linux-kernel, Guo Ren, Fu Wei, linux-riscv

T-HEAD SoCs such as the TH1520 contain a PWM controller used
among other things to control the LCD backlight, fan and so on.
Add the PWM driver support for it.

Since the clk part isn't mainlined, so SoC dts(i) changes are not
included in this series. However, it can be tested by using fixed-clock.

Jisheng Zhang (2):
  dt-bindings: pwm: Add T-HEAD PWM controller
  pwm: add T-HEAD PWM driver

 .../devicetree/bindings/pwm/pwm-thead.yaml    |  44 +++
 MAINTAINERS                                   |   1 +
 drivers/pwm/Kconfig                           |  11 +
 drivers/pwm/Makefile                          |   1 +
 drivers/pwm/pwm-thead.c                       | 289 ++++++++++++++++++
 5 files changed, 346 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-thead.yaml
 create mode 100644 drivers/pwm/pwm-thead.c

-- 
2.40.1


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

end of thread, other threads:[~2023-09-29 15:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28 17:02 [PATCH 0/2] pwm: add driver for T-THEAD TH1520 SoC Jisheng Zhang
2023-09-28 17:02 ` [PATCH 1/2] dt-bindings: pwm: Add T-HEAD PWM controller Jisheng Zhang
2023-09-29 13:10   ` Conor Dooley
2023-09-28 17:02 ` [PATCH 2/2] pwm: add T-HEAD PWM driver Jisheng Zhang
2023-09-29 11:26   ` Emil Renner Berthing
2023-09-29 15:40   ` Uwe Kleine-König

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).