xref: /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da215s/da215s_core.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2021 Rockchip Electronics Co. Ltd.
4  *
5  * Author: Kay Guo <kay.guo@rock-chips.com>
6  */
7 
8 
9 #ifndef __DA215S_CORE_H__
10 #define __DA215S_CORE_H__
11 
12 #define DA215S_OFFSET_TEMP_SOLUTION	0
13 
14 #define MIR3DA_OFFSET_MAX		200
15 #define MIR3DA_OFFSET_CUS		130
16 #define MIR3DA_OFFSET_SEN		1024
17 
18 int da215s_temp_calibrate(int *x, int *y, int *z);
19 
20 #endif    /* __DA215S_CORE_H__ */
21 
22 
23 
24 
25