xref: /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da228e/da228e_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 #ifndef __DA228E_CORE_H__
9 #define __DA228E_CORE_H__
10 
11 #define DA228E_OFFSET_TEMP_SOLUTION	0
12 
13 #define MIR3DA_OFFSET_MAX	200
14 #define MIR3DA_OFFSET_CUS	130
15 #define MIR3DA_OFFSET_SEN	1024
16 
17 int da228e_temp_calibrate(int *x, int *y, int *z);
18 
19 #endif    /* __DA228E_CORE_H__ */
20 
21 
22 
23