blob: a281ee96d947ee463828199f8934ec526f1d2b7b [file] [log] [blame]
Patrick Georgi2efc8802012-11-06 11:03:53 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2008 coresystems GmbH
5 * 2012 secunet Security Networks AG
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Patrick Georgi2efc8802012-11-06 11:03:53 +010015 */
16
17#ifndef NORTHBRIDGE_INTEL_GM45_CHIP_H
18#define NORTHBRIDGE_INTEL_GM45_CHIP_H
19
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +020020#include <drivers/intel/gma/i915.h>
21
Patrick Georgi2efc8802012-11-06 11:03:53 +010022struct northbridge_intel_gm45_config {
Nico Huberb851cc62016-01-09 23:27:16 +010023 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 u8 gpu_panel_power_cycle_delay; /* T4 time sequence */
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +020028 struct i915_gpu_controller_info gfx;
Arthur Heymans12bed262016-11-24 13:23:05 +010029 u16 pwm_freq;
30 u8 duty_cycle;
Patrick Rudolph266a1f72016-06-09 18:13:34 +020031
32 /*
33 * Maximum PCI mmio size in MiB.
34 */
35 u16 pci_mmio_size;
Patrick Georgi2efc8802012-11-06 11:03:53 +010036};
37
38#endif /* NORTHBRIDGE_INTEL_GM45_CHIP_H */