blob: 65271815862fbf2de378d91ab136783d3b03a4bc [file] [log] [blame]
Patrick Georgi2efc8802012-11-06 11:03:53 +01001/*
2 * This file is part of the coreboot project.
3 *
Patrick Georgi2efc8802012-11-06 11:03:53 +01004 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
Patrick Georgi2efc8802012-11-06 11:03:53 +010013 */
14
15#ifndef NORTHBRIDGE_INTEL_GM45_CHIP_H
16#define NORTHBRIDGE_INTEL_GM45_CHIP_H
17
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +020018#include <drivers/intel/gma/i915.h>
19
Patrick Georgi2efc8802012-11-06 11:03:53 +010020struct northbridge_intel_gm45_config {
Nico Huberb851cc62016-01-09 23:27:16 +010021 u16 gpu_panel_power_up_delay; /* T1+T2 time sequence */
22 u16 gpu_panel_power_down_delay; /* T3 time sequence */
23 u16 gpu_panel_power_backlight_on_delay; /* T5 time sequence */
24 u16 gpu_panel_power_backlight_off_delay; /* Tx time sequence */
25 u8 gpu_panel_power_cycle_delay; /* T4 time sequence */
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +020026 struct i915_gpu_controller_info gfx;
Arthur Heymans20cb85f2017-04-29 14:31:32 +020027 u16 default_pwm_freq;
Arthur Heymans12bed262016-11-24 13:23:05 +010028 u8 duty_cycle;
Patrick Rudolph266a1f72016-06-09 18:13:34 +020029
30 /*
31 * Maximum PCI mmio size in MiB.
32 */
33 u16 pci_mmio_size;
Patrick Georgi2efc8802012-11-06 11:03:53 +010034};
35
36#endif /* NORTHBRIDGE_INTEL_GM45_CHIP_H */