[PATCH] ARM: OMAP: USB: Define OMAP34XX_HSUSB_OTG_BASE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony 
 This patch: 
 1) Correctly defines the base address for HSUSB_OTG block (MUSB)
    Patch by Filipe had incorrect base address for 34xx

 2) Includes the base addresses of: USBTLL and USBHOST present in 3430ES2.0

Felipe
 I see that for 34XX the base address for HSUSB_OTG is not correctly defined
 by your patch so resending with modifications


Signed-off-by: Vikram Pandita <vikram.pandita@xxxxxx>

Index: linux-omap/include/asm-arm/arch-omap/omap34xx.h
===================================================================
--- linux-omap.orig/include/asm-arm/arch-omap/omap34xx.h	2007-11-19 09:55:59.000000000 +0530
+++ linux-omap/include/asm-arm/arch-omap/omap34xx.h	2007-11-23 17:51:08.000000000 +0530
@@ -50,6 +50,9 @@
 
 #define OMAP34XX_IC_BASE	0x48200000
 #define OMAP34XX_IVA_INTC_BASE	0x40000000
+#define OMAP34XX_HSUSB_OTG_BASE	(L4_34XX_BASE + 0xAB000)
+#define OMAP34XX_HSUSB_HOST_BASE	(L4_34XX_BASE + 0x64000)
+#define OMAP34XX_USBTLL_BASE	(L4_34XX_BASE + 0x62000)
 #define IRQ_SIR_IRQ		0x0040



>-----Original Message-----
>From: linux-omap-open-source-bounces+vikram.pandita=ti.com@xxxxxxxxxxxxxx [mailto:linux-omap-open-
>source-bounces+vikram.pandita=ti.com@xxxxxxxxxxxxxx] On Behalf Of Felipe Balbi
>Sent: Tuesday, November 20, 2007 12:58 AM
>To: Paul Walmsley
>Cc: linux-omap@xxxxxxxxxxxxxxx; linux-omap-open-source@xxxxxxxxxxxxxx
>Subject: Re: [RFC patch] ARM: OMAP: Define OMAP34XX_HS_BASE
>
>Hi,
>
>On 11/19/07, Paul Walmsley <paul@xxxxxxxxxxx> wrote:
>> Hi Felipe,
>>
>> On Mon, 19 Nov 2007, Felipe Balbi wrote:
>>
>> > Following other omap archs, define OMAP34XX_HS_BASE macro
>> > to be used later, for example in musb driver.
>>
>> This #define should go up higher in the omap34xx.h file, so it isn't
>> enclosed by CONFIG_ARCH_OMAP34XX.  See for example OMAP3430_CTRL_BASE.
>> Trying to get rid of those defines in that conditional block :-)
>
>Thanks for noticing that.
>updated patch attached.
>
>>
>> - Paul
>>
>> > diff --git a/include/asm-arm/arch-omap/omap34xx.h b/include/asm-arm/arch-omap/omap34xx.h
>> > index 0265e3b..1650937 100644
>> > --- a/include/asm-arm/arch-omap/omap34xx.h
>> > +++ b/include/asm-arm/arch-omap/omap34xx.h
>> > @@ -71,6 +71,7 @@
>> >  #define OMAP2_CTRL_BASE                      OMAP3430_CTRL_BASE
>> >  #define OMAP34XX_CONTROL_DEVCONF0    (L4_34XX_BASE + 0x2274)
>> >  #define OMAP34XX_CONTROL_DEVCONF1    (L4_34XX_BASE + 0x22D8)
>> > +#define OMAP34XX_HS_BASE             (L4_34XX_BASE + 0x65000)
>> >  #define OMAP2_CONTROL_STATUS         (OMAP2_CTRL_BASE + 0x2f0)
>> >
>> >  #endif
>> > --
>> > 1.5.3.5.666.gfb5f
>>
>> - Paul
>> _______________________________________________
>> Linux-omap-open-source mailing list
>> Linux-omap-open-source@xxxxxxxxxxxxxx
>> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>>
>
>
>--
>Best Regards,
>
>Felipe Balbi
>felipebalbi@xxxxxxxxxxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux