|
@@ -53,6 +53,9 @@ extern void __iomem *davinci_sysmod_base;
|
|
|
#define DAVINCI_SYSMOD_VIRT(x) (davinci_sysmod_base + (x))
|
|
#define DAVINCI_SYSMOD_VIRT(x) (davinci_sysmod_base + (x))
|
|
|
void davinci_map_sysmod(void);
|
|
void davinci_map_sysmod(void);
|
|
|
|
|
|
|
|
|
|
+#define DAVINCI_GPIO_BASE 0x01C67000
|
|
|
|
|
+int davinci_gpio_register(struct resource *res, int size, void *pdata);
|
|
|
|
|
+
|
|
|
/* DM355 base addresses */
|
|
/* DM355 base addresses */
|
|
|
#define DM355_ASYNC_EMIF_CONTROL_BASE 0x01e10000
|
|
#define DM355_ASYNC_EMIF_CONTROL_BASE 0x01e10000
|
|
|
#define DM355_ASYNC_EMIF_DATA_CE0_BASE 0x02000000
|
|
#define DM355_ASYNC_EMIF_DATA_CE0_BASE 0x02000000
|
|
@@ -82,6 +85,7 @@ void dm355_init_spi0(unsigned chipselect_mask,
|
|
|
const struct spi_board_info *info, unsigned len);
|
|
const struct spi_board_info *info, unsigned len);
|
|
|
void dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata);
|
|
void dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata);
|
|
|
int dm355_init_video(struct vpfe_config *, struct vpbe_config *);
|
|
int dm355_init_video(struct vpfe_config *, struct vpbe_config *);
|
|
|
|
|
+int dm355_gpio_register(void);
|
|
|
|
|
|
|
|
/* DM365 function declarations */
|
|
/* DM365 function declarations */
|
|
|
void dm365_init(void);
|
|
void dm365_init(void);
|
|
@@ -92,11 +96,13 @@ void dm365_init_rtc(void);
|
|
|
void dm365_init_spi0(unsigned chipselect_mask,
|
|
void dm365_init_spi0(unsigned chipselect_mask,
|
|
|
const struct spi_board_info *info, unsigned len);
|
|
const struct spi_board_info *info, unsigned len);
|
|
|
int dm365_init_video(struct vpfe_config *, struct vpbe_config *);
|
|
int dm365_init_video(struct vpfe_config *, struct vpbe_config *);
|
|
|
|
|
+int dm365_gpio_register(void);
|
|
|
|
|
|
|
|
/* DM644x function declarations */
|
|
/* DM644x function declarations */
|
|
|
void dm644x_init(void);
|
|
void dm644x_init(void);
|
|
|
void dm644x_init_asp(struct snd_platform_data *pdata);
|
|
void dm644x_init_asp(struct snd_platform_data *pdata);
|
|
|
int dm644x_init_video(struct vpfe_config *, struct vpbe_config *);
|
|
int dm644x_init_video(struct vpfe_config *, struct vpbe_config *);
|
|
|
|
|
+int dm644x_gpio_register(void);
|
|
|
|
|
|
|
|
/* DM646x function declarations */
|
|
/* DM646x function declarations */
|
|
|
void dm646x_init(void);
|
|
void dm646x_init(void);
|
|
@@ -106,6 +112,7 @@ int dm646x_init_edma(struct edma_rsv_info *rsv);
|
|
|
void dm646x_video_init(void);
|
|
void dm646x_video_init(void);
|
|
|
void dm646x_setup_vpif(struct vpif_display_config *,
|
|
void dm646x_setup_vpif(struct vpif_display_config *,
|
|
|
struct vpif_capture_config *);
|
|
struct vpif_capture_config *);
|
|
|
|
|
+int dm646x_gpio_register(void);
|
|
|
|
|
|
|
|
extern struct platform_device dm365_serial_device[];
|
|
extern struct platform_device dm365_serial_device[];
|
|
|
extern struct platform_device dm355_serial_device[];
|
|
extern struct platform_device dm355_serial_device[];
|