<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/video/backlight/lp855x_bl.c, branch linux-4.4.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2015-10-05T12:47:42+00:00</updated>
<entry>
<title>backlight: lp855x: Make sure props struct is zeroed</title>
<updated>2015-10-05T12:47:42+00:00</updated>
<author>
<name>Werner Johansson</name>
<email>werner.johansson@sonymobile.com</email>
</author>
<published>2015-08-27T17:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9f7898f3ca71744ef834048dc78ad4a21db4ac64'/>
<id>urn:sha1:9f7898f3ca71744ef834048dc78ad4a21db4ac64</id>
<content type='text'>
The driver occasionally got stuck in suspend mode or other strange
states as those parts of the props struct were never initialized.

Signed-off-by: Werner Johansson &lt;werner.johansson@sonymobile.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Acked-by: Milo Kim &lt;milo.kim@ti.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>backlight: lp855x: Use private data for regulator control</title>
<updated>2015-08-25T07:40:44+00:00</updated>
<author>
<name>Milo Kim</name>
<email>milo.kim@ti.com</email>
</author>
<published>2015-07-20T06:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fe009175ae3ec3724c1414440e22a1d32d806ec5'/>
<id>urn:sha1:fe009175ae3ec3724c1414440e22a1d32d806ec5</id>
<content type='text'>
LP855x backlight device can be enabled by external VDD input. The
'supply' data is used for this purpose. It's kind of private data
which runs internally, so there is no reason to expose to the
platform data.

And devm_regulator_get() is moved from _parse_dt() to _probe().
Regulator consumer(lp855x) can control regulator not only from DT
but also from platform data configuration in a source file such
like board-*.c.

Signed-off-by: Milo Kim &lt;milo.kim@ti.com&gt;
Acked-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Acked-by: Jingoo Han &lt;jingoohan1@gmail.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>backlight: lp855x: Don't clear level on suspend/blank</title>
<updated>2015-06-23T14:47:33+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2015-05-11T20:32:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=61c1c6147f69d8dea31fd133d2ec0b1594c9a3eb'/>
<id>urn:sha1:61c1c6147f69d8dea31fd133d2ec0b1594c9a3eb</id>
<content type='text'>
Don't clear the backlight level when we're going into suspend or
blanking. Instead, just temporarily set the level to 0 so we retain
the value when we resume.

Reported-by: Benson Leung &lt;bleung@chromium.org&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Tested-by: Stephen Barber &lt;smbarber@chromium.org&gt;
Reviewed-by: Benson Leung &lt;bleung@chromium.org&gt;
Acked-by: Milo Kim &lt;milo.kim@ti.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>backlight: lp855x: Add supply regulator to lp855x</title>
<updated>2014-12-09T09:24:45+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2014-12-03T01:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=829b030e58f8349a63909c0fff2fa1913d79314c'/>
<id>urn:sha1:829b030e58f8349a63909c0fff2fa1913d79314c</id>
<content type='text'>
This patch adds a supply regulator to the lp855x platform data to facilitate
powering on/off the 3V rail attached to the controller.

Cc: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
Cc: Aaron Durbin &lt;adurbin@chromium.org&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Acked-by: Milo Kim &lt;milo.kim@ti.com&gt;
Acked-by: Bryan Wu &lt;cooloney@gmail.com&gt;
Acked-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>backlight: lp855x: Refactor DT parsing code</title>
<updated>2014-12-09T09:24:42+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2014-12-03T01:39:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=47726656dd67a2487bd7fafec1a73472da1db956'/>
<id>urn:sha1:47726656dd67a2487bd7fafec1a73472da1db956</id>
<content type='text'>
This patch refactors the dt parsing code to avoid setting platform_data,
instead just setting lp-&gt;pdata directly. This facilitates easier
probe deferral since the current scheme would require us to clear out
dev-&gt;platform_data before deferring.

Cc: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Acked-by: Milo Kim &lt;milo.kim@ti.com&gt;
Acked-by: Bryan Wu &lt;cooloney@gmail.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>backlight: lp855x: Add blank line after declarations</title>
<updated>2014-08-29T07:25:44+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2014-08-27T01:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a94cb126048058980ff57f6a7fa5e8237b8f6b44'/>
<id>urn:sha1:a94cb126048058980ff57f6a7fa5e8237b8f6b44</id>
<content type='text'>
Fixed the following checkpatch warning.

  WARNING: Missing a blank line after declarations

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>backlight: Remove trivial get_brightness implementations</title>
<updated>2014-06-23T12:24:22+00:00</updated>
<author>
<name>Andrzej Hajda</name>
<email>a.hajda@samsung.com</email>
</author>
<published>2014-05-30T10:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a5d8e2e73c7f1dcee485d55225628317d8d441c0'/>
<id>urn:sha1:a5d8e2e73c7f1dcee485d55225628317d8d441c0</id>
<content type='text'>
Since backlight core returns props.brightness in case get_brightness
is not implemented trivial implementations are not needed anymore.

Acked-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrzej Hajda &lt;a.hajda@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>backlight: lp855x: remove unnecessary parentheses</title>
<updated>2014-01-24T00:36:57+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2014-01-23T23:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2ce2386072854f25f03052f819d5fd11ddc75f6c'/>
<id>urn:sha1:2ce2386072854f25f03052f819d5fd11ddc75f6c</id>
<content type='text'>
Remove unnecessary parentheses in order to fix the following checkpatch
error.

  ERROR: return is not a function, parentheses are not required

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>backlight: lp855x: use devm_backlight_device_register()</title>
<updated>2013-11-13T03:09:18+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-11-12T23:09:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6255e8e9849767bcc9c9074aff7c0ec4f6e06c88'/>
<id>urn:sha1:6255e8e9849767bcc9c9074aff7c0ec4f6e06c88</id>
<content type='text'>
Use devm_backlight_device_register() to make cleanup paths simpler.  Also,
unnecessary lp855x_backlight_unregister() is removed.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>backlight: use dev_get_platdata()</title>
<updated>2013-11-13T03:09:16+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-11-12T23:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c512794cada491e008eeca822af7e4ad5db72a56'/>
<id>urn:sha1:c512794cada491e008eeca822af7e4ad5db72a56</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.  This is a cosmetic change to
make the code simpler and enhance the readability.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
