* [PATCH] usb: musb: dsps: header movement build error fix
@ 2012-11-27 14:45 Afzal Mohammed
2012-12-13 7:02 ` Mohammed, Afzal
0 siblings, 1 reply; 2+ messages in thread
From: Afzal Mohammed @ 2012-11-27 14:45 UTC (permalink / raw)
To: Felipe Balbi
Cc: Greg Kroah-Hartman, Tony Lindgren,
linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA, Afzal Mohammed
"54db6ee ARM: OMAP2+: Introduce local usb.h" moved control module bit
definitions from plat/usb.h (which dsps glue was using) to a local
header in mach-omap2. And in parallel,
"c68bb4c usb: musb: dsps: control module handling (quirk)" added
control module handling capability to dsps glue driver that used
those control module bit definitions.
Integration of above two changes would cause build error in musb dsps
glue driver (they go through different trees upstream) as is seen now
in linux-next. Fix it by adding necessary definitions in dsps glue
driver.
Signed-off-by: Afzal Mohammed <afzal-l0cyMroinI0@public.gmane.org>
---
Hi Felipe,
This applies on top of your musb branch, please help this reach
mainline along with other musb dsps changes for coming merge window
so that they would not cause build error and so that we can have a
working usb in mainline for am335x (beaglebone) at the earliest.
Regards
Afzal
drivers/usb/musb/musb_dsps.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index e6f2ae8..f7d764d 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -134,6 +134,11 @@ static const resource_size_t dsps_control_module_phys[] = {
DSPS_AM33XX_CONTROL_MODULE_PHYS_1,
};
+#define USBPHY_CM_PWRDN (1 << 0)
+#define USBPHY_OTG_PWRDN (1 << 1)
+#define USBPHY_OTGVDET_EN (1 << 19)
+#define USBPHY_OTGSESSEND_EN (1 << 20)
+
/**
* musb_dsps_phy_control - phy on/off
* @glue: struct dsps_glue *
--
1.7.12
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] usb: musb: dsps: header movement build error fix
2012-11-27 14:45 [PATCH] usb: musb: dsps: header movement build error fix Afzal Mohammed
@ 2012-12-13 7:02 ` Mohammed, Afzal
0 siblings, 0 replies; 2+ messages in thread
From: Mohammed, Afzal @ 2012-12-13 7:02 UTC (permalink / raw)
To: Balbi, Felipe
Cc: Greg Kroah-Hartman, Tony Lindgren, linux-usb@vger.kernel.org,
linux-omap@vger.kernel.org
Hi Felipe,
On Tue, Nov 27, 2012 at 20:15:22, Mohammed, Afzal wrote:
> "54db6ee ARM: OMAP2+: Introduce local usb.h" moved control module bit
> definitions from plat/usb.h (which dsps glue was using) to a local
> header in mach-omap2. And in parallel,
> "c68bb4c usb: musb: dsps: control module handling (quirk)" added
> control module handling capability to dsps glue driver that used
> those control module bit definitions.
>
> Integration of above two changes would cause build error in musb dsps
> glue driver (they go through different trees upstream) as is seen now
> in linux-next. Fix it by adding necessary definitions in dsps glue
> driver.
>
> Signed-off-by: Afzal Mohammed <afzal@ti.com>
> ---
> This applies on top of your musb branch, please help this reach
> mainline along with other musb dsps changes for coming merge window
> so that they would not cause build error and so that we can have a
> working usb in mainline for am335x (beaglebone) at the earliest.
musb dsps build breaks in mainline now, this patch fixes it, can you
please help this change reach mainline.
Both commits mentioned above (control module quirk & usb header
movement) has reached mainline.
Regards
Afzal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-13 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 14:45 [PATCH] usb: musb: dsps: header movement build error fix Afzal Mohammed
2012-12-13 7:02 ` Mohammed, Afzal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).