]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Basic support for siemens sx1, USB changes
authorPavel Machek <pavel@suse.cz>
Fri, 17 Nov 2006 23:37:37 +0000 (01:37 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 17 Nov 2006 23:37:37 +0000 (01:37 +0200)
From: Vladimir Ananiev <vovan888@gmail.com>

This adds basic support for Siemens SX1. More patches are available,
with video driver, mixer, and serial ports working. That is enough to
do gsm calls with right userland.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/gadget/omap_udc.c

index 31df02e87a5e0e1e4e3694c0d1b73ed2245c8630..35e16919646749b343a6e570cf7cdbdc989377a4 100644 (file)
@@ -2077,6 +2077,7 @@ static inline int machine_needs_vbus_session(void)
 #ifndef CONFIG_MACH_OMAP_H4_OTG
                || machine_is_omap_h4()
 #endif
+               || machine_is_sx1()
                );
 }
 
@@ -2823,7 +2824,7 @@ static int __init omap_udc_probe(struct platform_device *pdev)
                hmc = HMC_1510;
                type = "(unknown)";
 
-               if (machine_is_omap_innovator()) {
+               if (machine_is_omap_innovator() || machine_is_sx1()) {
                        /* just set up software VBUS detect, and then
                         * later rig it so we always report VBUS.
                         * FIXME without really sensing VBUS, we can't