summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-starfive-ptc.c
AgeCommit message (Collapse)AuthorFilesLines
2023-04-26pwm: starfive: Correct the copyrightHal Feng1-3/+3
Correct the StarFive copyright information. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-11-30pwm: starfive: Use pm_runtime functions to disable clock when the device ↵Hal Feng1-2/+1
being removed So this can avoid disabling the pwm clock again when the pwm device is suspended and being removed. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-10-27pwm: starfive: Remove macro UNIVERSAL_DEV_PM_OPSHal Feng1-4/+8
Because it causes error when system pm. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-10-27pwm: starfive: Add pm handling (system/runtime pm ops)Hal Feng1-23/+66
Add system/runtime pm ops functions and enable runtime pm. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-08-31pwm: pwm-starfive-ptc: Standardize property "compatible"Hal Feng1-1/+1
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-07-08pwm: pwm-starfive-ptc: Improve pwm accuracyHal Feng1-24/+38
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-07-06pwm: pwm-starfive-ptc: Improve coding styleHal Feng1-40/+11
Disable clock properly, delete redundant comments, modify compatible Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-05-06pwm: pwm-starfive-ptc: Fix compiler warnings and improve coding styleHal Feng1-74/+15
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-04-24pwm: pwm-starfive-ptc: Use standard clock, reset, pinctrl framework for ↵Hal Feng1-11/+38
initialization Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-04-24pwm: pwm-starfive-ptc: Follow linux coding styleHal Feng1-121/+119
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2021-12-20[pwm] Add jh7110 pwm driver code“jenny.zhang”1-0/+317