blob: 8d7225316280d08e074e2c1cf478ce16e50346a4 [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
24 /*
25 * Graphics CD Clock Frequency
26 * 0 = 337.5MHz
27 * 1 = 450MHz
28 * 2 = 540MHz
29 * 3 = 675MHz
30 */
31 int cdclk;
32
Matt DeVillier53e24462016-08-05 02:20:15 -050033 struct i915_gpu_controller_info gfx;
Duncan Lauriec88c54c2014-04-30 16:36:13 -070034};
35
Duncan Lauriec88c54c2014-04-30 16:36:13 -070036#endif