blob: 0b4d1245308d24fc80396982c826daf168f3d9ef [file] [log] [blame]
/*
*
* Zinitix touch driver
*
* Copyright (C) 2009 Zinitix, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _ZINITIX_BT4X3_REG_DATA_H
#define _ZINITIX_BT4X3_REG_DATA_H
#define MAX_REG_COUNT 0x1D0
struct _zinitix_reg_data {
s16 reg_val;
u8 valid;
};
const struct _zinitix_reg_data m_reg_data[MAX_REG_COUNT] = {
/*{value, valid}*/
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 1},
{0, 1},
{0, 0},
{0, 1},
{0, 1},
{10, 1},
{16, 0},
{0x022C, 1},
{0xFFF8, 0},
{0, 1},
{0x0001, 0},
{160, 0},
{0, 0},
{203, 0},
{0, 0},
{7, 0},
{200, 1},
{200, 1},
{200, 1},
{200, 1},
{200, 1},
{4, 1},
{5, 1},
{50, 1},
{10, 1},
{20, 1},
{40, 1},
{10, 1},
{1000, 1},
{20, 1},
{40, 1},
{40, 1},
{16, 1},
{16, 1},
{16, 1},
{0x0210, 1},
{2, 1},
{80, 1},
{0x1E05, 1},
{0x0410, 1},
{6, 0},
{9, 0},
{0, 0},
{2, 1},
{25, 1},
{160, 1},
{0x0203, 1},
{0x0203, 1},
{80, 1},
{10, 1},
{5, 1},
{0x010A, 1},
{0x010A, 1},
{256, 1},
{0x0203, 1},
{12, 1},
{2, 1},
{12, 1},
{9, 1},
{6, 1},
{12, 1},
{9, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{15, 1},
{1000, 1},
{20, 1},
{200, 1},
{0x0103, 1},
{80, 1},
{10, 1},
{10, 1},
{0, 1},
{80, 1},
{10, 1},
{0, 0},
{0, 0},
{0, 0},
{16, 1},
{10, 1},
{0x0100, 1},
{0x0302, 1},
{0x0504, 1},
{0x0706, 1},
{0x1110, 1},
{0x1312, 1},
{0x0908, 1},
{0x0B0A, 1},
{0x0D0C, 1},
{0x0F0E, 1},
{0x1514, 1},
{0x1716, 1},
{0x1918, 1},
{0x1B1A, 1},
{0x1D1C, 1},
{0x1F1E, 1},
{0x2120, 1},
{0x2322, 1},
{0x2524, 1},
{0x2726, 1},
{1700, 1},
{1, 1},
{128, 1},
{63, 1},
{32, 1},
{20, 1},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{2, 1},
{2, 1},
{200, 1},
{0, 1},
{15, 1},
{1, 1},
{1, 1},
{8, 1},
{11, 1},
{15, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 0},
{480, 1},
{800, 1},
{0x0001, 1},
{2, 1},
{4, 1},
{1200, 1},
{170, 1},
{64, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 1},
{0, 0},
{0, 0},
{69, 1},
{50, 1},
{50, 1},
{0, 0},
{0, 0},
{0x0005, 1},
{0x0003, 1},
{0x0003, 1},
{0, 0},
{0, 0},
{2, 1},
{100, 0},
{0x5555, 1},
{0x4444, 1},
{0x3333, 1},
{169, 1},
{169, 1},
{171, 1},
{170, 1},
{0, 0},
{0, 0},
{0x7777, 1},
{0x4444, 1},
{0x4444, 1},
{137, 1},
{136, 1},
{139, 1},
{138, 1},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
{0x880F, 1},
{0, 1},
{0, 0},
{0x0100, 1},
{0x0403, 1},
{0x0605, 1},
{0x0807, 1},
{0x0A09, 1},
{0x0B02, 1},
{0x0D0C, 1},
{0x0F0E, 1},
{0x1110, 1},
{0x1312, 1},
{0x1514, 1},
{0x1716, 1},
{0x1918, 1},
{40, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x2828, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0x0000, 1},
{0, 1},
{0, 1},
{10, 1},
{63, 1},
{0x0000, 1},
{0x0000, 0},
{0x0000, 1},
{0x0000, 1},
{0x0000, 0},
{0x0000, 0},
{0, 0},
{2, 1},
{1, 1},
{0, 0},
{0, 0},
{0, 0},
{0x3333, 1},
{0xFFFF, 1},
{0xFFFF, 1},
{0x3305, 1},
{0x0011, 1},
{0x0133, 1},
{0x0001, 1},
{0x00FF, 1},
{0x0011, 1},
{0x0000, 1},
{0x0002, 1},
{0x007F, 1},
{0x007F, 1},
{0x0808, 1},
{0x0001, 1},
{0x0000, 1},
{0x0300, 1},
{0x0800, 1},
{0x0800, 1},
{0x0004, 1},
{0x0000, 1},
{0x0000, 1},
{0x0001, 1},
{0x0001, 1},
{0x0000, 1},
{0x0000, 1},
{0x0008, 1},
{0x0001, 1},
{0, 0},
{0, 0},
{0, 0},
{0, 0},
};
#endif