blob: 0fb854b0f9072da3efc26123a3e6a35eab80e89e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/********************************************************************************/
/* */
/* Copyright (c) 2000-2010 YULONG Company �������������� */
/* ���������ͨ�ſƼ������ڣ�����˾ ��Ȩ���� 2000-2010 */
/* */
/* PROPRIETARY RIGHTS of YULONG Company are involved in the */
/* subject matter of this material. All manufacturing, reproduction, use, */
/* and sales rights pertaining to this subject matter are governed by the */
/* license agreement. The recipient of this sofPARAMSare implicitly accepts */
/* the terms of the license. */
/* �������ĵ�������������˾���ʲ�,�κ���ʿ�Ķ���ʹ�ñ����ϱ����� */
/* ��Ӧ��������Ȩ,�е��������κͽ�����Ӧ�ķ���Լ��. */
/* */
/********************************************************************************/
/**************************************************************************
** Copyright (C), 2000-2010, Yulong Tech. Co., Ltd.
** FileName: Coolpad_hall.h
** Author: shuaixinzhong
** Version : 1.00
** Date: 2010-12-20
** Description: hall driver
**
** History:
** <author> <time> <version > <desc>
** shuaixinzhong 2010-12-20 1.00 ����
** changxuejian 2010-12-21 2.00 modify
** yangjiayao 2014-02-13 3.00 modified for double hall sensor
**************************************************************************/
struct hall_node {
const char *name;
int gpio;
int irq;
bool wakeup;
};
struct hall_platform_data {
const char *name;
struct hall_node *hall;
int hall_num;
};
|