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

From
Anatolij Gustschin <agust@denx.de>
Date
2013-12-07 09:49:21
Also in
linux-serial
Reply to
Gerhard Sittig, 2013-11-30
On Sat, 30 Nov 2013 23:51:29 +0100
Gerhard Sittig [off-list 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <redacted>
Cc: <redacted>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # for v4
Signed-off-by: Gerhard Sittig <redacted>
---
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
Thread (35 messages) 35 messages, 5 authors, last reply 2013-12-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help