All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Arun MURTHY <arun.murthy@stericsson.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>,
	Trilok Soni <soni.trilok@gmail.com>,
	"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"kernel@pengutronix.de" <kernel@pengutronix.de>,
	Bill Gatliff <bgat@billgatliff.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Linus WALLEIJ <linus.walleij@stericsson.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	"kgene.kim@samsung.com" <kgene.kim@samsung.com>,
	"rpurdie@rpsys.net" <rpurdie@rpsys.net>,
	"philipp.zabel@gmail.com" <philipp.zabel@gmail.com>,
	Mattias WALLIN <mattias.wallin@stericsson.com>,
	STEricsson_nomadik_linux <STEricsson_nomadik_linux@list.st.com>,
	"eric.y.miao@gmail.com" <eric.y.miao@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"robert.jarzmik@free.fr" <robert.jarzmik@free.fr>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	Samuel Ortiz <sameo@linux.intel.com>
Subject: Re: [PATCH 1/7] pwm: Add pwm core driver
Date: Fri, 1 Oct 2010 11:00:51 -0700	[thread overview]
Message-ID: <20101001180051.GC21157@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <F45880696056844FA6A73F415B568C69532DCF34AE@EXDCVYMBSTM006.EQ1STM.local>

On Fri, Oct 01, 2010 at 10:46:15AM +0200, Arun MURTHY wrote:
> > On Fri, Oct 1, 2010 at 4:25 PM, Arun MURTHY

> > > I mean not the functions but the functionality.
> > > PWM is a simple device and most of its clients are controlling
> > intensity
> > > of backlight, leds, vibrator etc.
> > > I don't think these complex functionality are required.
> > oh dear !
> Here I mean why should all those function be exposed to the entire kernel,
> as most of the pwm devices do not use them.

While many PWM uses are very simple that doesn't mean that we'll never
need to support more advanced uses.  Normally we try to design APIs so
that they both scale down to the simplest use cases and also up to more
complex ones.

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Arun MURTHY <arun.murthy@stericsson.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>,
	Trilok Soni <soni.trilok@gmail.com>,
	"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"kernel@pengutronix.de" <kernel@pengutronix.de>,
	Bill Gatliff <bgat@billgatliff.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Linus WALLEIJ <linus.walleij@stericsson.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	"kgene.kim@samsung.com" <kgene.kim@samsung.com>,
	"rpurdie@rpsys.net" <rpurdie@rpsys.net>,
	"philipp.zabel@gmail.com" <philipp.zabel@gmail.com>,
	Mattias WALLIN <mattias.wallin@stericsson.com>,
	STEricsson_nomadik_linux <STEricsson_nomadik_linux@list.st.com>,
	"eric.y.miao@gmail.com" <eric.y.miao@gmail.com>,
	Andrew
Subject: Re: [PATCH 1/7] pwm: Add pwm core driver
Date: Fri, 1 Oct 2010 11:00:51 -0700	[thread overview]
Message-ID: <20101001180051.GC21157@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <F45880696056844FA6A73F415B568C69532DCF34AE@EXDCVYMBSTM006.EQ1STM.local>

On Fri, Oct 01, 2010 at 10:46:15AM +0200, Arun MURTHY wrote:
> > On Fri, Oct 1, 2010 at 4:25 PM, Arun MURTHY

> > > I mean not the functions but the functionality.
> > > PWM is a simple device and most of its clients are controlling
> > intensity
> > > of backlight, leds, vibrator etc.
> > > I don't think these complex functionality are required.
> > oh dear !
> Here I mean why should all those function be exposed to the entire kernel,
> as most of the pwm devices do not use them.

While many PWM uses are very simple that doesn't mean that we'll never
need to support more advanced uses.  Normally we try to design APIs so
that they both scale down to the simplest use cases and also up to more
complex ones.

WARNING: multiple messages have this Message-ID (diff)
From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] pwm: Add pwm core driver
Date: Fri, 1 Oct 2010 11:00:51 -0700	[thread overview]
Message-ID: <20101001180051.GC21157@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <F45880696056844FA6A73F415B568C69532DCF34AE@EXDCVYMBSTM006.EQ1STM.local>

