diff options
author | Magnus Damm <damm@opensource.se> | 2011-12-14 01:01:14 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-09 09:33:57 +0900 |
commit | e499ada829cf769ac6f16627cd9f09b855a7fd6d (patch) | |
tree | 87064260c6ae7ab6d0548de8109b816dd2609e3e /include/linux/sh_pfc.h | |
parent | f78a26f55b2438c439609fc90b473f7f08f5b697 (diff) | |
download | lwn-e499ada829cf769ac6f16627cd9f09b855a7fd6d.tar.gz lwn-e499ada829cf769ac6f16627cd9f09b855a7fd6d.zip |
sh: pfc: Unlock register support
Add PFC support for a 32-bit unlock register. Needed to
drive the r8a7779 PFC that comes with a funky PMMR register.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_pfc.h')
-rw-r--r-- | include/linux/sh_pfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sh_pfc.h b/include/linux/sh_pfc.h index 84538c42d64a..5c15aed9c4b2 100644 --- a/include/linux/sh_pfc.h +++ b/include/linux/sh_pfc.h @@ -116,6 +116,8 @@ struct pinmux_info { unsigned int num_resources; struct pfc_window *window; + unsigned long unlock_reg; + struct gpio_chip chip; }; |