Hi,

-----Original Message-----
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] 
On Behalf Of Antoine Tenart
Sent: Wednesday, September 03, 2014 3:41 PM
To: ba...@ti.com; gre...@linuxfoundation.org; Chen Peter-B29397; kis...@ti.com; 
st...@rowland.harvard.edu
Cc: Antoine Tenart; sergei.shtyl...@cogentembedded.com; 
yoshihiro.shimoda...@renesas.com; alexandre.bell...@free-electrons.com; 
thomas.petazz...@free-electrons.com; z...@marvell.com; jszh...@marvell.com; 
linux-...@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: [PATCH v4 9/9] usb: chipidea: add support to the generic PHY framework 
in ChipIdea

This patch adds support of the PHY framework for ChipIdea drivers.
Changes are done in both the ChipIdea common code and in the drivers accessing 
the PHY. This is done by adding a new PHY member in ChipIdea's structures and 
by taking care of it in the code.

Signed-off-by: Antoine Tenart <antoine.ten...@free-electrons.com>
---
 drivers/usb/chipidea/ci.h      |  5 ++-
 drivers/usb/chipidea/core.c    | 74 ++++++++++++++++++++++++++++++++++--------
 drivers/usb/chipidea/debug.c   |  3 +-
 drivers/usb/chipidea/host.c    |  5 ++-
 drivers/usb/chipidea/otg_fsm.c |  6 +++-
 include/linux/usb/chipidea.h   |  2 ++
 6 files changed, 78 insertions(+), 17 deletions(-)
...

diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index 
5a7ea93011dd..999e9d683d7a 100644
--- a/drivers/usb/chipidea/debug.c
+++ b/drivers/usb/chipidea/debug.c
@@ -219,7 +219,8 @@ static int ci_otg_show(struct seq_file *s, void *unused)
        fsm = &ci->fsm;
 
        /* ------ State ----- */
-               usb_otg_state_string(ci->usb_phy->otg.state));
+       seq_printf(s, "OTG state: %s\n\n",

Still not resolve this?

Li Jun 
+                  usb_otg_state_string(ci->otg.state)); 

        /* ------ State Machine Variables ----- */
        seq_printf(s, "a_bus_drop: %d\n", fsm->a_bus_drop); diff --git 
a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index 
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the 
body of a message to majord...@vger.kernel.org More majordomo info at  
http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to