Blame view

kernel/linux-imx6_3.14.28/include/linux/input/as5011.h 545 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  #ifndef _AS5011_H
  #define _AS5011_H
  
  /*
   * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
   *
   * This program is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 as published by
   * the Free Software Foundation.
   */
  
  struct as5011_platform_data {
  	unsigned int button_gpio;
  	unsigned int axis_irq; /* irq number */
  	unsigned long axis_irqflags;
  	char xp, xn; /* threshold for x axis */
  	char yp, yn; /* threshold for y axis */
  };
  
  #endif /* _AS5011_H */