From: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
To: Matthieu CASTET
<matthieu.castet-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
Cc: Benoit Goby <benoit-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>,
David Brownell
<dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
Greg Kroah-Hartman <gregkh-l3A5Bk7waGM@public.gmane.org>,
"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Robert Morell <rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>,
Erik Gilling <konkers-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v4 1/4] usb: otg: Add ulpi viewport access ops
Date: Tue, 22 Feb 2011 16:42:59 +0200 [thread overview]
Message-ID: <4D63CB73.8040506@compulab.co.il> (raw)
In-Reply-To: <4D628501.50105-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
Hi,
On 02/21/11 17:30, Matthieu CASTET wrote:
> Igor Grinberg a écrit :
>> Hi,
>>
>> On 02/21/11 11:04, Matthieu CASTET wrote:
>>
>>> Hi,
>>>
>>> Igor Grinberg a écrit :
>>>> Hi,
>>>>
>>>> On 02/18/11 05:42, Benoit Goby wrote:
>>>>> Add generic access ops for controllers with a ulpi viewport register
>>>>> (e.g. Chipidea/ARC based controllers).
>>>> I can see mxc, msm and langwell are using the same bits
>>>> (or at least some of them).
>>> They all use the Chipidea/ARC usb controllers.
>>
>> This means, that it is not generic, but Chipidea/ARC usb controller specific.
>> And it is common to some/many platforms.
> Yes
>>
>> Can it be utilized on platforms that have another kind of ulpi access register?
> I don't think so
I've looked into the IMX Reference Manual regarding the ulpi viewport register
and it looks like these access ops can be utilized on another kind of ulpi access registers,
as the same features are available in most (if not all) of ulpi access registers,
whether they are called viewport or otherwise.
This will require much more thinking and may be the right solution would be
multiple access ops files (e.g. drivers/usb/otg/ulpi_...port.c).
So for now, this patch is a good stuff to start from.
Benoit,
can you, please, address comments in my first reply?
Thanks.
>
>>
>>>> Is there some kind of specification for this ulpi viewport register?
>>> You can find the Chipidea/ARC datasheet in IMX35 datasheet ( got 0x0170 ULPI VIEWPORT) or a newer version (extra fields in some registers but miss 0x168-0x170) in
>>> http://www.nxp.com/documents/user_manual/UM10314.pdf
>>
>> I don't have the IMX35 datasheet which describes the USB OTG registers.
>> The one that can be downloaded from Freescale website, only describes
>> hardware and no ULPI viewport is mentioned there.
> From freescale.com I manage to download IMX35RM.pdf witch describe it (p2075).
Found it. Thanks.
--
Regards,
Igor.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-02-22 14:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 3:42 [PATCH v4 0/4] Tegra EHCI driver Benoit Goby
[not found] ` <1298000565-20627-1-git-send-email-benoit-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>
2011-02-18 3:42 ` [PATCH v4 1/4] usb: otg: Add ulpi viewport access ops Benoit Goby
[not found] ` <1298000565-20627-2-git-send-email-benoit-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>
2011-02-18 15:41 ` Igor Grinberg
[not found] ` <4D5E9337.3010603-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2011-02-21 9:04 ` Matthieu CASTET
[not found] ` <4D622A97.2040101-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
2011-02-21 12:23 ` Igor Grinberg
[not found] ` <4D62593C.4070000-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2011-02-21 15:30 ` Matthieu CASTET
[not found] ` <4D628501.50105-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>
2011-02-22 14:42 ` Igor Grinberg [this message]
[not found] ` <4D63CB73.8040506-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2011-02-23 4:02 ` Benoit Goby
2011-02-18 3:42 ` [PATCH v4 2/4] ARM: tegra: Add support for Tegra USB PHYs Benoit Goby
2011-02-18 3:42 ` [PATCH v4 3/4] usb: host: Add EHCI driver for NVIDIA Tegra SoCs Benoit Goby
2011-02-18 3:42 ` [PATCH v4 4/4] USB: ehci: tegra: Align DMA transfers to 32 bytes Benoit Goby
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=4D63CB73.8040506@compulab.co.il \
--to=grinberg-utxizqzc01rs1mouv/rt9w@public.gmane.org \
--cc=benoit-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
--cc=dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=gregkh-l3A5Bk7waGM@public.gmane.org \
--cc=konkers-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=matthieu.castet-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
--cc=rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.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