Searched hist:"19 d86344" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/mach-imx/ |
H A D | Makefile | 19d86344 Tue Aug 26 02:06:33 CDT 2014 Shawn Guo <shawn.guo@freescale.com> ARM: imx: add an exclusive gate clock type
There are a couple of gate clocks are mutually exclusive on i.MX6, i.e. LVDSCLK1_IBEN and LVDSCLK1_OBEN. They cannot be enabled simultaneously. This patches adds an exclusive gate clock type specifically for such case. The clock driver will need to call imx_clk_gate_exclusive() to register a gate clock with parameter exclusive_mask indicating the mask of gate bits which are mutually exclusive to this gate clock.
Right now, it only handles the exclusive gate clocks which are defined in a single hardware register, which is the case we're running into today. But it can be extended to handle exclusive gate clocks defined in different registers later if needed.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com> 19d86344 Tue Aug 26 02:06:33 CDT 2014 Shawn Guo <shawn.guo@freescale.com> ARM: imx: add an exclusive gate clock type There are a couple of gate clocks are mutually exclusive on i.MX6, i.e. LVDSCLK1_IBEN and LVDSCLK1_OBEN. They cannot be enabled simultaneously. This patches adds an exclusive gate clock type specifically for such case. The clock driver will need to call imx_clk_gate_exclusive() to register a gate clock with parameter exclusive_mask indicating the mask of gate bits which are mutually exclusive to this gate clock. Right now, it only handles the exclusive gate clocks which are defined in a single hardware register, which is the case we're running into today. But it can be extended to handle exclusive gate clocks defined in different registers later if needed. Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
|