diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-22 05:29:17 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-22 05:34:16 -0400 |
commit | 42eed42bac41c8106ed52b6b84409d84c0981e36 (patch) | |
tree | 2ba3f575af09ef9dcea7bb38e2ce7e39524562da /arch/sh/include/asm/gpio.h | |
parent | 22ee3ba611e0aa73228ae64fa68d89c52367702a (diff) |
sh: improve pinmux support for single direction pins
This patch improves the support for gpio pins that are hard wired
to either input or output and lack control register association.
A special force enum id is used to allow use without control
register but still mark the gpio pin as input or output.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/gpio.h')
-rw-r--r-- | arch/sh/include/asm/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h index 02de5b609ba5..74c31a678a52 100644 --- a/arch/sh/include/asm/gpio.h +++ b/arch/sh/include/asm/gpio.h | |||
@@ -64,6 +64,7 @@ struct pinmux_data_reg { | |||
64 | struct pinmux_range { | 64 | struct pinmux_range { |
65 | pinmux_enum_t begin; | 65 | pinmux_enum_t begin; |
66 | pinmux_enum_t end; | 66 | pinmux_enum_t end; |
67 | pinmux_enum_t force; | ||
67 | }; | 68 | }; |
68 | 69 | ||
69 | struct pinmux_info { | 70 | struct pinmux_info { |