diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-04-19 10:58:22 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-12 22:58:48 +0800 |
commit | f9f28cdf21679792c30d9f5eebd01b7e04fe658f (patch) | |
tree | 6a1d608fd6eaeee70eeab2d00100394e0c95fb32 /Documentation/devicetree/bindings/clock | |
parent | 94b5c0288299c7b962a7e2cb734293b77b96cffe (diff) |
ARM: imx: add shared gate clock support
It's quite common on i.MX that one gate bit controls the gating of
multiple clocks, i.e. this is a shared gate. The patch adds the
function imx_clk_gate2_shared() for such case. The clocks controlled
by the same gate bits should call this function with a pointer to a
single share count variable, so that the gate bits will only be
operated on the first enabling and the last disabling of these shared
gate clocks.
Thanks to Gerhard Sittig <gsi@denx.de> for this idea.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
0 files changed, 0 insertions, 0 deletions