From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH v2 4/6] musb-new: dsps backend driver
Date: Sat, 22 Sep 2012 02:48:16 +0200 [thread overview]
Message-ID: <201209220248.16780.marex@denx.de> (raw)
In-Reply-To: <1347837274-17864-5-git-send-email-ilya.yanok@cogentembedded.com>
Dear Ilya Yanok,
> Backend driver for MUSB OTG controllers found on TI AM33xx and
> TI81xx SoCs (tested with AM33xx only).
>
> Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
> ---
> Changes in v2:
> - rename backend config option to CONFIG_USB_MUSB_DSPS
> - we are providing host support now so add yourself to usb.h
>
> arch/arm/include/asm/omap_musb.h | 25 ++
> drivers/usb/musb-new/Makefile | 1 +
> drivers/usb/musb-new/musb_dsps.c | 771
> ++++++++++++++++++++++++++++++++++++++ include/usb.h |
> 3 +-
> 4 files changed, 799 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/include/asm/omap_musb.h
> create mode 100644 drivers/usb/musb-new/musb_dsps.c
>
> diff --git a/arch/arm/include/asm/omap_musb.h
> b/arch/arm/include/asm/omap_musb.h new file mode 100644
> index 0000000..0081a68
> --- /dev/null
> +++ b/arch/arm/include/asm/omap_musb.h
> @@ -0,0 +1,25 @@
> +/*
> + * Board data structure for musb gadget on OMAPs
> + *
> + * Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
> + * GNU General Public License for more details.
> + */
> +
> +#ifndef __ASM_ARM_OMAP_MUSB_H
> +#define __ASM_ARM_OMAP_MUSB_H
> +
> +extern struct musb_platform_ops musb_dsps_ops;
> +
> +struct omap_musb_board_data {
> + void (*set_phy_power)(u8 on);
> +};
> +#endif /* __ASM_ARM_OMAP_MUSB_H */
> diff --git a/drivers/usb/musb-new/Makefile b/drivers/usb/musb-new/Makefile
> index f01fb16..a753423 100644
> --- a/drivers/usb/musb-new/Makefile
> +++ b/drivers/usb/musb-new/Makefile
> @@ -9,6 +9,7 @@ LIB := $(obj)libusb_musb-new.o
> COBJS-$(CONFIG_MUSB_GADGET) += musb_gadget.o musb_gadget_ep0.o musb_core.o
> COBJS-$(CONFIG_MUSB_GADGET) += musb_uboot.o
> COBJS-$(CONFIG_MUSB_HOST) += musb_host.o musb_core.o musb_uboot.o
> +COBJS-$(CONFIG_USB_MUSB_DSPS) += musb_dsps.o
CONFIG_MUSB_... ?
>
[...]
next prev parent reply other threads:[~2012-09-22 0:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-16 23:14 [U-Boot] [RFC PATCH v2 0/6] Port of MUSB driver from Linux Ilya Yanok
2012-09-16 23:14 ` [U-Boot] [RFC PATCH v2 1/6] linux/usb/ch9.h: update with the version from Linux tree Ilya Yanok
2012-09-16 23:14 ` [U-Boot] [RFC PATCH v2 2/6] usb: use linux/usb/ch9.h instead of usbdescriptors.h Ilya Yanok
2012-09-16 23:14 ` [U-Boot] [RFC PATCH v2 3/6] musb-new: port of Linux musb driver Ilya Yanok
2012-09-16 23:14 ` [U-Boot] [RFC PATCH v2 4/6] musb-new: dsps backend driver Ilya Yanok
2012-09-22 0:48 ` Marek Vasut [this message]
2012-09-22 7:59 ` Ilya Yanok
2012-09-22 13:34 ` Marek Vasut
2012-09-16 23:14 ` [U-Boot] [RFC PATCH v2 5/6] am33xx: init OTG hardware and new musb gadget driver Ilya Yanok
2012-09-22 0:49 ` Marek Vasut
2012-09-22 7:55 ` Ilya Yanok
2012-09-16 23:14 ` [U-Boot] [RFC PATCH v2 6/6] am335x_evm: enable both musb gadget and host Ilya Yanok
2012-09-22 0:55 ` [U-Boot] [RFC PATCH v2 0/6] Port of MUSB driver from Linux Marek Vasut
2012-09-22 7:53 ` Ilya Yanok
2012-09-22 17:44 ` Tom Rini
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=201209220248.16780.marex@denx.de \
--to=marex@denx.de \
--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