From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753986AbcBIXfO (ORCPT ); Tue, 9 Feb 2016 18:35:14 -0500 Received: from mail-lf0-f47.google.com ([209.85.215.47]:32919 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752763AbcBIXfL convert rfc822-to-8bit (ORCPT ); Tue, 9 Feb 2016 18:35:11 -0500 Date: Wed, 10 Feb 2016 03:00:44 +0300 From: Antony Pavlov To: Alban Cc: linux-mips@linux-mips.org, Marek Vasut , Wills Wang , Daniel Schwierzeck , Alan Stern , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC v5 07/15] usb: ehci: add vbus-gpio parameter Message-Id: <20160210030044.7c4428af97245f2bbf995f01@gmail.com> In-Reply-To: <20160209231520.727b6ccd@tock> References: <1455005641-7079-1-git-send-email-antonynpavlov@gmail.com> <1455005641-7079-8-git-send-email-antonynpavlov@gmail.com> <20160209231520.727b6ccd@tock> X-Mailer: Sylpheed 3.5.0beta3 (GTK+ 2.24.25; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Feb 2016 23:15:20 +0100 Alban wrote: > On Tue, 9 Feb 2016 11:13:53 +0300 > Antony Pavlov wrote: > > > This patch retrieves and configures the vbus control gpio via > > the device tree. > > Wouldn't using a regulator be better than hard coding the GPIO case? > Marek Vasut has noted that it is possible to use compatible = "chipidea,usb2", which makes it possible to connect fixed vbus regulator via "vbus-supply" property. I'll try to use fixed-regulator in RFC v6. --  Best regards,   Antony Pavlov