blob: 67ba074fba1e12bfaf9c3fc4009a90676dd6ab1e [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2008 coresystems GmbH
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Aaron Durbin76c37002012-10-30 09:03:43 -050014 */
15
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010016#include <drivers/intel/gma/i915.h>
17
Aaron Durbin76c37002012-10-30 09:03:43 -050018/*
19 * Digital Port Hotplug Enable:
20 * 0x04 = Enabled, 2ms short pulse
21 * 0x05 = Enabled, 4.5ms short pulse
22 * 0x06 = Enabled, 6ms short pulse
23 * 0x07 = Enabled, 100ms short pulse
24 */
25struct northbridge_intel_haswell_config {
26 u8 gpu_dp_b_hotplug; /* Digital Port B Hotplug Config */
27 u8 gpu_dp_c_hotplug; /* Digital Port C Hotplug Config */
28 u8 gpu_dp_d_hotplug; /* Digital Port D Hotplug Config */
29
30 u8 gpu_panel_port_select; /* 0=LVDS 1=DP_B 2=DP_C 3=DP_D */
31 u8 gpu_panel_power_cycle_delay; /* T4 time sequence */
32 u16 gpu_panel_power_up_delay; /* T1+T2 time sequence */
33 u16 gpu_panel_power_down_delay; /* T3 time sequence */
34 u16 gpu_panel_power_backlight_on_delay; /* T5 time sequence */
35 u16 gpu_panel_power_backlight_off_delay; /* Tx time sequence */
36
37 u32 gpu_cpu_backlight; /* CPU Backlight PWM value */
38 u32 gpu_pch_backlight; /* PCH Backlight PWM value */
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010039
40 struct i915_gpu_controller_info gfx;
Aaron Durbin76c37002012-10-30 09:03:43 -050041};
42
43extern struct chip_operations northbridge_intel_haswell_ops;