Merge tag 'v3.9-rc3' into next
Merge with mainline to bring in module_platform_driver_probe() and devm_ioremap_resource().
This commit is contained in:
@@ -69,6 +69,12 @@ static inline bool input_mt_is_active(const struct input_mt_slot *slot)
|
||||
return input_mt_get_value(slot, ABS_MT_TRACKING_ID) >= 0;
|
||||
}
|
||||
|
||||
static inline bool input_mt_is_used(const struct input_mt *mt,
|
||||
const struct input_mt_slot *slot)
|
||||
{
|
||||
return slot->frame == mt->frame;
|
||||
}
|
||||
|
||||
int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots,
|
||||
unsigned int flags);
|
||||
void input_mt_destroy_slots(struct input_dev *dev);
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
#ifndef __LINUX_TI_AM335X_TSC_H
|
||||
#define __LINUX_TI_AM335X_TSC_H
|
||||
|
||||
/**
|
||||
* struct tsc_data Touchscreen wire configuration
|
||||
* @wires: Wires refer to application modes
|
||||
* i.e. 4/5/8 wire touchscreen support
|
||||
* on the platform.
|
||||
* @x_plate_resistance: X plate resistance.
|
||||
* @steps_to_configure: The sequencer supports a total of
|
||||
* 16 programmable steps.
|
||||
* A step configured to read a single
|
||||
* co-ordinate value, can be applied
|
||||
* more number of times for better results.
|
||||
*/
|
||||
|
||||
struct tsc_data {
|
||||
int wires;
|
||||
int x_plate_resistance;
|
||||
int steps_to_configure;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -1,17 +0,0 @@
|
||||
#ifndef __LINUX_TI_TSCADC_H
|
||||
#define __LINUX_TI_TSCADC_H
|
||||
|
||||
/**
|
||||
* struct tsc_data Touchscreen wire configuration
|
||||
* @wires: Wires refer to application modes
|
||||
* i.e. 4/5/8 wire touchscreen support
|
||||
* on the platform.
|
||||
* @x_plate_resistance: X plate resistance.
|
||||
*/
|
||||
|
||||
struct tsc_data {
|
||||
int wires;
|
||||
int x_plate_resistance;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user