diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-27 16:03:32 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-27 16:03:32 -0700 | 
| commit | d61b7a572b292e2be409e13b4b3adf475f18fb29 (patch) | |
| tree | e9d30390860147136c05e66abf1edda1bc5b0562 /arch/arm/mach-davinci/board-dm644x-evm.c | |
| parent | 18d9946bc7e2252fe3c0f2f609ac383c627edefd (diff) | |
| parent | f4e2467bad53023589cbff18dd1ab6e0aa3f004c (diff) | |
| download | olio-linux-3.10-d61b7a572b292e2be409e13b4b3adf475f18fb29.tar.xz olio-linux-3.10-d61b7a572b292e2be409e13b4b3adf475f18fb29.zip  | |
Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull "ARM: global cleanups" from Arnd Bergmann:
 "Quite a bit of code gets removed, and some stuff moved around, mostly
  the old samsung s3c24xx stuff.  There should be no functional changes
  in this series otherwise.  Some cleanups have dependencies on other
  arm-soc branches and will be sent in the second round.
  Signed-off-by: Arnd Bergmann <arnd@arndb.de>"
Fixed up trivial conflicts mainly due to #include's being changes on
both sides.
* tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (121 commits)
  ep93xx: Remove unnecessary includes of ep93xx-regs.h
  ep93xx: Move EP93XX_SYSCON defines to SoC private header
  ep93xx: Move crunch code to mach-ep93xx directory
  ep93xx: Make syscon access functions private to SoC
  ep93xx: Configure GPIO ports in core code
  ep93xx: Move peripheral defines to local SoC header
  ep93xx: Convert the watchdog driver into a platform device.
  ep93xx: Use ioremap for backlight driver
  ep93xx: Move GPIO defines to gpio-ep93xx.h
  ep93xx: Don't use system controller defines in audio drivers
  ep93xx: Move PHYS_BASE defines to local SoC header file
  ARM: EXYNOS: Add clock register addresses for EXYNOS4X12 bus devfreq driver
  ARM: EXYNOS: add clock registers for exynos4x12-cpufreq
  PM / devfreq: update the name of EXYNOS clock registers that were omitted
  PM / devfreq: update the name of EXYNOS clock register
  ARM: EXYNOS: change the prefix S5P_ to EXYNOS4_ for clock
  ARM: EXYNOS: use static declaration on regarding clock
  ARM: EXYNOS: replace clock.c for other new EXYNOS SoCs
  ARM: OMAP2+: Fix build error after merge
  ARM: S3C24XX: remove call to s3c24xx_setup_clocks
  ...
Diffstat (limited to 'arch/arm/mach-davinci/board-dm644x-evm.c')
| -rw-r--r-- | arch/arm/mach-davinci/board-dm644x-evm.c | 28 | 
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 1247ecdcf75..864f676ecca 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c @@ -30,7 +30,6 @@  #include <asm/mach-types.h>  #include <asm/mach/arch.h> -#include <mach/dm644x.h>  #include <mach/common.h>  #include <mach/i2c.h>  #include <mach/serial.h> @@ -40,6 +39,8 @@  #include <mach/usb.h>  #include <mach/aemif.h> +#include "davinci.h" +  #define DM644X_EVM_PHY_ID		"davinci_mdio-0:01"  #define LXT971_PHY_ID	(0x001378e2)  #define LXT971_PHY_MASK	(0xfffffff0) @@ -189,7 +190,7 @@ static struct platform_device davinci_fb_device = {  	.num_resources = 0,  }; -static struct tvp514x_platform_data tvp5146_pdata = { +static struct tvp514x_platform_data dm644xevm_tvp5146_pdata = {  	.clk_polarity = 0,  	.hs_polarity = 1,  	.vs_polarity = 1 @@ -197,7 +198,7 @@ static struct tvp514x_platform_data tvp5146_pdata = {  #define TVP514X_STD_ALL	(V4L2_STD_NTSC | V4L2_STD_PAL)  /* Inputs available at the TVP5146 */ -static struct v4l2_input tvp5146_inputs[] = { +static struct v4l2_input dm644xevm_tvp5146_inputs[] = {  	{  		.index = 0,  		.name = "Composite", @@ -217,7 +218,7 @@ static struct v4l2_input tvp5146_inputs[] = {   * ouput that goes to vpfe. There is a one to one correspondence   * with tvp5146_inputs   */ -static struct vpfe_route tvp5146_routes[] = { +static struct vpfe_route dm644xevm_tvp5146_routes[] = {  	{  		.input = INPUT_CVBS_VI2B,  		.output = OUTPUT_10BIT_422_EMBEDDED_SYNC, @@ -228,13 +229,13 @@ static struct vpfe_route tvp5146_routes[] = {  	},  }; -static struct vpfe_subdev_info vpfe_sub_devs[] = { +static struct vpfe_subdev_info dm644xevm_vpfe_sub_devs[] = {  	{  		.name = "tvp5146",  		.grp_id = 0, -		.num_inputs = ARRAY_SIZE(tvp5146_inputs), -		.inputs = tvp5146_inputs, -		.routes = tvp5146_routes, +		.num_inputs = ARRAY_SIZE(dm644xevm_tvp5146_inputs), +		.inputs = dm644xevm_tvp5146_inputs, +		.routes = dm644xevm_tvp5146_routes,  		.can_route = 1,  		.ccdc_if_params = {  			.if_type = VPFE_BT656, @@ -243,15 +244,15 @@ static struct vpfe_subdev_info vpfe_sub_devs[] = {  		},  		.board_info = {  			I2C_BOARD_INFO("tvp5146", 0x5d), -			.platform_data = &tvp5146_pdata, +			.platform_data = &dm644xevm_tvp5146_pdata,  		},  	},  }; -static struct vpfe_config vpfe_cfg = { -	.num_subdevs = ARRAY_SIZE(vpfe_sub_devs), +static struct vpfe_config dm644xevm_capture_cfg = { +	.num_subdevs = ARRAY_SIZE(dm644xevm_vpfe_sub_devs),  	.i2c_adapter_id = 1, -	.sub_devs = vpfe_sub_devs, +	.sub_devs = dm644xevm_vpfe_sub_devs,  	.card_name = "DM6446 EVM",  	.ccdc = "DM6446 CCDC",  }; @@ -624,8 +625,6 @@ static struct davinci_uart_config uart_config __initdata = {  static void __init  davinci_evm_map_io(void)  { -	/* setup input configuration for VPFE input devices */ -	dm644x_set_vpfe_config(&vpfe_cfg);  	dm644x_init();  } @@ -697,6 +696,7 @@ static __init void davinci_evm_init(void)  	evm_init_i2c();  	davinci_setup_mmc(0, &dm6446evm_mmc_config); +	dm644x_init_video(&dm644xevm_capture_cfg);  	davinci_serial_init(&uart_config);  	dm644x_init_asp(&dm644x_evm_snd_data);  |