Re: [PATCH v3 1/6] clk: sunxi-ng: a20: Register regmap for sun7i CCU

2020-04-30 Thread Maxime Ripard
On Thu, Apr 30, 2020 at 02:56:57PM +0300, Priit Laes wrote: > On sun7i, the gmac clock is handled by the dwmac-sunxi driver, but > its configuration register is located in the CCU register range, > requiring proper regmap setup. > > In order to do that, we use CLK_OF_DECLARE_DRIVER to initialize >

[PATCH v3 1/6] clk: sunxi-ng: a20: Register regmap for sun7i CCU

2020-04-30 Thread Priit Laes
On sun7i, the gmac clock is handled by the dwmac-sunxi driver, but its configuration register is located in the CCU register range, requiring proper regmap setup. In order to do that, we use CLK_OF_DECLARE_DRIVER to initialize sun7i ccu, which clears the OF_POPULATED flag, allowing the platform de