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