blob: 087c28aea4f0fb29d1baf10952544f3f21d74bc6 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +01003
Angel Pons95de2312020-02-17 13:08:53 +01004#ifndef NORTHBRIDGE_INTEL_IRONLAKE_CHIP_H
5#define NORTHBRIDGE_INTEL_IRONLAKE_CHIP_H
Iru Caid7ee9dd2016-02-24 15:03:58 +08006
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +02007#include <drivers/intel/gma/i915.h>
8
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +01009/*
10 * Digital Port Hotplug Enable:
11 * 0x04 = Enabled, 2ms short pulse
12 * 0x05 = Enabled, 4.5ms short pulse
13 * 0x06 = Enabled, 6ms short pulse
14 * 0x07 = Enabled, 100ms short pulse
15 */
Angel Pons95de2312020-02-17 13:08:53 +010016struct northbridge_intel_ironlake_config {
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010017 u8 gpu_dp_b_hotplug; /* Digital Port B Hotplug Config */
18 u8 gpu_dp_c_hotplug; /* Digital Port C Hotplug Config */
19 u8 gpu_dp_d_hotplug; /* Digital Port D Hotplug Config */
20
21 u8 gpu_panel_port_select; /* 0=LVDS 1=DP_B 2=DP_C 3=DP_D */
22 u8 gpu_panel_power_cycle_delay; /* T4 time sequence */
23 u16 gpu_panel_power_up_delay; /* T1+T2 time sequence */
24 u16 gpu_panel_power_down_delay; /* T3 time sequence */
25 u16 gpu_panel_power_backlight_on_delay; /* T5 time sequence */
26 u16 gpu_panel_power_backlight_off_delay; /* Tx time sequence */
27
28 u32 gpu_cpu_backlight; /* CPU Backlight PWM value */
29 u32 gpu_pch_backlight; /* PCH Backlight PWM value */
Vladimir Serbinenko13157302014-02-19 22:18:08 +010030
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +020031 struct i915_gpu_controller_info gfx;
Patrick Rudolph266a1f72016-06-09 18:13:34 +020032
33 /*
34 * Maximum PCI mmio size in MiB.
35 */
36 u16 pci_mmio_size;
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010037};
Iru Caid7ee9dd2016-02-24 15:03:58 +080038
Angel Pons95de2312020-02-17 13:08:53 +010039#endif /* NORTHBRIDGE_INTEL_IRONLAKE_CHIP_H */