From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control
Date: Fri, 07 Nov 2014 11:40:38 +0100 [thread overview]
Message-ID: <20141107114038.4120cd14@amdc2363> (raw)
In-Reply-To: <201411070905.47479.marex@denx.de>
Hi Marek,
> On Thursday, November 06, 2014 at 10:29:03 PM, Lukasz Majewski wrote:
> > On Thu, 6 Nov 2014 21:23:46 +0100
>
> Hi!
>
> > Marek Vasut <marex@denx.de> wrote:
> > > On Thursday, November 06, 2014 at 10:59:17 AM, Lukasz Majewski
> > > wrote:
> > > > Hi Marek,
> > > >
> > > > > Split the Samsung specific PHY control into a separate file
> > > > > and compile this into the S3C OTG driver only if used on a
> > > > > Samsung system.
> > > > >
> > > > > Signed-off-by: Marek Vasut <marex@denx.de>
> > > > > Cc: Chin Liang See <clsee@altera.com>
> > > > > Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> > > > > Cc: Vince Bridgers <vbridger@altera.com>
> > > > > Cc: Pavel Machek <pavel@denx.de>
> > > > > Cc: Stefan Roese <sr@denx.de>
> > > > > Cc: Lukasz Majewski <l.majewski@samsung.com>
> > >
> > > [...]
> > >
> > > > Build HW: trats2 (Exynos4412)
> > > >
> > > > CROSS_COMPILE=/home/lukma/work/ptxdist/toolchains/arm/OSELAS.Toolchain-
> > > > 2013
> > > > .12.0/arm-v7a-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-
> > > > 3.12- sanitized/bin/arm-v7a-linux-gnueabi-
> > > >
> > > > Patches applied on top of v2014.10.
> > >
> > > Try this trivial patch (add missing include):
> > >
> > > diff --git a/drivers/usb/gadget/s3c_udc_otg_phy.c
> > > b/drivers/usb/gadget/s3c_udc_otg_phy.c
> > > index 055fe86..95bd8cf 100644
> > > --- a/drivers/usb/gadget/s3c_udc_otg_phy.c
> > > +++ b/drivers/usb/gadget/s3c_udc_otg_phy.c
> > > @@ -35,6 +35,8 @@
> > >
> > > #include "regs-otg.h"
> > > #include <usb/lin_gadget_compat.h>
> > >
> > > +#include <usb/s3c_udc.h>
> > > +
> >
> > Ok, I will apply it and let you know about the result.
> >
> > BTW: I assume that your work is to reuse the USB 2.0 UDC IP block
> > (probably in Altera).
>
> Yep, I got the UDC working on my SoCFPGA board. We should probably
> rename the s3c-otg driver to something more fitting (dwc2-udc ?)
> and strive to somehow merge the dwc2-host and dwc2-udc drivers in
> the long run.
>
> Speaking of the rename, I'd like to leave that for the next MW, to
> make sure it doesn't break any tools which might for example depend
> on the name of the driver.
+1
IMHO, we should devote one MW only for rename (as I've written
previously).
>
> > I'd be elated if this is true :-).
>
> It is :) ... it must have been hard to tell from patch 5/5 ;-)
>
> Best regards,
> Marek Vasut
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
next prev parent reply other threads:[~2014-11-07 10:40 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 5:07 [U-Boot] [PATCH 1/5] usb: s3c-otg: Remove useless include Marek Vasut
2014-11-04 5:07 ` [U-Boot] [PATCH 2/5] usb: s3c-otg: Encapsulate PHY control Marek Vasut
2014-11-04 19:30 ` Pavel Machek
2014-11-06 9:43 ` Lukasz Majewski
2014-11-04 5:07 ` [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out " Marek Vasut
2014-11-04 19:34 ` Pavel Machek
2014-11-06 20:26 ` Marek Vasut
2014-11-07 8:59 ` Lukasz Majewski
2014-11-07 9:12 ` Marek Vasut
2014-11-07 10:08 ` Lukasz Majewski
2014-11-07 10:28 ` Marek Vasut
2014-11-07 14:23 ` Lukasz Majewski
2014-11-07 15:30 ` Marek Vasut
2014-11-06 9:59 ` Lukasz Majewski
2014-11-06 20:23 ` Marek Vasut
2014-11-06 21:29 ` Lukasz Majewski
2014-11-07 8:05 ` Marek Vasut
2014-11-07 10:40 ` Lukasz Majewski [this message]
2014-11-04 5:07 ` [U-Boot] [PATCH 4/5] usb: s3c-otg: Allow custom gusbcfg Marek Vasut
2014-11-04 19:36 ` Pavel Machek
2014-11-06 20:27 ` Marek Vasut
2014-11-07 9:11 ` Lukasz Majewski
2014-11-07 9:25 ` Marek Vasut
2014-11-07 10:22 ` Lukasz Majewski
2014-11-07 14:33 ` Lukasz Majewski
2014-11-07 15:31 ` Marek Vasut
2014-11-04 5:07 ` [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config Marek Vasut
2014-11-04 19:51 ` Pavel Machek
2014-11-04 20:09 ` Marek Vasut
2014-11-04 21:01 ` Pavel Machek
2014-11-07 14:40 ` Lukasz Majewski
2014-11-07 14:53 ` Marek Vasut
2014-11-07 15:28 ` Lukasz Majewski
2014-11-07 15:37 ` Marek Vasut
2014-11-07 15:31 ` Marek Vasut
2014-11-04 19:28 ` [U-Boot] [PATCH 1/5] usb: s3c-otg: Remove useless include Pavel Machek
2014-11-06 9:32 ` Lukasz Majewski
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=20141107114038.4120cd14@amdc2363 \
--to=l.majewski@samsung.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox