• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2020-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
30    bool "HDF driver framework support"
31    default n
32    depends on DRIVERS
33    select KERNEL_PM
34    help
35      Answer Y to enable LiteOS support HDF.
36if DRIVERS_HDF
37config DRIVERS_HDF_CONFIG_MACRO
38    bool "Enable HDF config macro parser"
39    default n
40    depends on DRIVERS_HDF
41    help
42      Answer Y to enable HDF config macro parser.
43config DRIVERS_HDF_PLATFORM
44    bool "Enable HDF platform driver"
45    default n
46    depends on DRIVERS_HDF
47    help
48      Answer Y to enable HDF platform driver.
49
50config DRIVERS_HDF_PLATFORM_GPIO
51    bool "Enable HDF platform gpio driver"
52    default n
53    depends on DRIVERS_HDF_PLATFORM
54    help
55      Answer Y to enable HDF platform gpio 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.
63config DRIVERS_HDF_PLATFORM_UART
64    bool "Enable HDF platform uart driver"
65    default n
66    depends on DRIVERS_HDF_PLATFORM
67    help
68      Answer Y to enable HDF platform uart driver.
69
70config DRIVERS_HDF_PLATFORM_ADC
71    bool "Enable HDF platform adc driver"
72    default n
73    depends on DRIVERS_HDF_PLATFORM
74    help
75      Answer Y to enable HDF platform adc driver.
76
77config DRIVERS_HDF_PLATFORM_MMC
78    bool "Enable HDF platform mmc driver"
79    default n
80    depends on DRIVERS_HDF_PLATFORM
81    help
82      Answer Y to enable HDF platform mmc driver.
83
84config DRIVERS_HDF_PLATFORM_EMMC
85    bool "Enable HDF platform emmc driver"
86    default n
87    depends on DRIVERS_HDF_PLATFORM
88    help
89      Answer Y to enable HDF platform emmc driver.
90
91config DRIVERS_HDF_PLATFORM_PWM
92    bool "Enable HDF platform pwm driver"
93    depends on DRIVERS_HDF_PLATFORM
94    help
95      Answer Y to enable HDF platform pwm driver.
96
97config DRIVERS_HDF_PLATFORM_RTC
98    bool "Enable HDF platform rtc driver"
99    default n
100    depends on DRIVERS_HDF_PLATFORM
101    help
102      Answer Y to enable HDF platform rtc driver.
103
104config DRIVERS_HDF_PLATFORM_SDIO
105    bool "Enable HDF platform sdio driver"
106    default n
107    depends on DRIVERS_HDF_PLATFORM && DRIVERS_HDF_PLATFORM_MMC
108    help
109      Answer Y to enable HDF platform sdio driver.
110
111config DRIVERS_HDF_PLATFORM_DMAC
112    bool "Enable HDF platform dmac driver"
113        default n
114    depends on DRIVERS_HDF_PLATFORM
115        help
116      Answer Y to enable HDF platform dmac driver.
117
118config DRIVERS_HDF_PLATFORM_MIPI_DSI
119    bool "Enable HDF platform mipi dsi driver"
120    default n
121    depends on DRIVERS_HDF_PLATFORM
122    help
123      Answer Y to enable HDF platform mipi dsi driver.
124
125config DRIVERS_HDF_PLATFORM_MIPI_CSI
126    bool "Enable HDF platform mipi csi driver"
127    default n
128    depends on DRIVERS_HDF_PLATFORM
129    help
130      Answer Y to enable HDF platform mipi csi driver.
131
132config DRIVERS_HDF_PLATFORM_HISI_SDK
133    bool "Enable HDF hisi sdk driver"
134    default n
135    depends on DRIVERS_HDF_PLATFORM
136    help
137      Answer Y to enable HDF hisi sdk driver.
138
139config DRIVERS_HDF_PLATFORM_SPI
140    bool "Enable HDF platform spi driver"
141    default n
142    depends on DRIVERS_HDF_PLATFORM
143    help
144      Answer Y to enable HDF platform spi driver.
145
146config DRIVERS_HDF_PLATFORM_I2S
147    bool "Enable HDF platform i2s driver"
148    default n
149    depends on DRIVERS_HDF_PLATFORM
150    help
151      Answer Y to enable HDF platform i2s driver.
152
153config DRIVERS_HDF_PLATFORM_HDMI
154    bool "Enable HDF platform hdmi driver"
155    default n
156    depends on DRIVERS_HDF_PLATFORM
157    help
158      Answer Y to enable HDF platform hdmi driver.
159
160config DRIVERS_HDF_PLATFORM_WATCHDOG
161    bool "Enable HDF platform watchdog driver"
162    default n
163    depends on DRIVERS_HDF_PLATFORM
164    help
165      Answer Y to enable HDF platform watchdog driver.
166
167config DRIVERS_HIEDMAC
168    bool "Enable HIEDMAC"
169    default n
170    depends on DRIVERS && PLATFORM_HI3559AV100
171    help
172      Answer Y to enable LiteOS support hiedmac.
173
174config DRIVERS_HDF_WIFI
175    bool "Enable HDF WiFi Host driver"
176    default n
177    depends on DRIVERS_HDF && NET_LWIP_SACK && DRIVERS_HDF_PLATFORM_SDIO
178    help
179      Answer Y to enable HDF WiFi Host driver.
180
181endif
182config DRIVERS_HDF_PLATFORM_REGULATOR
183    bool "Enable HDF platform regulator driver"
184    default n
185    depends on DRIVERS_HDF_PLATFORM
186    help
187      Answer Y to enable HDF platform regulator driver.
188
189source "../../drivers/hdf_core/adapter/khdf/liteos_m/model/storage/Kconfig"
190