# Re: \[PATCH v8 19/34\] pwm: tegra: Add runtime PM and OPP support

- From: Thierry Reding \<hidden\>
- Date: 2021-08-19 13:21:26 
- List: linux-pm
- Page: https://ratatoskr.run/linux-pm/2021/08/1482919
- Thread: https://ratatoskr.run/linux-tegra/2021/08/1479846/t/2.md

```text
On Tue, Aug 17, 2021 at 04:27:39AM +0300, Dmitry Osipenko wrote:
> 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.
> 
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
>  drivers/pwm/pwm-tegra.c | 104 ++++++++++++++++++++++++++++++++--------
>  1 file changed, 85 insertions(+), 19 deletions(-)

Can this be safely applied independently of the rest of the series, or
are there any dependencies on earlier patches?

Thierry
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-pm/2021/08/1482919/attachment/0) (application/pgp-signature, 833 bytes)
