linux-uconsole/include/linux/clk
Geert Uytterhoeven 2066390ad4 clk: renesas: cpg-mssr: Export cpg_mssr_{at,de}tach_dev()
The R-Car SYSC PM Domain driver has to power manage devices in power
areas using clocks. To reuse code and to share knowledge of clocks
suitable for power management, this is ideally done through the existing
cpg_mssr_attach_dev() and cpg_mssr_detach_dev() callbacks.

Hence these callbacks can no longer rely on their "domain" parameter
pointing to the CPG/MSSR Clock Domain. To handle this, keep a pointer to
the clock domain in a static variable. cpg_mssr_attach_dev() has to
support probe deferral, as the R-Car SYSC PM Domain may be initialized,
and devices may be added to it, before the CPG/MSSR Clock Domain is
initialized.

Dummy callbacks are provided for the case where CPG/MSTP support is not
included, so the rcar-sysc driver won't have to care about this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-04-20 09:17:07 +02:00
..
at91_pmc.h clk: at91: pmc: drop at91_pmc_base 2016-02-17 17:53:03 +01:00
bcm2835.h
clk-conf.h clk: Add missing header for 'bool' definition to clk-conf.h 2015-08-25 10:54:06 -07:00
mmp.h clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
mxs.h ARM: mxs: remove custom .init_time hook 2013-09-29 21:09:34 +02:00
renesas.h clk: renesas: cpg-mssr: Export cpg_mssr_{at,de}tach_dev() 2016-04-20 09:17:07 +02:00
tegra.h clk: tegra: Properly include clk.h 2015-07-20 11:11:17 -07:00
ti.h clk: ti: dpll: convert DPLL support code to use clk_hw instead of clk ptrs 2016-02-22 14:16:49 -08:00
zynq.h ARM: zynq: Map I/O memory on clkc init 2014-02-10 11:21:13 +01:00