[PATCH V2 0/6] pwm: sprd: Modification of UNISOC Platform PWM Driver
From: Wenhua Lin
Date: Wed Jan 24 2024 - 22:09:07 EST
Due to new usage scenarios, some upgrades are made to unisoc's pwm driver.
Patch 1 supports the change of channel offset on UMS9620.
Patch 2 supports more brightness levels (duty cycle) for backlight control.
Patch 3 optimizes the calculation method of duty.
Patch 4 converts dt-binding file from txt to yaml
Patch 5-6 update pwm-sprd.yaml according to patch 1 and patch 2.
Change in V2:
-Change dev_err to dev_info in PATCH 2/6.
-Add maintainer to gitconfig.
Wenhua Lin (6):
pwm: sprd: Add support for UMS9620
pwm: sprd: Improve the pwm backlight control function
pwm: sprd: Optimize the calculation method of duty
dt-bindings: pwm: sprd: Convert to YAML
pwm: sprd: Add sprd,ums9620-pwm compatible
dt-bindings: pwm: sprd: Add sprd,mod attribute
.../devicetree/bindings/pwm/pwm-sprd.txt | 40 -------
.../devicetree/bindings/pwm/pwm-sprd.yaml | 106 ++++++++++++++++++
drivers/pwm/pwm-sprd.c | 71 ++++++++++--
3 files changed, 165 insertions(+), 52 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-sprd.txt
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sprd.yaml
--
2.17.1