On Fri, Oct 01, 2010 at 10:46:15AM +0200, Arun MURTHY wrote:
> > On Fri, Oct 1, 2010 at 4:25 PM, Arun MURTHY

> > > I mean not the functions but the functionality.
> > > PWM is a simple device and most of its clients are controlling
> > intensity
> > > of backlight, leds, vibrator etc.
> > > I don't think these complex functionality are required.
> > oh dear !
> Here I mean why should all those function be exposed to the entire kernel,
> as most of the pwm devices do not use them.

While many PWM uses are very simple that doesn't mean that we'll never
need to support more advanced uses.  Normally we try to design APIs so
that they both scale down to the simplest use cases and also up to more
complex ones.

  parent reply	other threads:[~2010-10-01 18:00 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28  7:40 [PATCHv2 0/7] PWM core driver for pwm based led and backlight driver Arun Murthy
2010-09-28  7:40 ` Arun Murthy
2010-09-28  7:40 ` Arun Murthy
2010-09-28  7:40 ` [PATCH 1/7] pwm: Add pwm core driver Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  8:14   ` Vasily Khoruzhick
2010-09-28  8:14     ` Vasily Khoruzhick
2010-09-28  8:38     ` Arun MURTHY
2010-09-28  8:47       ` Vasily Khoruzhick
2010-09-28  8:47         ` Vasily Khoruzhick
2010-09-28  8:57         ` Arun MURTHY
     [not found]       ` <F45880696056844FA6A73F415B568C69532DC2FA8F@EXDCVYMBSTM006.EQ1STM.loca l>
2010-09-28  8:50         ` Hemanth V
2010-09-28  8:50           ` Hemanth V
2010-09-28  9:03           ` Arun MURTHY
     [not found]             ` <F45880696056844FA6A73F415B568C69532DC2FB21@EXDCVYMBSTM006.EQ1STM.loca l>
2010-09-28  9:34               ` Hemanth V
2010-09-28  9:34                 ` Hemanth V
2010-09-28  9:34                 ` Hemanth V
2010-09-28  9:49                 ` Arun MURTHY
2010-09-28  9:49                   ` Arun MURTHY
     [not found]                   ` <F45880696056844FA6A73F415B568C69532DC2FBF9@EXDCVYMBSTM006.EQ1STM.loca l>
2010-09-28 10:41                     ` Hemanth V
2010-09-28 10:41                       ` Hemanth V
2010-09-28 10:41                       ` Hemanth V
2010-09-28 10:53                       ` Arun MURTHY
2010-09-28  8:54   ` Lars-Peter Clausen
2010-09-28  8:54     ` Lars-Peter Clausen
2010-09-28  9:18     ` Arun MURTHY
2010-09-28  9:57       ` Lars-Peter Clausen
2010-09-28  9:57         ` Lars-Peter Clausen
2010-09-28 10:28         ` Arun MURTHY
2010-09-28 21:04           ` Lars-Peter Clausen
2010-09-28 21:04             ` Lars-Peter Clausen
2010-09-28 21:04             ` Lars-Peter Clausen
2010-09-28 21:04             ` Lars-Peter Clausen
2010-09-29  4:49             ` Arun MURTHY
2010-09-29  4:49               ` Arun MURTHY
2010-09-29  4:49               ` Arun MURTHY
2010-09-29 12:12               ` Trilok Soni
2010-09-29 12:12                 ` Trilok Soni
2010-09-29 12:12                 ` Trilok Soni
2010-10-01  3:25                 ` Arun MURTHY
2010-10-01  3:25                   ` Arun MURTHY
2010-10-01  3:25                   ` Arun MURTHY
2010-10-01  6:47                   ` Trilok Soni
2010-10-01  6:47                     ` Trilok Soni
2010-10-01  6:47                     ` Trilok Soni
2010-10-01  7:25                     ` Arun MURTHY
2010-10-01  7:25                       ` Arun MURTHY
2010-10-01  7:25                       ` Arun MURTHY
2010-10-01  7:42                       ` Jassi Brar
2010-10-01  7:42                         ` Jassi Brar
2010-10-01  7:42                         ` Jassi Brar
2010-10-01  8:46                         ` Arun MURTHY
2010-10-01  8:46                           ` Arun MURTHY
2010-10-01  8:46                           ` Arun MURTHY
2010-10-01 10:39                           ` Jassi Brar
2010-10-01 10:39                             ` Jassi Brar
2010-10-01 10:39                             ` Jassi Brar
2010-10-01 18:00                           ` Mark Brown [this message]
2010-10-01 18:00                             ` Mark Brown
2010-10-01 18:00                             ` Mark Brown
2010-10-04  4:22                             ` Arun MURTHY
2010-10-04  4:22                               ` Arun MURTHY
2010-10-04  4:22                               ` Arun MURTHY
2010-09-28 17:46   ` Mark Brown
2010-09-28 17:46     ` Mark Brown
2010-09-28 19:42   ` Ryan Mallon
2010-09-28 19:42     ` Ryan Mallon
2010-09-28  7:40 ` [PATCH 2/7] backlight:pwm: add an element 'name' to platform data Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28 17:47   ` Mark Brown
2010-09-28 17:47     ` Mark Brown
2010-09-28  7:40 ` [PATCH 3/7] leds: pwm: add a new " Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  8:01   ` Eric Miao
2010-09-28  8:01     ` Eric Miao
2010-09-28  8:36     ` Arun MURTHY
2010-09-28  8:36       ` Arun MURTHY
2010-09-28  7:40 ` [PATCH 4/7] pwm: Align existing pwm drivers with pwm-core driver Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  8:58   ` Lars-Peter Clausen
2010-09-28  8:58     ` Lars-Peter Clausen
2010-09-28  9:26     ` Arun MURTHY
2010-09-28 10:10       ` Lars-Peter Clausen
2010-09-28 10:10         ` Lars-Peter Clausen
2010-09-28 10:33         ` Arun MURTHY
2010-09-28  7:40 ` [PATCH 5/7] platform: Update the pwm based led and backlight platform data Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  7:40 ` [PATCH 6/7] pwm: move existing pwm driver to drivers/pwm Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  8:02   ` Eric Miao
2010-09-28  7:40 ` [PATCH 7/7] pwm: Modify backlight and led Kconfig aligning to pwm core Arun Murthy
2010-09-28  7:40   ` Arun Murthy
2010-09-28  7:40   ` Arun Murthy
  -- strict thread matches above, loose matches on Subject: below --
2010-09-28 10:35 [PATCH 0/7] PWM core driver for pwm based led and backlight driver Arun Murthy
2010-09-28 10:35 ` [PATCH 1/7] pwm: Add pwm core driver Arun Murthy
2010-09-28 10:35 ` Arun Murthy
2010-09-28 10:35   ` Arun Murthy
2010-09-28 10:35   ` Arun Murthy
2010-09-28 12:53   ` Hemanth V
2010-09-28 12:53     ` Hemanth V
2010-09-28 12:53     ` Hemanth V
2010-09-28 13:06     ` Samuel Ortiz
2010-09-28 13:06       ` Samuel Ortiz
2010-09-28 13:35       ` Felipe Balbi
2010-09-28 13:35         ` Felipe Balbi
2010-09-28 13:35         ` Felipe Balbi

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=20101001180051.GC21157@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=STEricsson_nomadik_linux@list.st.com \
    --cc=akpm@linux-foundation.org \
    --cc=arun.murthy@stericsson.com \
    --cc=bgat@billgatliff.com \
    --cc=eric.y.miao@gmail.com \
    --cc=jassisinghbrar@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=kgene.kim@samsung.com \
    --cc=lars@metafoo.de \
    --cc=linus.walleij@stericsson.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=marek.vasut@gmail.com \
    --cc=mattias.wallin@stericsson.com \
    --cc=philipp.zabel@gmail.com \
    --cc=robert.jarzmik@free.fr \
    --cc=rpurdie@rpsys.net \
    --cc=sameo@linux.intel.com \
    --cc=soni.trilok@gmail.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.