[PATCH 0/2] pwm: add driver for T-THEAD TH1520 SoC

Jisheng Zhang posted 2 patches 2 years, 2 months ago
There is a newer version of this series
.../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
[PATCH 0/2] pwm: add driver for T-THEAD TH1520 SoC
Posted by Jisheng Zhang 2 years, 2 months ago
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