mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 21:57:31 +07:00
a9a84c37d1
On the sam9 EK boards, the LCD backlight is hooked up to a PWM output from the LCD controller. It's controlled by "contrast" registers though. This patch lets boards declare that they have that kind of backlight control. The driver can then export this control, letting screenblank and other operations actually take effect ... reducing the typically substantial power drain from the backlight. Note that it's not fully cooked - doesn't force backlight off during system suspend - the "power" and "blank" events may not be done right This should be easily added in the future. [nicolas.ferre@atmel.com: remove unneeded inline and rename functions] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Andrew Victor <linux@maxim.org.za> Cc: Russell King <rmk@arm.linux.org.uk> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
atmel_lcdc.h | ||
aty128.h | ||
cirrus.h | ||
cvisionppc.h | ||
cyblafb.h | ||
edid.h | ||
epson1355.h | ||
gbe.h | ||
iga.h | ||
Kbuild | ||
kyro.h | ||
mach64.h | ||
maxinefb.h | ||
mbxfb.h | ||
neomagic.h | ||
newport.h | ||
permedia2.h | ||
pm3fb.h | ||
pmag-ba-fb.h | ||
pmagb-b-fb.h | ||
radeon.h | ||
s1d13xxxfb.h | ||
sgivw.h | ||
sisfb.h | ||
sstfb.h | ||
tdfx.h | ||
tgafb.h | ||
trident.h | ||
uvesafb.h | ||
vga.h | ||
w100fb.h |