<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snowball/igloo-kernel.git/drivers/video/backlight, branch v3.1</title>
<subtitle>Igloo kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/atom?h=v3.1</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/atom?h=v3.1'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/'/>
<updated>2011-09-10T21:00:02+00:00</updated>
<entry>
<title>backlight: Declare backlight_types[] const</title>
<updated>2011-09-10T21:00:02+00:00</updated>
<author>
<name>Bart Van Assche</name>
<email>bvanassche@acm.org</email>
</author>
<published>2011-09-10T18:13:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=c338bfb5ecf6c36b2112479691d69db4c2b5a78a'/>
<id>urn:sha1:c338bfb5ecf6c36b2112479691d69db4c2b5a78a</id>
<content type='text'>
Since backlight_types[] isn't modified, let's declare it const.  That
was probably the intention of the author of commit bb7ca747f8d6
("backlight: add backlight type"), via which the "const char const *"
construct was introduced.  The duplicate const was detected by sparse.

Signed-off-by: Bart Van Assche &lt;bvanassche@acm.org&gt;
Cc: Matthew Garrett &lt;mjg@redhat.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>backlight: fix module alias prefix for adp8870_bl</title>
<updated>2011-08-25T23:25:34+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-08-25T22:59:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=c53252b780e26c73c6a4e40bc14179447504cccd'/>
<id>urn:sha1:c53252b780e26c73c6a4e40bc14179447504cccd</id>
<content type='text'>
This is an i2c driver, not a platform driver, thus use "i2c" prefix for
the module alias.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&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: add a callback 'notify_after' for backlight control</title>
<updated>2011-08-25T23:25:34+00:00</updated>
<author>
<name>Dilan Lee</name>
<email>dilee@nvidia.com</email>
</author>
<published>2011-08-25T22:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=cc7993f6439b49909a8792660c4d0741fec9d584'/>
<id>urn:sha1:cc7993f6439b49909a8792660c4d0741fec9d584</id>
<content type='text'>
We need a callback to do some things after pwm_enable, pwm_disable
and pwm_config.

