All of lore.kernel.org
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] add pwmlib support
Date: Mon, 31 Jan 2011 08:58:03 +0100	[thread overview]
Message-ID: <20110131075803.GI9041@pengutronix.de> (raw)
In-Reply-To: <AANLkTi=ppKZ96T3_1nYisHG9705OCHgZqkLnu2f47zq5@mail.gmail.com>

On Sun, Jan 30, 2011 at 11:49:32AM +0800, arden jay wrote:
> Sorry, I'm confused about this.
> If it is for backlight control, why it don't go through led_class?

PWMs are not limited to backlight. As Jean pointed out they can be used
for fans (or more generally motors) aswell. Have a look at
drivers/leds/leds-pwm.c, it is a user of this pwm 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 |

WARNING: multiple messages have this Message-ID (diff)
From: Sascha Hauer <s.hauer@pengutronix.de>
To: arden jay <arden.jay@gmail.com>
Cc: Wolfram Sang <w.sang@pengutronix.de>,
	Jean Delvare <khali@linux-fr.org>,
	linux-kernel@vger.kernel.org, Eric Miao <eric.miao@linaro.org>,
	Ben Dooks <ben-linux@fluff.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Lars-Peter Clausen <lars@metafoo.de>, Hemanth V <hemanthv@ti.com>,
	linux-arm-kernel@lists.infradead.org,
	Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>,
	Shawn Guo <shawn.guo@freescale.com>
Subject: Re: [RFC] add pwmlib support
Date: Mon, 31 Jan 2011 08:58:03 +0100	[thread overview]
Message-ID: <20110131075803.GI9041@pengutronix.de> (raw)
In-Reply-To: <AANLkTi=ppKZ96T3_1nYisHG9705OCHgZqkLnu2f47zq5@mail.gmail.com>

On Sun, Jan 30, 2011 at 11:49:32AM +0800, arden jay wrote:
> Sorry, I'm confused about this.
> If it is for backlight control, why it don't go through led_class?

PWMs are not limited to backlight. As Jean pointed out they can be used
for fans (or more generally motors) aswell. Have a look at
drivers/leds/leds-pwm.c, it is a user of this pwm 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 |

  reply	other threads:[~2011-01-31  7:58 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-28 12:21 [RFC] add pwmlib support Sascha Hauer
2011-01-28 12:21 ` Sascha Hauer
2011-01-28 12:21 ` [PATCH 1/2] pwmlib: add pwm support Sascha Hauer
2011-01-28 12:21   ` Sascha Hauer
2011-01-30 20:52   ` Ryan Mallon
2011-01-30 20:52     ` Ryan Mallon
2011-01-31  7:49     ` Sascha Hauer
2011-01-31  7:49       ` Sascha Hauer
2011-01-28 12:21 ` [PATCH 2/2] pwm: Add a i.MX23/28 pwm driver Sascha Hauer
2011-01-28 12:21   ` Sascha Hauer
2011-01-28 14:12 ` [RFC] add pwmlib support root
2011-01-28 14:12   ` root
2011-01-29  0:21   ` Matt Sealey
2011-01-29  0:21     ` Matt Sealey
2011-01-29 20:38 ` Jean Delvare
2011-01-29 20:38   ` Jean Delvare
2011-01-29 21:51   ` Wolfram Sang
2011-01-29 21:51     ` Wolfram Sang
2011-01-30  3:49     ` arden jay
2011-01-30  3:49       ` arden jay
2011-01-31  7:58       ` Sascha Hauer [this message]
2011-01-31  7:58         ` Sascha Hauer
2011-02-06 13:22         ` Linus Walleij
2011-02-06 13:22           ` Linus Walleij
2011-01-29 20:53 ` Lars-Peter Clausen
2011-01-29 20:53   ` Lars-Peter Clausen
2011-01-31  3:35   ` Arun MURTHY
2011-01-31  3:35     ` Arun MURTHY
2011-01-31  7:54     ` Sascha Hauer
2011-01-31  7:54       ` Sascha Hauer
2011-01-31 12:48       ` Lars-Peter Clausen
2011-01-31 12:48         ` Lars-Peter Clausen
2011-01-31 13:00         ` Sascha Hauer
2011-01-31 13:00           ` Sascha Hauer

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=20110131075803.GI9041@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.