regmap: mmio: add register clock support
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 14 Feb 2013 16:39:08 +0000 (17:39 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 14 Feb 2013 16:40:28 +0000 (16:40 +0000)
Some mmio devices have a dedicated interface clock that needs
to be enabled to access their registers. This patch optionally
enables a clock before accessing registers in the regmap_bus
callbacks.

I added (devm_)regmap_init_mmio_clk variants of the init
functions that have an added clk_id string parameter. This
is passed to clk_get to request the clock from the clk
framework.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found