blob: 2b5cccd56e44627467368ac237a5bf633cc4ace1 [file] [log] [blame]
Angel Ponsf94ac9a2020-04-05 15:46:48 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Duncan Lauriec88c54c2014-04-30 16:36:13 -07002
3#ifndef _SOC_INTEL_BROADWELL_CHIP_H_
4#define _SOC_INTEL_BROADWELL_CHIP_H_
5
Michael Niewöhner97e21d32020-12-28 00:49:33 +01006#include <drivers/intel/gma/gma.h>
Elyes HAOUASc4e41932018-11-01 11:29:50 +01007#include <stdint.h>
8
Duncan Lauriec88c54c2014-04-30 16:36:13 -07009struct soc_intel_broadwell_config {
Duncan Lauriec88c54c2014-04-30 16:36:13 -070010 /*
11 * Digital Port Hotplug Enable:
12 * 0x04 = Enabled, 2ms short pulse
13 * 0x05 = Enabled, 4.5ms short pulse
14 * 0x06 = Enabled, 6ms short pulse
15 * 0x07 = Enabled, 100ms short pulse
16 */
17 u8 gpu_dp_b_hotplug;
18 u8 gpu_dp_c_hotplug;
19 u8 gpu_dp_d_hotplug;
20
Michael Niewöhner97e21d32020-12-28 00:49:33 +010021 /* IGD panel configuration */
22 struct i915_gpu_panel_config panel_cfg;
Duncan Lauriec88c54c2014-04-30 16:36:13 -070023
Angel Pons29e71b12021-06-23 15:50:13 +020024 bool ec_present;
25
26 bool dq_pins_interleaved;
27
Duncan Lauriec88c54c2014-04-30 16:36:13 -070028 /*
29 * Graphics CD Clock Frequency
30 * 0 = 337.5MHz
31 * 1 = 450MHz
32 * 2 = 540MHz
33 * 3 = 675MHz
34 */
35 int cdclk;
36
Matt DeVillier53e24462016-08-05 02:20:15 -050037 struct i915_gpu_controller_info gfx;
Duncan Lauriec88c54c2014-04-30 16:36:13 -070038};
39
Duncan Lauriec88c54c2014-04-30 16:36:13 -070040#endif