summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-sun4i.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-12-01 02:23:28 +0300
committerThierry Reding <treding@nvidia.com>2021-12-16 14:05:23 +0100
commit3da9b0feaa1617061eddfd0eedcc24164c71528a (patch)
tree2b841139e297c93479a0ad09a9353bac504fc83d /drivers/pwm/pwm-sun4i.c
parent59caf73284d11188d5e6a4ad25ab4678c05ef639 (diff)
pwm: tegra: Add runtime PM and OPP support
The PWM on Tegra belongs to the core power domain and we're going to enable GENPD support for the core domain. Now PWM must be resumed using runtime PM API in order to initialize the PWM power state. The PWM clock rate must be changed using OPP API that will reconfigure the power domain performance state in accordance to the rate. Add runtime PM and OPP support to the PWM driver. Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/pwm/pwm-sun4i.c')
0 files changed, 0 insertions, 0 deletions