]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: socfpga: Add support to gate peripheral clocks
authorDinh Nguyen <dinguyen@altera.com>
Wed, 5 Jun 2013 15:02:55 +0000 (10:02 -0500)
committerOlof Johansson <olof@lixom.net>
Tue, 11 Jun 2013 23:35:29 +0000 (16:35 -0700)
commit825f0c26720668aefe3ed93be70e3bccf2337033
treec3b57d935d13a6adc63d7ad4314241e5403e444d
parentea36b02269e49ad9dad926197de2ceab377c4c95
ARM: socfpga: Add support to gate peripheral clocks

Add support to gate the clocks that directly feed peripherals. For clocks
with multiple parents, add the ability to determine the correct parent,
and also set parents. Also add support to calculate and set the clocks'
rate.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Reviewed-by: Pavel Machek <pavel@denx.de>
Acked-by: Mike Turquette <mturquette@linaro.org>
Cc: Mike Turquette <mturquette@linaro.org>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Olof Johansson <olof@lixom.net>
Cc: Pavel Machek <pavel@denx.de>
CC: <linux@arm.linux.org.uk>
v4:
- Add Acked-by: Mike Turquette

v3:
- Addressed comments from Pavel

v2:
- Fix space/indent errors
- Add streq for strcmp == 0
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/clk/socfpga/clk.c