All of lore.kernel.org
 help / color / mirror / Atom feed
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] usb: xhci: plat: Add USB phy support
Date: Tue, 06 Jan 2015 22:39:15 +0300	[thread overview]
Message-ID: <54AC39E3.8050109@cogentembedded.com> (raw)
In-Reply-To: <1420559110-8043-4-git-send-email-maxime.ripard@free-electrons.com>

Hello.

On 01/06/2015 06:45 PM, Maxime Ripard wrote:

> The Marvell Armada 385 AP needs a dumb phy in order to enable the USB3 VBUS.

> Add a call to retrieve a USB PHY to XHCI plat in order to support this.

> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

[...]

> diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
> index cc7c5bb7cbcf..d9468af2a8e4 100644
> --- a/drivers/usb/host/xhci.h
> +++ b/drivers/usb/host/xhci.h
> @@ -1474,6 +1474,8 @@ struct xhci_hcd {
>   	struct msix_entry	*msix_entries;
>   	/* optional clock */
>   	struct clk		*clk;
> +	/* optional phy */
> +	struct usb_phy		*phy;

    Can't you reuse the one in 'struct usb_hcd'?

[...]

WBR, Sergei

  reply	other threads:[~2015-01-06 19:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 15:45 [PATCH 0/4] ARM: mvebu: Enable XHCI on the A385-AP Maxime Ripard
2015-01-06 15:45 ` [PATCH 1/4] usb: phy: Fix deferred probing Maxime Ripard
2015-01-07  4:41   ` Olof Johansson
2015-01-08 16:32     ` Grygorii.Strashko@linaro.org
2015-01-08 17:24       ` Felipe Balbi
2015-01-08 18:04         ` Thierry Reding
2015-01-08 18:09           ` Felipe Balbi
2015-01-06 15:45 ` [PATCH 2/4] usb: XHCI: platform: Move the Marvell quirks after the enabling the clocks Maxime Ripard
2015-01-06 15:58   ` Thomas Petazzoni
2015-01-06 15:45 ` [PATCH 3/4] usb: xhci: plat: Add USB phy support Maxime Ripard
2015-01-06 19:39   ` Sergei Shtylyov [this message]
2015-01-06 15:45 ` [PATCH 4/4] ARM: mvebu: armada-385-ap: Enable USB3 port Maxime Ripard

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=54AC39E3.8050109@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.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.