From: "Heiko Stübner" <heiko@sntech.de>
To: Praveen Paneri <p.paneri@samsung.com>
Cc: linux-usb@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
balbi@ti.com, gregkh@linuxfoundation.org,
thomas.abraham@linaro.org, ben-linux@fluff.org,
broonie@opensource.wolfsonmicro.com, l.majewski@samsung.com,
kyungmin.park@samsung.com, grant.likely@secretlab.ca
Subject: Re: [PATCH v2 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg
Date: Tue, 7 Aug 2012 10:11:22 +0200 [thread overview]
Message-ID: <201208071011.23558.heiko@sntech.de> (raw)
In-Reply-To: <1344324524-2286-2-git-send-email-p.paneri@samsung.com>
Am Dienstag, 7. August 2012, 09:28:40 schrieb Praveen Paneri:
> This driver uses usb_phy interface to interact with s3c-hsotg. Supports
> phy_init and phy_shutdown functions to enable/disable phy. Tested with
> smdk6410 and smdkv310. More SoCs can be brought under later.
>
> Signed-off-by: Praveen Paneri <p.paneri@samsung.com>
> ---
> .../devicetree/bindings/usb/samsung-usbphy.txt | 9 +
> drivers/usb/phy/Kconfig | 8 +
> drivers/usb/phy/Makefile | 1 +
> drivers/usb/phy/samsung_usbphy.c | 355
> ++++++++++++++++++++ drivers/usb/phy/samsung_usbphy.h |
> 48 +++
> include/linux/platform_data/s3c-hsotg.h | 5 +
> 6 files changed, 426 insertions(+), 0 deletions(-)
> create mode 100644
> Documentation/devicetree/bindings/usb/samsung-usbphy.txt create mode
> 100644 drivers/usb/phy/samsung_usbphy.c
> create mode 100644 drivers/usb/phy/samsung_usbphy.h
>
[...]
> diff --git a/include/linux/platform_data/s3c-hsotg.h
> b/include/linux/platform_data/s3c-hsotg.h index 8b79e09..25ed31e 100644
> --- a/include/linux/platform_data/s3c-hsotg.h
> +++ b/include/linux/platform_data/s3c-hsotg.h
> @@ -35,6 +35,11 @@ struct s3c_hsotg_plat {
> int (*phy_exit)(struct platform_device *pdev, int type);
> };
>
> +struct s3c_usbphy_plat {
> + void (*pmu_isolation)(int on);
> +};
> +
> extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);
> +extern void s3c_usbphy_set_platdata(struct s3c_usbphy_plat *pd);
>
> #endif /* __LINUX_USB_S3C_HSOTG_H */
hmm, I'm not completely sure about this being in the s3c-hsotg header, as on
s3c2443/2416/2450 it's the s3c-hsudc that will be (hopefully) using the phy in
the future.
Heiko
WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg
Date: Tue, 7 Aug 2012 10:11:22 +0200 [thread overview]
Message-ID: <201208071011.23558.heiko@sntech.de> (raw)
In-Reply-To: <1344324524-2286-2-git-send-email-p.paneri@samsung.com>
Am Dienstag, 7. August 2012, 09:28:40 schrieb Praveen Paneri:
> This driver uses usb_phy interface to interact with s3c-hsotg. Supports
> phy_init and phy_shutdown functions to enable/disable phy. Tested with
> smdk6410 and smdkv310. More SoCs can be brought under later.
>
> Signed-off-by: Praveen Paneri <p.paneri@samsung.com>
> ---
> .../devicetree/bindings/usb/samsung-usbphy.txt | 9 +
> drivers/usb/phy/Kconfig | 8 +
> drivers/usb/phy/Makefile | 1 +
> drivers/usb/phy/samsung_usbphy.c | 355
> ++++++++++++++++++++ drivers/usb/phy/samsung_usbphy.h |
> 48 +++
> include/linux/platform_data/s3c-hsotg.h | 5 +
> 6 files changed, 426 insertions(+), 0 deletions(-)
> create mode 100644
> Documentation/devicetree/bindings/usb/samsung-usbphy.txt create mode
> 100644 drivers/usb/phy/samsung_usbphy.c
> create mode 100644 drivers/usb/phy/samsung_usbphy.h
>
[...]
> diff --git a/include/linux/platform_data/s3c-hsotg.h
> b/include/linux/platform_data/s3c-hsotg.h index 8b79e09..25ed31e 100644
> --- a/include/linux/platform_data/s3c-hsotg.h
> +++ b/include/linux/platform_data/s3c-hsotg.h
> @@ -35,6 +35,11 @@ struct s3c_hsotg_plat {
> int (*phy_exit)(struct platform_device *pdev, int type);
> };
>
> +struct s3c_usbphy_plat {
> + void (*pmu_isolation)(int on);
> +};
> +
> extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);
> +extern void s3c_usbphy_set_platdata(struct s3c_usbphy_plat *pd);
>
> #endif /* __LINUX_USB_S3C_HSOTG_H */
hmm, I'm not completely sure about this being in the s3c-hsotg header, as on
s3c2443/2416/2450 it's the s3c-hsudc that will be (hopefully) using the phy in
the future.
Heiko
next prev parent reply other threads:[~2012-08-07 8:11 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 7:28 [PATCH v2 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs Praveen Paneri
2012-08-07 7:28 ` Praveen Paneri
2012-08-07 7:28 ` [PATCH v2 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg Praveen Paneri
2012-08-07 7:28 ` Praveen Paneri
2012-08-07 8:11 ` Heiko Stübner [this message]
2012-08-07 8:11 ` Heiko Stübner
[not found] ` <201208071011.23558.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2012-08-07 10:05 ` Praveen Paneri
2012-08-07 10:05 ` Praveen Paneri
[not found] ` <1344324524-2286-1-git-send-email-p.paneri-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-08-07 7:28 ` [PATCH v2 2/5] usb: s3c-hsotg: Adding phy driver support Praveen Paneri
2012-08-07 7:28 ` Praveen Paneri
2012-08-07 8:03 ` Sachin Kamat
2012-08-07 8:03 ` Sachin Kamat
2012-08-07 10:09 ` Praveen Paneri
2012-08-07 10:09 ` Praveen Paneri
2012-08-07 7:28 ` [PATCH v2 3/5] ARM: S3C64XX: Removing old phy setup code Praveen Paneri
2012-08-07 7:28 ` Praveen Paneri
2012-08-07 7:28 ` [PATCH v2 4/5] ARM: S3C64XX: Enabling samsung_usbphy driver Praveen Paneri
2012-08-07 7:28 ` Praveen Paneri
2012-08-07 7:28 ` [PATCH v2 5/5] ARM: Exynos4210: " Praveen Paneri
2012-08-07 7:28 ` Praveen Paneri
2012-08-07 10:00 ` [PATCH v2 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs Kukjin Kim
2012-08-07 10:00 ` Kukjin Kim
[not found] ` <098c01cd7483$6a93eeb0$3fbbcc10$%kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-08-07 10:49 ` Praveen Paneri
2012-08-07 10:49 ` Praveen Paneri
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=201208071011.23558.heiko@sntech.de \
--to=heiko@sntech.de \
--cc=balbi@ti.com \
--cc=ben-linux@fluff.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@linuxfoundation.org \
--cc=kgene.kim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=l.majewski@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=p.paneri@samsung.com \
--cc=thomas.abraham@linaro.org \
/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.