1# Copyright (c) 2022 Cypress Semiconductor Corporation.
2# SPDX-License-Identifier: Apache-2.0
3
4config ZEPHYR_HAL_INFINEON_MODULE
5	bool
6
7config ZEPHYR_HAL_INFINEON_MODULE_BLOBS
8	bool
9
10if SOC_FAMILY_INFINEON_CAT1 || SOC_FAMILY_INFINEON_EDGE || SOC_FAMILY_PSOC6_LEGACY || SOC_FAMILY_INFINEON_PSOC4
11
12config USE_INFINEON_LEGACY_HAL
13	bool
14	help
15	  Use Legacy HAL driver instead of PDL based drivers.  This allows devices to use HAL based
16	  drivers until fully transitioned to the PDL.  The old HAL drivers will be removed when all
17	  devices have been transitioned.
18
19config USE_INFINEON_ADC
20	bool
21	help
22	  Enable Analog-to-Digital Converter (ADC) HAL module driver for Infineon devices
23
24config USE_INFINEON_HPPASS_SAR_ADC
25	bool
26	help
27	  Enable Infineon HPPASS SAR ADC PDL library support
28
29config USE_INFINEON_HPPASS_ANALOG
30	bool
31	help
32	  Enable Infineon HPPASS Analog PDL library support
33
34config USE_INFINEON_AUTANALOG_SAR_ADC
35	bool
36	help
37	  Enable AutAnalog SAR ADC HAL module driver for Infineon devices
38
39config USE_INFINEON_DMA
40	bool
41	help
42	  Enable DMA HAL module driver for Infineon devices
43
44config USE_INFINEON_I2C
45	bool
46	help
47	  Enable Inter-Integrated Circuit Interface (I2C) HAL module driver for Infineon devices
48
49config USE_INFINEON_I3C
50	bool
51	help
52	  Enable Improved Inter-Integrated Circuit Interface (I3C) HAL module driver for Infineon devices
53
54config USE_INFINEON_RTC
55	bool
56	help
57	  Enable Real-Time Clock (RTC) HAL module driver for Infineon devices
58
59config USE_INFINEON_SDIO
60	bool
61	help
62	  Enable Secure Digital Input/Output interface (SDIO) HAL module for Infineon devices
63	  driver
64
65config USE_INFINEON_SDHC
66	bool
67	help
68	  Enable SDHC HAL module for Infineon devices
69	  driver
70
71config USE_INFINEON_SPI
72	bool
73	help
74	  Enable Serial Peripheral Interface (SPI) HAL module driver for Infineon devices
75
76
77config USE_INFINEON_TIMER
78	bool
79	help
80	  Enable Timer (Timer/Counter) HAL module driver for Infineon devices
81
82config USE_INFINEON_LPTIMER
83	bool
84	help
85	  Enable Low-Power Timer (LPTimer) HAL module driver for Infineon devices
86
87config USE_INFINEON_TRNG
88	bool
89	help
90	  Enable True Random Number Generator (TRNG) HAL module driver for Infineon devices
91
92config USE_INFINEON_UART
93	bool
94	help
95	  Enable Universal Asynchronous Receiver/Transmitter (UART) HAL module
96	  driver for Infineon devices
97
98config USE_INFINEON_PWM
99	bool
100	help
101	  Enable Pulse Width Modulator (PWM) HAL module driver for Infineon devices
102
103config USE_INFINEON_WDT
104	bool
105	help
106	  Enable WATCHDOG TIMER (WDT) HAL module
107	  driver for Infineon devices
108
109config USE_INFINEON_FLASH
110	bool
111	help
112	  Enable Flash HAL module driver for Infineon devices
113
114config USE_INFINEON_SMIF
115	bool
116	help
117	  Enable SMIF HAL driver for Infineon devices
118
119endif # SOC_FAMILY_INFINEON_CAT1 || SOC_FAMILY_INFINEON_EDGE || SOC_FAMILY_PSOC6_LEGACY || SOC_FAMILY_INFINEON_PSOC4
120
121config USE_INFINEON_ABSTRACTION_RTOS
122	bool "Abstraction RTOS component (Zephyr support)"
123	help
124	  Enable Abstraction RTOS component with Zephyr support
125