diff options
author | KV Sujith <sujithkv@ti.com> | 2013-08-18 01:18:59 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-09-24 01:18:44 -0400 |
commit | f606d38de74a2f2d43d4a57317aaa8f05809fdef (patch) | |
tree | 17a92c10af8cd437090453952dc336d1cb2ef045 /arch/arm/mach-davinci/include | |
parent | 118150f22d6b4431a1fe2e715de314a5d93836f5 (diff) |
ARM: davinci: da8xx: support gpio platform device
DaVinci GPIO driver now uses platform device model.
Convert DA8XX SoC code to use the new model.
Add da8xx_register_gpio() to create platform device for da8xx
platforms.
Signed-off-by: KV Sujith <sujithkv@ti.com>
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
[nsekhar@ti.com: simplify commit message]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/da8xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h index aae53072c0eb..39e58b48e826 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx.h +++ b/arch/arm/mach-davinci/include/mach/da8xx.h | |||
@@ -97,6 +97,7 @@ int da8xx_register_mmcsd0(struct davinci_mmc_config *config); | |||
97 | int da850_register_mmcsd1(struct davinci_mmc_config *config); | 97 | int da850_register_mmcsd1(struct davinci_mmc_config *config); |
98 | void da8xx_register_mcasp(int id, struct snd_platform_data *pdata); | 98 | void da8xx_register_mcasp(int id, struct snd_platform_data *pdata); |
99 | int da8xx_register_rtc(void); | 99 | int da8xx_register_rtc(void); |
100 | int da8xx_register_gpio(void *pdata); | ||
100 | int da850_register_cpufreq(char *async_clk); | 101 | int da850_register_cpufreq(char *async_clk); |
101 | int da8xx_register_cpuidle(void); | 102 | int da8xx_register_cpuidle(void); |
102 | void __iomem *da8xx_get_mem_ctlr(void); | 103 | void __iomem *da8xx_get_mem_ctlr(void); |
@@ -110,6 +111,8 @@ int da850_register_vpif_capture | |||
110 | void da8xx_restart(enum reboot_mode mode, const char *cmd); | 111 | void da8xx_restart(enum reboot_mode mode, const char *cmd); |
111 | void da8xx_rproc_reserve_cma(void); | 112 | void da8xx_rproc_reserve_cma(void); |
112 | int da8xx_register_rproc(void); | 113 | int da8xx_register_rproc(void); |
114 | int da850_register_gpio(void); | ||
115 | int da830_register_gpio(void); | ||
113 | 116 | ||
114 | extern struct platform_device da8xx_serial_device[]; | 117 | extern struct platform_device da8xx_serial_device[]; |
115 | extern struct emac_platform_data da8xx_emac_pdata; | 118 | extern struct emac_platform_data da8xx_emac_pdata; |