Re: [PATCH] pwm-backlight: add "max-brightness" property

From: Thierry Reding
Date: Tue Aug 13 2013 - 03:34:31 EST


On Mon, Aug 12, 2013 at 03:04:17PM -0700, Andrew Bresticker wrote:
> Specifying each individual brightness value via the "brightness-levels"
> property can be a pain if we want to use a large continuous range of
> brightness values. Add the property "max-brightness", which can be
> given in place of "brightness-levels", that specifies that all values
> between 0 and the given value can be used.

This was actually part of my first attempt at a DT binding for this
driver as well. Some discussion ensued and we ended up changing the
binding to what it is now. And I think there was even an attempt already
at adding the same thing you propose (albeit under a different name). So
instead of repeating myself I'll just point you at the earlier thread:

https://groups.google.com/forum/#!topic/linux.kernel/UkXktWt6zI0

Thierry

Attachment: pgp00000.pgp
Description: PGP signature