1# Renesas FSP HAL config 2 3# Copyright (c) 2024-2025 Renesas Electronics Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6config HAS_RENESAS_RA_FSP 7 bool 8 help 9 Enable Renesas RA FSP support 10 11config HAS_RENESAS_RZ_FSP 12 bool 13 help 14 Enable Renesas RZ FSP support 15 16if HAS_RENESAS_RA_FSP 17 18config USE_RA_FSP_SCI_B_UART 19 bool 20 help 21 Enable RA FSP SCI-B UART driver 22 23config USE_RA_FSP_SPI 24 bool 25 help 26 Enable RA FSP SPI driver 27 28config USE_RA_FSP_DTC 29 bool 30 help 31 Enable RA FSP DTC driver 32 33config USE_RA_FSP_I2C_IIC 34 bool 35 help 36 Enable Renesas RA I2C IIC Master driver 37 38config USE_RA_FSP_SCI_UART 39 bool 40 help 41 Enable RA FSP SCI UART driver 42 43config USE_RA_FSP_ADC 44 bool 45 help 46 Enable RA FSP ADC driver 47 48config USE_RA_FSP_SCE 49 bool 50 help 51 Enable RA FSP SCE driver 52 53if USE_RA_FSP_SCE 54 55config HAS_RENESAS_RA_RSIP_E51A 56 bool 57 default y 58 depends on DT_HAS_RENESAS_RA_RSIP_E51A_TRNG_ENABLED 59 help 60 Includes RSIP-E51A implementation for SCE driver 61 62config HAS_RENESAS_RA_SCE9 63 bool 64 default y 65 depends on DT_HAS_RENESAS_RA_SCE9_RNG_ENABLED 66 help 67 Includes SCE9 implementation for SCE driver 68 69config HAS_RENESAS_RA_SCE7 70 bool 71 default y 72 depends on DT_HAS_RENESAS_RA_SCE7_RNG_ENABLED 73 help 74 Includes SCE7 implementation for SCE driver 75 76config HAS_RENESAS_RA_SCE5 77 bool 78 default y 79 depends on DT_HAS_RENESAS_RA_SCE5_RNG_ENABLED 80 help 81 Includes SCE5 implementation for SCE driver 82 83config HAS_RENESAS_RA_TRNG 84 bool 85 default y 86 depends on DT_HAS_RENESAS_RA_TRNG_ENABLED 87 help 88 Includes TRNG implementation for SCE driver 89 90endif 91 92config USE_RA_FSP_SPI_B 93 bool 94 help 95 Enable RA FSP SPI-B driver 96 97config USE_RA_FSP_FLASH_HP 98 bool 99 help 100 Enable RA FSP FLASH HP driver 101 102config USE_RA_FSP_GPT 103 bool 104 help 105 Enable RA FSP GPT driver 106 107config USE_RA_FSP_AGT 108 bool 109 help 110 Enable RA FSP AGT driver 111 112config USE_RA_FSP_CANFD 113 bool 114 help 115 Enable RA FSP CANFD driver 116 117config USE_RA_FSP_ETHER_PHY 118 bool 119 help 120 Enable RA FSP Ethernet phy driver 121 122config USE_RA_FSP_ETHER 123 bool 124 help 125 Enable RA FSP Ethernet driver 126 127config USE_RA_FSP_USB_DEVICE 128 bool 129 help 130 Enable RA FSP USB Device Controller driver 131 132config USE_RA_FSP_SDRAM 133 bool 134 help 135 Enable RA FSP SDRAM support 136 137config USE_RA_FSP_DISPLAY 138 bool 139 help 140 Enable RA FSP Display driver 141 142config USE_RA_FSP_MIPI_DSI 143 bool 144 help 145 Enable RA FSP MIPI DSI driver 146 147config USE_RA_FSP_SDHI 148 bool 149 help 150 Enable RA FSP SDHI driver 151 152config USE_RA_FSP_DAC 153 bool 154 help 155 Enable RA FSP DAC driver 156 157config USE_RA_FSP_ACMPHS 158 bool 159 help 160 Enable RA FSP ACMPHS driver 161 162config USE_RA_FSP_WDT 163 bool 164 help 165 Enable RA FSP WDT driver 166 167endif # HAS_RENESAS_RA_FSP 168 169if HAS_RENESAS_RZ_FSP 170 171config USE_RZ_FSP_ADC 172 bool 173 help 174 Enable RZ FSP ADC driver 175 176config USE_RZ_FSP_IOPORT 177 bool 178 help 179 Enable RZ FSP IOPORT driver 180 181config USE_RZ_FSP_SCIF_UART 182 bool 183 help 184 Enable RZ FSP SCIF UART driver 185 186config USE_RZ_FSP_RIIC_MASTER 187 bool 188 help 189 Enable RZ FSP RIIC MASTER driver 190 191config USE_RZ_FSP_GTM 192 bool 193 help 194 Enable RZ FSP GTM driver 195 196config USE_RZ_FSP_GPT 197 bool 198 help 199 Enable RZ FSP GPT driver 200 201config USE_RZ_FSP_EXT_IRQ 202 bool 203 help 204 Enable RZ FSP External IRQ driver 205 206config USE_RZ_FSP_DMA 207 bool 208 help 209 Enable RZ FSP DMA driver 210 211config USE_RZ_FSP_MHU 212 bool 213 help 214 Enable RZ FSP MHU driver 215 216config USE_RZ_FSP_CPG 217 bool 218 help 219 Enable RZ FSP CLOCK CONTROL driver 220 221config USE_RZ_FSP_SCI_UART 222 bool 223 help 224 Enable RZ FSP SCI UART driver 225 226config USE_RZ_FSP_EXT_IRQ 227 bool 228 help 229 Enable RZ FSP External IRQ driver 230 231endif 232