From: Chris Ruehl <chris.ruehl@gtsys.com.hk>
To: Fabio Estevam <festevam@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
USB list <linux-usb@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3] usb: chipidea: hw_phymode_configure moved before ci_usb_phy_init
Date: Fri, 29 Nov 2013 10:29:10 +0800 [thread overview]
Message-ID: <5297FBF6.2060802@gtsys.com.hk> (raw)
In-Reply-To: <CAOMZO5DZ2AtM-6m9C54hEi60V=c95HzYaNW6YkiZjBy+8QWfaw@mail.gmail.com>
Hi Fabio
On Friday, November 29, 2013 10:14 AM, Fabio Estevam wrote:
> Hi Chris,
>
> On Fri, Nov 29, 2013 at 12:08 AM, Chris Ruehl<chris.ruehl@gtsys.com.hk> wrote:
>> hw_phymode_configure configures the PORTSC registers and allow the
>> following phy_inits to operate on the right parameters. This fix a problem
>> where the UPLI (ISP1504) could not detected, because the Viewport was not
>> available and returns 0's only.
>>
>> Signed-off-by: Chris Ruehl<chris.ruehl@gtsys.com.hk>
>
> I have already fixed this issue. It is in mainline now:
yeah, the hw_phymode_configure() was in the probe but not called before the
ci_usb_phy_init(ci) which triggers the inits in phy-generic.c (in my case)
My pending patches relay on this.
Did you move the hw_phy before the ci_usb_phy_init too ?
Chris
>
> commit 03779f05be6dfc48de99763f6c845a003e1e40f3
> Author: Fabio Estevam<fabio.estevam@freescale.com>
> Date: Wed Aug 14 12:43:56 2013 +0300
>
> usb: chipidea: move hw_phymode_configure() into probe
>
> Currently hw_phymode_configure() is located inside hw_device_reset(), which
> only called by chipidea udc driver.
>
> When operating in host mode, we also need to call hw_phymode_configure() in
> order to properly configure the PHY mode, so move this function into probe.
>
> After this change, USB Host1 port on mx53qsb board is functional.
>
> Signed-off-by: Fabio Estevam<fabio.estevam@freescale.com>
> Tested-by: Arnaud Patard<arnaud.patard@rtp-net.org>
> Reviewed-by: Peter Chen<peter.chen@freescale.com>
> Signed-off-by: Alexander Shishkin<alexander.shishkin@linux.intel.com>
> Signed-off-by: Greg Kroah-Hartman<gregkh@linuxfoundation.org>
>
> Regards,
>
> Fabio Estevam
--
GTSYS Limited RFID Technology
A01 24/F Gold King Industrial Bld
35-41 Tai Lin Pai Road, Kwai Chung, Hong Kong
Fax (852) 8167 4060 - Tel (852) 3598 9488
Disclaimer: http://www.gtsys.com.hk/email/classified.html
next prev parent reply other threads:[~2013-11-29 2:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-29 2:08 [PATCH 3/3] usb: chipidea: hw_phymode_configure moved before ci_usb_phy_init Chris Ruehl
2013-11-29 2:14 ` Fabio Estevam
2013-11-29 2:29 ` Chris Ruehl [this message]
2013-11-29 2:32 ` Fabio Estevam
2013-11-29 3:31 ` Peter Chen
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=5297FBF6.2060802@gtsys.com.hk \
--to=chris.ruehl@gtsys.com.hk \
--cc=alexander.shishkin@linux.intel.com \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.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.