# Re: \[PATCH v8 22/34\] spi: tegra20-slink: Add OPP support

- From: Dmitry Osipenko \<digetx@gmail.com\>
- Date: 2021-08-17 15:57:18 
- List: linux-pm
- Page: https://ratatoskr.run/linux-pm/2021/08/1480572
- Thread: https://ratatoskr.run/linux-tegra/2021/08/1479846/t.md

```text
17.08.2021 15:22, Mark Brown пишет:
> On Tue, Aug 17, 2021 at 04:27:42AM +0300, Dmitry Osipenko wrote:
>> The SPI on Tegra belongs to the core power domain and we're going to
>> enable GENPD support for the core domain. Now SPI driver must use OPP
>> API for driving the controller's clock rate because OPP API takes care
>> of reconfiguring the domain's performance state in accordance to the
>> rate. Add OPP support to the driver.
> 
> Acked-by: Mark Brown <broonie@kernel.org>
> 
> Is there a concrete dependency here or can I merge this separately?

This patch depends on the new OPP helpers added earlier in this series.
In particular it depends on these patches:

opp: Add dev_pm_opp_sync() helper
soc/tegra: Add devm_tegra_core_dev_init_opp_table_simple()

Thank you for the ack!
```
