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

Anatolij Gustschin agust at denx.de
Sat Dec 7 20:46:28 EST 2013


On Sat, 30 Nov 2013 23:51:28 +0100
Gerhard Sittig <gsi at denx.de> 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 at kernel.org>
> Cc: linux-spi at vger.kernel.org
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
>  drivers/spi/spi-mpc512x-psc.c |   26 ++++++++++++++++++--------
>  1 file changed, 18 insertions(+), 8 deletions(-)

applied to next. Thanks!

Anatolij


More information about the Linuxppc-dev mailing list