Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (64 commits) Input: tsc2005 - remove 'disable' sysfs attribute Input: tsc2005 - add open/close Input: tsc2005 - handle read errors from SPI layer Input: tsc2005 - do not rearm timer in hardirq handler Input: tsc2005 - don't use work for 'pen up' handling Input: tsc2005 - do not use 0 in place of NULL Input: tsc2005 - use true/false for boolean variables Input: tsc2005 - hide selftest attribute if we can't reset Input: tsc2005 - rework driver initialization code Input: tsc2005 - set up bus type in input device Input: tsc2005 - set up parent device Input: tsc2005 - clear driver data after unbinding Input: tsc2005 - add module description Input: tsc2005 - remove driver banner message Input: tsc2005 - remove incorrect module alias Input: tsc2005 - convert to using dev_pm_ops Input: tsc2005 - use spi_get/set_drvdata() Input: introduce tsc2005 driver Input: xen-kbdfront - move to drivers/input/misc Input: xen-kbdfront - add grant reference for shared page ...
This commit is contained in:
41
include/linux/spi/tsc2005.h
Normal file
41
include/linux/spi/tsc2005.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* This file is part of TSC2005 touchscreen driver
|
||||
*
|
||||
* Copyright (C) 2009-2010 Nokia Corporation
|
||||
*
|
||||
* Contact: Aaro Koskinen <aaro.koskinen@nokia.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _LINUX_SPI_TSC2005_H
|
||||
#define _LINUX_SPI_TSC2005_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct tsc2005_platform_data {
|
||||
int ts_pressure_max;
|
||||
int ts_pressure_fudge;
|
||||
int ts_x_max;
|
||||
int ts_x_fudge;
|
||||
int ts_y_max;
|
||||
int ts_y_fudge;
|
||||
int ts_x_plate_ohm;
|
||||
unsigned int esd_timeout_ms;
|
||||
void (*set_reset)(bool enable);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user