-
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.
Merge branch 'prima2/drivers' of git://gitorious.org/sirfprima2-kerne…
…l/sirfprima2-kernel into next/pinctrl * 'prima2/drivers' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel: PINCTRL: SiRF: add GPIO and GPIO irq support in CSR SiRFprimaII Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <inus.walleij@linaro.org>
- Loading branch information
Showing
4 changed files
with
503 additions
and
2 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,13 @@ | ||
#ifndef __MACH_GPIO_H | ||
#define __MACH_GPIO_H | ||
|
||
/* Pull up/down values */ | ||
enum sirfsoc_gpio_pull { | ||
SIRFSOC_GPIO_PULL_NONE, | ||
SIRFSOC_GPIO_PULL_UP, | ||
SIRFSOC_GPIO_PULL_DOWN, | ||
}; | ||
|
||
void sirfsoc_gpio_set_pull(unsigned gpio, unsigned mode); | ||
|
||
#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
Oops, something went wrong.