/* BEGIN PN:DTS2013051703879 ,Added by l00184147, 2013/5/17*/ //add Touch driver for G610-T11 /* BEGIN PN:SPBB-1218 ,Added by l00184147, 2012/12/20*/ /* * cyttsp4_mt.h * Cypress TrueTouch(TM) Standard Product V4 Multi-touch module. * For use with Cypress Txx4xx parts. * Supported parts include: * TMA4XX * TMA1036 * * Copyright (C) 2012 Cypress Semiconductor * Copyright (C) 2011 Sony Ericsson Mobile Communications AB. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2, and only version 2, as published by the * Free Software Foundation. * * 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. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Contact Cypress Semiconductor at www.cypress.com * */ #ifndef _LINUX_CYTTSP4_MT_H #define _LINUX_CYTTSP4_MT_H //#define CYTTSP4_MT_NAME "cyttsp4_mt" #define CYTTSP4_MT_NAME "mtk-tpd" /* abs settings */ #define CY_IGNORE_VALUE 0xFFFF /* abs signal capabilities offsets in the frameworks array */ enum cyttsp4_sig_caps { CY_SIGNAL_OST, CY_MIN_OST, CY_MAX_OST, CY_FUZZ_OST, CY_FLAT_OST, CY_NUM_ABS_SET /* number of signal capability fields */ }; /* abs axis signal offsets in the framworks array */ enum cyttsp4_sig_ost { CY_ABS_X_OST, CY_ABS_Y_OST, CY_ABS_P_OST, CY_ABS_W_OST, CY_ABS_ID_OST, CY_ABS_MAJ_OST, CY_ABS_MIN_OST, CY_ABS_OR_OST, CY_NUM_ABS_OST /* number of abs signals */ }; struct touch_framework { const uint16_t *abs; uint8_t size; uint8_t enable_vkeys; } __packed; struct cyttsp4_mt_platform_data { struct touch_framework *frmwrk; unsigned short flags; char const *inp_dev_name; }; #endif /* _LINUX_CYTTSP4_MT_H */ /* END PN:SPBB-1218 ,Added by l00184147, 2012/12/20*/ /* END PN:DTS2013051703879 ,Added by l00184147, 2013/5/17*/