-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: gpio: siwx917: Add GPIO driver
Implement GPIO driver for HP, ULP and UULP GPIOs. Signed-off-by: Aksel Skauge Mellbye <[email protected]>
- Loading branch information
Showing
12 changed files
with
731 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Copyright (c) 2024 Silicon Laboratories Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(gpio) | ||
add_subdirectory(pinctrl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright (c) 2024 Silicon Laboratories Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
zephyr_library_sources_ifdef(CONFIG_GPIO_SILABS_SIWX917 gpio_silabs_siwx917.c) | ||
zephyr_library_sources_ifdef(CONFIG_GPIO_SILABS_SIWX917_UULP gpio_silabs_siwx917_uulp.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright (c) 2024 Silicon Laboratories Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if GPIO | ||
|
||
rsource "Kconfig.siwx917" | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2024 Silicon Laboratories Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config GPIO_SILABS_SIWX917 | ||
bool "Silabs SiWx917 GPIO driver" | ||
default y | ||
depends on DT_HAS_SILABS_SIWX917_GPIO_ENABLED | ||
help | ||
Enable the HP/ULP GPIO driver for the Silabs SiWx917 SoC series. | ||
|
||
config GPIO_SILABS_SIWX917_UULP | ||
bool "Silabs SiWx917 UULP GPIO driver" | ||
default y | ||
depends on DT_HAS_SILABS_SIWX917_GPIO_UULP_ENABLED | ||
help | ||
Enable the UULP GPIO driver for the Silabs SiWx917 SoC series. |
Oops, something went wrong.