coreboot-kgpe-d16/src/mainboard
Andrew Chew 7f0cb15999 tegra124: Program PWM1 to drive panel backlight
Repurpose config->pwm to mean the particular PWM device (we use PWM1 on
nyan), and add code to program the PWM device.

BUG=none
TEST=emerge-nyan chromeos-coreboot-nyan, regenerate bootimage, and boot.
See that the backlight comes up in the bootloader, and brightness can be
adjusted via pwm_bl driver in the kernel.

Original-Change-Id: I2db047e5ef23c0e8fb66dd05ad6339d60918d493
Original-Signed-off-by: Andrew Chew <achew@nvidia.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/185772
Original-Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
(cherry picked from commit 0dee98dd0c8510ecd630b5c6cb9ea49724dc8b55)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: Ie53610f3afa30b2d8f484685fb0e8c0b12cd8241
Reviewed-on: http://review.coreboot.org/7402
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2014-11-12 20:16:43 +01:00
..
a-trend intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
aaeon intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
abit intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
adlink
advansus acpi_add_ssdt_pstates: Remove function. 2014-10-17 10:04:12 +02:00
advantech intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
amd mainboard: Trivial - Make AGESA board include consistent 2014-11-07 23:13:22 +01:00
aopen e7505: Move to per-device ACPI 2014-10-18 13:54:13 +02:00
apple i945: consolidate sb & nb early inits 2014-11-09 04:56:11 +01:00
arima src/mainboard: Remove trailing whitespace 2014-07-24 12:43:01 +02:00
artecgroup intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
asi intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
asrock mainboard: Trivial - Make AGESA board include consistent 2014-11-07 23:13:22 +01:00
asus asus/f2a85-m: Disable SD controller 2014-11-11 16:30:52 +01:00
avalue acpi_add_ssdt_pstates: Remove function. 2014-10-17 10:04:12 +02:00
axus intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
azza intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
bachmann intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
bcom intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
bifferos mainboard: Trivial - drop trailing blank lines at EOF 2014-07-08 13:54:47 +02:00
biostar intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
broadcom broadcom/blast/devicetree.cb: Remove a trailing whitespace 2014-07-24 12:42:45 +02:00
compaq intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
cubietech
digitallogic intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
dmp mainboard/dmp/vortex86ec: Unused variable in romstage.c 2014-11-04 12:22:30 +01:00
eaglelion intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
ecs intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
emulation mainboard: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:57 +01:00
getac i945: consolidate sb & nb early inits 2014-11-09 04:56:11 +01:00
gigabyte Revert "gigabyte/ga-b75m-d3h: Add new Intel mainboard" 2014-11-03 00:12:52 +01:00
gizmosphere mainboard: Trivial - Make AGESA board include consistent 2014-11-07 23:13:22 +01:00
google tegra124: Program PWM1 to drive panel backlight 2014-11-12 20:16:43 +01:00
hp AGESA fam15tn fam16kb: Fix missing FCH function prototypes 2014-10-22 15:05:47 +02:00
ibase i945: consolidate sb & nb early inits 2014-11-09 04:56:11 +01:00
ibm mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
iei amdk8: Move to per-device ACPI 2014-10-16 13:35:53 +02:00
intel i945: consolidate sb & nb early inits 2014-11-09 04:56:11 +01:00
iwave sch: Switch to per-device ACPI 2014-10-18 22:01:18 +02:00
iwill amd: rename model_fxx_powernow to powernow. 2014-10-19 10:55:51 +02:00
jetway AGESA: Drop board and chipset -specific callout headers 2014-10-19 06:20:58 +02:00
kontron i945: consolidate sb & nb early inits 2014-11-09 04:56:11 +01:00
lanner intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
lenovo i945: consolidate sb & nb early inits 2014-11-09 04:56:11 +01:00
linutop artecgroup/Kconfig, linutop/Kconfig: Add comment to endif 2014-07-30 02:08:50 +02:00
lippert mainboard: Trivial - Make AGESA board include consistent 2014-11-07 23:13:22 +01:00
mitac intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
msi amd: rename model_fxx_powernow to powernow. 2014-10-19 10:55:51 +02:00
nec intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
newisys mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
nokia intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
nvidia azalia: Shrink boilerplate 2014-09-13 00:42:14 +02:00
packardbell ibexpeak: Move to common FADT 2014-11-08 13:42:05 +01:00
pcengines intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
rca intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
roda i945: consolidate sb & nb early inits 2014-11-09 04:56:11 +01:00
samsung bd82x6x: Move to common FADT. 2014-11-08 13:41:48 +01:00
siemens siemens/sitemp_g1p1: Fix serial output for simo board 2014-10-24 10:38:26 +02:00
soyo intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
sunw Kconfig: do not set SB_HT_CHAIN_ON_BUS0 twice to the same value 2014-08-12 09:02:45 +02:00
supermicro mainboard: Trivial - Make AGESA board include consistent 2014-11-07 23:13:22 +01:00
technexion amd: rename model_fxx_powernow to powernow. 2014-10-19 10:55:51 +02:00
technologic intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
televideo intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
thomson Consolidate intel vga int15 hooks 2014-09-05 22:48:49 +02:00
ti
traverse intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
tyan mainboard: Trivial - Make AGESA board include consistent 2014-11-07 23:13:22 +01:00
via via/vt8454c: Migrate to per-device ACPI 2014-10-18 22:15:32 +02:00
winent amd: rename model_fxx_powernow to powernow. 2014-10-19 10:55:51 +02:00
wyse intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
Kconfig Kconfig: move SMBIOS related options to SMBIOS table option 2014-10-17 14:37:13 +02:00