All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] config: rk3399: add support for dwc3 gadget
Date: Mon, 29 Aug 2016 08:56:53 +0800	[thread overview]
Message-ID: <57C38855.8060002@rock-chips.com> (raw)
In-Reply-To: <CAAGaQKAAAJ9JqzPi09cm9pzxZv1Fgh4RWCB4rXjuxVRcs-g-ug@mail.gmail.com>

Hi Steve,


On 08/28/2016 06:22 AM, Steve Rae wrote:
>
> Hi Kever,
>
> On Aug 23, 2016 20:48, "Kever Yang" <kever.yang@rock-chips.com 
> <mailto:kever.yang@rock-chips.com>> wrote:
> >
> > To support fastboot, we need to enable the controller first.
> > rk3399 is using dwc3 as usb device controller, this patch enable
> > the configs for dwc3 gadget.
> >
> > Signed-off-by: Kever Yang <kever.yang@rock-chips.com 
> <mailto:kever.yang@rock-chips.com>>
> > Reviewed-by: Simon Glass <sjg at chromium.org <mailto:sjg@chromium.org>>
> > ---
> >
> > Changes in v2:
> > - remove config for USB2PHY UTMI BITS
> >
> >  include/configs/rk3399_common.h | 20 ++++++++++++++++++++
> >  1 file changed, 20 insertions(+)
> >
> > diff --git a/include/configs/rk3399_common.h 
> b/include/configs/rk3399_common.h
> > index 6875308..fcd1700 100644
> > --- a/include/configs/rk3399_common.h
> > +++ b/include/configs/rk3399_common.h
> > @@ -27,6 +27,26 @@
> >
> >  #define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /* 64M */
> >
> > +/*  usb device */
> > +#define CONFIG_USB_DWC3
> > +#define CONFIG_USB_DWC3_GADGET
> > +#define CONFIG_USB_GADGET
> > +#define CONFIG_USB_GADGET_DUALSPEED
> > +#define CONFIG_USB_GADGET_VBUS_DRAW    0
> > +
> > +/*  fastboot  */
> > +#define CONFIG_CMD_FASTBOOT
> > +#define CONFIG_USB_FUNCTION_FASTBOOT
> > +#define CONFIG_FASTBOOT_FLASH
> > +#define CONFIG_FASTBOOT_FLASH_MMC_DEV  1       /* eMMC */
> > +#define CONFIG_FASTBOOT_BUF_ADDR  CONFIG_SYS_LOAD_ADDR
> > +#define CONFIG_FASTBOOT_BUF_SIZE       0x08000000
> > +
> > +#define CONFIG_USB_GADGET_DOWNLOAD
> > +#define CONFIG_G_DNL_MANUFACTURER      "Rockchip"
> > +#define CONFIG_G_DNL_VENDOR_NUM                0x2207
> > +#define CONFIG_G_DNL_PRODUCT_NUM       0x330a
> > +
> FYI - All of these new defines are now in Kconfig....
>

Thanks for point out, I will rebase this patch and move these defines 
into Kconfig.

Regards,
- Kever
>
> Thanks, Steve
>
> >  /* MMC/SD IP block */
> >  #define CONFIG_MMC
> >  #define CONFIG_GENERIC_MMC
> > --
> > 1.9.1
> >
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de <mailto:U-Boot@lists.denx.de>
> > http://lists.denx.de/mailman/listinfo/u-boot
>

      reply	other threads:[~2016-08-29  0:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24  3:46 [U-Boot] [PATCH v2 0/4] rk3399: enable dwc3 gadget and fastboot Kever Yang
2016-08-24  3:46 ` [U-Boot] [PATCH v2 1/4] rk3399: add a empty "sys_proto.h" header file Kever Yang
2016-08-24  3:46 ` [U-Boot] [PATCH v2 2/4] board: evb-rk3399: add api to support dwc3 gadget Kever Yang
2016-08-25  1:07   ` Kever Yang
2016-08-26  9:11     ` Marek Vasut
2016-08-29  0:49       ` Kever Yang
2016-08-29  0:54         ` Marek Vasut
2016-08-24  3:46 ` [U-Boot] [PATCH v2 3/4] usb: dwc3: add support for 16 bit UTMI+ interface Kever Yang
2016-08-24 11:38   ` Marek Vasut
2016-08-25  1:17     ` Kever Yang
2016-08-26  9:09       ` Marek Vasut
2016-08-29  0:55         ` Kever Yang
2016-08-29  1:01           ` Marek Vasut
2016-08-30  3:21             ` Kever Yang
2016-08-31  0:48               ` Marek Vasut
2016-08-24  3:46 ` [U-Boot] [PATCH v2 4/4] config: rk3399: add support for dwc3 gadget Kever Yang
2016-08-27 22:22   ` Steve Rae
2016-08-29  0:56     ` Kever Yang [this message]

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=57C38855.8060002@rock-chips.com \
    --to=kever.yang@rock-chips.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 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.