1# Renesas FSP HAL config
2
3# Copyright (c) 2024 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_SCE7
63	bool
64	default y
65	depends on DT_HAS_RENESAS_RA_SCE7_RNG_ENABLED
66	help
67	  Includes SCE7 implementation for SCE driver
68
69config HAS_RENESAS_RA_SCE5
70	bool
71	default y
72	depends on DT_HAS_RENESAS_RA_SCE5_RNG_ENABLED
73	help
74	  Includes SCE5 implementation for SCE driver
75
76config HAS_RENESAS_RA_TRNG
77	bool
78	default y
79	depends on DT_HAS_RENESAS_RA_TRNG_ENABLED
80	help
81	  Includes TRNG implementation for SCE driver
82
83endif
84
85config USE_RA_FSP_SPI_B
86	bool
87	help
88	  Enable RA FSP SPI-B driver
89
90config USE_RA_FSP_FLASH_HP
91	bool
92	help
93	  Enable RA FSP FLASH HP driver
94
95config USE_RA_FSP_GPT
96	bool
97	help
98	  Enable RA FSP GPT driver
99
100config USE_RA_FSP_AGT
101	bool
102	help
103	  Enable RA FSP AGT driver
104
105config USE_RA_FSP_CANFD
106	bool
107	help
108	  Enable RA FSP CANFD driver
109
110config USE_RA_FSP_ETHER_PHY
111	bool
112	help
113	  Enable RA FSP Ethernet phy driver
114
115config USE_RA_FSP_ETHER
116	bool
117	help
118	  Enable RA FSP Ethernet driver
119
120config USE_RA_FSP_USB_DEVICE
121	bool
122	help
123	  Enable RA FSP USB Device Controller driver
124
125config USE_RA_FSP_SDRAM
126	bool
127	help
128	  Enable RA FSP SDRAM support
129
130config USE_RA_FSP_DISPLAY
131	bool
132	help
133	  Enable RA FSP Display driver
134
135config USE_RA_FSP_MIPI_DSI
136	bool
137	help
138	  Enable RA FSP MIPI DSI driver
139
140config USE_RA_FSP_SDHI
141	bool
142	help
143	  Enable RA FSP SDHI driver
144
145endif # HAS_RENESAS_RA_FSP
146
147if HAS_RENESAS_RZ_FSP
148
149config USE_RZ_FSP_IOPORT
150	bool
151	help
152	  Enable RZ FSP IOPORT driver
153
154config USE_RZ_FSP_SCIF_UART
155	bool
156	help
157	  Enable RZ FSP SCIF UART driver
158
159endif
160