blob: e12ff765959edf43bde91f8b8b6bb811aad47693 (
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
|
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Fingerprint sensor detection (transport and sensor). */
#ifndef __CROS_EC_FPSENSOR_DETECT_H
#define __CROS_EC_FPSENSOR_DETECT_H
enum fp_sensor_type {
FP_SENSOR_TYPE_UNKNOWN = -1,
FP_SENSOR_TYPE_FPC,
FP_SENSOR_TYPE_ELAN,
};
enum fp_transport_type {
FP_TRANSPORT_TYPE_UNKNOWN = -1,
FP_TRANSPORT_TYPE_SPI,
FP_TRANSPORT_TYPE_UART
};
const char *fp_transport_type_to_str(enum fp_transport_type type);
const char *fp_sensor_type_to_str(enum fp_sensor_type type);
enum fp_sensor_type get_fp_sensor_type(void);
enum fp_transport_type get_fp_transport_type(void);
#endif /* __CROS_EC_FPSENSOR_DETECT_H */
|