Re: [PATCH v4 4/5] clk: aspeed: Register gated clocks

2017-10-05 Thread Andrew Jeffery
On Tue, 2017-10-03 at 17:25 +1030, Joel Stanley wrote: > The majority of the clocks in the system are gates paired with a reset > controller that holds the IP in reset. >  > This borrows from clk_hw_register_gate, but registers two 'gates', one > to control the clock enable register and the other t

[PATCH v4 4/5] clk: aspeed: Register gated clocks

2017-10-02 Thread Joel Stanley
The majority of the clocks in the system are gates paired with a reset controller that holds the IP in reset. This borrows from clk_hw_register_gate, but registers two 'gates', one to control the clock enable register and the other to control the reset IP. This allows us to enforce the ordering: