coreboot/src
Nico Huber 3b57a7c37b intel/broadwell: Implement proper backlight PWM config
Port the backlight-PWM handling from Skylake instead of the previously
used Haswell version. We use a 200Hz PWM signal for all boards. Which
is higher than the previous devicetree value, 183Hz, but that was over-
ridden by the VBIOS anyway. 200Hz is still very low, considering LED
backlights, but accurate values are unknown at this time.

Lynx Point, the PCH for Haswell and Broadwell, is a transition point
for the backlight-PWM config. On platforms with a PCH, we have:

  o Before Lynx Point:
    The CPU has no PWM pin and sends the PWM duty-cycle setting
    to the PCH. The PCH can choose to ignore that and use its own
    setting (BLM_PCH_OVERRIDE_ENABLE).
    We use the CPU setting on these platforms.
  o Lynx Point + Haswell:
    The CPU has an additional PWM pin but can be set up to send
    its setting to the PCH as before. The PCH can still choose
    to ignore that.
    We use the CPU setting with Haswell.
  o Lynx Point + Broadwell:
    The CPU can't send its setting to the PCH anymore. BLM_PCH_
    OVERRIDE_ENABLE must always be set(!) if the PCH PWM pin is
    used (it virtually always is).
    We have to use the PCH setting in this case.
  o After Lynx Point:
    Same as with Broadwell, only BLM_PCH_OVERRIDE_ENABLE is
    implied and the bit not implemented anymore.

Change-Id: I1d61d9b3f1802ebe18799fc4d06f1f1d3b54c924
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35897
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2019-10-16 14:06:52 +00:00
..
acpi AUTHORS: Move src/acpi copyrights into AUTHORS file 2019-07-30 11:04:14 +00:00
arch arch/x86: Don't allow separate verstage to boot from romcc bootblock 2019-10-08 11:41:06 +00:00
commonlib device,drivers/: Drop some __SIMPLE_DEVICE__ use 2019-09-30 11:07:46 +00:00
console postcar: Fix linking error with disabled postcar console 2019-10-16 11:38:23 +00:00
cpu nb/intel/nehalem: Move to C_ENVIRONMENT_BOOTBLOCK 2019-10-13 12:46:18 +00:00
device device: Use scan_static_bus() over scan_lpc_bus() 2019-10-08 12:59:56 +00:00
drivers drivers/usb: Enable EHCI debug during verstage 2019-10-16 08:29:30 +00:00
ec ec/acpi/ec.c Link EC code in bootblock & verstage 2019-10-12 12:57:04 +00:00
include drivers/usb: Enable EHCI debug during verstage 2019-10-16 08:29:30 +00:00
lib fmap: Add get_fmap_flash_offset() 2019-09-27 21:59:44 +00:00
mainboard intel/broadwell: Implement proper backlight PWM config 2019-10-16 14:06:52 +00:00
northbridge nb/intel/gm45: Don't run graphics init on s3 resume 2019-10-14 08:16:00 +00:00
security vboot: add new vb2ex_abort callback 2019-10-16 05:47:25 +00:00
soc intel/broadwell: Implement proper backlight PWM config 2019-10-16 14:06:52 +00:00
southbridge sb/intel/i82801ix: Add common code to set up LPC IO decode ranges 2019-10-14 08:15:49 +00:00
superio src/superio: Remove unused 'include <console/console.h>' 2019-10-16 14:05:34 +00:00
vendorcode vendorcode/eltan/Kconfig: Hide the Kconfig options when lacking support 2019-10-11 07:08:27 +00:00
Kconfig arch/x86: Add a choice for selecting normal/fallback cbfs prefix 2019-10-08 11:40:25 +00:00