Signed-off-by: Dilan Lee &lt;dilee@nvidia.com&gt;
Reviewed-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-by: Arun Murthy &lt;arun.murthy@stericsson.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Paul Mundt &lt;lethal@linux-sh.org&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>drivers/video/backlight/ep93xx_bl.c: add missing include of linux/module.h</title>
<updated>2011-08-25T23:25:34+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-08-25T22:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=15b1a8f2b990c0c1dacfad0e5ccaf05c32c52147'/>
<id>urn:sha1:15b1a8f2b990c0c1dacfad0e5ccaf05c32c52147</id>
<content type='text'>
ep93xx_bl.c uses interfaces from linux/module.h, so it should include
that file.  This patch fixes build errors:

    CC [M]  drivers/video/backlight/ep93xx_bl.o
  drivers/video/backlight/ep93xx_bl.c:138: error: 'THIS_MODULE' undeclared here (not in a function)
  drivers/video/backlight/ep93xx_bl.c:158: error: expected declaration specifiers or '...' before string constant
  drivers/video/backlight/ep93xx_bl.c:158: warning: data definition has no type or storage class
  ...

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Ryan Mallon &lt;rmallon@gmail.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&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>drivers/video/backlight/aat2870_bl.c: make it buildable as a module</title>
<updated>2011-08-04T00:25:22+00:00</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@linux-foundation.org</email>
</author>
<published>2011-08-03T23:21:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=70d327198a434edb95b3d858bc8010b8add28e3e'/>
<id>urn:sha1:70d327198a434edb95b3d858bc8010b8add28e3e</id>
<content type='text'>
i386 allmodconfig:

  drivers/built-in.o: In function `aat2870_bl_remove':
  aat2870_bl.c:(.text+0x414f9): undefined reference to `backlight_device_unregister'
  drivers/built-in.o: In function `aat2870_bl_probe':
  aat2870_bl.c:(.text+0x418fc): undefined reference to `backlight_device_register'
  aat2870_bl.c:(.text+0x41a31): undefined reference to `backlight_device_unregiste

Cc: Jin Park &lt;jinyoungp@nvidia.com&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Cc: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&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>drivers/video/backlight/aat2870_bl.c: fix setting max_current</title>
<updated>2011-08-04T00:25:22+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-08-03T23:21:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=5d6f921b42749d1a70441685b7a4f2801e12ebfb'/>
<id>urn:sha1:5d6f921b42749d1a70441685b7a4f2801e12ebfb</id>
<content type='text'>
 - Current implementation tests wrong value for setting
   aat2870_bl-&gt;max_current.

 - In the current implementation, we cannot differentiate between 2 cases:

   a) if pdata-&gt;max_current is not set , or

   b) pdata-&gt;max_current is set to AAT2870_CURRENT_0_45 (which is also 0).

   Fix it by setting AAT2870_CURRENT_0_45 to be 1 and adjust the equation in
   aat2870_brightness() accordingly.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Tested-by: Jin Park &lt;jinyoungp@nvidia.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>drivers/video/backlight/aat2870_bl.c: fix error checking for backlight_device_register</title>
<updated>2011-08-04T00:25:22+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-08-03T23:21:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=4c4dd903e72507c853b8c2b04b22e0d0c721fd93'/>
<id>urn:sha1:4c4dd903e72507c853b8c2b04b22e0d0c721fd93</id>
<content type='text'>
backlight_device_register() returns ERR_PTR() on error.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Jin Park &lt;jinyoungp@nvidia.com&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.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: Add AAT2870 backlight driver</title>
<updated>2011-07-31T21:28:26+00:00</updated>
<author>
<name>Jin Park</name>
<email>jinyoungp@nvidia.com</email>
</author>
<published>2011-06-29T14:06:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=4b0d711be39f927200e4aaee51176091f9ba22e2'/>
<id>urn:sha1:4b0d711be39f927200e4aaee51176091f9ba22e2</id>
<content type='text'>
Add backlight driver for AnalogicTech AAT2870.

Signed-off-by: Jin Park &lt;jinyoungp@nvidia.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>backlight: set backlight type and max_brightness before backlights are registered</title>
<updated>2011-07-26T03:57:08+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-07-26T00:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=ef22f6a70c9186c8e25f757b0e8f7374b37f69bf'/>
<id>urn:sha1:ef22f6a70c9186c8e25f757b0e8f7374b37f69bf</id>
<content type='text'>
Since commit a19a6ee "backlight: Allow properties to be passed at
registration" and commit bb7ca74 "backlight: add backlight type", we can
set backlight type and max_brightness before backlights are registered.
Some newly added drivers did not set it properly, let's fix it.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Matthew Garrett &lt;mjg@redhat.com&gt;
Cc: Jingoo Han &lt;jg1.han@samsung.com&gt;
Cc: Donghwa Lee &lt;dh09.lee@samsung.com&gt;
Cc: InKi Dae &lt;inki.dae@samsung.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&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: add ams369fg06 amoled driver</title>
<updated>2011-07-26T03:57:08+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2011-07-26T00:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/igloo-kernel.git/commit/?id=a4c8aaa559733d03cb6bb4fa62c25ae756c53e94'/>
<id>urn:sha1:a4c8aaa559733d03cb6bb4fa62c25ae756c53e94</id>
<content type='text'>
Add the ams369fg06 amoled panel driver.  The ams369fg06 amoled panel (480
x 800) driver uses 3-wired SPI inteface.  The brightness can be controlled
by gamma setting of amoled panel.

[sfr@canb.auug.org.au: fix build error]
[axel.lin@gmail.com: unregister backlight device when unloading the module]
[axel.lin@gmail.com: staticize ams369fg06_shutdown]
Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Inki Dae &lt;inki.dae@samsung.com&gt;
Cc: anish singh &lt;anish198519851985@gmail.com&gt;
Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Axel Lin &lt;axel.lin@gmail.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>
