1# Copyright (c) 2023 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 29menu "HDF Platform Drivers Configuration" 30 31config LOSCFG_DRIVERS_HDF_PLATFORM_GPIO 32 bool "Enable HDF platform gpio driver" 33 default n 34 depends on LOSCFG_DRIVERS_HDF_PLATFORM 35 help 36 Answer Y to enable HDF platform gpio driver. 37 38config LOSCFG_DRIVERS_HDF_PLATFORM_I2C 39 bool "Enable HDF platform i2c driver" 40 default n 41 depends on LOSCFG_DRIVERS_HDF_PLATFORM 42 help 43 Answer Y to enable HDF platform i2c driver. 44 45config LOSCFG_DRIVERS_HDF_PLATFORM_UART 46 bool "Enable HDF platform uart driver" 47 default n 48 depends on LOSCFG_DRIVERS_HDF_PLATFORM 49 help 50 Answer Y to enable HDF platform uart driver. 51 52config LOSCFG_DRIVERS_HDF_PLATFORM_ADC 53 bool "Enable HDF platform adc driver" 54 default n 55 depends on LOSCFG_DRIVERS_HDF_PLATFORM 56 help 57 Answer Y to enable HDF platform adc driver. 58 59config LOSCFG_DRIVERS_HDF_PLATFORM_MMC 60 bool "Enable HDF platform mmc driver" 61 default n 62 depends on LOSCFG_DRIVERS_HDF_PLATFORM 63 help 64 Answer Y to enable HDF platform mmc driver. 65 66config LOSCFG_DRIVERS_HDF_PLATFORM_EMMC 67 bool "Enable HDF platform emmc driver" 68 default n 69 depends on LOSCFG_DRIVERS_HDF_PLATFORM 70 help 71 Answer Y to enable HDF platform emmc driver. 72 73config LOSCFG_DRIVERS_HDF_PLATFORM_PWM 74 bool "Enable HDF platform pwm driver" 75 depends on LOSCFG_DRIVERS_HDF_PLATFORM 76 help 77 Answer Y to enable HDF platform pwm driver. 78 79config LOSCFG_DRIVERS_HDF_PLATFORM_RTC 80 bool "Enable HDF platform rtc driver" 81 default n 82 depends on LOSCFG_DRIVERS_HDF_PLATFORM 83 help 84 Answer Y to enable HDF platform rtc driver. 85 86config LOSCFG_DRIVERS_HDF_PLATFORM_SDIO 87 bool "Enable HDF platform sdio driver" 88 default n 89 depends on LOSCFG_DRIVERS_HDF_PLATFORM && LOSCFG_DRIVERS_HDF_PLATFORM_MMC 90 help 91 Answer Y to enable HDF platform sdio driver. 92 93config LOSCFG_DRIVERS_HDF_PLATFORM_DMAC 94 bool "Enable HDF platform dmac driver" 95 default n 96 depends on LOSCFG_DRIVERS_HDF_PLATFORM 97 help 98 Answer Y to enable HDF platform dmac driver. 99 100config LOSCFG_DRIVERS_HDF_PLATFORM_MIPI_DSI 101 bool "Enable HDF platform mipi dsi driver" 102 default n 103 depends on LOSCFG_DRIVERS_HDF_PLATFORM 104 help 105 Answer Y to enable HDF platform mipi dsi driver. 106 107config LOSCFG_DRIVERS_HDF_PLATFORM_MIPI_CSI 108 bool "Enable HDF platform mipi csi driver" 109 default n 110 depends on LOSCFG_DRIVERS_HDF_PLATFORM 111 help 112 Answer Y to enable HDF platform mipi csi driver. 113 114config LOSCFG_DRIVERS_HDF_PLATFORM_HISI_SDK 115 bool "Enable HDF hisi sdk driver" 116 default n 117 depends on LOSCFG_DRIVERS_HDF_PLATFORM 118 help 119 Answer Y to enable HDF hisi sdk driver. 120 121config LOSCFG_DRIVERS_HDF_PLATFORM_SPI 122 bool "Enable HDF platform spi driver" 123 default n 124 depends on LOSCFG_DRIVERS_HDF_PLATFORM 125 help 126 Answer Y to enable HDF platform spi driver. 127 128config LOSCFG_DRIVERS_HDF_PLATFORM_I2S 129 bool "Enable HDF platform i2s driver" 130 default n 131 depends on LOSCFG_DRIVERS_HDF_PLATFORM 132 help 133 Answer Y to enable HDF platform i2s driver. 134 135config LOSCFG_DRIVERS_HDF_PLATFORM_HDMI 136 bool "Enable HDF platform hdmi driver" 137 default n 138 depends on LOSCFG_DRIVERS_HDF_PLATFORM 139 help 140 Answer Y to enable HDF platform hdmi driver. 141 142config LOSCFG_DRIVERS_HDF_PLATFORM_WATCHDOG 143 bool "Enable HDF platform watchdog driver" 144 default n 145 depends on LOSCFG_DRIVERS_HDF_PLATFORM 146 help 147 Answer Y to enable HDF platform watchdog driver. 148 149config LOSCFG_DRIVERS_HDF_WIFI 150 bool "Enable HDF WiFi Host driver" 151 default n 152 depends on DRIVERS_HDF && NET_LWIP_SACK && LOSCFG_DRIVERS_HDF_PLATFORM_SDIO 153 help 154 Answer Y to enable HDF WiFi Host driver. 155 156config LOSCFG_DRIVERS_HDF_PLATFORM_REGULATOR 157 bool "Enable HDF platform regulator driver" 158 default n 159 depends on LOSCFG_DRIVERS_HDF_PLATFORM 160 help 161 Answer Y to enable HDF platform regulator driver. 162 163config LOSCFG_DRIVERS_HDF_TESTS_ENABLE 164 bool "Enable HDF Tests" 165 default n 166 depends on DRIVERS_HDF && LOSCFG_DRIVERS_HDF_PLATFORM 167 help 168 Answer Y to enable HDF Tests. 169 170endmenu