From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752341AbbLDOPA (ORCPT ); Fri, 4 Dec 2015 09:15:00 -0500 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:49509 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751866AbbLDOO7 (ORCPT ); Fri, 4 Dec 2015 09:14:59 -0500 From: Jisheng Zhang To: , CC: , , Jisheng Zhang Subject: [PATCH 0/7] usb: xhci-plat: support generic PHY and vbus regulator Date: Fri, 4 Dec 2015 22:10:45 +0800 Message-ID: <1449238252-5630-1-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-12-04_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=inbound_notspam policy=inbound 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-1507310000 definitions=main-1512040238 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. 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 | 159 +++++++++++++++++++++++++++++++++++++------ drivers/usb/host/xhci.h | 2 + 2 files changed, 140 insertions(+), 21 deletions(-) -- 2.6.2