Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751303AbdHDF3y (ORCPT ); Fri, 4 Aug 2017 01:29:54 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:39036 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751093AbdHDF3x (ORCPT ); Fri, 4 Aug 2017 01:29:53 -0400 Subject: Re: [V3 1/2] phy: ralink-usb: add driver for Mediatek/Ralink To: Harvey Hunt , , , References: <1501756323-61555-1-git-send-email-harvey.hunt@imgtec.com> CC: John Crispin , , From: Kishon Vijay Abraham I Message-ID: Date: Fri, 4 Aug 2017 10:59:10 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1501756323-61555-1-git-send-email-harvey.hunt@imgtec.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1358 Lines: 48 On Thursday 03 August 2017 04:02 PM, Harvey Hunt wrote: > From: John Crispin > > Add a driver to setup the USB phy on Mediatek/Ralink SoCs. > The driver is trivial and only sets up power and host mode. > > Signed-off-by: John Crispin > Signed-off-by: Harvey Hunt > Cc: linux-kernel@vger.kernel.org > Cc: linux-mediatek@lists.infradead.org > --- > Changes in V3 > * Separate DT bindings > * Update Kconfig text > * Modify John's email address > * Rebase onto v4.13-rc3 > > Changes in V2 > * remove refcounting > * drop empty functions > * dont use static globals > * use explicit compatible strings > > drivers/phy/Kconfig | 8 ++ > drivers/phy/Makefile | 1 + > drivers/phy/phy-ralink-usb.c | 175 +++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 184 insertions(+) > create mode 100644 drivers/phy/phy-ralink-usb.c > > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index c1807d4..79f966a 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -41,6 +41,14 @@ config PHY_PISTACHIO_USB > help > Enable this to support the USB2.0 PHY on the IMG Pistachio SoC. > > +config PHY_RALINK_USB > + tristate "Ralink USB PHY driver" > + select GENERIC_PHY > + depends on RALINK depends on RALINK || COMPILE_TEST? Thanks Kishon