| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef _SOC_INTEL_BROADWELL_CHIP_H_ |
| 4 | #define _SOC_INTEL_BROADWELL_CHIP_H_ |
| 5 | |
| 6 | #include <drivers/intel/gma/gma.h> |
| 7 | #include <stdint.h> |
| 8 | |
| 9 | struct soc_intel_broadwell_config { |
| 10 | /* |
| 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 | |
| 21 | /* IGD panel configuration */ |
| 22 | struct i915_gpu_panel_config panel_cfg; |
| 23 | |
| 24 | bool ec_present; |
| 25 | |
| 26 | bool dq_pins_interleaved; |
| 27 | |
| 28 | /* |
| 29 | * Graphics CD Clock Frequency |
| 30 | * 0 = 337.5MHz |
| 31 | * 1 = 450MHz |
| 32 | * 2 = 540MHz |
| 33 | * 3 = 675MHz |
| 34 | */ |
| 35 | int cdclk; |
| 36 | |
| 37 | struct i915_gpu_controller_info gfx; |
| 38 | }; |
| 39 | |
| 40 | #endif |