All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder
@ 2013-01-15  8:04 ` Lad, Prabhakar
  0 siblings, 0 replies; 6+ messages in thread
From: Lad, Prabhakar @ 2013-01-15  8:04 UTC (permalink / raw)
  To: LAK, DLOS; +Cc: LKML, Sekhar Nori, Lad, Prabhakar

Without this patch the adv7343 encoder was being set to default
configuration which caused display not to work on this board.
This patch passes the necessary platform data required for adv7343
encoder to work on da850 evm.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
---
 This patch is dependent on http://patchwork.linuxtv.org/patch/16272/

 arch/arm/mach-davinci/board-da850-evm.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 0299915..d0e3ec3 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1256,11 +1256,24 @@ static struct vpif_capture_config da850_vpif_capture_config = {
 };
 
 /* VPIF display configuration */
+
+static struct adv7343_platform_data adv7343_pdata = {
+	.mode_config = {
+		.dac_3 = 1,
+		.dac_2 = 1,
+		.dac_1 = 1,
+	},
+	.sd_config = {
+		.sd_dac_out1 = 1,
+	},
+};
+
 static struct vpif_subdev_info da850_vpif_subdev[] = {
 	{
 		.name = "adv7343",
 		.board_info = {
 			I2C_BOARD_INFO("adv7343", 0x2a),
+			.platform_data = &adv7343_pdata,
 		},
 	},
 };
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder
@ 2013-01-15  8:04 ` Lad, Prabhakar
  0 siblings, 0 replies; 6+ messages in thread
From: Lad, Prabhakar @ 2013-01-15  8:04 UTC (permalink / raw)
  To: linux-arm-kernel

Without this patch the adv7343 encoder was being set to default
configuration which caused display not to work on this board.
This patch passes the necessary platform data required for adv7343
encoder to work on da850 evm.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
---
 This patch is dependent on http://patchwork.linuxtv.org/patch/16272/

 arch/arm/mach-davinci/board-da850-evm.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 0299915..d0e3ec3 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1256,11 +1256,24 @@ static struct vpif_capture_config da850_vpif_capture_config = {
 };
 
 /* VPIF display configuration */
+
+static struct adv7343_platform_data adv7343_pdata = {
+	.mode_config = {
+		.dac_3 = 1,
+		.dac_2 = 1,
+		.dac_1 = 1,
+	},
+	.sd_config = {
+		.sd_dac_out1 = 1,
+	},
+};
+
 static struct vpif_subdev_info da850_vpif_subdev[] = {
 	{
 		.name = "adv7343",
 		.board_info = {
 			I2C_BOARD_INFO("adv7343", 0x2a),
+			.platform_data = &adv7343_pdata,
 		},
 	},
 };
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder
  2013-01-15  8:04 ` Lad, Prabhakar
@ 2013-01-22 11:57   ` Prabhakar Lad
  -1 siblings, 0 replies; 6+ messages in thread
From: Prabhakar Lad @ 2013-01-22 11:57 UTC (permalink / raw)
  To: Sekhar Nori; +Cc: LAK, DLOS, LKML, Lad, Prabhakar

Sekhar,

On Tue, Jan 15, 2013 at 1:34 PM, Lad, Prabhakar
<prabhakar.csengg@gmail.com> wrote:
> Without this patch the adv7343 encoder was being set to default
> configuration which caused display not to work on this board.
> This patch passes the necessary platform data required for adv7343
> encoder to work on da850 evm.
>
> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
> ---
>  This patch is dependent on http://patchwork.linuxtv.org/patch/16272/
>
Since this patch depends on media [1] , I would like to get this patch
through media tree as fix for 3.8. Could you review and ACK it ?

[1] http://patchwork.linuxtv.org/patch/16391/

Regards,
--Prabhakar

