linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2
Date: Fri, 26 Oct 2012 09:36:19 -0700	[thread overview]
Message-ID: <20121026163619.GB11908@atomide.com> (raw)
In-Reply-To: <508AAA85.6070905@ti.com>

* Benoit Cousson <b-cousson@ti.com> [121026 08:23]:
> Hi Roger,
> 
> On 10/26/2012 05:16 PM, Roger Quadros wrote:
> > Hi Kishon & Benoit,
> > 
> > On 09/24/2012 12:06 PM, Rabin Vincent wrote:
> >> 2012/9/24 ABRAHAM, KISHON VIJAY <kishon@ti.com>:
> >>> On Sat, Sep 22, 2012 at 3:03 AM, Rabin Vincent <rabin@rab.in> wrote:
> >>>> USB doesn't work on pandaboard on linux-next, and bisection shows this
> >>>> patch.  Unfortunately, I can't provide a dmesg log because USB is the
> >>>> only way I currently have to get one out(!), but presumably it's because
> >>>> this omap-usb2 device is never registered?  Looks like this breaks
> >>>> non-dt USB on pandaboard; is that intended?
> >>>
> >>> Yes. omap-usb2 is *only* dt supported (New drivers shouldn't have the
> >>> old non-dt support).
> >>
> >> Well, USB used to work fine on Pandaboard without DT before the
> >> introduction of "omap-usb2", so one would expected it to continue
> >> working (until the board file is completely removed).
> >>
> >> Anyway, I've moved to DT now.
> >>
> >>> Some patches are queued only for 3.7.
> >>>
> >>> In case you want to use MUSB please use these patches on linux-next..
> >>> [PATCH v2] arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp
> >>> [PATCH] ARM: OMAP2+: hwmod data: Fix ocp2scp_usb_phy and usb_host_hs
> >>> entries (from Benoit)
> >>> [PATCH 0/2] ARM: dts: Add subnode for ocp2scp (patch series)
> >>> [PATCH v3 0/3] ARM: dts: omap: add dt data for MUSB (patch series)
> >>
> >> I got these by merging in Benoit's for_3.7/dts_part2 on top of
> >> next-20120921.  Thanks.
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> >> the body of a message to majordomo at vger.kernel.org
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >>
> > 
> > I still can't get musb to work on 3.7-rc2. Apparently it is still
> > missing the patches from Benoit's for_3.7/dts_part2.
> > 
> > Maybe I just need to wait for it to be merged?
> 
> They are now in a for_3.8/dts. Unfortunately, one patch that was adding
> ctrl_module address in the USB data was rejected and thus I'm not sure
> it will work without that.
> 
> I think Tony had an idea to map the ctrl_register to regulator fmwk or
> something like that.

For device tree, we may be eventually able to handle the ctrl_register
using pinctrl-single.c and pinconf API. It probably does not make
sense to set it up as a regulator as the comparator can trigger errors
also for the pinconf related bits at least for MMC PBIAS.
 
> > Till then, where can I get a tree where musb works on Panda?

On panda, without using device tree, use v3.7-rc2 + the following patches:

ARM: OMAP: ocp2scp: create omap device for ocp2scp
ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy
drivers: bus: ocp2scp: add pdata support

Also you need to enable CONFIG_OMAP_USB2. No idea what all is needed
to use MUSB with device tree at this point.

Regards,

Tony

  reply	other threads:[~2012-10-26 16:36 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 14:57 [PATCH 0/5] usb: phy/otg: add dt support Kishon Vijay Abraham I
2012-09-06 14:57 ` [PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy Kishon Vijay Abraham I
2012-09-24 13:15   ` Rob Herring
2012-09-25 10:06     ` ABRAHAM, KISHON VIJAY
2012-09-27 14:24       ` Rob Herring
2012-09-27 15:00         ` ABRAHAM, KISHON VIJAY
2012-09-27 22:48         ` Cousson, Benoit
2012-09-28 10:07           ` ABRAHAM, KISHON VIJAY
2012-09-28 15:12             ` Cousson, Benoit
2012-09-28 18:59               ` ABRAHAM, KISHON VIJAY
2012-09-06 14:57 ` [PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2 Kishon Vijay Abraham I
2012-09-21 21:33   ` Rabin Vincent
2012-09-24  8:43     ` ABRAHAM, KISHON VIJAY
2012-09-24  9:06       ` Rabin Vincent
2012-10-26 15:16         ` Roger Quadros
2012-10-26 15:21           ` Benoit Cousson
2012-10-26 16:36             ` Tony Lindgren [this message]
2012-10-29  9:01               ` Roger Quadros
2012-10-29  9:24                 ` kishon
2012-10-26 17:54             ` Paul Walmsley
2012-10-26 17:57               ` Benoit Cousson
2012-10-26 18:09                 ` Benoit Cousson
2012-10-26 19:01                   ` Tony Lindgren
2012-09-06 14:57 ` [PATCH 3/5] drivers: usb: twl6030: Add dt support for twl6030 usb Kishon Vijay Abraham I
2012-09-06 14:57 ` [PATCH 4/5] drivers: usb: twl4030: Add device tree support for twl4030 usb Kishon Vijay Abraham I
2012-09-06 14:57 ` [PATCH 5/5] arm: omap: phy: remove unused functions from omap-phy-internal.c Kishon Vijay Abraham I

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=20121026163619.GB11908@atomide.com \
    --to=tony@atomide.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 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).