# Re: \[PATCH v3 11/12\] mmc: sunxi: Convert MMC driver to the standard clock phase API

- From: David Lanzendörfer \<hidden\>
- Date: 2014-09-26 14:27:10 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2014/09/8097610
- Thread: https://ratatoskr.run/linux-devicetree/2014/09/8096902/t.md

```text
Hello
> Now that we have proper support to use the generic phase API in our clock
> driver, switch the MMC driver to use it.
> [...]
>  	/* determine delays */
>  	if (rate <= 400000) {
> -		oclk_dly = 0;
> -		sclk_dly = 7;
> +		oclk_dly = 180;
> +		sclk_dly = 42;
> [...]
How did you calculate the actual phase values from the original parameters?

greatings
-- 
David Lanzendörfer
OpenSourceSupport GmbH
System engineer and supporter
http://www.o2s.ch/
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-devicetree/2014/09/8097610/attachment/0) (application/pgp-signature, 198 bytes)
