clk: bcm281xx: add clock policy support
authorAlex Elder <elder@linaro.org>
Mon, 21 Apr 2014 21:11:42 +0000 (16:11 -0500)
committerMike Turquette <mturquette@linaro.org>
Wed, 30 Apr 2014 18:51:36 +0000 (11:51 -0700)
commita597faccc7eedd406313e880ed05ff75bc522910
tree4e463bcfde259380a3ea5b50534272357f007dc8
parent03548ec06ad3ec75d5b212fa832e4e617334ea09
clk: bcm281xx: add clock policy support

Add support for CCU policy engine control, and also for setting the
mask bits for bus clocks that require a policy change to get
activated.  This includes adding validity checking framework for
CCUs, to validate the policy fields if defined.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/bcm/clk-kona-setup.c
drivers/clk/bcm/clk-kona.c
drivers/clk/bcm/clk-kona.h