[PATCH 04/16] clk: at91: make use of syscon to share PMC registers in several drivers

Stephen Boyd sboyd at codeaurora.org
Thu Oct 1 10:49:16 PDT 2015


On 09/30, Alexandre Belloni wrote:
> From: Boris Brezillon <boris.brezillon at free-electrons.com>
> 
> The PMC block is providing several functionnalities:
>  - system clk management
>  - cpuidle
>  - platform suspend
> 
> Replace the void __iomem *regs field by a regmap (retrieved using syscon)
> so that we can later share the regmap across several drivers without
> exporting a new specific API or a global void __iomem * variable.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> ---

Acked-by: Stephen Boyd <sboyd at codeaurora.org>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



More information about the linux-arm-kernel mailing list