# \[PATCH 1/3\] clk: sunxi: Add a driver for the CCU

- From: Jean-Francois Moine \<hidden\>
- Date: 2016-07-01 06:04:00 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2016/07/8124903
- Thread: https://ratatoskr.run/linux-arm-kernel/2016/06/8124871/t.md

```text
On Thu, 30 Jun 2016 23:16:35 +0200
Maxime Ripard [ref] wrote:

> > - in case a driver requests a reset, this last one should exist.
> >   But, this reset may point to a void one (reg = null) when the real
> >   reset has been moved to the prepare/unprepare of the associated clock.
> 
> And what if this driver wants to be reset, by calling
> reset_control_reset? You realize you're going against the semantics of
> the reset and clock APIs, and what the hardware expose here right?

If a driver really wants a reset, the reset stuff is not included in
the clock prepare.

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
```
