clk: lpc32xx: allow peripheral clock selection in device tree
authorSylvain Lemieux <slemieux@tycoint.com>
Fri, 3 Jun 2016 19:34:35 +0000 (15:34 -0400)
committerMichael Turquette <mturquette@baylibre.com>
Thu, 7 Jul 2016 00:51:14 +0000 (17:51 -0700)
commit054e2730088a9c9340b5bc6927000f5c14a8b6d7
treec64da9711d6bef7958b2653184c465b7dc55c64d
parent1a695a905c18548062509178b98bc91e67510864
clk: lpc32xx: allow peripheral clock selection in device tree

This patch add the support to select the peripheral clock (PERIPH)
as a parent clock source using the "assigned-clock-parents"
parameter in the device tree.

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1464982475-24738-1-git-send-email-slemieux.tyco@gmail.com
drivers/clk/nxp/clk-lpc32xx.c
include/dt-bindings/clock/lpc32xx-clock.h