diff mbox

OMAP3: RX51: Define TWL4030 USB transceiver in board file

Message ID 1246868531-5023-1-git-send-email-ext-roger.quadros@nokia.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Roger Quadros July 6, 2009, 8:22 a.m. UTC
Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
---
 arch/arm/mach-omap2/board-rx51-peripherals.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Comments

Felipe Balbi July 6, 2009, 9:51 a.m. UTC | #1
On Mon, Jul 06, 2009 at 10:22:11AM +0200, Quadros Roger (EXT-Teleca/Helsinki) wrote:

please put some description here. Other than that:

> Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>

> ---
>  arch/arm/mach-omap2/board-rx51-peripherals.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
> index 9a0bf67..56d931a 100644
> --- a/arch/arm/mach-omap2/board-rx51-peripherals.c
> +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
> @@ -278,6 +278,10 @@ static struct twl4030_gpio_platform_data rx51_gpio_data = {
>  	.setup			= rx51_twlgpio_setup,
>  };
>  
> +static struct twl4030_usb_data rx51_usb_data = {
> +	.usb_mode		= T2_USB_MODE_ULPI,
> +};
> +
>  static struct twl4030_platform_data rx51_twldata = {
>  	.irq_base		= TWL4030_IRQ_BASE,
>  	.irq_end		= TWL4030_IRQ_END,
> @@ -286,6 +290,7 @@ static struct twl4030_platform_data rx51_twldata = {
>  	.gpio			= &rx51_gpio_data,
>  	.keypad			= &rx51_kp_data,
>  	.madc			= &rx51_madc_data,
> +	.usb			= &rx51_usb_data,
>  
>  	.vaux1			= &rx51_vaux1,
>  	.vaux2			= &rx51_vaux2,
> -- 
> 1.6.0.4
Roger Quadros July 7, 2009, 6:37 a.m. UTC | #2
Felipe Balbi wrote:
> On Mon, Jul 06, 2009 at 10:22:11AM +0200, Quadros Roger (EXT-Teleca/Helsinki) wrote:
> 
> please put some description here. Other than that:

ok. will send updated patch with description. thanks for your comment.

> 
>> Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
> 
> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
> 
>> ---
>>  arch/arm/mach-omap2/board-rx51-peripherals.c |    5 +++++
>>  1 files changed, 5 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
>> index 9a0bf67..56d931a 100644
>> --- a/arch/arm/mach-omap2/board-rx51-peripherals.c
>> +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
>> @@ -278,6 +278,10 @@ static struct twl4030_gpio_platform_data rx51_gpio_data = {
>>  	.setup			= rx51_twlgpio_setup,
>>  };
>>  
>> +static struct twl4030_usb_data rx51_usb_data = {
>> +	.usb_mode		= T2_USB_MODE_ULPI,
>> +};
>> +
>>  static struct twl4030_platform_data rx51_twldata = {
>>  	.irq_base		= TWL4030_IRQ_BASE,
>>  	.irq_end		= TWL4030_IRQ_END,
>> @@ -286,6 +290,7 @@ static struct twl4030_platform_data rx51_twldata = {
>>  	.gpio			= &rx51_gpio_data,
>>  	.keypad			= &rx51_kp_data,
>>  	.madc			= &rx51_madc_data,
>> +	.usb			= &rx51_usb_data,
>>  
>>  	.vaux1			= &rx51_vaux1,
>>  	.vaux2			= &rx51_vaux2,
>> -- 
>> 1.6.0.4
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index 9a0bf67..56d931a 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -278,6 +278,10 @@  static struct twl4030_gpio_platform_data rx51_gpio_data = {
 	.setup			= rx51_twlgpio_setup,
 };
 
+static struct twl4030_usb_data rx51_usb_data = {
+	.usb_mode		= T2_USB_MODE_ULPI,
+};
+
 static struct twl4030_platform_data rx51_twldata = {
 	.irq_base		= TWL4030_IRQ_BASE,
 	.irq_end		= TWL4030_IRQ_END,
@@ -286,6 +290,7 @@  static struct twl4030_platform_data rx51_twldata = {
 	.gpio			= &rx51_gpio_data,
 	.keypad			= &rx51_kp_data,
 	.madc			= &rx51_madc_data,
+	.usb			= &rx51_usb_data,
 
 	.vaux1			= &rx51_vaux1,
 	.vaux2			= &rx51_vaux2,