devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jingoo Han <jg1.han@samsung.com>
To: 'Vivek Gautam' <gautam.vivek@samsung.com>,
	'Tomasz Figa' <t.figa@samsung.com>
Cc: 'Linux USB Mailing List' <linux-usb@vger.kernel.org>,
	linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-doc@vger.kernel.org, 'kishon' <kishon@ti.com>,
	'Greg KH' <gregkh@linuxfoundation.org>,
	'Felipe Balbi' <balbi@ti.com>,
	'Kukjin Kim' <kgene.kim@samsung.com>,
	'Kamil Debski' <k.debski@samsung.com>,
	'Sylwester Nawrocki' <sylvester.nawrocki@gmail.com>,
	'Jingoo Han' <jg1.han@samsung.com>
Subject: Re: [PATCH V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver
Date: Tue, 22 Apr 2014 11:18:41 +0900	[thread overview]
Message-ID: <001101cf5dd1$2e04d390$8a0e7ab0$%han@samsung.com> (raw)
In-Reply-To: <CAFp+6iGYfz+ZT9zxgeVefLhtb0mb-=K4faUZC+1FtQoO0hMoqw@mail.gmail.com>

On Wednesday, April 16, 2014 11:49 PM, Vivek Gautam wrote:
> On Wed, Apr 16, 2014 at 7:14 PM, Tomasz Figa <t.figa@samsung.com> wrote:
> > On 15.04.2014 08:09, Vivek Gautam wrote:
> >> On Thu, Apr 10, 2014 at 5:09 PM, Vivek Gautam wrote:
> >>> On Wed, Apr 9, 2014 at 7:03 PM, Tomasz Figa <t.figa@samsung.com> wrote:
> >>>> On 09.04.2014 13:49, Vivek Gautam wrote:
> >>>
> >>> So, USB30_SCLK_100M is the SCLK that we are talking in the driver. I
> >>> don't see any reference to XXTI in the USB 3.0 DRD controller chapter
> >>> (in both Exynos5250 and 5420)
> >>> In addition to this there's one more point to be noticed here.
> >>> On Exynos5420 system, the sclk_usbphy300 (which is the sclk_usbphy30
> >>> for USB DRD channel 0), is also the PICO phy clock, i.e. USB 2.0 phy
> >>> clock.
> >>> So we should add a similar clk_get() for this clock in the
> >>> phy-exynos5250-usb2 driver too, to support Exynos5420.
> >>
> >>
> >> Is something clear from the above block diagram ? (although the
> >> diagram looks weird - space and tabs problem :-(  )
> >> Basically there's the clock USB30_SCLK_100M which is going into the
> >> USB 3.0 DRD PHY controller.
> >> And this is the only sclk mentioned in the block diagram for USB 3.0
> >> DRD controller in Exynos5420.
> >> Same is not there in the block diagram in Exynos5250 UM.
> >
> >
> > From what I can see in the documentation, there are 4 USB 3.0 related clocks
> > generated in CMU:
> >
> >  - sclk_usbphy300,
> >  - sclk_usbphy301,
> >  - sclk_usbdrd300,
> >  - sclk_usbdrd301,
> >
> > They are all rated to max. 24 MHz and the recommended operating frequency is
> > 24 MHz, so it looks exactly like USB PHY reference, which is usually a 24
> > MHz clock.
> >
> > To me, this looks like on Exynos5420 a separate special clock path is used
> > instead of xusbxti as reference of USB 3.0 PHY and so the sclk should be
> > simply passed as the "ref" clock.
> 
> Ok, i will clear on this with the hardware engineer also once.
> May be Jingoo can help me with this.
> 
> Jingoo,
> Can you please enquire about the clock path of usbphy30 reference
> clocks on Exynos5420.
> As mentioned by Tomasz above, we have sclk_usbphy300 and
> sclk_usbphy301 as the reference clocks for USB3.0 DRD phy. *Also*
> sclk_usbphy300 is used for Pico phy (which is the USb 2.0 phy used by
> ehci/ohci controller on Exynos5420).
> It will be of great help.

Hi Vevek, Tomasz

Long time no see.

I asked USB S/W engineer and USB H/W engineer.

There are two USB3.0 on Exynos5420; thus there are two sclks
such as 'sclk_usbphy300 and sclk_usbphy301'.

As Tomasz mentioned, 'sclk_usbphy300 and sclk_usbphy301' can
be used instead of 'xusbxti' as reference of USB 3.0 PHY.

However, on Exynos5420, "ONLY" 'sclk_usbphy300' can be used
for USB2.0 pico phy. (so, '301' CANNOT support USB2.0 pico phy.)

Best regards,
Jingoo Han


  reply	other threads:[~2014-04-22  2:18 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 14:36 [PATCH V4 0/5] Add Exynos5 USB 3.0 phy driver based on generic PHY framework Vivek Gautam
2014-04-08 14:36 ` [PATCH V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver Vivek Gautam
     [not found]   ` <1396967803-28868-2-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-09 11:06     ` Tomasz Figa
2014-04-09 11:49       ` Vivek Gautam
2014-04-09 13:33         ` Tomasz Figa
     [not found]           ` <53454C11.7060607-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-10 11:39             ` Vivek Gautam
2014-04-15  6:09               ` Vivek Gautam
2014-04-16 13:44                 ` Tomasz Figa
     [not found]                   ` <534E892B.6090409-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-16 14:49                     ` Vivek Gautam
2014-04-22  2:18                       ` Jingoo Han [this message]
2014-04-22  3:35                         ` Vivek Gautam
2014-04-14 11:54       ` Kishon Vijay Abraham I
     [not found]         ` <534BCC91.8090108-l0cyMroinI0@public.gmane.org>
2014-04-14 12:05           ` Vivek Gautam
2014-04-14 13:05             ` Kishon Vijay Abraham I
2014-04-14 13:44               ` Tomasz Figa
2014-04-14 13:49                 ` Vivek Gautam
     [not found]                   ` <CAFp+6iHhUvLhAKGPARS8RUfmO8RGcTrumvYb7QjJXbFD1nUuig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-14 14:21                     ` Sylwester Nawrocki
2014-04-15  5:07                       ` Vivek Gautam
2014-04-14 12:27   ` Kishon Vijay Abraham I
     [not found]     ` <534BD447.1080909-l0cyMroinI0@public.gmane.org>
2014-04-14 12:42       ` Vivek Gautam
2014-04-14 12:59         ` Kishon Vijay Abraham I
2014-04-14 13:20           ` Vivek Gautam
2014-04-14 13:26             ` Kishon Vijay Abraham I
2014-04-14 13:40               ` Vivek Gautam
2014-04-14 13:46                 ` Vivek Gautam
2014-04-14 13:49                 ` Tomasz Figa
     [not found]                   ` <534BE77E.5090902-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-04-15 13:59                     ` Kishon Vijay Abraham I
2014-04-14 14:37   ` Sylwester Nawrocki
2014-04-15  5:09     ` Vivek Gautam
     [not found]     ` <534BF28E.7040906-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-25  7:57       ` Tushar Behera
2014-04-25  8:08         ` Vivek Gautam
     [not found] ` <1396967803-28868-1-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-08 14:36   ` [PATCH v4 2/5] dt: exynos5420: Enable support for USB 3.0 PHY controller Vivek Gautam
     [not found]     ` <1396967803-28868-3-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-09 11:10       ` Tomasz Figa
2014-04-08 14:36 ` [PATCH V4 3/5] dt: exynos5420: Enable support for DWC3 controller Vivek Gautam
2014-04-09 11:11   ` Tomasz Figa
2014-04-08 14:36 ` [PATCH V4 4/5] dt: exynos5250: Enable support for generic USB DRD phy Vivek Gautam
     [not found]   ` <1396967803-28868-5-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-09 11:11     ` Tomasz Figa
2014-04-08 14:36 ` [PATCH V4 5/5] usb-phy: samsung-usb3: Remove older phy-samsung-usb3 driver Vivek Gautam
2014-04-09 11:13   ` Tomasz Figa
2014-04-09 11:34     ` Vivek Gautam
2014-04-16 13:33       ` Richard Genoud
2014-04-16 14:42         ` Vivek Gautam

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='001101cf5dd1$2e04d390$8a0e7ab0$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=balbi@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gautam.vivek@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=k.debski@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sylvester.nawrocki@gmail.com \
    --cc=t.figa@samsung.com \
    /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).