From: Philipp Zabel Date: Thu, 14 Feb 2013 16:39:08 +0000 (+0100) Subject: regmap: mmio: add register clock support X-Git-Tag: v3.9-rc1~155^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=878ec67b3ac528a2b6d44055f049cdbb9cfda30c;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed