Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752215AbbFVOo4 (ORCPT ); Mon, 22 Jun 2015 10:44:56 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:65344 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750991AbbFVOos (ORCPT ); Mon, 22 Jun 2015 10:44:48 -0400 X-IronPort-AV: E=Sophos;i="5.13,659,1427727600"; d="scan'208";a="190017095" From: Phil Edworthy To: Kishon Vijay Abraham I , Yoshihiro Shimoda , Simon Horman Cc: Sergei Shtylyov , , , , Phil Edworthy X-Mailer: git-send-email 1.9.1 X-TNEFEvaluated: 1 Message-ID: <1434984151-27274-1-git-send-email-phil.edworthy@renesas.com> Date: Mon, 22 Jun 2015 15:42:28 +0100 Subject: [PATCH 0/3] R-Car Gen2 USB0 Host/Function switching X-MIMETrack: Itemize by SMTP Server on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 22.06.2015 16:44:43, Serialize by Router on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 22.06.2015 16:44:45, Serialize complete at 22.06.2015 16:44:45 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 27 This patch set adds support for USB Host/Function switching using external gpios to get the vbus and id signals. I am aware that the dt binding for the USB phy will need updating, but wanted to get this patch set out first to see whether this is the best way to implement this. Phil Phil Edworthy (3): usb: renesas_usbhs: Allow an OTG PHY driver to provide VBUS phy: rcar-gen2 usb: Add Host/Function switching for USB0 arm: koelsch: make USB0 perform Host/Function switching arch/arm/boot/dts/r8a7791-koelsch.dts | 7 +- drivers/phy/phy-rcar-gen2.c | 269 ++++++++++++++++++++++++++++++--- drivers/usb/renesas_usbhs/common.h | 2 + drivers/usb/renesas_usbhs/mod.c | 3 + drivers/usb/renesas_usbhs/mod_gadget.c | 38 +++++ 5 files changed, 294 insertions(+), 25 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/