blob: 99102b67707c0e65df7875cd44718545eaa30d4c [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Aaron Durbin76c37002012-10-30 09:03:43 -05002
Iru Caid7ee9dd2016-02-24 15:03:58 +08003#ifndef NORTHBRIDGE_INTEL_HASWELL_CHIP_H
4#define NORTHBRIDGE_INTEL_HASWELL_CHIP_H
5
Michael Niewöhner97e21d32020-12-28 00:49:33 +01006#include <drivers/intel/gma/gma.h>
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01007
Aaron Durbin76c37002012-10-30 09:03:43 -05008/*
9 * Digital Port Hotplug Enable:
Angel Pons1db5bc72020-01-15 00:49:03 +010010 * 0x04 = Enabled, 2ms short pulse
Aaron Durbin76c37002012-10-30 09:03:43 -050011 * 0x05 = Enabled, 4.5ms short pulse
Angel Pons1db5bc72020-01-15 00:49:03 +010012 * 0x06 = Enabled, 6ms short pulse
Aaron Durbin76c37002012-10-30 09:03:43 -050013 * 0x07 = Enabled, 100ms short pulse
14 */
15struct northbridge_intel_haswell_config {
16 u8 gpu_dp_b_hotplug; /* Digital Port B Hotplug Config */
17 u8 gpu_dp_c_hotplug; /* Digital Port C Hotplug Config */
18 u8 gpu_dp_d_hotplug; /* Digital Port D Hotplug Config */
19
Michael Niewöhner97e21d32020-12-28 00:49:33 +010020 /* IGD panel configuration */
21 struct i915_gpu_panel_config panel_cfg;
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010022
Tristan Corrick1a73eb02018-10-31 02:27:29 +130023 bool gpu_ddi_e_connected;
24
Angel Pons8aab7872020-07-04 01:24:59 +020025 bool ec_present;
26
27 bool dq_pins_interleaved;
28
29 bool usb_xhci_on_resume;
30
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010031 struct i915_gpu_controller_info gfx;
Aaron Durbin76c37002012-10-30 09:03:43 -050032};
33
Iru Caid7ee9dd2016-02-24 15:03:58 +080034#endif /* NORTHBRIDGE_INTEL_HASWELL_CHIP_H */