blob: 900400d30439d778176855b1277a9d9fe3066516 [file] [log] [blame]
Martin Roth5474eb12018-05-26 19:22:33 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
Iru Caid7ee9dd2016-02-24 15:03:58 +080014#ifndef NORTHBRIDGE_INTEL_I945_CHIP_H
15#define NORTHBRIDGE_INTEL_I945_CHIP_H
16
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010017#include <drivers/intel/gma/i915.h>
18
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020019struct northbridge_intel_i945_config {
Arthur Heymans8e079002017-01-14 22:31:54 +010020 /* In units of 100us timer */
21 /* Timings as defined in VESA Notebook Panel Standard */
22 u16 gpu_panel_power_up_delay; /* T1+T2 time sequence */
23 u16 gpu_panel_power_down_delay; /* T3 time sequence */
24 u16 gpu_panel_power_backlight_on_delay; /* T5 time sequence */
25 u16 gpu_panel_power_backlight_off_delay; /* Tx time sequence */
26 /* In units of 0.1s */
27 u8 gpu_panel_power_cycle_delay;
28
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020029 u32 gpu_hotplug;
Arthur Heymans8e079002017-01-14 22:31:54 +010030 u32 pwm_freq;
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020031 int gpu_lvds_use_spread_spectrum_clock;
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010032 struct i915_gpu_controller_info gfx;
Arthur Heymans885c2892016-10-03 17:16:48 +020033 int pci_mmio_size;
Vladimir Serbinenko26ca08c2014-06-01 00:24:05 +020034};
Iru Caid7ee9dd2016-02-24 15:03:58 +080035
36#endif /* NORTHBRIDGE_INTEL_I945_CHIP_H */