• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2020-2022 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
29menuconfig DRIVERS_HDF
30    bool "HDF driver framework support"
31    default n
32    depends on DRIVERS
33    help
34      Answer Y to enable LiteOS support HDF.
35if DRIVERS_HDF
36config DRIVERS_HDF_PLATFORM
37    bool "Enable HDF platform driver"
38    default n
39    depends on DRIVERS_HDF
40    help
41      Answer Y to enable HDF platform driver.
42
43config DRIVERS_HDF_PLATFORM_GPIO
44    bool "Enable HDF platform gpio driver"
45    default n
46    depends on DRIVERS_HDF_PLATFORM
47    help
48      Answer Y to enable HDF platform gpio driver.
49
50config DRIVERS_HDF_PLATFORM_PIN
51    bool "Enable HDF platform pin driver"
52    default n
53    depends on DRIVERS_HDF_PLATFORM
54    help
55      Answer Y to enable HDF platform pin driver.
56
57config DRIVERS_HDF_PLATFORM_I2C
58    bool "Enable HDF platform i2c driver"
59    default n
60    depends on DRIVERS_HDF_PLATFORM
61    help
62      Answer Y to enable HDF platform i2c driver.
63
64config DRIVERS_HDF_PLATFORM_REGULATOR
65    bool "Enable HDF platform regulator driver"
66    default n
67    depends on DRIVERS_HDF_PLATFORM
68    help
69      Answer Y to enable HDF platform regulator driver.
70
71config DRIVERS_HDF_PLATFORM_ADC
72    bool "Enable HDF platform adc driver"
73    default n
74    depends on DRIVERS_HDF_PLATFORM
75    help
76      Answer Y to enable HDF platform adc driver.
77
78config DRIVERS_HDF_PLATFORM_DAC
79    bool "Enable HDF platform dac driver"
80    default n
81    depends on DRIVERS_HDF_PLATFORM
82    help
83      Answer Y to enable HDF platform dac driver.
84
85config DRIVERS_HDF_PLATFORM_I3C
86    bool "Enable HDF platform i3c driver"
87    default n
88    depends on DRIVERS_HDF_PLATFORM
89    help
90      Answer Y to enable HDF platform i3c driver.
91
92config DRIVERS_HDF_PLATFORM_MMC
93    bool "Enable HDF platform mmc driver"
94    default n
95    depends on DRIVERS_HDF_PLATFORM
96    help
97      Answer Y to enable HDF platform mmc driver.
98
99config DRIVERS_HDF_PLATFORM_EMMC
100    bool "Enable HDF platform emmc driver"
101    default n
102    depends on DRIVERS_HDF_PLATFORM
103    help
104      Answer Y to enable HDF platform emmc driver.
105
106config DRIVERS_HDF_PLATFORM_PWM
107    bool "Enable HDF platform pwm driver"
108    depends on DRIVERS_HDF_PLATFORM
109    help
110      Answer Y to enable HDF platform pwm driver.
111
112config DRIVERS_HDF_PLATFORM_RTC
113    bool "Enable HDF platform rtc driver"
114    default n
115    depends on DRIVERS_HDF_PLATFORM
116    help
117      Answer Y to enable HDF platform rtc driver.
118
119config DRIVERS_HDF_PLATFORM_SDIO
120    bool "Enable HDF platform sdio driver"
121    default n
122    depends on DRIVERS_HDF_PLATFORM && DRIVERS_HDF_PLATFORM_MMC
123    help
124      Answer Y to enable HDF platform sdio driver.
125
126config DRIVERS_HDF_PLATFORM_DMAC
127    bool "Enable HDF platform dmac driver"
128        default n
129    depends on DRIVERS_HDF_PLATFORM
130        help
131      Answer Y to enable HDF platform dmac driver.
132
133config DRIVERS_HDF_PLATFORM_MIPI_DSI
134    bool "Enable HDF platform mipi dsi driver"
135    default n
136    depends on DRIVERS_HDF_PLATFORM
137    help
138      Answer Y to enable HDF platform mipi dsi driver.
139
140config DRIVERS_HDF_PLATFORM_MIPI_CSI
141    bool "Enable HDF platform mipi csi driver"
142    default n
143    depends on DRIVERS_HDF_PLATFORM
144    help
145      Answer Y to enable HDF platform mipi csi driver.
146
147config DRIVERS_HDF_PLATFORM_HISI_SDK
148    bool "Enable HDF hisi sdk driver"
149    default n
150    depends on DRIVERS_HDF_PLATFORM
151    help
152      Answer Y to enable HDF hisi sdk driver.
153
154config DRIVERS_HDF_PLATFORM_SPI
155    bool "Enable HDF platform spi driver"
156    default n
157    depends on DRIVERS_HDF_PLATFORM
158    help
159      Answer Y to enable HDF platform spi driver.
160
161config DRIVERS_HDF_PLATFORM_I2S
162    bool "Enable HDF platform i2s driver"
163    default n
164    depends on DRIVERS_HDF_PLATFORM
165    help
166      Answer Y to enable HDF platform i2s driver.
167
168config DRIVERS_HDF_PLATFORM_HDMI
169    bool "Enable HDF platform hdmi driver"
170    default n
171    depends on DRIVERS_HDF_PLATFORM
172    help
173      Answer Y to enable HDF platform hdmi driver.
174
175config DRIVERS_HDF_PLATFORM_PCIE
176    bool "Enable HDF platform pcie driver"
177    default n
178    depends on DRIVERS_HDF_PLATFORM
179    help
180      Answer Y to enable HDF platform pcie driver.
181
182config DRIVERS_HDF_PLATFORM_WATCHDOG
183    bool "Enable HDF platform watchdog driver"
184    default n
185    depends on DRIVERS_HDF_PLATFORM
186    help
187      Answer Y to enable HDF platform watchdog driver.
188
189config DRIVERS_HDF_PLATFORM_TRACE
190    bool "Enable HDF platform trace driver"
191    default n
192    depends on DRIVERS_HDF_PLATFORM
193    help
194      Answer Y to enable HDF platform trace driver.
195
196config DRIVERS_HDF_PLATFORM_DUMPER
197    bool "Enable HDF platform dumper driver"
198    default n
199    depends on DRIVERS_HDF_PLATFORM
200    help
201      Answer Y to enable HDF platform dumper driver.
202
203config DRIVERS_HDF_PLATFORM_DUMPER_WRITE
204    bool "Enable HDF platform dumper write file"
205    default n
206    depends on DRIVERS_HDF_PLATFORM_DUMPER
207    help
208      Answer Y to enable HDF platform dumper  write file.
209
210config DRIVERS_HDF_PLATFORM_DUMPER_PRINT
211    bool "Enable HDF platform dumper printf"
212    default n
213    depends on DRIVERS_HDF_PLATFORM_DUMPER
214    help
215      Answer Y to enable HDF platform dumper printf.
216config DRIVERS_HDF_PLATFORM_TIMER
217    bool "Enable HDF platform timer driver"
218    default n
219    depends on DRIVERS_HDF_PLATFORM
220    help
221      Answer Y to enable HDF platform timer driver.
222
223config DRIVERS_HDF_PLATFORM_CAN
224    bool "Enable HDF platform can bus driver"
225    default n
226    depends on DRIVERS_HDF_PLATFORM
227    help
228      Answer Y to enable HDF platform can bus driver.
229
230config DRIVERS_HIEDMAC
231    bool "Enable HIEDMAC"
232    default n
233    depends on DRIVERS && PLATFORM_HI3559AV100
234    help
235      Answer Y to enable LiteOS support hiedmac.
236source "../../drivers/hdf_core/adapter/khdf/liteos/model/storage/Kconfig"
237source "../../drivers/hdf_core/adapter/khdf/liteos/test/Kconfig"
238source "../../drivers/hdf_core/adapter/khdf/liteos/model/bus/usb/Kconfig"
239source "../../drivers/hdf_core/adapter/khdf/liteos/model/display/Kconfig"
240source "../../drivers/hdf_core/adapter/khdf/liteos/model/input/Kconfig"
241source "../../drivers/hdf_core/adapter/khdf/liteos/model/sensor/Kconfig"
242source "../../drivers/hdf_core/adapter/khdf/liteos/model/misc/dsoftbus/Kconfig"
243source "../../drivers/hdf_core/adapter/khdf/liteos/model/misc/light/Kconfig"
244source "../../drivers/hdf_core/adapter/khdf/liteos/model/misc/vibrator/Kconfig"
245source "../../drivers/hdf_core/adapter/khdf/liteos/model/usb/device/Kconfig"
246source "../../drivers/hdf_core/adapter/khdf/liteos/model/usb/host/Kconfig"
247source "../../drivers/hdf_core/adapter/khdf/liteos/model/audio/Kconfig"
248source "../../drivers/hdf_core/adapter/khdf/liteos/network/Kconfig"
249source "../../drivers/hdf_core/adapter/khdf/liteos/model/network/wifi/Kconfig"
250source "../../drivers/hdf_core/adapter/khdf/liteos/model/network/wifi/bus/Kconfig"
251endif
252