blob: 76ceccac6e8a60630aa54b28d2e2d986a458944e [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Patrick Georgi2efc8802012-11-06 11:03:53 +01002
3#ifndef NORTHBRIDGE_INTEL_GM45_CHIP_H
4#define NORTHBRIDGE_INTEL_GM45_CHIP_H
5
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +02006#include <drivers/intel/gma/i915.h>
7
Patrick Georgi2efc8802012-11-06 11:03:53 +01008struct northbridge_intel_gm45_config {
Nico Huberb851cc62016-01-09 23:27:16 +01009 u16 gpu_panel_power_up_delay; /* T1+T2 time sequence */
10 u16 gpu_panel_power_down_delay; /* T3 time sequence */
11 u16 gpu_panel_power_backlight_on_delay; /* T5 time sequence */
12 u16 gpu_panel_power_backlight_off_delay; /* Tx time sequence */
13 u8 gpu_panel_power_cycle_delay; /* T4 time sequence */
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +020014 struct i915_gpu_controller_info gfx;
Arthur Heymans20cb85f2017-04-29 14:31:32 +020015 u16 default_pwm_freq;
Arthur Heymans12bed262016-11-24 13:23:05 +010016 u8 duty_cycle;
Patrick Rudolph266a1f72016-06-09 18:13:34 +020017
18 /*
19 * Maximum PCI mmio size in MiB.
20 */
21 u16 pci_mmio_size;
Arthur Heymans98c92572022-11-07 11:39:58 +010022 int slfm;
Patrick Georgi2efc8802012-11-06 11:03:53 +010023};
24
25#endif /* NORTHBRIDGE_INTEL_GM45_CHIP_H */