public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: "Antoine Ténart" <antoine.tenart@free-electrons.com>
Cc: <balbi@ti.com>, <gregkh@linuxfoundation.org>,
	<Peter.Chen@freescale.com>, <kishon@ti.com>,
	<stern@rowland.harvard.edu>,
	<alexandre.belloni@free-electrons.com>,
	<thomas.petazzoni@free-electrons.com>, <zmxu@marvell.com>,
	<jszhang@marvell.com>, <linux-usb@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea
Date: Thu, 10 Jul 2014 08:42:27 -0500	[thread overview]
Message-ID: <20140710134227.GL15340@saruman.home> (raw)
In-Reply-To: <1404901036-27682-5-git-send-email-antoine.tenart@free-electrons.com>

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

On Wed, Jul 09, 2014 at 12:17:16PM +0200, Antoine Ténart wrote:
> This patch adds the support to the PHY framework for ChipIdea drivers
> while keeping the USB PHY compatibility. Changes are done in both the
> ChipIdea common code and in the drivers accessing the PHY. This is done
> by renaming 'phy' into 'usb_phy' and adding a new 'phy' member into the
> ci_hdrc structre.
> 
> Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
> ---
>  drivers/usb/chipidea/ci.h          |  4 ++-
>  drivers/usb/chipidea/ci_hdrc_imx.c |  2 +-
>  drivers/usb/chipidea/ci_hdrc_msm.c |  6 ++--
>  drivers/usb/chipidea/core.c        | 67 +++++++++++++++++++++++++++++++-------
>  drivers/usb/chipidea/debug.c       |  4 ++-
>  drivers/usb/chipidea/host.c        | 17 ++++++----
>  drivers/usb/chipidea/otg_fsm.c     |  6 ++--
>  drivers/usb/chipidea/udc.c         |  4 +--
>  include/linux/usb/chipidea.h       |  4 ++-
>  9 files changed, 86 insertions(+), 28 deletions(-)
> 
> diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h
> index 9563cb56d564..139589c8ab90 100644
> --- a/drivers/usb/chipidea/ci.h
> +++ b/drivers/usb/chipidea/ci.h
> @@ -201,7 +201,9 @@ struct ci_hdrc {
>  
>  	struct ci_hdrc_platform_data	*platdata;
>  	int				vbus_active;
> -	struct usb_phy			*transceiver;
> +	struct phy			*transceiver;
> +	/* old usb_phy interface */
> +	struct usb_phy			*usb_transceiver;

while at that, do you mind calling all struct usb_phy pointers
'usb_phy' ?

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-07-10 13:42 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 10:17 [PATCH 0/4] usb: add support for the generic PHY framework Antoine Ténart
2014-07-09 10:17 ` [PATCH 1/4] usb: move the OTG state from the USB PHY to the OTG structure Antoine Ténart
2014-07-10 13:40   ` Felipe Balbi
2014-07-10 13:47     ` Antoine Ténart
2014-07-16 15:02       ` Felipe Balbi
2014-07-15 11:27   ` Peter Chen
2014-07-22 21:33   ` Bin Liu
2014-07-23  7:08     ` Antoine Ténart
2014-07-09 10:17 ` [PATCH 2/4] usb: add support to the PHY framework for OTG Antoine Ténart
2014-07-10 13:41   ` Felipe Balbi
2014-07-09 10:17 ` [PATCH 3/4] usb: add support to the PHY framework for HCD Antoine Ténart
2014-07-09 14:41   ` Alan Stern
2014-07-09 15:08     ` Antoine Ténart
2014-07-14  9:08   ` Vivek Gautam
2014-07-15  9:09     ` Antoine Ténart
2014-07-09 10:17 ` [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea Antoine Ténart
2014-07-10 13:42   ` Felipe Balbi [this message]
2014-07-10 13:51     ` Antoine Ténart
2014-07-10 13:56       ` Felipe Balbi
2014-07-10 14:01         ` Antoine Ténart

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=20140710134227.GL15340@saruman.home \
    --to=balbi@ti.com \
    --cc=Peter.Chen@freescale.com \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=antoine.tenart@free-electrons.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jszhang@marvell.com \
    --cc=kishon@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=zmxu@marvell.com \
    /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