From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752456AbcDZNB7 (ORCPT ); Tue, 26 Apr 2016 09:01:59 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:27586 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752287AbcDZNB5 (ORCPT ); Tue, 26 Apr 2016 09:01:57 -0400 From: Jisheng Zhang To: , CC: , , , , Jisheng Zhang Subject: [RESEND PATCH v2 0/7] usb: xhci-plat: support generic PHY and vbus regulator Date: Tue, 26 Apr 2016 20:57:33 +0800 Message-ID: <1461675460-2295-1-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-04-26_07:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1604260212 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Marvell BG4CT has xhci controller. This controller has two phys: one for usb2 and another for usb3. BG4CT boards have board level vbus control through gpio. I plan to add the xhci support in two steps: first of all, add generic PHY and vbus regulator control support to the xhci-plat driver. Then add the usb2 and usb3 phy drivers, after that, we add the phy and xhci nodes in the dtsi. This series takes the first step. The first three patches are bug fix. Then two clean up patches. The last two patches add generic PHY and vbus regulator control support. Since v1: - fix NULL pointer dereference in [PATCH 7/7] Jisheng Zhang (7): usb: xhci: plat: Fix suspend/resume when the optional clk exists usb: xhci: plat: attach the usb_phy to the correct hcd usb: xhci: plat: Fix suspend/resume when the optional usb_phy exists usb: xhci: plat: sort the headers in alphabetic order usb: xhci: plat: Remove checks for optional clock in error/remove path usb: xhci: plat: add generic PHY support usb: xhci: plat: add vbus regulator control drivers/usb/host/xhci-plat.c | 162 +++++++++++++++++++++++++++++++++++++------ drivers/usb/host/xhci.h | 2 + 2 files changed, 142 insertions(+), 22 deletions(-) -- 2.8.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: jszhang@marvell.com (Jisheng Zhang) Date: Tue, 26 Apr 2016 20:57:33 +0800 Subject: [RESEND PATCH v2 0/7] usb: xhci-plat: support generic PHY and vbus regulator Message-ID: <1461675460-2295-1-git-send-email-jszhang@marvell.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The Marvell BG4CT has xhci controller. This controller has two phys: one for usb2 and another for usb3. BG4CT boards have board level vbus control through gpio. I plan to add the xhci support in two steps: first of all, add generic PHY and vbus regulator control support to the xhci-plat driver. Then add the usb2 and usb3 phy drivers, after that, we add the phy and xhci nodes in the dtsi. This series takes the first step. The first three patches are bug fix. Then two clean up patches. The last two patches add generic PHY and vbus regulator control support. Since v1: - fix NULL pointer dereference in [PATCH 7/7] Jisheng Zhang (7): usb: xhci: plat: Fix suspend/resume when the optional clk exists usb: xhci: plat: attach the usb_phy to the correct hcd usb: xhci: plat: Fix suspend/resume when the optional usb_phy exists usb: xhci: plat: sort the headers in alphabetic order usb: xhci: plat: Remove checks for optional clock in error/remove path usb: xhci: plat: add generic PHY support usb: xhci: plat: add vbus regulator control drivers/usb/host/xhci-plat.c | 162 +++++++++++++++++++++++++++++++++++++------ drivers/usb/host/xhci.h | 2 + 2 files changed, 142 insertions(+), 22 deletions(-) -- 2.8.1