forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a shim layer around the imx gpio driver to adapt it to the Zephyr gpio interface. For now only the port 4 was tested. Signed-off-by: Stanislav Poboril <[email protected]>
- Loading branch information
1 parent
15c4007
commit 67ba7d8
Showing
5 changed files
with
478 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Kconfig.imx - IMX GPIO configuration options | ||
# | ||
# Copyright (c) 2018, NXP | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
menuconfig GPIO_IMX | ||
bool "IMX GPIO driver" | ||
depends on GPIO && HAS_IMX_GPIO | ||
default n | ||
help | ||
Enable the IMX GPIO driver. | ||
|
||
if GPIO_IMX | ||
|
||
config GPIO_IMX_PORT_1 | ||
bool "Port 1" | ||
default n | ||
help | ||
Enable Port 1. | ||
|
||
config GPIO_IMX_PORT_2 | ||
bool "Port 2" | ||
default n | ||
help | ||
Enable Port 2. | ||
|
||
config GPIO_IMX_PORT_3 | ||
bool "Port 3" | ||
default n | ||
help | ||
Enable Port 3. | ||
|
||
config GPIO_IMX_PORT_4 | ||
bool "Port 4" | ||
default n | ||
help | ||
Enable Port 4. | ||
|
||
config GPIO_IMX_PORT_5 | ||
bool "Port 5" | ||
default n | ||
help | ||
Enable Port 5. | ||
|
||
config GPIO_IMX_PORT_6 | ||
bool "Port 6" | ||
default n | ||
help | ||
Enable Port 6. | ||
|
||
config GPIO_IMX_PORT_7 | ||
bool "Port 7" | ||
default n | ||
help | ||
Enable Port 7. | ||
|
||
endif # GPIO_IMX |
Oops, something went wrong.