coreboot/src/mainboard
Arthur Heymans 8e079000dc 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.

Change-Id: I1c47b68eecc19624ee534598c22da183bc89425d
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/18141
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2017-03-18 16:54:08 +01:00
..
a-trend src/mainboard/a-trend - emulation: Add space around operators 2016-09-20 19:06:28 +02:00
aaeon AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
abit src/mainboard/a-trend - emulation: Add space around operators 2016-09-20 19:06:28 +02:00
adi cpu/x86/msr.h: Drop excessive includes 2016-12-06 20:54:31 +01:00
adlink
advansus src/amd: Add common definition of AMD ACPI MMIO address 2017-01-05 21:53:55 +01:00
amd binaryPI boards: Drop any ACPI S3 support 2017-03-08 04:08:00 +01:00
aopen aopen/dxplplusu: Switch to 2MiB flash 2017-01-13 17:47:20 +01:00
apple nb/i945/gma.c: Refactor panel setup 2017-03-18 16:54:08 +01:00
artecgroup AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
asrock asrock/e350m1: Include ASL for PS/2 controller 2017-03-16 15:21:36 +01:00
asus asus/m2v: Make _CRS methods serialized 2017-03-10 11:07:25 +01:00
avalue src/amd: Add common definition of AMD ACPI MMIO address 2017-01-05 21:53:55 +01:00
azza src/mainboard/a-trend - emulation: Add space around operators 2016-09-20 19:06:28 +02:00
bachmann AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
bap binaryPI boards: Drop any ACPI S3 support 2017-03-08 04:08:00 +01:00
bcom src/mainboard/a-trend - emulation: Add space around operators 2016-09-20 19:06:28 +02:00
bifferos
biostar AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
broadcom amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
compaq src/mainboard/a-trend - emulation: Add space around operators 2016-09-20 19:06:28 +02:00
cubietech
digitallogic AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
dmp
ecs mainboard/*/*/irq_tables.c: Use tabs for indents 2016-09-26 13:22:39 +02:00
elmex AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
emulation mb/emulation/*-riscv: Don't select ARCH_BOOTBLOCK_RISCV 2017-02-23 21:41:19 +01:00
esd cpu/x86/msr.h: Drop excessive includes 2016-12-06 20:54:31 +01:00
getac mb/getac/p470: Do not select EARLY_CBMEM_INIT 2017-03-03 19:41:49 +01:00
gigabyte nb/intel/x4x: Implement resume from S3 suspend 2017-02-17 23:44:36 +01:00
gizmosphere AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
google google/veyron: Clean out unused board variants 2017-03-17 11:38:34 +01:00
hp AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
ibase sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-06 18:14:00 +01:00
iei AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
intel mainboard/intel/galileo: Add vboot support 2017-03-16 04:10:25 +01:00
iwave cpu/x86/msr.h: Drop excessive includes 2016-12-06 20:54:31 +01:00
iwill amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
jetway AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
kontron sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-06 18:14:00 +01:00
lanner mainboard/lanner/em8510: Use tabs for indents 2016-09-29 23:51:19 +02:00
lenovo nb/i945/gma.c: Refactor panel setup 2017-03-18 16:54:08 +01:00
linutop
lippert AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
lowrisc mb/lowrisc/nexys4ddr: Read RAM information from the config string 2016-12-06 18:52:42 +01:00
mitac
msi AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
nec
nokia
nvidia amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
packardbell intel/nehalem: Use romstage_handoff for S3 2016-12-11 08:59:35 +01:00
pcengines binaryPI boards: Drop any ACPI S3 support 2017-03-08 04:08:00 +01:00
purism purism/librem13: Set system type to laptop 2017-02-22 22:26:56 +01:00
rca mainboard/rca/rm4100: transition away from device_t 2016-11-10 16:55:42 +01:00
roda sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-06 18:14:00 +01:00
samsung cpu/x86/msr.h: Drop excessive includes 2016-12-06 20:54:31 +01:00
siemens siemens/mc_apl1: Clean up the code 2017-03-15 13:53:57 +01:00
soyo
sunw amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
supermicro AGESA f15: Disable IDS tracing by default 2017-03-09 12:46:17 +01:00
technexion amd-based mainboards: Fix whitespace in _PTS comments 2016-12-26 17:39:00 +01:00
thomson mainboard/thomson/ip1000: transition away from device_t 2016-11-10 17:00:59 +01:00
ti
traverse AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
tyan AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
via mainboard/via/vt8454c: transition away from device_t 2016-11-15 18:19:12 +01:00
winent AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
wyse AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
Kconfig Kconfig: Remind users to delete .config when switching boards 2017-01-06 21:33:58 +01:00