Re: [PATCH v2 03/14] clk: at91: make use of syscon/regmap internally

2015-10-28 Thread Yang, Wenyou
On 2015/10/12 22:28, Alexandre Belloni wrote: diff --git a/drivers/clk/at91/clk-h32mx.c b/drivers/clk/at91/clk-h32mx.c index 61566bcefa53..a0fe54a96031 100644 --- a/drivers/clk/at91/clk-h32mx.c +++ b/drivers/clk/at91/clk-h32mx.c @@ -24,6 +24,9 @@ #include #include #include +#include +

[PATCH v2 03/14] clk: at91: make use of syscon/regmap internally

2015-10-12 Thread Alexandre Belloni
From: Boris Brezillon 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 ch