From: Dinh Nguyen Date: Wed, 5 Jun 2013 15:02:55 +0000 (-0500) Subject: ARM: socfpga: Add support to gate peripheral clocks X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~71^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=825f0c26720668aefe3ed93be70e3bccf2337033;p=pandora-kernel.git 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 Reviewed-by: Pavel Machek Acked-by: Mike Turquette Cc: Mike Turquette CC: Arnd Bergmann CC: Olof Johansson Cc: Pavel Machek CC: 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 --- Reading git-diff-tree failed