1# Copyright (c) 2021 Huawei Device Co., Ltd. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without modification,
4# are permitted provided that the following conditions are met:
5#
6# 1. Redistributions of source code must retain the above copyright notice, this list of
7#    conditions and the following disclaimer.
8#
9# 2. Redistributions in binary form must reproduce the above copyright notice, this list
10#    of conditions and the following disclaimer in the documentation and/or other materials
11#    provided with the distribution.
12#
13# 3. Neither the name of the copyright holder nor the names of its contributors may be used
14#    to endorse or promote products derived from this software without specific prior written
15#    permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29config DRIVERS_HDF_SENSOR
30    bool "Enable HDF sensor driver"
31    default n
32    depends on DRIVERS_HDF
33    help
34      Answer Y to enable HDF sensor driver.
35
36config DRIVERS_HDF_SENSOR_ACCEL
37    bool "Enable HDF accel sensor driver"
38    default n
39    depends on DRIVERS_HDF_SENSOR
40    help
41      Answer Y to enable HDF accel sensor driver.
42config DRIVERS_HDF_SENSOR_ACCEL_BMI160
43    bool "Enable HDF accel bmi160 sensor driver"
44    default n
45    depends on DRIVERS_HDF_SENSOR_ACCEL
46    help
47      Answer Y to enable HDF accel bmi160 sensor driver.
48config DRIVERS_HDF_SENSOR_ALS
49    bool "Enable HDF als sensor driver"
50    default n
51    depends on DRIVERS_HDF_SENSOR
52    help
53      Answer Y to enable HDF als sensor driver.
54config DRIVERS_HDF_SENSOR_ALS_BH1745
55    bool "Enable HDF als bh1745 sensor driver"
56    default n
57    depends on DRIVERS_HDF_SENSOR_ALS
58    help
59      Answer Y to enable HDF als bh1745 sensor driver.
60config DRIVERS_HDF_SENSOR_PROXIMITY
61    bool "Enable HDF proximity sensor driver"
62    default n
63    depends on DRIVERS_HDF_SENSOR
64    help
65      Answer Y to enable HDF proximity sensor driver.
66config DRIVERS_HDF_SENSOR_PROXIMITY_APDS9960
67    bool "Enable HDF proximity adps9960 sensor driver"
68    default n
69    depends on DRIVERS_HDF_SENSOR_PROXIMITY
70    help
71      Answer Y to enable HDF proximity apds9960 sensor driver.
72config DRIVERS_HDF_SENSOR_GRAVITY
73    bool "Enable HDF gravity sensor driver"
74    default n
75    depends on DRIVERS_HDF_SENSOR_ACCEL
76    help
77      Answer Y to enable HDF gravity sensor driver.
78config DRIVERS_HDF_SENSOR_GYRO
79    bool "Enable HDF gyro sensor driver"
80    default n
81    depends on DRIVERS_HDF_SENSOR
82    help
83      Answer Y to enable HDF gyro sensor driver.
84config DRIVERS_HDF_SENSOR_BAROMETER
85    bool "Enable HDF barometer sensor driver"
86    default n
87    depends on DRIVERS_HDF_SENSOR
88    help
89      Answer Y to enable HDF barometer sensor driver.
90config DRIVERS_HDF_SENSOR_BAROMETER_BMP180
91    bool "Enable HDF barometer bmp180 sensor driver"
92    default n
93    depends on DRIVERS_HDF_SENSOR_BAROMETER
94    help
95      Answer Y to enable HDF barometer bmp180 sensor driver.
96config DRIVERS_HDF_SENSOR_HALL
97    bool "Enable HDF hall sensor driver"
98    default n
99    depends on DRIVERS_HDF_SENSOR
100    help
101      Answer Y to enable HDF hall sensor driver.
102config DRIVERS_HDF_SENSOR_HALL_AK8789
103    bool "Enable HDF hall ak8789 sensor driver"
104    default n
105    depends on DRIVERS_HDF_SENSOR_HALL
106    help
107      Answer Y to enable HDF hall ak8789 sensor driver.
108config DRIVERS_HDF_SENSOR_MAGNETIC
109    bool "Enable HDF magnetic sensor driver"
110    default n
111    depends on DRIVERS_HDF_SENSOR
112    help
113      Answer Y to enable HDF magnetic sensor driver.
114config DRIVERS_HDF_SENSOR_MAGNETIC_LSM303
115    bool "Enable HDF magnetic lsm303 sensor driver"
116    default n
117    depends on DRIVERS_HDF_SENSOR_MAGNETIC
118    help
119      Answer Y to enable HDF magnetic lsm303 sensor driver.
120