Skip to content

Commit 0f907f0

Browse files
author
Raffael Rostagno
committed
drivers: pinctrl: esp32h2: Add support
Add pinctrl support for ESP32-H2. Signed-off-by: Raffael Rostagno <[email protected]>
1 parent b604f0a commit 0f907f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/pinctrl_esp32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#define in in.data
2424
#define out_w1ts out_w1ts.val
2525
#define out_w1tc out_w1tc.val
26-
#elif CONFIG_SOC_SERIES_ESP32C6
27-
/* gpio structs in esp32c6 are also different */
26+
#elif defined(CONFIG_SOC_SERIES_ESP32C6) || defined(CONFIG_SOC_SERIES_ESP32H2)
27+
/* gpio structs in esp32c6/h2 are also different */
2828
#define out out.out_data_orig
2929
#define in in.in_data_next
3030
#define out_w1ts out_w1ts.val

0 commit comments

Comments
 (0)