* [GIT PULL] Generic PWM Device API
@ 2011-02-28 3:38 Bill Gatliff
2011-02-28 4:45 ` Greg KH
2011-02-28 10:31 ` Sascha Hauer
0 siblings, 2 replies; 6+ messages in thread
From: Bill Gatliff @ 2011-02-28 3:38 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds, akpm, linux-embedded
Andrew, Linus:
The git repository described in the following pull request implements
a generic PWM device driver API. This API is intended to eventually
supercede the existing PWM device drivers, but during a migration
period will coexist peacefully with them.
This code has been discussed at length on the linux-embedded mailing
list. Noteworthy threads include:
v6 (final) patches:
http://www.mail-archive.com/linux-embedded@vger.kernel.org/msg03291.html
v5 patches:
http://www.mail-archive.com/linux-embedded@vger.kernel.org/msg03279.html
v4 patches:
http://www.mail-archive.com/linux-embedded@vger.kernel.org/msg03263.html
Thanks!
b.g.
---
Bill Gatliff
bgat@billgatliff.com
--------
The following changes since commit 493f3358cb289ccf716c5a14fa5bb52ab75943e5:
Merge branch 'pm-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6
(2011-02-25 15:15:17 -0800)
are available in the git repository at:
git://git.billgatliff.com/pwm.git linux-next
Bill Gatliff (3):
PWM: Implement a generic PWM framework
PWM: GPIO+hrtimer device emulation
PWM: Atmel PWMC driver
Documentation/pwm.txt | 277 +++++++++++++++++++++
MAINTAINERS | 8 +
drivers/Kconfig | 2 +
drivers/Makefile | 2 +
drivers/pwm/Kconfig | 29 +++
drivers/pwm/Makefile | 7 +
drivers/pwm/atmel-pwmc.c | 494 +++++++++++++++++++++++++++++++++++++
drivers/pwm/gpio-pwm.c | 348 ++++++++++++++++++++++++++
drivers/pwm/pwm.c | 610 ++++++++++++++++++++++++++++++++++++++++++++++
include/linux/pwm/pwm.h | 155 ++++++++++++
10 files changed, 1932 insertions(+), 0 deletions(-)
create mode 100644 Documentation/pwm.txt
create mode 100644 drivers/pwm/Kconfig
create mode 100644 drivers/pwm/Makefile
create mode 100644 drivers/pwm/atmel-pwmc.c
create mode 100644 drivers/pwm/gpio-pwm.c
create mode 100644 drivers/pwm/pwm.c
create mode 100644 include/linux/pwm/pwm.h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Generic PWM Device API
2011-02-28 3:38 [GIT PULL] Generic PWM Device API Bill Gatliff
@ 2011-02-28 4:45 ` Greg KH
[not found] ` <AANLkTinEX8ascZeZG7HJB=_UGVbbPatpcNp5B2__mbVh@mail.gmail.com>
2011-02-28 10:31 ` Sascha Hauer
1 sibling, 1 reply; 6+ messages in thread
From: Greg KH @ 2011-02-28 4:45 UTC (permalink / raw)
To: Bill Gatliff; +Cc: linux-kernel, torvalds, akpm, linux-embedded
On Sun, Feb 27, 2011 at 09:38:38PM -0600, Bill Gatliff wrote:
> Andrew, Linus:
>
>
> The git repository described in the following pull request implements
> a generic PWM device driver API. This API is intended to eventually
> supercede the existing PWM device drivers, but during a migration
> period will coexist peacefully with them.
>
> This code has been discussed at length on the linux-embedded mailing
> list. Noteworthy threads include:
>
> v6 (final) patches:
> http://www.mail-archive.com/linux-embedded@vger.kernel.org/msg03291.html
>
> v5 patches:
> http://www.mail-archive.com/linux-embedded@vger.kernel.org/msg03279.html
>
> v4 patches:
> http://www.mail-archive.com/linux-embedded@vger.kernel.org/msg03263.html
>
>
> Thanks!
Isn't it a bit late in the -rc release cycle to pull this in now?
confused,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Generic PWM Device API
2011-02-28 3:38 [GIT PULL] Generic PWM Device API Bill Gatliff
2011-02-28 4:45 ` Greg KH
@ 2011-02-28 10:31 ` Sascha Hauer
2011-02-28 11:28 ` Jonathan Cameron
1 sibling, 1 reply; 6+ messages in thread
From: Sascha Hauer @ 2011-02-28 10:31 UTC (permalink / raw)
To: Bill Gatliff; +Cc: linux-kernel, torvalds, akpm, linux-embedded
On Sun, Feb 27, 2011 at 09:38:38PM -0600, Bill Gatliff wrote:
> Andrew, Linus:
>
>
> The git repository described in the following pull request implements
> a generic PWM device driver API. This API is intended to eventually
> supercede the existing PWM device drivers, but during a migration
> period will coexist peacefully with them.
Sorry for the late answer, but it took some time to read the patches
again.
Is it a good idea to have to APIs for the same thing in the kernel?
The old API has users whereas the new API has none. How can we migrate
from one API to the other when for example the backlight pwm driver
depends on the old API, SoC level drivers implement the old API, but
the atmel pwm driver is only available for the new API?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Generic PWM Device API
2011-02-28 10:31 ` Sascha Hauer
@ 2011-02-28 11:28 ` Jonathan Cameron
2011-02-28 12:18 ` Jonathan Cameron
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Cameron @ 2011-02-28 11:28 UTC (permalink / raw)
To: Sascha Hauer; +Cc: Bill Gatliff, linux-kernel, torvalds, akpm, linux-embedded
On 02/28/11 10:31, Sascha Hauer wrote:
> On Sun, Feb 27, 2011 at 09:38:38PM -0600, Bill Gatliff wrote:
>> Andrew, Linus:
>>
>>
>> The git repository described in the following pull request implements
>> a generic PWM device driver API. This API is intended to eventually
>> supercede the existing PWM device drivers, but during a migration
>> period will coexist peacefully with them.
>
> Sorry for the late answer, but it took some time to read the patches
> again.
>
> Is it a good idea to have to APIs for the same thing in the kernel?
> The old API has users whereas the new API has none. How can we migrate
> from one API to the other when for example the backlight pwm driver
> depends on the old API, SoC level drivers implement the old API, but
> the atmel pwm driver is only available for the new API?
>
See the info in Bill's previous postings. He has other drivers queued
up but wants to break up the review burden by merging this core stuff
first...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Generic PWM Device API
2011-02-28 11:28 ` Jonathan Cameron
@ 2011-02-28 12:18 ` Jonathan Cameron
0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Cameron @ 2011-02-28 12:18 UTC (permalink / raw)
Cc: Sascha Hauer, Bill Gatliff, linux-kernel, torvalds, akpm,
linux-embedded
On 02/28/11 11:28, Jonathan Cameron wrote:
> On 02/28/11 10:31, Sascha Hauer wrote:
>> On Sun, Feb 27, 2011 at 09:38:38PM -0600, Bill Gatliff wrote:
>>> Andrew, Linus:
>>>
>>>
>>> The git repository described in the following pull request implements
>>> a generic PWM device driver API. This API is intended to eventually
>>> supercede the existing PWM device drivers, but during a migration
>>> period will coexist peacefully with them.
>>
>> Sorry for the late answer, but it took some time to read the patches
>> again.
>>
>> Is it a good idea to have to APIs for the same thing in the kernel?
>> The old API has users whereas the new API has none. How can we migrate
>> from one API to the other when for example the backlight pwm driver
>> depends on the old API, SoC level drivers implement the old API, but
>> the atmel pwm driver is only available for the new API?
>>
> See the info in Bill's previous postings. He has other drivers queued
> up but wants to break up the review burden by merging this core stuff
> first...
>
Come to think of it, Bill, could you post these at this stage to
show the full benefit of this move?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-28 16:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 3:38 [GIT PULL] Generic PWM Device API Bill Gatliff
2011-02-28 4:45 ` Greg KH
[not found] ` <AANLkTinEX8ascZeZG7HJB=_UGVbbPatpcNp5B2__mbVh@mail.gmail.com>
2011-02-28 16:50 ` Greg KH
2011-02-28 10:31 ` Sascha Hauer
2011-02-28 11:28 ` Jonathan Cameron
2011-02-28 12:18 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).