Martin Roth | 5474eb1 | 2018-05-26 19:22:33 -0600 | [diff] [blame^] | 1 | /* |
| 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 Cai | d7ee9dd | 2016-02-24 15:03:58 +0800 | [diff] [blame] | 14 | #ifndef NORTHBRIDGE_INTEL_I945_CHIP_H |
| 15 | #define NORTHBRIDGE_INTEL_I945_CHIP_H |
| 16 | |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 17 | #include <drivers/intel/gma/i915.h> |
| 18 | |
Vladimir Serbinenko | 26ca08c | 2014-06-01 00:24:05 +0200 | [diff] [blame] | 19 | struct northbridge_intel_i945_config { |
Arthur Heymans | 8e07900 | 2017-01-14 22:31:54 +0100 | [diff] [blame] | 20 | /* 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 Serbinenko | 26ca08c | 2014-06-01 00:24:05 +0200 | [diff] [blame] | 29 | u32 gpu_hotplug; |
Arthur Heymans | 8e07900 | 2017-01-14 22:31:54 +0100 | [diff] [blame] | 30 | u32 pwm_freq; |
Vladimir Serbinenko | 26ca08c | 2014-06-01 00:24:05 +0200 | [diff] [blame] | 31 | int gpu_lvds_use_spread_spectrum_clock; |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 32 | struct i915_gpu_controller_info gfx; |
Arthur Heymans | 885c289 | 2016-10-03 17:16:48 +0200 | [diff] [blame] | 33 | int pci_mmio_size; |
Vladimir Serbinenko | 26ca08c | 2014-06-01 00:24:05 +0200 | [diff] [blame] | 34 | }; |
Iru Cai | d7ee9dd | 2016-02-24 15:03:58 +0800 | [diff] [blame] | 35 | |
| 36 | #endif /* NORTHBRIDGE_INTEL_I945_CHIP_H */ |