Files
android_kernel_samsung_msm8226/include/linux/sensor/tmd27723.h
T
Francescodario Cuzzocrea 85baa390bf misc: Import SM-G900H kernel source code
* Samsung Package Version: G800HXXU1CRJ1
    * CAF Tag: LA.BF.1.1.3-00110-8x26.0
2019-08-02 15:14:10 +02:00

55 lines
1.3 KiB
C

/*
* Copyright (C) 2010 Samsung Electronics. All rights reserved.
*
* 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.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#ifndef __LINUX_TAOS_H
#define __LINUX_TAOS_H
#include <linux/types.h>
#include <linux/input.h>
#ifdef __KERNEL__
#define TAOS_OPT "taos-opt"
struct taos_platform_data {
int als_int;
void (*power)(bool);
int (*light_adc_value)(void);
u32 als_int_flags;
u32 ldo_gpio_flags;
int prox_thresh_hi;
int prox_thresh_low;
int prox_th_hi_cal;
int prox_th_low_cal;
int als_time;
int intr_filter;
int prox_pulsecnt;
int prox_gain;
int coef_atime;
int ga;
int coef_a;
int coef_b;
int coef_c;
int coef_d;
bool max_data;
int min_max;
int en; /*ldo power control*/
};
#endif /*__KERNEL__*/
#endif