>  arch/arm/mach-davinci/board-da850-evm.c |   13 +++++++++++++
>  1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
> index 0299915..d0e3ec3 100644
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -1256,11 +1256,24 @@ static struct vpif_capture_config da850_vpif_capture_config = {
>  };
>
>  /* VPIF display configuration */
> +
> +static struct adv7343_platform_data adv7343_pdata = {
> +       .mode_config = {
> +               .dac_3 = 1,
> +               .dac_2 = 1,
> +               .dac_1 = 1,
> +       },
> +       .sd_config = {
> +               .sd_dac_out1 = 1,
> +       },
> +};
> +
>  static struct vpif_subdev_info da850_vpif_subdev[] = {
>         {
>                 .name = "adv7343",
>                 .board_info = {
>                         I2C_BOARD_INFO("adv7343", 0x2a),
> +                       .platform_data = &adv7343_pdata,
>                 },
>         },
>  };
> --
> 1.7.4.1
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder
@ 2013-01-22 11:57   ` Prabhakar Lad
  0 siblings, 0 replies; 6+ messages in thread
From: Prabhakar Lad @ 2013-01-22 11:57 UTC (permalink / raw)
  To: linux-arm-kernel

Sekhar,

On Tue, Jan 15, 2013 at 1:34 PM, Lad, Prabhakar
<prabhakar.csengg@gmail.com> wrote:
> Without this patch the adv7343 encoder was being set to default
> configuration which caused display not to work on this board.
> This patch passes the necessary platform data required for adv7343
> encoder to work on da850 evm.
>
> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
> ---
>  This patch is dependent on http://patchwork.linuxtv.org/patch/16272/
>
Since this patch depends on media [1] , I would like to get this patch
through media tree as fix for 3.8. Could you review and ACK it ?

[1] http://patchwork.linuxtv.org/patch/16391/

Regards,
--Prabhakar

>  arch/arm/mach-davinci/board-da850-evm.c |   13 +++++++++++++
>  1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
> index 0299915..d0e3ec3 100644
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -1256,11 +1256,24 @@ static struct vpif_capture_config da850_vpif_capture_config = {
>  };
>
>  /* VPIF display configuration */
> +
> +static struct adv7343_platform_data adv7343_pdata = {
> +       .mode_config = {
> +               .dac_3 = 1,
> +               .dac_2 = 1,
> +               .dac_1 = 1,
> +       },
> +       .sd_config = {
> +               .sd_dac_out1 = 1,
> +       },
> +};
> +
>  static struct vpif_subdev_info da850_vpif_subdev[] = {
>         {
>                 .name = "adv7343",
>                 .board_info = {
>                         I2C_BOARD_INFO("adv7343", 0x2a),
> +                       .platform_data = &adv7343_pdata,
>                 },
>         },
>  };
> --
> 1.7.4.1
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder
  2013-01-22 11:57   ` Prabhakar Lad
@ 2013-01-22 12:01     ` Sekhar Nori
  -1 siblings, 0 replies; 6+ messages in thread
From: Sekhar Nori @ 2013-01-22 12:01 UTC (permalink / raw)
  To: Prabhakar Lad; +Cc: LAK, DLOS, LKML, Lad, Prabhakar

On 1/22/2013 5:27 PM, Prabhakar Lad wrote:
> Sekhar,
> 
> On Tue, Jan 15, 2013 at 1:34 PM, Lad, Prabhakar
> <prabhakar.csengg@gmail.com> wrote:
>> Without this patch the adv7343 encoder was being set to default
>> configuration which caused display not to work on this board.
>> This patch passes the necessary platform data required for adv7343
>> encoder to work on da850 evm.
>>
>> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
>> ---
>>  This patch is dependent on http://patchwork.linuxtv.org/patch/16272/
>>
> Since this patch depends on media [1] , I would like to get this patch
> through media tree as fix for 3.8. Could you review and ACK it ?

The patch looks good to me. Feel free to add my

Acked-by: Sekhar Nori <nsekhar@ti.com>

and merge through the media tree to ease the dependencies.

Thanks,
Sekhar

> 
> [1] http://patchwork.linuxtv.org/patch/16391/
> 
> Regards,
> --Prabhakar
> 
>>  arch/arm/mach-davinci/board-da850-evm.c |   13 +++++++++++++
>>  1 files changed, 13 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
>> index 0299915..d0e3ec3 100644
>> --- a/arch/arm/mach-davinci/board-da850-evm.c
>> +++ b/arch/arm/mach-davinci/board-da850-evm.c
>> @@ -1256,11 +1256,24 @@ static struct vpif_capture_config da850_vpif_capture_config = {
>>  };
>>
>>  /* VPIF display configuration */
>> +
>> +static struct adv7343_platform_data adv7343_pdata = {
>> +       .mode_config = {
>> +               .dac_3 = 1,
>> +               .dac_2 = 1,
>> +               .dac_1 = 1,
>> +       },
>> +       .sd_config = {
>> +               .sd_dac_out1 = 1,
>> +       },
>> +};
>> +
>>  static struct vpif_subdev_info da850_vpif_subdev[] = {
>>         {
>>                 .name = "adv7343",
>>                 .board_info = {
>>                         I2C_BOARD_INFO("adv7343", 0x2a),
>> +                       .platform_data = &adv7343_pdata,
>>                 },
>>         },
>>  };
>> --
>> 1.7.4.1
>>
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder
@ 2013-01-22 12:01     ` Sekhar Nori
  0 siblings, 0 replies; 6+ messages in thread
