[PATCH v6 09/17] serial: mpc512x: adjust for OF based clock lookup

Anatolij Gustschin agust at denx.de
Sat Dec 7 20:49:17 EST 2013


On Sat, 30 Nov 2013 23:51:29 +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: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Jiri Slaby <jslaby at suse.cz>
> Cc: linux-serial at vger.kernel.org
> Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org> # for v4
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
> Greg, the difference since v4 of this patch is that v4 took the 'mclk'
> and 'ipg' clock items in reverse order, and thus potentially obfuscated
> the adjusted name for 'mclk' -- the updated version of the patch is
> identical in content but cleaner diff-wise
> 
> ---
>  drivers/tty/serial/mpc52xx_uart.c |   40 ++++++++++++++++++++++++++++++++-----
>  1 file changed, 35 insertions(+), 5 deletions(-)

applied to next. Thanks!

Anatolij


More information about the Linuxppc-dev mailing list