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 UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
abit
adi
adlink
advansus
amd UPSTREAM: binaryPI boards: Drop any ACPI S3 support 2017-03-08 05:13:02 -08:00
aopen
apple UPSTREAM: nb/i945/gma.c: Refactor panel setup 2017-03-20 10:33:11 -07:00
artecgroup UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
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 UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
bap UPSTREAM: binaryPI boards: Drop any ACPI S3 support 2017-03-08 05:13:02 -08:00
bcom
bifferos
biostar UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
broadcom
compaq
cubietech
digitallogic UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
dmp
ecs
elmex UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
emulation UPSTREAM: mb/emulation/*-riscv: Don't select ARCH_BOOTBLOCK_RISCV 2017-02-27 14:07:50 -08:00
esd
getac UPSTREAM: mb/getac/p470: Do not select EARLY_CBMEM_INIT 2017-03-06 07:04:37 -08:00
gigabyte UPSTREAM: nb/intel/x4x: Implement resume from S3 suspend 2017-02-21 06:44:24 -08:00
gizmosphere UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
google UPSTREAM: google/veyron: Work around RAM code strapping error 2017-03-18 12:01:03 -07:00
hp UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
ibase
iei UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
intel UPSTREAM: mainboard/intel/galileo: Add vboot support 2017-03-16 11:25:40 -07:00
iwave
iwill
jetway UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
kontron
lanner
lenovo UPSTREAM: nb/i945/gma.c: Refactor panel setup 2017-03-20 10:33:11 -07:00
linutop
lippert UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
lowrisc
mitac
msi UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
nec
nokia
nvidia
packardbell
pcengines UPSTREAM: binaryPI boards: Drop any ACPI S3 support 2017-03-08 05:13:02 -08:00
purism UPSTREAM: purism/librem13: Set system type to laptop 2017-02-27 12:03:16 -08:00
rca
roda
samsung
siemens UPSTREAM: siemens/mc_apl1: Clean up the code 2017-03-16 11:25:35 -07:00
soyo
sunw
supermicro UPSTREAM: AGESA f15: Disable IDS tracing by default 2017-03-10 10:54:37 -08:00
technexion
thomson
ti
traverse UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
tyan UPSTREAM: AGESA: Add agesa_helper.h header 2017-03-07 04:17:31 -08:00
via
winent UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
wyse UPSTREAM: AMD geode: Avoid conflicting main() declaration 2017-03-08 05:13:00 -08:00
Kconfig