From: Sekhar Nori @ 2013-01-22 12:01 UTC (permalink / raw)
  To: linux-arm-kernel

On 1/22/2013 5:27 PM, Prabhakar Lad wrote:
> Sekhar,
> 
> On Tue, Jan 15, 2013 at 1:34 PM, Lad, Prabhakar
> <prabhakar.csengg@gmail.com> wrote:
>> Without this patch the adv7343 encoder was being set to default
>> configuration which caused display not to work on this board.
>> This patch passes the necessary platform data required for adv7343
>> encoder to work on da850 evm.
>>
>> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
>> ---
>>  This patch is dependent on http://patchwork.linuxtv.org/patch/16272/
>>
> Since this patch depends on media [1] , I would like to get this patch
> through media tree as fix for 3.8. Could you review and ACK it ?

The patch looks good to me. Feel free to add my

Acked-by: Sekhar Nori <nsekhar@ti.com>

and merge through the media tree to ease the dependencies.

Thanks,
Sekhar

> 
> [1] http://patchwork.linuxtv.org/patch/16391/
> 
> Regards,
> --Prabhakar
> 
>>  arch/arm/mach-davinci/board-da850-evm.c |   13 +++++++++++++
>>  1 files changed, 13 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
>> index 0299915..d0e3ec3 100644
>> --- a/arch/arm/mach-davinci/board-da850-evm.c
>> +++ b/arch/arm/mach-davinci/board-da850-evm.c
>> @@ -1256,11 +1256,24 @@ static struct vpif_capture_config da850_vpif_capture_config = {
>>  };
>>
>>  /* VPIF display configuration */
>> +
>> +static struct adv7343_platform_data adv7343_pdata = {
>> +       .mode_config = {
>> +               .dac_3 = 1,
>> +               .dac_2 = 1,
>> +               .dac_1 = 1,
>> +       },
>> +       .sd_config = {
>> +               .sd_dac_out1 = 1,
>> +       },
>> +};
>> +
>>  static struct vpif_subdev_info da850_vpif_subdev[] = {
>>         {
>>                 .name = "adv7343",
>>                 .board_info = {
>>                         I2C_BOARD_INFO("adv7343", 0x2a),
>> +                       .platform_data = &adv7343_pdata,
>>                 },
>>         },
>>  };
>> --
>> 1.7.4.1
>>
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-22 12:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-15  8:04 [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder Lad, Prabhakar
2013-01-15  8:04 ` Lad, Prabhakar
2013-01-22 11:57 ` Prabhakar Lad
2013-01-22 11:57   ` Prabhakar Lad
2013-01-22 12:01   ` Sekhar Nori
2013-01-22 12:01     ` Sekhar Nori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.