diff options
author | Sylvain Lemieux <slemieux@tycoint.com> | 2016-06-03 15:34:35 -0400 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2016-07-06 17:51:14 -0700 |
commit | 054e2730088a9c9340b5bc6927000f5c14a8b6d7 (patch) | |
tree | c64da9711d6bef7958b2653184c465b7dc55c64d /include | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | linux-stable-054e2730088a9c9340b5bc6927000f5c14a8b6d7.tar.gz linux-stable-054e2730088a9c9340b5bc6927000f5c14a8b6d7.tar.bz2 linux-stable-054e2730088a9c9340b5bc6927000f5c14a8b6d7.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/clock/lpc32xx-clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/lpc32xx-clock.h b/include/dt-bindings/clock/lpc32xx-clock.h index d41b6fea1450..e624d3a52798 100644 --- a/include/dt-bindings/clock/lpc32xx-clock.h +++ b/include/dt-bindings/clock/lpc32xx-clock.h @@ -48,6 +48,7 @@ #define LPC32XX_CLK_PWM2 33 #define LPC32XX_CLK_ADC 34 #define LPC32XX_CLK_HCLK_PLL 35 +#define LPC32XX_CLK_PERIPH 36 /* LPC32XX USB clocks */ #define LPC32XX_USB_CLK_I2C 1 |