[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141006144320.GF15599@piout.net>
Date: Mon, 6 Oct 2014 16:43:21 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Thierry Reding <thierry.reding@...il.com>
Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>,
jonsmirl@...il.com, Simon <longsleep@...il.com>,
linux-pwm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists