forked from Freescale/linux-fslc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Freescale#19 from falstaff84/4.9-1.0.x-imx-merge-l…
…atest-imx_4.9.11_1.0.0_ga 4.9-1.0.x-imx merge latest changes from rel_imx_4.9.x_1.0.0_ga
- Loading branch information
Showing
14 changed files
with
465 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Device-Tree bindings for drivers/gpio/gpio-imx-rpmsg.c gpio driver over | ||
rpmsg. On i.mx7ULP PTA PTB are connected on M4 side, so rpmsg gpio driver | ||
needed to get/set gpio status from M4 side by rpmsg. | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,imx-rpmsg-gpio". | ||
- port_idx : Specify the GPIO PORT index, PTA:0, PTB:1. | ||
- gpio-controller : Mark the device node as a gpio controller. | ||
- #gpio-cells : Should be two. The first cell is the pin number and | ||
the second cell is used to specify the gpio polarity: | ||
0 = active high | ||
1 = active low | ||
|
||
Note: Each GPIO port should have an alias correctly numbered in "aliases" | ||
node. | ||
|
||
Examples: | ||
|
||
aliases { | ||
gpio4 = &rpmsg_gpio0; | ||
gpio5 = &rpmsg_gpio1; | ||
}; | ||
|
||
rpmsg_gpio0: rpmsg-gpio0 { | ||
compatible = "fsl,imx-rpmsg-gpio"; | ||
port_idx = <0>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
status = "okay"; | ||
}; | ||
|
||
rpmsg_gpio1: rpmsg-gpio1 { | ||
compatible = "fsl,imx-rpmsg-gpio"; | ||
port_idx = <1>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
status = "okay"; | ||
}; |
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
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
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
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
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
Oops, something went wrong.