All of lore.kernel.org
 help / color / mirror / Atom feed
From: nsekhar@ti.com (Sekhar Nori)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] USB: OHCI: make ohci-da8xx a separate driver
Date: Wed, 3 Jul 2013 00:15:00 +0530	[thread overview]
Message-ID: <51D31FAC.9050706@ti.com> (raw)
In-Reply-To: <51D30BC0.9090108@linaro.org>

On 7/2/2013 10:50 PM, Kevin Hilman wrote:
> On 07/02/2013 08:14 AM, Manjunath Goudar wrote:
>>
>>
>> On 2 July 2013 20:20, Sergei Shtylyov
>> <sergei.shtylyov@cogentembedded.com
>> <mailto:sergei.shtylyov@cogentembedded.com>> wrote:
>>
>>     Hello.
>>
>>
>>     On 02-07-2013 15:36, Manjunath Goudar wrote:
>>
>>         Separate the Davinci OHCI host controller driver from ohci-hcd
>>         host code so that it can be built as a separate driver module.
>>         This work is part of enabling multi-platform kernels on ARM;
>>         it would be nice to have in 3.11.
>>
>>
>>         One preexisting error:
>>         "da8xx_syscfg0_base" [drivers/usb/host/ohci-da8xx.__ko] undefined!
>>
>>
>>         Fixed eventually using below modification:
>>         added EXPORT_SYMBOL_GPL(da8xx___syscfg0_base) in
>>         arch/arm/mach-davinci/devices-__da8xx.c.
>>
>>
>>        And you managed to get this fix into the DaVinci tree? I tried it
>>     long ago and it was refused by then DaVinci maintainer Kevin Hilman.
>>
>>
>> Yes I saw your patch that is what I mentioned in patch description.
>> We will wait for DaVinci maintainer response,what he will suggest. 
> 
> Note that Sekhar Nori (now Cc'd) is the primary maintainer of davinci,
> and I'll defer the final decision to him.  However, the mach-davinci
> change is not in this patch, so I'm not sure exactly how it relates
> here, since that problem exists independently of this patch.
> 
> That being said, I will NAK the above EXPORT_SYMBOL change in
> mach-davinci code because passing data between platform code and drivers
> via global variables is still a bad idea.  Some helper accessor
> functions will need to be created to abstract those low-level accesses.

Okay, I haven't seen the patch as well, but I agree with Kevin that
EXPORT_SYMBOL from platform code is a bad idea and wont help the
multi-platform build.

Right clean-up for this most probably requires creation of a PHY driver
to handle the USB 2.0 and USB 1.1 phy specifics on this chip. Its best
to start a mail thread on USB list for guidance. You can keep me in loop
too.

Thanks,
Sekhar

  reply	other threads:[~2013-07-02 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 11:36 [PATCH] USB: OHCI: make ohci-da8xx a separate driver Manjunath Goudar
2013-07-02 14:50 ` Sergei Shtylyov
     [not found]   ` <CAJFYCKErW5hvgBvKiywHmf0eBYOix8Fkn9vQFa-TKHA63hX7aQ@mail.gmail.com>
2013-07-02 17:20     ` Kevin Hilman
2013-07-02 18:45       ` Sekhar Nori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-10-26 21:08 ahaslam
2016-10-27  0:58 ` David Lechner
2016-10-27 13:08   ` Axel Haslam
2016-10-27  2:09 ` David Lechner

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=51D31FAC.9050706@ti.com \
    --to=nsekhar@ti.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.