aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sh_pfc.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-12-13 11:01:14 -0500
committerPaul Mundt <lethal@linux-sh.org>2012-01-08 19:33:57 -0500
commite499ada829cf769ac6f16627cd9f09b855a7fd6d (patch)
tree87064260c6ae7ab6d0548de8109b816dd2609e3e /include/linux/sh_pfc.h
parentf78a26f55b2438c439609fc90b473f7f08f5b697 (diff)
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.h2
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 {
116 unsigned int num_resources; 116 unsigned int num_resources;
117 struct pfc_window *window; 117 struct pfc_window *window;
118 118
119 unsigned long unlock_reg;
120
119 struct gpio_chip chip; 121 struct gpio_chip chip;
120}; 122};
121 123