diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/arm/mach-davinci/board-dm355-evm.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm355-evm.c')
| -rw-r--r-- | arch/arm/mach-davinci/board-dm355-evm.c | 16 | 
1 files changed, 13 insertions, 3 deletions
| diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c index cb30637d9eaf..a3377f959444 100644 --- a/arch/arm/mach-davinci/board-dm355-evm.c +++ b/arch/arm/mach-davinci/board-dm355-evm.c @@ -19,6 +19,7 @@  #include <linux/gpio.h>  #include <linux/gpio/machine.h>  #include <linux/clk.h> +#include <linux/dm9000.h>  #include <linux/videodev2.h>  #include <media/i2c/tvp514x.h>  #include <linux/spi/spi.h> @@ -77,6 +78,7 @@ static struct mtd_partition davinci_nand_partitions[] = {  };  static struct davinci_nand_pdata davinci_nand_data = { +	.core_chipsel		= 0,  	.mask_chipsel		= BIT(14),  	.parts			= davinci_nand_partitions,  	.nr_parts		= ARRAY_SIZE(davinci_nand_partitions), @@ -109,12 +111,15 @@ static struct platform_device davinci_nand_device = {  	},  }; +#define DM355_I2C_SDA_PIN	GPIO_TO_PIN(0, 15) +#define DM355_I2C_SCL_PIN	GPIO_TO_PIN(0, 14) +  static struct gpiod_lookup_table i2c_recovery_gpiod_table = { -	.dev_id = "i2c_davinci", +	.dev_id = "i2c_davinci.1",  	.table = { -		GPIO_LOOKUP("davinci_gpio", 15, "sda", +		GPIO_LOOKUP("davinci_gpio.0", DM355_I2C_SDA_PIN, "sda",  			    GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN), -		GPIO_LOOKUP("davinci_gpio", 14, "scl", +		GPIO_LOOKUP("davinci_gpio.0", DM355_I2C_SCL_PIN, "scl",  			    GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),  	},  }; @@ -179,11 +184,16 @@ static struct resource dm355evm_dm9000_rsrc[] = {  	},  }; +static struct dm9000_plat_data dm335evm_dm9000_platdata; +  static struct platform_device dm355evm_dm9000 = {  	.name		= "dm9000",  	.id		= -1,  	.resource	= dm355evm_dm9000_rsrc,  	.num_resources	= ARRAY_SIZE(dm355evm_dm9000_rsrc), +	.dev		= { +		.platform_data = &dm335evm_dm9000_platdata, +	},  };  static struct tvp514x_platform_data tvp5146_pdata = { |