coreboot/src/mainboard
Arthur Heymans 9905ad23e1 UPSTREAM: nb/i945/gma.c: Refactor panel setup
This reuses some of gm45 code to set up the panel.

Panel start and stop delays and pwm frequency can now be set in
devicetree.

Linux does not make the difference between 945gm and gm45
for panel delays, so it is safe to assume the semantics of those
registers are the same.

The core display clock is computed according to "Mobile Intel 945
Express Chipset Family" Datasheet.

This selects Legacy backlight mode since most targets have some smm
code that rely on this.

This sets the same backlight frequency as vendor bios on Thinkpad X60
and T60.

A default of 180Hz is selected for the PWM frequency if it is not
defined in the devicetree, this might be annoying for displays that
are LED backlit, but is a safe value for CCFL backlit displays.

BUG=none
BRANCH=none
TEST=none

Change-Id: I86445ab53cb83bc5183fb998ca03e00b4746a33f
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 8e079000dc
Original-Change-Id: I1c47b68eecc19624ee534598c22da183bc89425d
Original-Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Original-Reviewed-on: https://review.coreboot.org/18141
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://chromium-review.googlesource.com/457362
2017-03-20 10:33:11 -07:00
..
a-trend
aaeon
abit
adi
adlink
advansus
amd
aopen
apple UPSTREAM: nb/i945/gma.c: Refactor panel setup 2017-03-20 10:33:11 -07:00
artecgroup
asrock UPSTREAM: asrock/e350m1: Include ASL for PS/2 controller 2017-03-17 11:06:50 -07:00
asus UPSTREAM: asus/m2v: Make _CRS methods serialized 2017-03-10 10:54:47 -08:00
avalue
azza
bachmann
bap
bcom
bifferos
biostar
broadcom
compaq
cubietech
digitallogic
dmp
ecs
elmex
emulation
esd
getac
gigabyte
gizmosphere
google UPSTREAM: google/veyron: Work around RAM code strapping error 2017-03-18 12:01:03 -07:00
hp
ibase
iei
intel UPSTREAM: mainboard/intel/galileo: Add vboot support 2017-03-16 11:25:40 -07:00
iwave
iwill
jetway
kontron
lanner
lenovo UPSTREAM: nb/i945/gma.c: Refactor panel setup 2017-03-20 10:33:11 -07:00
linutop
lippert
lowrisc
mitac
msi
nec
nokia
nvidia
packardbell
pcengines
purism
rca
roda
samsung
siemens UPSTREAM: siemens/mc_apl1: Clean up the code 2017-03-16 11:25:35 -07:00
soyo
sunw
supermicro
technexion
thomson
ti
traverse
tyan
via
winent
wyse
Kconfig