diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-02-14 17:39:08 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-14 16:40:28 +0000 |
commit | 878ec67b3ac528a2b6d44055f049cdbb9cfda30c (patch) | |
tree | e6907b938e9c77c84aed65f7a6f8b2d72f4eb0fd /fs | |
parent | 836dc9e3fbbab0c30aa6e664417225f5c1fb1c39 (diff) |
regmap: mmio: add register clock support
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions