diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 02:22:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 02:22:52 -0500 |
commit | 56c8bc3b7ed3d24c665e2ce992f86a5bedffc852 (patch) | |
tree | ee8747e83beb5a4323dd2328f3368ffb9031dc31 /include/linux/sh_pfc.h | |
parent | b8bf17d311c875de02550d5ce2af66588734159a (diff) | |
parent | 1c1744cc7cee83b96e3a89c1b9853fc033bafb9c (diff) |
Merge tag 'sh-for-linus' of git://github.com/pmundt/linux-sh
SuperH updates for 3.3 merge window.
* tag 'sh-for-linus' of git://github.com/pmundt/linux-sh: (38 commits)
sh: magicpanelr2: Update for parse_mtd_partitions() fallout.
sh: mach-rsk: Update for parse_mtd_partitions() fallout.
sh: sh2a: Improve cache flush/invalidate functions
sh: also without PM_RUNTIME pm_runtime.o must be built
sh: add a resource name for shdma
sh: Remove redundant try_to_freeze() invocations.
sh: Ensure IRQs are enabled across do_notify_resume().
sh: Fix up store queue code for subsys_interface changes.
sh: clkfwk: sh_clk_init_parent() should be called after clk_register()
sh: add platform_device for renesas_usbhs in board-sh7757lcr
sh: modify clock-sh7757 for renesas_usbhs
sh: pfc: ioremap() support
sh: use ioread32/iowrite32 and mapped_reg for div6
sh: use ioread32/iowrite32 and mapped_reg for div4
sh: use ioread32/iowrite32 and mapped_reg for mstp32
sh: extend clock struct with mapped_reg member
sh: clkfwk: clock-sh73a0: all div6_clks use SH_CLK_DIV6_EXT()
sh: clkfwk: clock-sh7724: all div6_clks use SH_CLK_DIV6_EXT()
sh: clock-sh7723: add CLKDEV_ICK_ID for cleanup
serial: sh-sci: Handle GPIO function requests.
...
Diffstat (limited to 'include/linux/sh_pfc.h')
-rw-r--r-- | include/linux/sh_pfc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/sh_pfc.h b/include/linux/sh_pfc.h index 8446789216e5..91666a58529d 100644 --- a/include/linux/sh_pfc.h +++ b/include/linux/sh_pfc.h | |||
@@ -55,6 +55,7 @@ struct pinmux_cfg_reg { | |||
55 | struct pinmux_data_reg { | 55 | struct pinmux_data_reg { |
56 | unsigned long reg, reg_width, reg_shadow; | 56 | unsigned long reg, reg_width, reg_shadow; |
57 | pinmux_enum_t *enum_ids; | 57 | pinmux_enum_t *enum_ids; |
58 | void __iomem *mapped_reg; | ||
58 | }; | 59 | }; |
59 | 60 | ||
60 | #define PINMUX_DATA_REG(name, r, r_width) \ | 61 | #define PINMUX_DATA_REG(name, r, r_width) \ |
@@ -75,6 +76,12 @@ struct pinmux_range { | |||
75 | pinmux_enum_t force; | 76 | pinmux_enum_t force; |
76 | }; | 77 | }; |
77 | 78 | ||
79 | struct pfc_window { | ||
80 | phys_addr_t phys; | ||
81 | void __iomem *virt; | ||
82 | unsigned long size; | ||
83 | }; | ||
84 | |||
78 | struct pinmux_info { | 85 | struct pinmux_info { |
79 | char *name; | 86 | char *name; |
80 | pinmux_enum_t reserved_id; | 87 | pinmux_enum_t reserved_id; |
@@ -98,6 +105,10 @@ struct pinmux_info { | |||
98 | struct pinmux_irq *gpio_irq; | 105 | struct pinmux_irq *gpio_irq; |
99 | unsigned int gpio_irq_size; | 106 | unsigned int gpio_irq_size; |
100 | 107 | ||
108 | struct resource *resource; | ||
109 | unsigned int num_resources; | ||
110 | struct pfc_window *window; | ||
111 | |||
101 | struct gpio_chip chip; | 112 | struct gpio_chip chip; |
102 | }; | 113 | }; |
103 | 114 | ||