lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaos1pLNDsnWe3xqaWtcAFDFy2yw+xjRi0++A=41SZvmw@mail.gmail.com>
Date:	Wed, 7 Dec 2011 15:07:05 +0100
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Denis Kuzmenko <linux@...onet.org.ua>
Cc:	Linus Walleij <linus.walleij@...ricsson.com>,
	Richard Purdie <rpurdie@...ys.net>,
	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Samuel Ortiz <sameo@...ux.intel.com>,
	Shreshtha Kumar Sahu <shreshthakumar.sahu@...ricsson.com>
Subject: Re: [PATCH] leds: driver for ab5500 high voltage leds

On Sat, Dec 3, 2011 at 11:49 PM, Denis Kuzmenko <linux@...onet.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