# Re: \[PATCH v6 08/17\] spi: mpc512x: adjust to OF based clock lookup

- From: Anatolij Gustschin \<agust@denx.de\>
- Date: 2013-12-07 09:46:35 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2013/12/9477437
- Thread: https://ratatoskr.run/linuxppc-dev/2013/11/8081534/t.md

```text
On Sat, 30 Nov 2013 23:51:28 +0100
Gerhard Sittig [ref] wrote:

> after device tree based clock lookup became available, the peripheral
> driver need no longer construct clock names which include the PSC index,
> remove the "psc%d_mclk" template and unconditionally use 'mclk'
> 
> acquire and release the 'ipg' clock item for register access as well
> 
> Cc: Mark Brown <broonie@kernel.org>
> Cc: <redacted>
> Signed-off-by: Gerhard Sittig <redacted>
> ---
>  drivers/spi/spi-mpc512x-psc.c |   26 ++++++++++++++++++--------
>  1 file changed, 18 insertions(+), 8 deletions(-)

applied to next. Thanks!

Anatolij
```
