On Sat, Apr 11, 2015 at 11:13:04PM +0200, David Lanzendörfer wrote:
> > > Oh! That's a misunderstanding.
> > > The clock code I wrote doesn't work at all...
> > Why?
>
> It has a different register layout...
>
> > Indeed. But until we know why (ie, the hardware is not the one
> > documented in the datasheet, the logic we have has a bug, some actual
> > explanation of what's happening), that's not an argument of its own.
>
> User manual... And I suggest having a look into the u-boot code.
> They made the pll3 and pll7 work properly.
> We can just adapt their code and re-use it for the kernel space driver.
> Without it it's nearly impossible to implement a proper a  KMS driver.

That doesn't explain why the kernel crash when you use these drivers.

> > > pll3 and pll7 are the only ones with
> > >   0: fractional mode
> > >   1: integer mode
> >
> > Now that's a good argument to introduce a new compatible. What is that
> > value usually set to?
>
> To integer mode

Ok.

> > Does it need to be tweaked by Linux, or can it be left untouched?
>
> Yes. It needs to be tweaked since we wanna change resolutions and
> things like that and for that we need to access the PLLs.

And the resolution changes whether you want to use the fractional mode
or the integer mode?

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to