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_I3C 29 bool 30 help 31 Enable RA FSP I3C driver 32 33config USE_RA_FSP_DMA 34 bool 35 help 36 Enable RA FSP DMA driver 37 38config USE_RA_FSP_DTC 39 bool 40 help 41 Enable RA FSP DTC driver 42 43config USE_RA_FSP_I2C_IIC 44 bool 45 help 46 Enable Renesas RA I2C IIC Master driver 47 48config USE_RA_FSP_SCI_I2C 49 bool 50 help 51 Enable RA FSP SCI I2C driver 52 53config USE_RA_FSP_SCI_B_I2C 54 bool 55 help 56 Enable RA FSP SCI-B I2C driver 57 58config USE_RA_FSP_SCI_UART 59 bool 60 help 61 Enable RA FSP SCI UART driver 62 63config USE_RA_FSP_ADC 64 bool 65 help 66 Enable RA FSP ADC driver 67 68config USE_RA_FSP_SCE 69 bool 70 help 71 Enable RA FSP SCE driver 72 73config USE_RA_FSP_MRAM 74 bool 75 help 76 Enable RA FSP MRAM driver 77 78if USE_RA_FSP_SCE 79 80config HAS_RENESAS_RA_RSIP_E11A 81 bool 82 help 83 Includes RSIP-E11A implementation for SCE driver 84 85config HAS_RENESAS_RA_RSIP_E31A 86 bool 87 help 88 Includes RSIP-E31A implementation for SCE driver 89 90config HAS_RENESAS_RA_RSIP_E50D 91 bool 92 help 93 Includes RSIP-E50D implementation for SCE driver 94 95config HAS_RENESAS_RA_RSIP_E51A 96 bool 97 default y 98 depends on DT_HAS_RENESAS_RA_RSIP_E51A_TRNG_ENABLED 99 help 100 Includes RSIP-E51A implementation for SCE driver 101 102config HAS_RENESAS_RA_SCE9 103 bool 104 default y 105 depends on DT_HAS_RENESAS_RA_SCE9_RNG_ENABLED 106 help 107 Includes SCE9 implementation for SCE driver 108 109config HAS_RENESAS_RA_SCE7 110 bool 111 default y 112 depends on DT_HAS_RENESAS_RA_SCE7_RNG_ENABLED 113 help 114 Includes SCE7 implementation for SCE driver 115 116config HAS_RENESAS_RA_SCE5 117 bool 118 default y 119 depends on DT_HAS_RENESAS_RA_SCE5_RNG_ENABLED 120 help 121 Includes SCE5 implementation for SCE driver 122 123config HAS_RENESAS_RA_TRNG 124 bool 125 default y 126 depends on DT_HAS_RENESAS_RA_TRNG_ENABLED 127 help 128 Includes TRNG implementation for SCE driver 129 130endif 131 132config USE_RA_FSP_SPI_B 133 bool 134 help 135 Enable RA FSP SPI-B driver 136 137config USE_RA_FSP_SCI_B_SPI 138 bool 139 help 140 Enable RA FSP SCI-B SPI driver 141 142config USE_RA_FSP_FLASH_HP 143 bool 144 help 145 Enable RA FSP FLASH HP driver 146 147config USE_RA_FSP_FLASH_LP 148 bool 149 help 150 Enable RA FSP FLASH LP driver 151 152config USE_RA_FSP_GPT 153 bool 154 help 155 Enable RA FSP GPT driver 156 157config USE_RA_FSP_AGT 158 bool 159 help 160 Enable RA FSP AGT driver 161 162config USE_RA_FSP_CANFD 163 bool 164 help 165 Enable RA FSP CANFD driver 166 167config USE_RA_FSP_ETHER_PHY 168 bool 169 help 170 Enable RA FSP Ethernet phy driver 171 172config USE_RA_FSP_ETHER 173 bool 174 help 175 Enable RA FSP Ethernet driver 176 177config USE_RA_FSP_USB_DEVICE 178 bool 179 help 180 Enable RA FSP USB Device Controller driver 181 182config USE_RA_FSP_SDRAM 183 bool 184 help 185 Enable RA FSP SDRAM support 186 187config USE_RA_FSP_DISPLAY 188 bool 189 help 190 Enable RA FSP Display driver 191 192config USE_RA_FSP_MIPI_DSI 193 bool 194 help 195 Enable RA FSP MIPI DSI driver 196 197config USE_RA_FSP_SDHI 198 bool 199 help 200 Enable RA FSP SDHI driver 201 202config USE_RA_FSP_CRC 203 bool 204 help 205 Enable RA FSP CRC driver 206 207config USE_RA_FSP_DAC 208 bool 209 help 210 Enable RA FSP DAC driver 211 212config USE_RA_FSP_ACMPHS 213 bool 214 help 215 Enable RA FSP ACMPHS driver 216 217config USE_RA_FSP_LVD 218 bool 219 help 220 Enable RA FSP LVD driver 221 222config USE_RA_FSP_WDT 223 bool 224 help 225 Enable RA FSP WDT driver 226 227config USE_RA_FSP_ULPT 228 bool 229 help 230 Enable RA FSP ULPT driver 231 232config USE_RA_FSP_LPM 233 bool 234 default y 235 depends on PM 236 help 237 Enable RA FSP LPM driver 238 239config USE_RA_FSP_OSPI_B_NOR_FLASH 240 bool 241 help 242 Enable RA FSP Octal-SPI driver 243 244config USE_RA_FSP_ELC 245 bool 246 help 247 Enable RA FSP ELC driver 248 249config USE_RA_FSP_SSI 250 bool 251 help 252 Enable RA FSP I2S SSI driver 253 254config USE_RA_FSP_IOPORT 255 bool 256 help 257 Enable RA FSP IOPORT driver 258 259config USE_RA_FSP_CTSU 260 bool 261 select USE_RA_FSP_IOPORT 262 help 263 Enable RA FSP CTSU driver 264 265config USE_RA_FSP_TOUCH 266 bool 267 depends on USE_RA_FSP_CTSU 268 help 269 Enable RA FSP TOUCH library 270 271config USE_RA_FSP_QSPI_NOR_FLASH 272 bool 273 help 274 Enable RA FSP Quad-SPI driver 275 276config USE_RA_FSP_CEU 277 bool 278 help 279 Enable RA FSP CEU driver 280 281config USE_RA_FSP_IPC 282 bool 283 help 284 Enable RA FSP IPC driver 285 286config USE_RA_FSP_RTC 287 bool 288 help 289 Enable RA FSP RTC driver 290 291endif # HAS_RENESAS_RA_FSP 292 293if HAS_RENESAS_RZ_FSP 294 295config USE_RZ_FSP_ADC 296 bool 297 help 298 Enable RZ FSP ADC driver 299 300config USE_RZ_FSP_IOPORT 301 bool 302 help 303 Enable RZ FSP IOPORT driver 304 305config USE_RZ_FSP_SCIF_UART 306 bool 307 help 308 Enable RZ FSP SCIF UART driver 309 310config USE_RZ_FSP_IIC_MASTER 311 bool 312 help 313 Enable RZ FSP IIC MASTER driver 314 315config USE_RZ_FSP_RIIC_MASTER 316 bool 317 help 318 Enable RZ FSP RIIC MASTER driver 319 320config USE_RZ_FSP_GTM 321 bool 322 help 323 Enable RZ FSP GTM driver 324 325config USE_RZ_FSP_GPT 326 bool 327 help 328 Enable RZ FSP GPT driver 329 330config USE_RZ_FSP_EXT_IRQ 331 bool 332 help 333 Enable RZ FSP External IRQ driver 334 335config USE_RZ_FSP_DMAC 336 bool 337 help 338 Enable RZ FSP DMAC driver 339 340config USE_RZ_FSP_DMAC_B 341 bool 342 help 343 Enable RZ FSP DMAC_B driver 344 345config USE_RZ_FSP_MHU 346 bool 347 help 348 Enable RZ FSP MHU driver 349 350config USE_RZ_FSP_CANFD 351 bool 352 help 353 Enable RZ FSP CANFD driver 354 355config USE_RZ_FSP_CPG 356 bool 357 help 358 Enable RZ FSP CLOCK CONTROL driver 359 360config USE_RZ_FSP_CGC 361 bool 362 help 363 Enable RZ FSP CGC driver 364 365config USE_RZ_FSP_RSPI_SPI 366 bool 367 help 368 Enable RZ FSP RSPI driver 369 370config USE_RZ_FSP_SCI_UART 371 bool 372 help 373 Enable RZ FSP SCI UART driver 374 375config USE_RZ_FSP_MTU 376 bool 377 help 378 Enable RZ FSP MTU driver 379 380config USE_RZ_FSP_CMTW 381 bool 382 help 383 Enable RZ FSP CMTW driver 384 385config USE_RZ_FSP_SPI 386 bool 387 help 388 Enable RZ FSP SPI driver 389 390config USE_RZ_FSP_WDT 391 bool 392 help 393 Enable RZ FSP WDT driver 394 395config USE_RZ_FSP_QSPI_XSPI 396 bool 397 help 398 Enable RZ FSP QSPI XSPI driver 399 400config USE_RZ_FSP_QSPI_SPIBSC 401 bool 402 help 403 Enable RZ FSP QSPI SPIBSC driver 404 405endif 406 407config HAS_RENESAS_RX_RDP 408 bool 409 help 410 Enable Renesas RX RDP support 411 412if HAS_RENESAS_RX_RDP 413 414config USE_RX_RDP_MPC 415 bool 416 help 417 Enable RX RDP MPC driver 418 419config USE_RX_RDP_GPIO 420 bool 421 help 422 Enable RX RDP MPC driver 423 424config USE_RX_RDP_SCI_UART 425 bool 426 help 427 Enable RX RDP SCI UART driver 428 429config USE_RX_RDP_RSPI 430 bool 431 help 432 Enable RX RDP RSPI driver 433 434config USE_RX_RDP_I2C 435 bool 436 help 437 Enable RX RDP I2C driver 438 439config USE_RX_RDP_FLASH 440 bool 441 help 442 Enable RX RDP Flash driver 443 444config USE_RX_RDP_ADC 445 bool 446 help 447 Enable RX RDP ADC driver 448 449config USE_RX_RDP_IWDT 450 bool 451 help 452 Enable RX RDP IWDT driver 453 454config USE_RX_RDP_CTSU 455 bool 456 help 457 Enable RX RDP CTSU driver 458 459config USE_RX_RDP_LVD 460 bool 461 help 462 Enable RX RDP LVD driver 463 464config USE_RX_RDP_LPC 465 bool 466 default y 467 depends on PM 468 help 469 Enable RX RDP LPC driver 470 471endif # HAS_RENESAS_RX_RDP 472