lkml.org 
[lkml]   [2014]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv7 1/2] pwm: Add Allwinner SoC support
Oops, missing line:

On 06/10/2014 at 16:30:08 +0200, Alexandre Belloni wrote :
> > > +static const u32 prescaler_table[] = {
> > > + 120,
> > > + 180,
> > > + 240,
> > > + 360,
> > > + 480,
> > > + 0,
> > > + 0,
> > > + 0,
> > > + 12000,
> > > + 24000,
> > > + 36000,
> > > + 48000,
> > > + 72000,
> > > + 0,
> > > + 0,
> > > + 0, /* Actually 1 but tested separately */
> > > +};
> >
> > Did I already mention that this was really weird?
> >
>
> I'm not sure what you want to do here then. This is simply coming from
> the datasheet. The last one (0xF) being a bypass is actually only existing on

A20 and later.


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


\
 
 \ /
  Last update: 2014-10-06 17:22    [W:0.044 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site