[media] ARM: davinci: da850: Add SoC related definitions for VPIF
Add clock, pin mux definitions and registration function for VPIF capture and display driver on DA850/OMAP-L138 SoC. Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Acked-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
f4ad8d74e1
commit
154d54a8ce
@@ -16,6 +16,7 @@
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/davinci_emac.h>
|
||||
#include <linux/spi/spi.h>
|
||||
#include <linux/videodev2.h>
|
||||
|
||||
#include <mach/serial.h>
|
||||
#include <mach/edma.h>
|
||||
@@ -26,6 +27,8 @@
|
||||
#include <mach/pm.h>
|
||||
#include <mach/spi.h>
|
||||
|
||||
#include <media/davinci/vpif_types.h>
|
||||
|
||||
extern void __iomem *da8xx_syscfg0_base;
|
||||
extern void __iomem *da8xx_syscfg1_base;
|
||||
|
||||
@@ -63,6 +66,7 @@ extern unsigned int da850_max_speed;
|
||||
#define DA8XX_PLL0_BASE 0x01c11000
|
||||
#define DA8XX_TIMER64P0_BASE 0x01c20000
|
||||
#define DA8XX_TIMER64P1_BASE 0x01c21000
|
||||
#define DA8XX_VPIF_BASE 0x01e17000
|
||||
#define DA8XX_GPIO_BASE 0x01e26000
|
||||
#define DA8XX_PSC1_BASE 0x01e27000
|
||||
#define DA8XX_AEMIF_CS2_BASE 0x60000000
|
||||
@@ -92,6 +96,11 @@ int da8xx_register_cpuidle(void);
|
||||
void __iomem * __init da8xx_get_mem_ctlr(void);
|
||||
int da850_register_pm(struct platform_device *pdev);
|
||||
int __init da850_register_sata(unsigned long refclkpn);
|
||||
int __init da850_register_vpif(void);
|
||||
int __init da850_register_vpif_display
|
||||
(struct vpif_display_config *display_config);
|
||||
int __init da850_register_vpif_capture
|
||||
(struct vpif_capture_config *capture_config);
|
||||
void da8xx_restart(char mode, const char *cmd);
|
||||
|
||||
extern struct platform_device da8xx_serial_device;
|
||||
@@ -126,6 +135,8 @@ extern const short da830_ecap1_pins[];
|
||||
extern const short da830_ecap2_pins[];
|
||||
extern const short da830_eqep0_pins[];
|
||||
extern const short da830_eqep1_pins[];
|
||||
extern const short da850_vpif_capture_pins[];
|
||||
extern const short da850_vpif_display_pins[];
|
||||
|
||||
extern const short da850_i2c0_pins[];
|
||||
extern const short da850_i2c1_pins[];
|
||||
|
Reference in New Issue
Block a user