linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] apple_bl: Add support for gmux backlight control
@ 2012-02-03 20:28 Seth Forshee
  2012-02-03 20:28 ` [PATCH 1/3] apple_bl: Convert printks to pr_<level> Seth Forshee
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Seth Forshee @ 2012-02-03 20:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: Richard Purdie, Matthew Garrett

Many models of Apple laptops have a gmux device, whose primary purpose
seems to be controlling the display mux in these machines. The gmux
often also supports adjustment of screen brightness, and in some cases
it is the only working method available for adjusting the backlight.

This series adds support to apple_bl for gmux backlight control, along
with some driver reworking to better support this device. While I was at
it I went ahead and threw in a patch to convert the printks to
pr_<level>.

I've been able to get these changes tested on several different models
of MacBooks, and the functioning of the existing backlight support is
unaffected. On some models the gmux is present but does not control
screen brightness. I haven't found any way to detect this in software
though, as the reads and writes to the backlight control ports behave
identically to when the gmux can control the backlight.

Thanks,
Seth


Seth Forshee (3):
  apple_bl: Convert printks to pr_<level>
  apple_bl: Rework in advance of gmux backlight support
  apple_bl: Add support for gmux backlight control

 drivers/video/backlight/apple_bl.c |  329 +++++++++++++++++++++++++-----------
 1 files changed, 230 insertions(+), 99 deletions(-)


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-02-10 14:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-03 20:28 [PATCH 0/3] apple_bl: Add support for gmux backlight control Seth Forshee
2012-02-03 20:28 ` [PATCH 1/3] apple_bl: Convert printks to pr_<level> Seth Forshee
2012-02-03 20:39   ` Joe Perches
2012-02-05 23:23   ` Ryan Mallon
2012-02-06 14:35     ` Seth Forshee
2012-02-06 21:47       ` Ryan Mallon
2012-02-03 20:28 ` [PATCH 2/3] apple_bl: Rework in advance of gmux backlight support Seth Forshee
2012-02-03 22:25   ` Lars-Peter Clausen
2012-02-03 22:51     ` Seth Forshee
2012-02-04 17:25       ` Lars-Peter Clausen
2012-02-06 14:56         ` Seth Forshee
2012-02-09 17:20           ` Seth Forshee
2012-02-10  9:25             ` Lars-Peter Clausen
2012-02-10 14:50               ` Seth Forshee
2012-02-03 20:28 ` [PATCH 3/3] apple_bl: Add support for gmux backlight control Seth Forshee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).