[PATCH v4 02/13] clk: at91: make use of syscon/regmap internally

Stephen Boyd sboyd at codeaurora.org
Thu Jan 28 00:31:50 PST 2016


On 01/27, Alexandre Belloni wrote:
> From: Boris Brezillon <boris.brezillon at free-electrons.com>
> 
> Use the regmap coming from syscon to access the registers instead of using
> pmc_read/pmc_write. This allows to avoid passing the at91_pmc structure to
> the child nodes of the PMC.
> 
> The final benefit is to have each clock register itself instead of having
> to iterate over the children.
> 
> 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