All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@avionic-design.de>
To: "Philip, Avinash" <avinashphilip@ti.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Adding support for configuring polarity in PWM framework.
Date: Mon, 16 Jul 2012 13:39:21 +0200	[thread overview]
Message-ID: <20120716113921.GA3015@avionic-0098.adnet.avionic-design.de> (raw)
In-Reply-To: <518397C60809E147AF5323E0420B992E3E960B0E@DBDE01.ent.ti.com>

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

On Mon, Jul 16, 2012 at 11:15:50AM +0000, Philip, Avinash wrote:
> Hi Thierry,
> 
> On one of the custom boards we are using, uses PWM to drive the backlight. However, for
> this device, PWM signal needs to be inversed.
> So, we need to a platform data to indicate this parameter.
> Current PWM framework doesn't provide .support for setting polarity (or inverse polarity).
> 
> Have you come across any such requirements? If so, do you have any plans to implement it?

I don't have any plans to implement such a feature.

> I am planning to add support for the same but want to avoid duplication of work.
> 
> If you have no plans, then I will send a patch to support the same.

I wonder how you want to implement this. You'll need special hardware
support for it and you may be able to implement it in the driver itself
instead of putting it into the framework. Anyway I'm interested in
seeing your patch.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

       reply	other threads:[~2012-07-16 11:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <518397C60809E147AF5323E0420B992E3E960B0E@DBDE01.ent.ti.com>
2012-07-16 11:39 ` Thierry Reding [this message]
2012-07-16 12:23   ` Adding support for configuring polarity in PWM framework Philip, Avinash
2012-07-16 12:46     ` Thierry Reding
2012-07-16 14:46       ` Philip, Avinash
2012-07-16 12:46     ` Lars-Peter Clausen
2012-07-17  5:25       ` Philip, Avinash

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=20120716113921.GA3015@avionic-0098.adnet.avionic-design.de \
    --to=thierry.reding@avionic-design.de \
    --cc=avinashphilip@ti.com \
    --cc=linux-kernel@vger.kernel.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.