1c1d0c72aSopenharmony_ci# Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
2c1d0c72aSopenharmony_ci#
3c1d0c72aSopenharmony_ci# Redistribution and use in source and binary forms, with or without modification,
4c1d0c72aSopenharmony_ci# are permitted provided that the following conditions are met:
5c1d0c72aSopenharmony_ci#
6c1d0c72aSopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of
7c1d0c72aSopenharmony_ci#    conditions and the following disclaimer.
8c1d0c72aSopenharmony_ci#
9c1d0c72aSopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list
10c1d0c72aSopenharmony_ci#    of conditions and the following disclaimer in the documentation and/or other materials
11c1d0c72aSopenharmony_ci#    provided with the distribution.
12c1d0c72aSopenharmony_ci#
13c1d0c72aSopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used
14c1d0c72aSopenharmony_ci#    to endorse or promote products derived from this software without specific prior written
15c1d0c72aSopenharmony_ci#    permission.
16c1d0c72aSopenharmony_ci#
17c1d0c72aSopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18c1d0c72aSopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19c1d0c72aSopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20c1d0c72aSopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21c1d0c72aSopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22c1d0c72aSopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23c1d0c72aSopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24c1d0c72aSopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25c1d0c72aSopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26c1d0c72aSopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27c1d0c72aSopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28c1d0c72aSopenharmony_ci
29c1d0c72aSopenharmony_cimenuconfig DRIVERS_HDF
30c1d0c72aSopenharmony_ci    bool "HDF driver framework support"
31c1d0c72aSopenharmony_ci    default n
32c1d0c72aSopenharmony_ci    depends on DRIVERS
33c1d0c72aSopenharmony_ci    help
34c1d0c72aSopenharmony_ci      Answer Y to enable LiteOS support HDF.
35c1d0c72aSopenharmony_ciif DRIVERS_HDF
36c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM
37c1d0c72aSopenharmony_ci    bool "Enable HDF platform driver"
38c1d0c72aSopenharmony_ci    default n
39c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF
40c1d0c72aSopenharmony_ci    help
41c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform driver.
42c1d0c72aSopenharmony_ci
43c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_GPIO
44c1d0c72aSopenharmony_ci    bool "Enable HDF platform gpio driver"
45c1d0c72aSopenharmony_ci    default n
46c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
47c1d0c72aSopenharmony_ci    help
48c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform gpio driver.
49c1d0c72aSopenharmony_ci
50c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_PIN
51c1d0c72aSopenharmony_ci    bool "Enable HDF platform pin driver"
52c1d0c72aSopenharmony_ci    default n
53c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
54c1d0c72aSopenharmony_ci    help
55c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform pin driver.
56c1d0c72aSopenharmony_ci
57c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_I2C
58c1d0c72aSopenharmony_ci    bool "Enable HDF platform i2c driver"
59c1d0c72aSopenharmony_ci    default n
60c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
61c1d0c72aSopenharmony_ci    help
62c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform i2c driver.
63c1d0c72aSopenharmony_ci
64c1d0c72aSopenharmony_ciconfig USER_I2C_SUPPORT
65c1d0c72aSopenharmony_ci    bool "Enable HDF platform i2c user interface"
66c1d0c72aSopenharmony_ci    default y
67c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
68c1d0c72aSopenharmony_ci    help
69c1d0c72aSopenharmony_ci      Answer N to disable HDF platform i2c user interface.
70c1d0c72aSopenharmony_ci
71c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_REGULATOR
72c1d0c72aSopenharmony_ci    bool "Enable HDF platform regulator driver"
73c1d0c72aSopenharmony_ci    default n
74c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
75c1d0c72aSopenharmony_ci    help
76c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform regulator driver.
77c1d0c72aSopenharmony_ci
78c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_ADC
79c1d0c72aSopenharmony_ci    bool "Enable HDF platform adc driver"
80c1d0c72aSopenharmony_ci    default n
81c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
82c1d0c72aSopenharmony_ci    help
83c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform adc driver.
84c1d0c72aSopenharmony_ci
85c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_DAC
86c1d0c72aSopenharmony_ci    bool "Enable HDF platform dac driver"
87c1d0c72aSopenharmony_ci    default n
88c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
89c1d0c72aSopenharmony_ci    help
90c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform dac driver.
91c1d0c72aSopenharmony_ci
92c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_I3C
93c1d0c72aSopenharmony_ci    bool "Enable HDF platform i3c driver"
94c1d0c72aSopenharmony_ci    default n
95c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
96c1d0c72aSopenharmony_ci    help
97c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform i3c driver.
98c1d0c72aSopenharmony_ci
99c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_MMC
100c1d0c72aSopenharmony_ci    bool "Enable HDF platform mmc driver"
101c1d0c72aSopenharmony_ci    default n
102c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
103c1d0c72aSopenharmony_ci    help
104c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform mmc driver.
105c1d0c72aSopenharmony_ci
106c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_EMMC
107c1d0c72aSopenharmony_ci    bool "Enable HDF platform emmc driver"
108c1d0c72aSopenharmony_ci    default n
109c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
110c1d0c72aSopenharmony_ci    help
111c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform emmc driver.
112c1d0c72aSopenharmony_ci
113c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_PWM
114c1d0c72aSopenharmony_ci    bool "Enable HDF platform pwm driver"
115c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
116c1d0c72aSopenharmony_ci    help
117c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform pwm driver.
118c1d0c72aSopenharmony_ci
119c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_RTC
120c1d0c72aSopenharmony_ci    bool "Enable HDF platform rtc driver"
121c1d0c72aSopenharmony_ci    default n
122c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
123c1d0c72aSopenharmony_ci    help
124c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform rtc driver.
125c1d0c72aSopenharmony_ci
126c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_SDIO
127c1d0c72aSopenharmony_ci    bool "Enable HDF platform sdio driver"
128c1d0c72aSopenharmony_ci    default n
129c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM && DRIVERS_HDF_PLATFORM_MMC
130c1d0c72aSopenharmony_ci    help
131c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform sdio driver.
132c1d0c72aSopenharmony_ci
133c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_DMAC
134c1d0c72aSopenharmony_ci    bool "Enable HDF platform dmac driver"
135c1d0c72aSopenharmony_ci        default n
136c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
137c1d0c72aSopenharmony_ci        help
138c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform dmac driver.
139c1d0c72aSopenharmony_ci
140c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_MIPI_DSI
141c1d0c72aSopenharmony_ci    bool "Enable HDF platform mipi dsi driver"
142c1d0c72aSopenharmony_ci    default n
143c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
144c1d0c72aSopenharmony_ci    help
145c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform mipi dsi driver.
146c1d0c72aSopenharmony_ci
147c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_MIPI_CSI
148c1d0c72aSopenharmony_ci    bool "Enable HDF platform mipi csi driver"
149c1d0c72aSopenharmony_ci    default n
150c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
151c1d0c72aSopenharmony_ci    help
152c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform mipi csi driver.
153c1d0c72aSopenharmony_ci
154c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_HISI_SDK
155c1d0c72aSopenharmony_ci    bool "Enable HDF hisi sdk driver"
156c1d0c72aSopenharmony_ci    default n
157c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
158c1d0c72aSopenharmony_ci    help
159c1d0c72aSopenharmony_ci      Answer Y to enable HDF hisi sdk driver.
160c1d0c72aSopenharmony_ci
161c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_SPI
162c1d0c72aSopenharmony_ci    bool "Enable HDF platform spi driver"
163c1d0c72aSopenharmony_ci    default n
164c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
165c1d0c72aSopenharmony_ci    help
166c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform spi driver.
167c1d0c72aSopenharmony_ci
168c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_I2S
169c1d0c72aSopenharmony_ci    bool "Enable HDF platform i2s driver"
170c1d0c72aSopenharmony_ci    default n
171c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
172c1d0c72aSopenharmony_ci    help
173c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform i2s driver.
174c1d0c72aSopenharmony_ci
175c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_HDMI
176c1d0c72aSopenharmony_ci    bool "Enable HDF platform hdmi driver"
177c1d0c72aSopenharmony_ci    default n
178c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
179c1d0c72aSopenharmony_ci    help
180c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform hdmi driver.
181c1d0c72aSopenharmony_ci
182c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_PCIE
183c1d0c72aSopenharmony_ci    bool "Enable HDF platform pcie driver"
184c1d0c72aSopenharmony_ci    default n
185c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
186c1d0c72aSopenharmony_ci    help
187c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform pcie driver.
188c1d0c72aSopenharmony_ci
189c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_WATCHDOG
190c1d0c72aSopenharmony_ci    bool "Enable HDF platform watchdog driver"
191c1d0c72aSopenharmony_ci    default n
192c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
193c1d0c72aSopenharmony_ci    help
194c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform watchdog driver.
195c1d0c72aSopenharmony_ci
196c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_TRACE
197c1d0c72aSopenharmony_ci    bool "Enable HDF platform trace driver"
198c1d0c72aSopenharmony_ci    default n
199c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
200c1d0c72aSopenharmony_ci    help
201c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform trace driver.
202c1d0c72aSopenharmony_ci
203c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_DUMPER
204c1d0c72aSopenharmony_ci    bool "Enable HDF platform dumper driver"
205c1d0c72aSopenharmony_ci    default n
206c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
207c1d0c72aSopenharmony_ci    help
208c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform dumper driver.
209c1d0c72aSopenharmony_ci
210c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_DUMPER_WRITE
211c1d0c72aSopenharmony_ci    bool "Enable HDF platform dumper write file"
212c1d0c72aSopenharmony_ci    default n
213c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM_DUMPER
214c1d0c72aSopenharmony_ci    help
215c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform dumper  write file.
216c1d0c72aSopenharmony_ci
217c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_DUMPER_PRINT
218c1d0c72aSopenharmony_ci    bool "Enable HDF platform dumper printf"
219c1d0c72aSopenharmony_ci    default n
220c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM_DUMPER
221c1d0c72aSopenharmony_ci    help
222c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform dumper printf.
223c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_TIMER
224c1d0c72aSopenharmony_ci    bool "Enable HDF platform timer driver"
225c1d0c72aSopenharmony_ci    default n
226c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
227c1d0c72aSopenharmony_ci    help
228c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform timer driver.
229c1d0c72aSopenharmony_ci
230c1d0c72aSopenharmony_ciconfig DRIVERS_HDF_PLATFORM_CAN
231c1d0c72aSopenharmony_ci    bool "Enable HDF platform can bus driver"
232c1d0c72aSopenharmony_ci    default n
233c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF_PLATFORM
234c1d0c72aSopenharmony_ci    help
235c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform can bus driver.
236c1d0c72aSopenharmony_ci
237c1d0c72aSopenharmony_ciconfig DRIVERS_HIEDMAC
238c1d0c72aSopenharmony_ci    bool "Enable HIEDMAC"
239c1d0c72aSopenharmony_ci    default n
240c1d0c72aSopenharmony_ci    depends on DRIVERS && PLATFORM_HI3559AV100
241c1d0c72aSopenharmony_ci    help
242c1d0c72aSopenharmony_ci      Answer Y to enable LiteOS support hiedmac.
243c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/storage/Kconfig"
244c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/test/Kconfig"
245c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/bus/usb/Kconfig"
246c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/display/Kconfig"
247c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/input/Kconfig"
248c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/sensor/Kconfig"
249c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/misc/dsoftbus/Kconfig"
250c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/misc/light/Kconfig"
251c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/misc/vibrator/Kconfig"
252c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/usb/device/Kconfig"
253c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/usb/host/Kconfig"
254c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/audio/Kconfig"
255c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/network/Kconfig"
256c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/network/wifi/Kconfig"
257c1d0c72aSopenharmony_cisource "../../drivers/hdf_core/adapter/khdf/liteos/model/network/wifi/bus/Kconfig"
258c1d0c72aSopenharmony_ciendif
259