171d7fec4Smrg/* $XFree86$ */ 271d7fec4Smrg/* 371d7fec4Smrg * $Workfile: 92xx.h $ 471d7fec4Smrg * $Revision: 1.1.1.1 $ 571d7fec4Smrg * 671d7fec4Smrg * File Contents: This header file defines the Durango routines and 771d7fec4Smrg * variables used to access the memory mapped regions. 871d7fec4Smrg * 971d7fec4Smrg * SubModule: Geode FlatPanel library 1071d7fec4Smrg */ 1171d7fec4Smrg 1271d7fec4Smrg/* 1371d7fec4Smrg * NSC_LIC_ALTERNATIVE_PREAMBLE 1471d7fec4Smrg * 1571d7fec4Smrg * Revision 1.0 1671d7fec4Smrg * 1771d7fec4Smrg * National Semiconductor Alternative GPL-BSD License 1871d7fec4Smrg * 1971d7fec4Smrg * National Semiconductor Corporation licenses this software 2071d7fec4Smrg * ("Software"): 2171d7fec4Smrg * 2271d7fec4Smrg * Panel Library 2371d7fec4Smrg * 2471d7fec4Smrg * under one of the two following licenses, depending on how the 2571d7fec4Smrg * Software is received by the Licensee. 2671d7fec4Smrg * 2771d7fec4Smrg * If this Software is received as part of the Linux Framebuffer or 2871d7fec4Smrg * other GPL licensed software, then the GPL license designated 2971d7fec4Smrg * NSC_LIC_GPL applies to this Software; in all other circumstances 3071d7fec4Smrg * then the BSD-style license designated NSC_LIC_BSD shall apply. 3171d7fec4Smrg * 3271d7fec4Smrg * END_NSC_LIC_ALTERNATIVE_PREAMBLE */ 3371d7fec4Smrg 3471d7fec4Smrg/* NSC_LIC_BSD 3571d7fec4Smrg * 3671d7fec4Smrg * National Semiconductor Corporation Open Source License for 3771d7fec4Smrg * 3871d7fec4Smrg * Panel Library 3971d7fec4Smrg * 4071d7fec4Smrg * (BSD License with Export Notice) 4171d7fec4Smrg * 4271d7fec4Smrg * Copyright (c) 1999-2001 4371d7fec4Smrg * National Semiconductor Corporation. 4471d7fec4Smrg * All rights reserved. 4571d7fec4Smrg * 4671d7fec4Smrg * Redistribution and use in source and binary forms, with or without 4771d7fec4Smrg * modification, are permitted provided that the following conditions 4871d7fec4Smrg * are met: 4971d7fec4Smrg * 5071d7fec4Smrg * * Redistributions of source code must retain the above copyright 5171d7fec4Smrg * notice, this list of conditions and the following disclaimer. 5271d7fec4Smrg * 5371d7fec4Smrg * * Redistributions in binary form must reproduce the above 5471d7fec4Smrg * copyright notice, this list of conditions and the following 5571d7fec4Smrg * disclaimer in the documentation and/or other materials provided 5671d7fec4Smrg * with the distribution. 5771d7fec4Smrg * 5871d7fec4Smrg * * Neither the name of the National Semiconductor Corporation nor 5971d7fec4Smrg * the names of its contributors may be used to endorse or promote 6071d7fec4Smrg * products derived from this software without specific prior 6171d7fec4Smrg * written permission. 6271d7fec4Smrg * 6371d7fec4Smrg * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 6471d7fec4Smrg * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 6571d7fec4Smrg * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 6671d7fec4Smrg * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 6771d7fec4Smrg * NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY 6871d7fec4Smrg * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 6971d7fec4Smrg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 7071d7fec4Smrg * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 7171d7fec4Smrg * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 7271d7fec4Smrg * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE, 7371d7fec4Smrg * INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY 7471d7fec4Smrg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 7571d7fec4Smrg * OF SUCH DAMAGE. 7671d7fec4Smrg * 7771d7fec4Smrg * EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF 7871d7fec4Smrg * YOUR JURISDICTION. It is licensee's responsibility to comply with 7971d7fec4Smrg * any export regulations applicable in licensee's jurisdiction. Under 8071d7fec4Smrg * CURRENT (2001) U.S. export regulations this software 8171d7fec4Smrg * is eligible for export from the U.S. and can be downloaded by or 8271d7fec4Smrg * otherwise exported or reexported worldwide EXCEPT to U.S. embargoed 8371d7fec4Smrg * destinations which include Cuba, Iraq, Libya, North Korea, Iran, 8471d7fec4Smrg * Syria, Sudan, Afghanistan and any other country to which the U.S. 8571d7fec4Smrg * has embargoed goods and services. 8671d7fec4Smrg * 8771d7fec4Smrg * END_NSC_LIC_BSD */ 8871d7fec4Smrg 8971d7fec4Smrg/* NSC_LIC_GPL 9071d7fec4Smrg * 9171d7fec4Smrg * National Semiconductor Corporation Gnu General Public License for 9271d7fec4Smrg * 9371d7fec4Smrg * Panel Library 9471d7fec4Smrg * 9571d7fec4Smrg * (GPL License with Export Notice) 9671d7fec4Smrg * 9771d7fec4Smrg * Copyright (c) 1999-2001 9871d7fec4Smrg * National Semiconductor Corporation. 9971d7fec4Smrg * All rights reserved. 10071d7fec4Smrg * 10171d7fec4Smrg * Redistribution and use in source and binary forms, with or without 10271d7fec4Smrg * modification, are permitted under the terms of the GNU General 10371d7fec4Smrg * Public License as published by the Free Software Foundation; either 10471d7fec4Smrg * version 2 of the License, or (at your option) any later version 10571d7fec4Smrg * 10671d7fec4Smrg * In addition to the terms of the GNU General Public License, neither 10771d7fec4Smrg * the name of the National Semiconductor Corporation nor the names of 10871d7fec4Smrg * its contributors may be used to endorse or promote products derived 10971d7fec4Smrg * from this software without specific prior written permission. 11071d7fec4Smrg * 11171d7fec4Smrg * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 11271d7fec4Smrg * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 11371d7fec4Smrg * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 11471d7fec4Smrg * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 11571d7fec4Smrg * NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY 11671d7fec4Smrg * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 11771d7fec4Smrg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 11871d7fec4Smrg * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 11971d7fec4Smrg * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 12071d7fec4Smrg * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE, 12171d7fec4Smrg * INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY 12271d7fec4Smrg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 12371d7fec4Smrg * OF SUCH DAMAGE. See the GNU General Public License for more details. 12471d7fec4Smrg * 12571d7fec4Smrg * EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF 12671d7fec4Smrg * YOUR JURISDICTION. It is licensee's responsibility to comply with 12771d7fec4Smrg * any export regulations applicable in licensee's jurisdiction. Under 12871d7fec4Smrg * CURRENT (2001) U.S. export regulations this software 12971d7fec4Smrg * is eligible for export from the U.S. and can be downloaded by or 13071d7fec4Smrg * otherwise exported or reexported worldwide EXCEPT to U.S. embargoed 13171d7fec4Smrg * destinations which include Cuba, Iraq, Libya, North Korea, Iran, 13271d7fec4Smrg * Syria, Sudan, Afghanistan and any other country to which the U.S. 13371d7fec4Smrg * has embargoed goods and services. 13471d7fec4Smrg * 13571d7fec4Smrg * You should have received a copy of the GNU General Public License 13671d7fec4Smrg * along with this file; if not, write to the Free Software Foundation, 13771d7fec4Smrg * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 13871d7fec4Smrg * 13971d7fec4Smrg * END_NSC_LIC_GPL */ 14071d7fec4Smrg 14171d7fec4Smrg#ifndef _92XX_h 14271d7fec4Smrg#define _92XX_h 14371d7fec4Smrg 14471d7fec4Smrgtypedef unsigned long ULONG; 14571d7fec4Smrgtypedef unsigned char UCHAR; 14671d7fec4Smrg 14771d7fec4Smrg#define FALSE 0 14871d7fec4Smrg#define TRUE 1 14971d7fec4Smrg#define NUM_92XX_MODES 13 15071d7fec4Smrg#define ONE_BYTE 1 15171d7fec4Smrg#define TWO_BYTES 2 15271d7fec4Smrg#define FOUR_BYTES 4 15371d7fec4Smrg 15471d7fec4Smrg/* LCD Registers 15571d7fec4Smrg * The LCD memory area is shared by both TV and LCD. 15671d7fec4Smrg * This offset is for LCD access. 15771d7fec4Smrg */ 15871d7fec4Smrg 15971d7fec4Smrg#define CS92xx_LCD_OFFSET 0x00000400 16071d7fec4Smrg 16171d7fec4Smrg/* LCD CONTROL REGISTERS */ 16271d7fec4Smrg 16371d7fec4Smrg#define CS92xx_LCD_PAN_TIMING1 CS92xx_LCD_OFFSET + 0x00 16471d7fec4Smrg 16571d7fec4Smrg/* flat panel(FP) timings */ 16671d7fec4Smrg#define CS92xx_LCD_PAN_TIMING2 CS92xx_LCD_OFFSET + 0x04 16771d7fec4Smrg 16871d7fec4Smrg/* FP panel timings */ 16971d7fec4Smrg#define CS92xx_LCD_PWR_MAN CS92xx_LCD_OFFSET + 0x08 17071d7fec4Smrg 17171d7fec4Smrg/* FP power management */ 17271d7fec4Smrg#define CS92xx_LCD_DITH_FR_CNTRL CS92xx_LCD_OFFSET + 0x0C 17371d7fec4Smrg 17471d7fec4Smrg/* FP dither and frame rate 17571d7fec4Smrg * these defines are in revisions prior to C 17671d7fec4Smrg */ 17771d7fec4Smrg#define CS92xx_LCD_BLOCK_SEL1 CS92xx_LCD_OFFSET + 0x10 17871d7fec4Smrg 17971d7fec4Smrg/* FRM register */ 18071d7fec4Smrg#define CS92xx_LCD_BLOCK_SEL2 CS92xx_LCD_OFFSET + 0x14 18171d7fec4Smrg 18271d7fec4Smrg/* FRM register */ 18371d7fec4Smrg#define CS92xx_LCD_DISPER1 CS92xx_LCD_OFFSET + 0x18 18471d7fec4Smrg 18571d7fec4Smrg/* FRM register */ 18671d7fec4Smrg#define CS92xx_LCD_DISPER2 CS92xx_LCD_OFFSET + 0x1C 18771d7fec4Smrg 18871d7fec4Smrg/* FRM register 18971d7fec4Smrg * these defines are revision C 19071d7fec4Smrg */ 19171d7fec4Smrg#define CS92xx_BLUE_LSFR_SEED CS92xx_LCD_OFFSET + 0x10 19271d7fec4Smrg 19371d7fec4Smrg/* FRM register */ 19471d7fec4Smrg#define CS92xx_RED_GREEN_LSFR_SEED CS92xx_LCD_OFFSET + 0x14 19571d7fec4Smrg 19671d7fec4Smrg/* FRM register */ 19771d7fec4Smrg#define CS92xx_FRM_MEMORY_INDEX CS92xx_LCD_OFFSET + 0x18 19871d7fec4Smrg 19971d7fec4Smrg/* FRM register */ 20071d7fec4Smrg#define CS92xx_FRM_MEMORY_DATA CS92xx_LCD_OFFSET + 0x1C 20171d7fec4Smrg 20271d7fec4Smrg/* FRM register */ 20371d7fec4Smrg#define CS92xx_LCD_MEM_CNTRL CS92xx_LCD_OFFSET + 0x20 20471d7fec4Smrg 20571d7fec4Smrg/* memory PLL register */ 20671d7fec4Smrg#define CS92xx_LCD_RAM_CNTRL CS92xx_LCD_OFFSET + 0x24 20771d7fec4Smrg 20871d7fec4Smrg/* ram control */ 20971d7fec4Smrg 21071d7fec4Smrg#define CS92xx_LCD_RAM_DATA CS92xx_LCD_OFFSET + 0x28 /* ram data */ 21171d7fec4Smrg 21271d7fec4Smrg#define CS92xx_LCD_PAN_CRC_SIG CS92xx_LCD_OFFSET + 0x2C 21371d7fec4Smrg 21471d7fec4Smrg/* FP CRC signature */ 21571d7fec4Smrg#define CS92xx_DEV_REV_ID CS92xx_LCD_OFFSET + 0x30 21671d7fec4Smrg 21771d7fec4Smrg/* Device and revision id */ 21871d7fec4Smrg#define CS92xx_LCD_GPIO_DATA CS92xx_LCD_OFFSET + 0x34 /* GPIO Data */ 21971d7fec4Smrg 22071d7fec4Smrg#define CS92xx_LCD_GPIO_CNTRL CS92xx_LCD_OFFSET + 0x38 22171d7fec4Smrg 22271d7fec4Smrg/* GPIO Control */ 22371d7fec4Smrgint Pnl_Rev_ID; 22471d7fec4Smrg 22571d7fec4Smrgtypedef struct 22671d7fec4Smrg{ 22771d7fec4Smrg /* DISPLAY MODE PARAMETERS */ 22871d7fec4Smrg int xres; 22971d7fec4Smrg int yres; 23071d7fec4Smrg int bpp; 23171d7fec4Smrg int panel_type; 23271d7fec4Smrg int color_type; 23371d7fec4Smrg /* VALUES USED TO SET THE FLAT PANEL DISPLAY CONTROLLER */ 23471d7fec4Smrg unsigned long panel_timing1; 23571d7fec4Smrg unsigned long panel_timing2; 23671d7fec4Smrg unsigned long power_management; 23771d7fec4Smrg /* the following 5 registers are prior to revision C */ 23871d7fec4Smrg unsigned long pre_C_dither_frc; 23971d7fec4Smrg unsigned long block_select1; 24071d7fec4Smrg unsigned long block_select2; 24171d7fec4Smrg unsigned long dispersion1; 24271d7fec4Smrg unsigned long dispersion2; 24371d7fec4Smrg /* the following 4 registers are revision C only */ 24471d7fec4Smrg unsigned long rev_C_dither_frc; 24571d7fec4Smrg unsigned long blue_lsfr_seed; 24671d7fec4Smrg unsigned long red_green_lsfr_seed; 24771d7fec4Smrg unsigned long frm_memory_index; 24871d7fec4Smrg unsigned long frm_memory_data; 24971d7fec4Smrg unsigned long memory_control; 25071d7fec4Smrg 25171d7fec4Smrg} 25271d7fec4SmrgCS92xx_MODE; 25371d7fec4Smrg 25471d7fec4Smrg/* VALUES USED TO SAVE AND RESTORE 9211 REGISTERS. */ 25571d7fec4Smrgtypedef struct 25671d7fec4Smrg{ 25771d7fec4Smrg unsigned long panel_state; 25871d7fec4Smrg /* VALUES USED TO SET THE FLAT PANEL DISPLAY CONTROLLER */ 25971d7fec4Smrg unsigned long panel_timing1; 26071d7fec4Smrg unsigned long panel_timing2; 26171d7fec4Smrg unsigned long power_management; 26271d7fec4Smrg unsigned long dither_frc_ctrl; 26371d7fec4Smrg unsigned long blue_lsfr_seed; 26471d7fec4Smrg unsigned long red_green_lsfr_seed; 26571d7fec4Smrg unsigned long frm_memory_index; 26671d7fec4Smrg unsigned long frm_memory_data; 26771d7fec4Smrg unsigned long memory_control; 26871d7fec4Smrg} 26971d7fec4SmrgCS92xx_REGS; 27071d7fec4Smrg 27171d7fec4SmrgCS92xx_REGS cs9211_regs; 27271d7fec4Smrg 27371d7fec4Smrg/* 27471d7fec4Smrg *------------------------------------------------------------------------ 27571d7fec4Smrg * PANEL MODE TABLES: 27671d7fec4Smrg * GLOBAL ARRAY OF FLAT PANEL MODE STRUCTURES 27771d7fec4Smrg *------------------------------------------------------------------------ 27871d7fec4Smrg */ 27971d7fec4SmrgCS92xx_MODE FPModeParams[] = { 28071d7fec4Smrg 28171d7fec4Smrg {640, 480, 8, PNL_SSTN, PNL_COLOR_PANEL, /* display parameters */ 28271d7fec4Smrg 0x01e00000, 0x00034000, /* panel timing reg 1, panel timing reg 2 */ 28371d7fec4Smrg 0x01000000, /* power management */ 28471d7fec4Smrg /* The next 5 values are prior to revision C */ 28571d7fec4Smrg 0x00000050, /* dither and frame rate control */ 28671d7fec4Smrg 0x25cf3096, 0xad47b81e, /* block select 1, block select 2 */ 28771d7fec4Smrg 0x21446450, 0x21446450, /* dispersion 1, dispersion 2 */ 28871d7fec4Smrg /* The next 5 values are for revision C */ 28971d7fec4Smrg 0x00000050, /* dither and frame rate control */ 29071d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 29171d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 29271d7fec4Smrg 0x00000000, /* memory control */ 29371d7fec4Smrg }, 29471d7fec4Smrg 29571d7fec4Smrg {640, 480, 12, PNL_TFT, PNL_COLOR_PANEL, /* display parameters */ 29671d7fec4Smrg 0x01e00000, 0x0f100000, /* panel timing reg 1, panel timing reg 2 */ 29771d7fec4Smrg 0x01000000, /* power management */ 29871d7fec4Smrg /* The next 5 values are prior to revision C */ 29971d7fec4Smrg 0x00000050, /* dither and frame rate control */ 30071d7fec4Smrg 0x00000000, 0x00000000, /* block select 1, block select 2 */ 30171d7fec4Smrg 0x00000000, 0x00000000, /* dispersion 1, dispersion 2 */ 30271d7fec4Smrg /* The next 5 values are for revision C */ 30371d7fec4Smrg 0x00000050, /* dither and frame rate control */ 30471d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 30571d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 30671d7fec4Smrg 0x00000000, /* memory control */ 30771d7fec4Smrg }, 30871d7fec4Smrg 30971d7fec4Smrg {640, 480, 18, PNL_TFT, PNL_COLOR_PANEL, /* display parameters */ 31071d7fec4Smrg 0x01e00000, 0x0f100000, /* panel timing reg 1, panel timing reg 2 */ 31171d7fec4Smrg 0x01000000, /* power management */ 31271d7fec4Smrg /* The next 5 values are prior to revision C */ 31371d7fec4Smrg 0x00000050, /* dither and frame rate control */ 31471d7fec4Smrg 0x00000000, 0x00000000, /* block select 1, block select 2 */ 31571d7fec4Smrg 0x00000000, 0x00000000, /* dispersion 1, dispersion 2 */ 31671d7fec4Smrg /* The next 5 values are for revision C */ 31771d7fec4Smrg 0x00000050, /* dither and frame rate control */ 31871d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 31971d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 32071d7fec4Smrg 0x00000000, /* memory control */ 32171d7fec4Smrg }, 32271d7fec4Smrg 32371d7fec4Smrg {640, 480, 16, PNL_DSTN, PNL_COLOR_PANEL, /* display parameters */ 32471d7fec4Smrg 0x01e00000, 0x00014000, /* panel timing reg 1, panel timing reg 2 */ 32571d7fec4Smrg 0x01000000, /* power management */ 32671d7fec4Smrg /* The next 5 values are prior to revision C */ 32771d7fec4Smrg 0x00000050, /* dither and frame rate control */ 32871d7fec4Smrg 0x048c26ae, 0x048c26ae, /* block select 1, block select 2 */ 32971d7fec4Smrg 0x02468ace, 0x13579bdf, /* dispersion 1, dispersion 2 */ 33071d7fec4Smrg /* The next 5 values are for revision C */ 33171d7fec4Smrg 0x0000004b, /* dither and frame rate control */ 33271d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 33371d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 33471d7fec4Smrg 0x00000007, /* memory control */ 33571d7fec4Smrg }, 33671d7fec4Smrg 33771d7fec4Smrg {640, 480, 8, PNL_DSTN, PNL_MONO_PANEL, /* display parameters */ 33871d7fec4Smrg 0x01e00000, 0x00084000, /* panel timing reg 1, panel timing reg 2 */ 33971d7fec4Smrg 0x01000000, /* power management */ 34071d7fec4Smrg /* The next 5 values are prior to revision C */ 34171d7fec4Smrg 0x0000004b, /* dither and frame rate control */ 34271d7fec4Smrg 0x25cf3096, 0xad47b81e, /* block select 1, block select 2 */ 34371d7fec4Smrg 0x21446450, 0x21446450, /* dispersion 1, dispersion 2 */ 34471d7fec4Smrg /* The next 5 values are for revision C */ 34571d7fec4Smrg 0x00000050, /* dither and frame rate control */ 34671d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 34771d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 34871d7fec4Smrg 0x00000007, /* memory control */ 34971d7fec4Smrg }, 35071d7fec4Smrg 35171d7fec4Smrg {640, 480, 16, PNL_DSTN, PNL_MONO_PANEL, /* display parameters */ 35271d7fec4Smrg 0x01e00000, 0x00094000, /* panel timing reg 1, panel timing reg 2 */ 35371d7fec4Smrg 0x01000000, /* power management */ 35471d7fec4Smrg /* The next 5 values are prior to revision C */ 35571d7fec4Smrg 0x00000050, /* dither and frame rate control */ 35671d7fec4Smrg 0x25cf3096, 0xad47b81e, /* block select 1, block select 2 */ 35771d7fec4Smrg 0x81a5d470, 0x29cfb63e, /* dispersion 1, dispersion 2 */ 35871d7fec4Smrg /* The next 5 values are for revision C */ 35971d7fec4Smrg 0x00000050, /* dither and frame rate control */ 36071d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 36171d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 36271d7fec4Smrg 0x00000007, /* memory control */ 36371d7fec4Smrg }, 36471d7fec4Smrg 36571d7fec4Smrg {800, 600, 12, PNL_TFT, PNL_COLOR_PANEL, /* display parameters */ 36671d7fec4Smrg 0x02580000, 0x0f100000, /* panel timing reg 1, panel timing reg 2 */ 36771d7fec4Smrg 0x01000000, /* power management */ 36871d7fec4Smrg /* The next 5 values are prior to revision C */ 36971d7fec4Smrg 0x00000050, /* dither and frame rate control */ 37071d7fec4Smrg 0x00000000, 0x00000000, /* block select 1, block select 2 */ 37171d7fec4Smrg 0x00000000, 0x00000000, /* dispersion 1, dispersion 2 */ 37271d7fec4Smrg /* The next 5 values are for revision C */ 37371d7fec4Smrg 0x00000050, /* dither and frame rate control */ 37471d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 37571d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 37671d7fec4Smrg 0x00000000, /* memory control */ 37771d7fec4Smrg }, 37871d7fec4Smrg 37971d7fec4Smrg {800, 600, 18, PNL_TFT, PNL_COLOR_PANEL, /* display parameters */ 38071d7fec4Smrg 0x02580000, 0x0f100000, /* panel timing reg 1, panel timing reg 2 */ 38171d7fec4Smrg 0x01000000, /* power management */ 38271d7fec4Smrg /* The next 5 values are prior to revision C */ 38371d7fec4Smrg 0x00000050, /* dither and frame rate control */ 38471d7fec4Smrg 0x00000000, 0x00000000, /* block select 1, block select 2 */ 38571d7fec4Smrg 0x00000000, 0x00000000, /* dispersion 1, dispersion 2 */ 38671d7fec4Smrg /* The next 5 values are for revision C */ 38771d7fec4Smrg 0x00000050, /* dither and frame rate control */ 38871d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 38971d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 39071d7fec4Smrg 0x00000000, /* memory control */ 39171d7fec4Smrg }, 39271d7fec4Smrg 39371d7fec4Smrg {800, 600, 16, PNL_DSTN, PNL_COLOR_PANEL, /* display parameters */ 39471d7fec4Smrg 0x02580000, 0x00014000, /* panel timing reg 1, panel timing reg 2 */ 39571d7fec4Smrg 0x01000000, /* power management */ 39671d7fec4Smrg /* The next 5 values are prior to revision C */ 39771d7fec4Smrg 0x00000050, /* dither and frame rate control */ 39871d7fec4Smrg 0x048c26ae, 0x048c26ae, /* block select 1, block select 2 */ 39971d7fec4Smrg 0x02468ace, 0x13579bdf, /* dispersion 1, dispersion 2 */ 40071d7fec4Smrg /* The next 5 values are for revision C */ 40171d7fec4Smrg 0x0000004b, /* dither and frame rate control */ 40271d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 40371d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 40471d7fec4Smrg 0x00000007, /* memory control */ 40571d7fec4Smrg }, 40671d7fec4Smrg 40771d7fec4Smrg {800, 600, 8, PNL_DSTN, PNL_MONO_PANEL, /* display parameters */ 40871d7fec4Smrg 0x02580000, 0x00084000, /* panel timing reg 1, panel timing reg 2 */ 40971d7fec4Smrg 0x01000000, /* power management */ 41071d7fec4Smrg /* The next 5 values are prior to revision C */ 41171d7fec4Smrg 0x00000050, /* dither and frame rate control */ 41271d7fec4Smrg 0x25cf3096, 0xad47b81e, /* block select 1, block select 2 */ 41371d7fec4Smrg 0x21446450, 0x21446450, /* dispersion 1, dispersion 2 */ 41471d7fec4Smrg /* The next 5 values are for revision C */ 41571d7fec4Smrg 0x0000004b, /* dither and frame rate control */ 41671d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 41771d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 41871d7fec4Smrg 0x00000007, /* memory control */ 41971d7fec4Smrg }, 42071d7fec4Smrg 42171d7fec4Smrg {800, 600, 16, PNL_DSTN, PNL_MONO_PANEL, /* display parameters */ 42271d7fec4Smrg 0x02580000, 0x00094000, /* panel timing reg 1, panel timing reg 2 */ 42371d7fec4Smrg 0x01000000, /* power management */ 42471d7fec4Smrg /* The next 5 values are prior to revision C */ 42571d7fec4Smrg 0x00000050, /* dither and frame rate control */ 42671d7fec4Smrg 0x25cf3096, 0xad47b81e, /* block select 1, block select 2 */ 42771d7fec4Smrg 0x81a5d470, 0x29cfb63e, /* dispersion 1, dispersion 2 */ 42871d7fec4Smrg /* The next 5 values are for revision C */ 42971d7fec4Smrg 0x00000050, /* dither and frame rate control */ 43071d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 43171d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 43271d7fec4Smrg 0x00000007, /* memory control */ 43371d7fec4Smrg }, 43471d7fec4Smrg 43571d7fec4Smrg {1024, 768, 18, PNL_TFT, PNL_COLOR_PANEL, /* display parameters */ 43671d7fec4Smrg 0x03000000, 0x0f100000, /* panel timing reg 1, panel timing reg 2 */ 43771d7fec4Smrg 0x01000000, /* power management */ 43871d7fec4Smrg /*The next 5 values are prior to revision C */ 43971d7fec4Smrg 0x00000050, /* dither and frame rate control */ 44071d7fec4Smrg 0x00000000, 0x00000000, /* block select 1, block select 2 */ 44171d7fec4Smrg 0x00000000, 0x00000000, /* dispersion 1, dispersion 2 */ 44271d7fec4Smrg /*The next 5 values are for revision C */ 44371d7fec4Smrg 0x00000050, /* dither and frame rate control */ 44471d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 44571d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 44671d7fec4Smrg 0x00000000, /* memory control */ 44771d7fec4Smrg }, 44871d7fec4Smrg 44971d7fec4Smrg {1024, 768, 24, PNL_DSTN, PNL_COLOR_PANEL, /* display parameters */ 45071d7fec4Smrg 0x03000000, 0x80024000, /* panel timing reg 1, panel timing reg 2 */ 45171d7fec4Smrg 0x01000000, /* power management */ 45271d7fec4Smrg /*The next 5 values are prior to revision C */ 45371d7fec4Smrg 0x00000050, /* dither and frame rate control */ 45471d7fec4Smrg 0x048c26ae, 0x048c26ae, /* block select 1, block select 2 */ 45571d7fec4Smrg 0x02468ace, 0x13579bdf, /* dispersion 1, dispersion 2 */ 45671d7fec4Smrg /*The next 5 values are for revision C */ 45771d7fec4Smrg 0x0000004b, /* dither and frame rate control */ 45871d7fec4Smrg 0x00000000, 0x00000000, /* blue LSFR, red and green LSFR */ 45971d7fec4Smrg 0x00000000, 0x00000000, /* FRM memory index, FRM memory data */ 46071d7fec4Smrg 0x00000005, /* memory control */ 46171d7fec4Smrg } 46271d7fec4Smrg}; 46371d7fec4Smrg 46471d7fec4Smrg#endif /* !_92XX_h */ 46571d7fec4Smrg 46671d7fec4Smrg/* END OF FILE */ 467