RE: [PATCH v4 9/9] usb: chipidea: add support to the generic PHY framework in ChipIdea

From: B47624@xxxxxxxxxxxxx
Date: Thu Sep 04 2014 - 02:21:01 EST


Hi,

-----Original Message-----
From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-owner@xxxxxxxxxxxxxxx] On Behalf Of Antoine Tenart
Sent: Wednesday, September 03, 2014 3:41 PM
To: balbi@xxxxxx; gregkh@xxxxxxxxxxxxxxxxxxx; Chen Peter-B29397; kishon@xxxxxx; stern@xxxxxxxxxxxxxxxxxxx
Cc: Antoine Tenart; sergei.shtylyov@xxxxxxxxxxxxxxxxxx; yoshihiro.shimoda.uh@xxxxxxxxxxx; alexandre.belloni@xxxxxxxxxxxxxxxxxx; thomas.petazzoni@xxxxxxxxxxxxxxxxxx; zmxu@xxxxxxxxxxx; jszhang@xxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
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.tenart@xxxxxxxxxxxxxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/