From: Denis Kuzmenko <linux@solonet.org.ua>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Linus Walleij <linus.walleij@stericsson.com>,
Richard Purdie <rpurdie@rpsys.net>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Samuel Ortiz <sameo@linux.intel.com>,
Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Subject: Re: [PATCH] leds: driver for ab5500 high voltage leds
Date: Wed, 07 Dec 2011 20:01:46 +0200 [thread overview]
Message-ID: <4EDFAA0A.7040607@solonet.org.ua> (raw)
In-Reply-To: <CACRpkdaos1pLNDsnWe3xqaWtcAFDFy2yw+xjRi0++A=41SZvmw@mail.gmail.com>
On 12/07/2011 04:07 PM, Linus Walleij wrote:
> On Sat, Dec 3, 2011 at 11:49 PM, Denis Kuzmenko <linux@solonet.org.ua> wrote:
>
>> (snip)
>>> diff --git a/drivers/leds/leds-ab5500.c b/drivers/leds/leds-ab5500.c
>> (snip)
>>> +/*
>>> + * Driver for HVLED in ST-Ericsson AB5500 analog baseband controller
>>> + *
>>> + * This chip can drive upto 3 leds, of upto 40mA of led sink current.
>>
>> Can't get these are High Voltage or High Current LEDs?
>> If Voltage why haven't you wrote about supplied voltage but wrote about
>> max. current?
>
> The three channels are indeed high-voltage LEDs, they supply
> up to 20V from a supply voltage of some standard mobile handset
> battery at say 3.8 V or so. But there is no register to control the
> voltage or anything like that.
>
> My naive understanding is that you set the current limit and then
> the HV transformer (I guess this is a buck converter of some kind)
> will raise the voltage level until it either (A) cannot raise it any more
> at c:a 20V or (b) the current limit is reached.
>
> I suspect this is because for LEDs of this type you get a
> specified current but the voltage just has to be "high enough"
> to break through some diode barrier threshold or so. After
> that intensity is controlled by limiting the current.
>
> Does this suffice as explanation...?
>
> Yours,
> Linus Walleij
Yeah, It does, thank you.
Does it worth to make additional comment in code to avoid further questions?
--
Best regards, Denis Kuzmenko.
next prev parent reply other threads:[~2011-12-07 18:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 13:56 Linus Walleij
2011-12-03 21:49 ` Mark Brown
2011-12-07 14:16 ` Linus Walleij
2011-12-07 15:47 ` Mark Brown
2011-12-03 22:49 ` Denis Kuzmenko
2011-12-07 14:07 ` Linus Walleij
2011-12-07 18:01 ` Denis Kuzmenko [this message]
2011-12-08 0:00 ` Andrew Morton
2011-12-08 1:19 ` Mark Brown
2011-12-14 10:23 ` Shreshtha Kumar SAHU
2011-12-14 11:37 ` Mark Brown
2011-12-14 14:01 ` Shreshtha Kumar SAHU
2011-12-14 14:47 ` Mark Brown
2011-12-14 18:34 ` Linus Walleij
2011-12-15 7:11 ` Mark Brown
2011-12-16 5:10 ` Shreshtha Kumar SAHU
2011-12-22 17:43 ` Mark Brown
2011-12-19 11:26 ` Samuel Ortiz
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=4EDFAA0A.7040607@solonet.org.ua \
--to=linux@solonet.org.ua \
--cc=akpm@linux-foundation.org \
--cc=linus.walleij@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rpurdie@rpsys.net \
--cc=sameo@linux.intel.com \
--cc=shreshthakumar.sahu@stericsson.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome