All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v10 4/4] Odroid-XU3: Add entry for DTS EHCI GPIO
Date: Wed, 03 Dec 2014 10:05:22 +0100	[thread overview]
Message-ID: <1417597522.21830.32.camel@collabora.co.uk> (raw)
In-Reply-To: <CAPnjgZ0Jf4hu6Zjkh1HBiX5pQzvH7GZTKC9m2s6c2yzHdyX9Lw@mail.gmail.com>

+ajaykumar

On Tue, 2014-12-02 at 10:25 -0700, Simon Glass wrote:
> Hi,
> 
> On 2 December 2014 at 00:07, Hyungwon Hwang <human.hwang@samsung.com> wrote:
> > From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> >
> > Add samsung,vbus-gpio information for the XU3. This allows the usage of
> > the EHCI controller on the XU3, which is connected to the SMSC LAN9514
> > chip (usb hub + network).
> >
> > Note that this patch doesn't enable support for USB/USB networking in
> > the default config as makes the u-boot binary too big for the current odroid
> > setup.
> >
> > Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> > Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
> > Cc: Minkyu Kang <mk7.kang@samsung.com>
> > Cc: Lukasz Majewski <l.majewski@samsung.com>
> > Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> > Cc: Javier Martinez Canillas <javier@dowhile0.org>
> > Cc: Simon Glass <sjg@chromium.org>
> > ---
> > Changes for v10:
> > - Newly added
> >
> >  arch/arm/dts/exynos5422-odroidxu3.dts | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/arm/dts/exynos5422-odroidxu3.dts
> > index cff32a9..be20f1b 100644
> > --- a/arch/arm/dts/exynos5422-odroidxu3.dts
> > +++ b/arch/arm/dts/exynos5422-odroidxu3.dts
> > @@ -31,6 +31,10 @@
> >                         0xb0000000 0xea00000>;
> >         };
> >
> > +       ehci at 12110000 {
> > +               samsung,vbus-gpio = <&gpio 0x316 0>; /* X26 */
> 
> Are you sure this is right? By my count this should be 0x66, not
> 0x316. This might be historical.

Yes you're right! I copied the number from the exynos5250-smdk5250.dts
without double-checking (even though i fixed the exact same isseu for
snow recently, doh). 

Please drop this patch from the set for now, and i'll send an updated
one seperately. But that shouldn't block merging the other patches in
this set. 

> It almost feels like you could drop this patch until you actually have
> working USB support.

USB does work, but it turns out that's because board_usb_vbus_init in
smdk5420 hardcodes turning on GPIO X26 (which happens to be correct for
XU3).. Which interestingly collides with exynos_lcd_power_on which
hardcodes using GPIO X26 for the EDP_HPD (as used on the snow/peach
boards).

So looks like some more things to fix :)

-- 
Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Collabora Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6170 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141203/5798e21c/attachment.bin>

  reply	other threads:[~2014-12-03  9:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02  7:07 [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board Hyungwon Hwang
2014-12-02  7:07 ` [U-Boot] [PATCH v10 1/4] config: exynos5420: move non common configs to specific board files Hyungwon Hwang
2014-12-02 17:22   ` Simon Glass
2014-12-05 19:14   ` Sjoerd Simons
2014-12-02  7:07 ` [U-Boot] [PATCH v10 2/4] Odroid-XU3: Add support for Odroid-XU3 Hyungwon Hwang
2014-12-02 17:28   ` Simon Glass
2014-12-05 19:31   ` Sjoerd Simons
2014-12-09  2:04     ` Hyungwon Hwang
2014-12-02  7:07 ` [U-Boot] [PATCH v10 3/4] Odroid-XU3: Add documentation " Hyungwon Hwang
2014-12-02 17:22   ` Simon Glass
2014-12-09  2:09     ` Hyungwon Hwang
2014-12-02  7:07 ` [U-Boot] [PATCH v10 4/4] Odroid-XU3: Add entry for DTS EHCI GPIO Hyungwon Hwang
2014-12-02 17:25   ` Simon Glass
2014-12-03  9:05     ` Sjoerd Simons [this message]
2014-12-03 12:46 ` [U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board Przemyslaw Marczak
2014-12-03 16:15   ` Suriyan Ramasami
2014-12-04  1:27     ` Inha Song
2014-12-04  5:05       ` Hyungwon Hwang
2014-12-03 16:28   ` Simon Glass
2014-12-03 17:08     ` Przemyslaw Marczak
2014-12-03 17:31       ` Simon Glass
2014-12-04  4:56         ` Hyungwon Hwang

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=1417597522.21830.32.camel@collabora.co.uk \
    --to=sjoerd.simons@collabora.co.uk \
    --cc=u-boot@lists.denx.de \
    /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.