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_DTC
34	bool
35	help
36	  Enable RA FSP DTC driver
37
38config USE_RA_FSP_I2C_IIC
39	bool
40	help
41	  Enable Renesas RA I2C IIC Master driver
42
43config USE_RA_FSP_SCI_B_I2C
44	bool
45	help
46	  Enable RA FSP SCI-B I2C driver
47
48config USE_RA_FSP_SCI_UART
49	bool
50	help
51	  Enable RA FSP SCI UART driver
52
53config USE_RA_FSP_ADC
54	bool
55	help
56	  Enable RA FSP ADC driver
57
58config USE_RA_FSP_SCE
59	bool
60	help
61	  Enable RA FSP SCE driver
62
63if USE_RA_FSP_SCE
64
65config HAS_RENESAS_RA_RSIP_E51A
66	bool
67	default y
68	depends on DT_HAS_RENESAS_RA_RSIP_E51A_TRNG_ENABLED
69	help
70	  Includes RSIP-E51A implementation for SCE driver
71
72config HAS_RENESAS_RA_SCE9
73	bool
74	default y
75	depends on DT_HAS_RENESAS_RA_SCE9_RNG_ENABLED
76	help
77	  Includes SCE9 implementation for SCE driver
78
79config HAS_RENESAS_RA_SCE7
80	bool
81	default y
82	depends on DT_HAS_RENESAS_RA_SCE7_RNG_ENABLED
83	help
84	  Includes SCE7 implementation for SCE driver
85
86config HAS_RENESAS_RA_SCE5
87	bool
88	default y
89	depends on DT_HAS_RENESAS_RA_SCE5_RNG_ENABLED
90	help
91	  Includes SCE5 implementation for SCE driver
92
93config HAS_RENESAS_RA_TRNG
94	bool
95	default y
96	depends on DT_HAS_RENESAS_RA_TRNG_ENABLED
97	help
98	  Includes TRNG implementation for SCE driver
99
100endif
101
102config USE_RA_FSP_SPI_B
103	bool
104	help
105	  Enable RA FSP SPI-B driver
106
107config USE_RA_FSP_FLASH_HP
108	bool
109	help
110	  Enable RA FSP FLASH HP driver
111
112config USE_RA_FSP_GPT
113	bool
114	help
115	  Enable RA FSP GPT driver
116
117config USE_RA_FSP_AGT
118	bool
119	help
120	  Enable RA FSP AGT driver
121
122config USE_RA_FSP_CANFD
123	bool
124	help
125	  Enable RA FSP CANFD driver
126
127config USE_RA_FSP_ETHER_PHY
128	bool
129	help
130	  Enable RA FSP Ethernet phy driver
131
132config USE_RA_FSP_ETHER
133	bool
134	help
135	  Enable RA FSP Ethernet driver
136
137config USE_RA_FSP_USB_DEVICE
138	bool
139	help
140	  Enable RA FSP USB Device Controller driver
141
142config USE_RA_FSP_SDRAM
143	bool
144	help
145	  Enable RA FSP SDRAM support
146
147config USE_RA_FSP_DISPLAY
148	bool
149	help
150	  Enable RA FSP Display driver
151
152config USE_RA_FSP_MIPI_DSI
153	bool
154	help
155	  Enable RA FSP MIPI DSI driver
156
157config USE_RA_FSP_SDHI
158	bool
159	help
160	  Enable RA FSP SDHI driver
161
162config USE_RA_FSP_DAC
163	bool
164	help
165	  Enable RA FSP DAC driver
166
167config USE_RA_FSP_ACMPHS
168	bool
169	help
170	  Enable RA FSP ACMPHS driver
171
172config USE_RA_FSP_WDT
173	bool
174	help
175	  Enable RA FSP WDT driver
176
177config USE_RA_FSP_ULPT
178	bool
179	help
180	  Enable RA FSP ULPT driver
181
182config USE_RA_FSP_LPM
183	bool
184	default y
185	depends on PM
186	help
187	  Enable RA FSP LPM driver
188
189config USE_RA_FSP_OSPI_B_NOR_FLASH
190	bool
191	help
192	  Enable RA FSP Octal-SPI driver
193
194config USE_RA_FSP_ELC
195	bool
196	help
197	  Enable RA FSP ELC driver
198
199config USE_RA_FSP_SSI
200	bool
201	help
202	  Enable RA FSP I2S SSI driver
203
204config USE_RA_FSP_IOPORT
205	bool
206	help
207	  Enable RA FSP IOPORT driver
208
209config USE_RA_FSP_CTSU
210	bool
211	select USE_RA_FSP_IOPORT
212	help
213	  Enable RA FSP CTSU driver
214
215config USE_RA_FSP_TOUCH
216	bool
217	depends on USE_RA_FSP_CTSU
218	help
219	  Enable RA FSP TOUCH library
220
221endif # HAS_RENESAS_RA_FSP
222
223if HAS_RENESAS_RZ_FSP
224
225config USE_RZ_FSP_ADC
226	bool
227	help
228	  Enable RZ FSP ADC driver
229
230config USE_RZ_FSP_IOPORT
231	bool
232	help
233	  Enable RZ FSP IOPORT driver
234
235config USE_RZ_FSP_SCIF_UART
236	bool
237	help
238	  Enable RZ FSP SCIF UART driver
239
240config USE_RZ_FSP_RIIC_MASTER
241	bool
242	help
243	  Enable RZ FSP RIIC MASTER driver
244
245config USE_RZ_FSP_GTM
246	bool
247	help
248	  Enable RZ FSP GTM driver
249
250config USE_RZ_FSP_GPT
251	bool
252	help
253	  Enable RZ FSP GPT driver
254
255config USE_RZ_FSP_EXT_IRQ
256	bool
257	help
258	  Enable RZ FSP External IRQ driver
259
260config USE_RZ_FSP_DMA
261	bool
262	help
263	  Enable RZ FSP DMA driver
264
265config USE_RZ_FSP_MHU
266	bool
267	help
268	  Enable RZ FSP MHU driver
269
270config USE_RZ_FSP_CANFD
271	bool
272	help
273	  Enable RZ FSP CANFD driver
274
275config USE_RZ_FSP_CPG
276	bool
277	help
278	  Enable RZ FSP CLOCK CONTROL driver
279
280config USE_RZ_FSP_RSPI_SPI
281	bool
282	help
283	  Enable RZ FSP RSPI driver
284
285config USE_RZ_FSP_SCI_UART
286	bool
287	help
288	  Enable RZ FSP SCI UART driver
289
290config USE_RZ_FSP_MTU
291	bool
292	help
293	  Enable RZ FSP MTU driver
294
295endif
296
297config HAS_RENESAS_RX_RDP
298	bool
299	help
300	  Enable Renesas RX RDP support
301
302if HAS_RENESAS_RX_RDP
303
304config USE_RX_RDP_MPC
305	bool
306	help
307	  Enable RX RDP MPC driver
308
309config USE_RX_RDP_GPIO
310	bool
311	help
312	  Enable RX RDP MPC driver
313
314config USE_RX_RDP_SCI_UART
315	bool
316	help
317	  Enable RX RDP SCI UART driver
318
319config USE_RX_RDP_RSPI
320	bool
321	help
322	  Enable RX RDP RSPI driver
323
324config USE_RX_RDP_I2C
325	bool
326	help
327	  Enable RX RDP I2C driver
328
329config USE_RX_RDP_FLASH
330	bool
331	help
332	  Enable RX RDP Flash driver
333
334config USE_RX_RDP_ADC
335	bool
336	help
337	  Enable RX RDP ADC driver
338
339endif # HAS_RENESAS_RX_RDP
340