From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 0/7] Add fully tested id switch and vbus connect detect support for Chipidea
Date: Wed, 09 Jan 2013 12:43:38 +0100 [thread overview]
Message-ID: <50ED57EA.6080309@free-electrons.com> (raw)
In-Reply-To: <20130109032305.GA22404@nchen-desktop>
Hi Peter,
Thanks for your answer.
On 09/01/2013 04:23, Peter Chen wrote:
> On Tue, Jan 08, 2013 at 04:27:21PM +0100, Maxime Ripard wrote:
>> Hi Peter,
>>
>> On 27/12/2012 07:59, Peter Chen wrote:
>>> (Sorry for update slowly due to long time business trip)
>>>
>>> Changes for v4 mainly for 2/7, 3/7, 4/7, see individual
>>> patch commit for detail.
>>>
>>> This patchset adds fully tested otg id switch function and
>>> vbus connect/disconnect detection for chipidea driver.
>>> The mainly design of id/vbus handling follows msm otg driver.
>>> I hope the msm usb maintainer can have a look of this patchset,
>>> and give some comments, and move the whole msm usb driver to
>>> chipidea framework if possible in the future.
>>>
>>> This patchset is fully tested at i.mx6Q saberlite board.
>>
>> Have you tested it on a 3.8 kernel?
> Hi Maxime,
>
> I just tested my branch (https://github.com/hzpeterchen/linux-usb)
> It works ok at i.mx6Q saberlite board.
> The version is Linux version 3.8.0-rc2+, and it is based on greg's
> usb-next(top of 102ee001912f67a7701f26a56ef2bcf84fc78028).
Ok, I finally got what's going on.
Commit 09f6ffde introduced a dependency on USB_EHCI_HCD for host mode,
that in turn depends on USB_ARCH_HAS_EHCI, which isn't selected by MXS.
It was thus removing the host mode support when switching from 3.7 to
3.8, and I somehow overlooked that.
Enabling the host mode solved the panic.
> Please always enable both device and host mode for chipidea driver.
> Current code still not consider all things for different mode config,
> like device-only, host-only, otg. In future, it is supposed to do
> at dts file, and judge probe.
Then isn't the gadget mode configuration option supposed to depends on
the host mode if it's known to be broken otherwise?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-01-09 11:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-27 6:59 [PATCH v4 0/7] Add fully tested id switch and vbus connect detect support for Chipidea Peter Chen
2012-12-27 6:59 ` [PATCH v4 1/7] Revert "USB: chipidea: add vbus detect for udc" Peter Chen
2012-12-27 6:59 ` [PATCH v4 2/7] usb: chipidea: add otg file Peter Chen
2012-12-27 10:47 ` Sascha Hauer
2012-12-28 2:14 ` Peter Chen
2012-12-27 6:59 ` [PATCH v4 3/7] usb: chipidea: add otg id switch and vbus connect/disconnect detect Peter Chen
2012-12-27 7:21 ` Marek Vasut
2012-12-27 8:20 ` Peter Chen
2012-12-27 8:31 ` Marek Vasut
2012-12-27 7:00 ` [PATCH v4 4/7] usb: chipidea: consolidate ci_role_driver's API for both roles Peter Chen
2012-12-27 7:00 ` [PATCH v4 5/7] usb: chipidea: udc: add pullup/pulldown dp at hw_device_state Peter Chen
2012-12-27 7:00 ` [PATCH v4 6/7] usb: chipidea: udc: retire the flag CI13_PULLUP_ON_VBUS Peter Chen
2012-12-27 7:00 ` [PATCH v4 7/7] usb: chipidea: imx: add internal vbus regulator control Peter Chen
2013-01-08 15:27 ` [PATCH v4 0/7] Add fully tested id switch and vbus connect detect support for Chipidea Maxime Ripard
2013-01-09 3:23 ` Peter Chen
2013-01-09 11:43 ` Maxime Ripard [this message]
2013-01-10 1:38 ` Peter Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50ED57EA.6080309@free-electrons.com \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.