linux/include/linux/platform_data/atmel_mxt_ts.h
<<
>>
Prefs
   1/*
   2 * Atmel maXTouch Touchscreen driver
   3 *
   4 * Copyright (C) 2010 Samsung Electronics Co.Ltd
   5 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
   6 *
   7 * This program is free software; you can redistribute  it and/or modify it
   8 * under  the terms of  the GNU General  Public License as published by the
   9 * Free Software Foundation;  either version 2 of the  License, or (at your
  10 * option) any later version.
  11 */
  12
  13#ifndef __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H
  14#define __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H
  15
  16#include <linux/types.h>
  17
  18enum mxt_suspend_mode {
  19        MXT_SUSPEND_DEEP_SLEEP  = 0,
  20        MXT_SUSPEND_T9_CTRL     = 1,
  21};
  22
  23/* The platform data for the Atmel maXTouch touchscreen driver */
  24struct mxt_platform_data {
  25        unsigned long irqflags;
  26        u8 t19_num_keys;
  27        const unsigned int *t19_keymap;
  28        enum mxt_suspend_mode suspend_mode;
  29};
  30
  31#endif /* __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H */
  32