From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: "jonsmirl@gmail.com" <jonsmirl@gmail.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>,
linux-pwm@vger.kernel.org,
linux-sunxi <linux-sunxi@googlegroups.com>,
ARM Linux Mailing List <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] This adds a generic PWM framework driver for the PWM controller
Date: Sun, 14 Sep 2014 13:19:01 +0200 [thread overview]
Message-ID: <20140914111901.GF26281@piout.net> (raw)
In-Reply-To: <CAKON4OwDWqnu9Nn6rBFtUJX2f0eFVzBFhRMcvPAp=K6N1KpE0w@mail.gmail.com>
On 19/08/2014 at 08:11:40 -0400, jonsmirl@gmail.com wrote :
> On Mon, Aug 18, 2014 at 4:19 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > On Mon, Aug 18, 2014 at 03:53:08PM -0400, jonsmirl@gmail.com wrote:
> >> On Mon, Aug 18, 2014 at 3:23 PM, Maxime Ripard
> >> <maxime.ripard@free-electrons.com> wrote:
> >> > Hi,
> >> >
> >> > On Mon, Aug 18, 2014 at 02:03:16PM -0400, Jon Smirl wrote:
> >> >> found on Allwinner SoCs.x
> >> >>
> >> >> Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
> >> >
> >> > Is there any notable difference with Alexandre's driver?
> >> > https://lkml.org/lkml/2014/5/19/568
> >> >
> >> > If so, why didn't you posted incremental patches on top of his driver?
> >>
> >> Better A10 support.
> >
> > Better how?
> >
> >> And I wrote this one without know about his.
> >
> > So you're just require us to trash an already extensively reviewed
> > driver and start from scratch again?
>
> Forget mine then.
>
> Problems in the other one....
> 1) The math is not right in either patch. Selsinork has been checking
> mine with a scope and just found another math error in mine. The
> internal math needs to be done in picoseconds or round off errors mess
> up the high frequency outputs (24Mhz, 12Mhz, 8Mhz, ...).
I don't have an oscilloscope so I can't check the exact output but I4ll
try to think about it.
> 3) By-pass mode on the A20 is not implemented.
I'm not sure there is a real use case here, using the bypass only allows
for one duty cycle of 50% with a period of 41.6ns so I think it is
preferable to get an error instead of a bogus output.
> 2) A10 is not correctly handled. Specifically the prescaler is
> different on the A10 vs A20.
>
I'll change that.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] This adds a generic PWM framework driver for the PWM controller
Date: Sun, 14 Sep 2014 13:19:01 +0200 [thread overview]
Message-ID: <20140914111901.GF26281@piout.net> (raw)
In-Reply-To: <CAKON4OwDWqnu9Nn6rBFtUJX2f0eFVzBFhRMcvPAp=K6N1KpE0w@mail.gmail.com>
On 19/08/2014 at 08:11:40 -0400, jonsmirl at gmail.com wrote :
> On Mon, Aug 18, 2014 at 4:19 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > On Mon, Aug 18, 2014 at 03:53:08PM -0400, jonsmirl at gmail.com wrote:
> >> On Mon, Aug 18, 2014 at 3:23 PM, Maxime Ripard
> >> <maxime.ripard@free-electrons.com> wrote:
> >> > Hi,
> >> >
> >> > On Mon, Aug 18, 2014 at 02:03:16PM -0400, Jon Smirl wrote:
> >> >> found on Allwinner SoCs.x
> >> >>
> >> >> Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
> >> >
> >> > Is there any notable difference with Alexandre's driver?
> >> > https://lkml.org/lkml/2014/5/19/568
> >> >
> >> > If so, why didn't you posted incremental patches on top of his driver?
> >>
> >> Better A10 support.
> >
> > Better how?
> >
> >> And I wrote this one without know about his.
> >
> > So you're just require us to trash an already extensively reviewed
> > driver and start from scratch again?
>
> Forget mine then.
>
> Problems in the other one....
> 1) The math is not right in either patch. Selsinork has been checking
> mine with a scope and just found another math error in mine. The
> internal math needs to be done in picoseconds or round off errors mess
> up the high frequency outputs (24Mhz, 12Mhz, 8Mhz, ...).
I don't have an oscilloscope so I can't check the exact output but I4ll
try to think about it.
> 3) By-pass mode on the A20 is not implemented.
I'm not sure there is a real use case here, using the bypass only allows
for one duty cycle of 50% with a period of 41.6ns so I think it is
preferable to get an error instead of a bogus output.
> 2) A10 is not correctly handled. Specifically the prescaler is
> different on the A10 vs A20.
>
I'll change that.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-09-14 11:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 18:03 [PATCH] This adds a generic PWM framework driver for the PWM controller Jon Smirl
2014-08-18 18:03 ` Jon Smirl
2014-08-18 19:23 ` Maxime Ripard
2014-08-18 19:23 ` Maxime Ripard
2014-08-18 19:53 ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2014-08-18 19:53 ` jonsmirl at gmail.com
[not found] ` <CAKON4OwzFDDXqCF4VNkUXXJLp3smrB6Axp_x=D47sjbpoNbe+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-18 20:19 ` Maxime Ripard
2014-08-18 20:19 ` Maxime Ripard
2014-08-19 12:11 ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2014-08-19 12:11 ` jonsmirl at gmail.com
[not found] ` <CAKON4OwDWqnu9Nn6rBFtUJX2f0eFVzBFhRMcvPAp=K6N1KpE0w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-19 12:38 ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2014-08-19 12:38 ` jonsmirl at gmail.com
2014-08-23 7:12 ` Maxime Ripard
2014-08-23 7:12 ` Maxime Ripard
2014-09-14 11:19 ` Alexandre Belloni [this message]
2014-09-14 11:19 ` Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140914111901.GF26281@piout.net \
--to=alexandre.belloni@free-electrons.com \
--cc=jonsmirl@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=maxime.ripard@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.