Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752158AbaJTNJD (ORCPT ); Mon, 20 Oct 2014 09:09:03 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58984 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751273AbaJTNI6 (ORCPT ); Mon, 20 Oct 2014 09:08:58 -0400 Date: Mon, 20 Oct 2014 15:08:55 +0200 From: Pavel Machek To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: sre@debian.org, sre@ring0.de, kernel list , balbi@ti.com, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, kishon@ti.com, s.nawrocki@samsung.com Subject: Re: USB Ethernet gadget on Nokia n900 Message-ID: <20141020130855.GA1067@amd> References: <20141019090107.GA19132@amd> <201410191658.45851@pali> <20141019205033.GA4738@amd> <201410192300.20625@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201410192300.20625@pali> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > My N900 can boot kernel from v3.12-rc5-n900 branch compiled with > arch/arm/configs/rx51_defconfig. Also it can boot full Maemo5 > system (with CSSU and some minor system changes) and usb network > via g_nokia.ko gadget working fine... > > So if it does not working for you then kernel usb subsystem could > have problems with using gadgets directly from zimage. After some hand-bisecting and real-bisecting, I found two commits that cause problems for 3.13: With these reverted, I get usb networking back in 3.13 on nokia n900. (Pali, if you revert these, you should get working usb networking in your 3.13 branch, too.) Any ideas? Pavel commit 3e3101d57c50f9e4fa1da947e4bd0bc5cbab4141 Author: Kishon Vijay Abraham I Date: Fri Sep 27 11:53:30 2013 +0530 usb: musb: omap2430: use the new generic PHY framework Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on and power_off to align with the new PHY framework. musb->xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state machine to handle otg, these can be moved out of xceiv and then we can start using the generic PHY framework. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Sylwester Nawrocki Acked-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman commit f1ddc24c9e33813f74b871d73e4d795dcdb95a3c Author: Kishon Vijay Abraham I Date: Fri Sep 27 11:53:31 2013 +0530 usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Reviewed-by: Sylwester Nawrocki Signed-off-by: Greg Kroah-Hartman -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/