aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sh_pfc.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-12-14 01:01:14 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-01-09 09:33:57 +0900
commite499ada829cf769ac6f16627cd9f09b855a7fd6d (patch)
tree87064260c6ae7ab6d0548de8109b816dd2609e3e /include/linux/sh_pfc.h
parentsh: pfc: Variable bitfield width config register support (diff)
downloadlinux-dev-e499ada829cf769ac6f16627cd9f09b855a7fd6d.tar.xz
linux-dev-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.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 {
unsigned int num_resources;
struct pfc_window *window;
+ unsigned long unlock_reg;
+
struct gpio_chip chip;
};