From: Heiko Stübner Date: Wed, 2 Jul 2014 23:59:39 +0000 (+0200) Subject: clk: rockchip: add reset controller X-Git-Tag: omap-for-v3.17/fixes-against-rc2~122^2~7^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85fa0c7f8d05eb6baf2c122e85d45d928df0992b;p=pandora-kernel.git clk: rockchip: add reset controller All Rockchip SoCs at least down to the ARM9-based RK28xx include the reset- controller for SoC peripherals in their clock controller. While the older SoCs (ARM9 and Cortex-A8) use a regular scheme to change register values, the Cortex-A9 SoCs use a hiword-mask making locking unecessary. To be compatible with both schemes the reset controller takes a flag to decide which scheme to use, similar to the other HIWORD_MASK flags used in the clock framework. Signed-off-by: Heiko Stuebner Acked-By: Max Schwarz Tested-By: Max Schwarz Signed-off-by: Mike Turquette --- Reading git-diff-tree failed