lkml.org 
[lkml]   [2023]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] pwm: add driver for T-THEAD TH1520 SoC
Date
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

\
 
 \ /
  Last update: 2023-09-28 19:15    [W:0.083 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site