Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5222531img; Wed, 27 Mar 2019 04:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+vUhlnmNwvyCN20yM9Ppjb89wdbFyJ1F2L019LcDspheW01L0Yateo+ugBTnLNJLGot/2 X-Received: by 2002:a63:f558:: with SMTP id e24mr33347478pgk.373.1553686715800; Wed, 27 Mar 2019 04:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553686715; cv=none; d=google.com; s=arc-20160816; b=g9/YLgCcvtV1LTocvq3YabiT1xGuyAizHaDk0beF9iVhxk2jeVxu1SZPkzDOMnIcvC TemT3ufK0q5tEyoC5YLdZtTPtpXR/YJOTUhZUE6UXUt95a422iKQ8dcqpBSDbqnq2wUY tuRUgPCLds40fQVEXLRQ4NEvQClrz9sfWfcspgCqBvYKh5MgyJSXNkvDaFPUn5nB4g/5 PwBBmiNPmnYSB0IqmMhkSy5FiZLcoTjPsA0xJy+pXiqisg5r+RjwP5JczhJX9+UxJ/6J w/D5SRtjNWNIXexUrACtL96uIKES8Kv4sriWQ0eOaVXj487ShtmQwOQv8SYEtF34k7Q9 q6BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=YM0oB4FplgXR+sCLF0VNM1snwLb5RkA+/UJwPyNDyEI=; b=Lz5ZVylHXQnaXiqoejzDc0t4GwgpRVQyZdUNsI4Ng1CiYZKq9cCHWcsXJHHGNyEH11 fLku5fZ4uYde2wRsxBG6XeAQz9Gw56I9FPzrojjOI/r5zGwmXXb7QxeuhXKS1j5BCXVN UlQamIoTsAboTAUqyxZXXxHoSDJ/1Ddyx/Y8Zb6zysEv4+Gpq9ADr+V1SHQddWCvYKjL kk2BMRWsMsxK848rZAyso95+UqlTC+vNmzB+r31u7UprgAjUsuHG8BTdNnEvbivjws7y RTg+mqaKakKZyjqvDE22J966OJy+L+m3t7aqKcubeuX1e0DYky4/tRnOgf0sI3grAgyr VkmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="ef2r/5nV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si13818683pgh.458.2019.03.27.04.38.19; Wed, 27 Mar 2019 04:38:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="ef2r/5nV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728461AbfC0Lhh (ORCPT + 99 others); Wed, 27 Mar 2019 07:37:37 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:41942 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbfC0Lhh (ORCPT ); Wed, 27 Mar 2019 07:37:37 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x2RBbTC2125940; Wed, 27 Mar 2019 06:37:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1553686649; bh=YM0oB4FplgXR+sCLF0VNM1snwLb5RkA+/UJwPyNDyEI=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ef2r/5nVP2dRl6cBz1Zw1RDNjEeSVgHhNmPNSmqfepsgUL52JkjofQHc6D0e0/aFx impAmNKhwgnveVH90LB0QpgJb7KA/58xVpqe0sYOu3Y72U1y9cgJJSVI6Y9+flcf1o W3xGBHALjRZoR3zkVSbHk0V2iuSGTVXxmaJfIi9Y= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x2RBbTbg032080 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 Mar 2019 06:37:29 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 27 Mar 2019 06:37:29 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 27 Mar 2019 06:37:29 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x2RBbQhD056452; Wed, 27 Mar 2019 06:37:27 -0500 Subject: Re: [PATCH 0/3] ARM: davinci: ohci-da8xx: model the vbus GPIO as a fixed regulator To: Bartosz Golaszewski , Kevin Hilman , Alan Stern , Greg Kroah-Hartman CC: , , , Bartosz Golaszewski References: <20190326155728.5432-1-brgl@bgdev.pl> From: Sekhar Nori Message-ID: <712540aa-6927-9141-4f0c-740193d26f33@ti.com> Date: Wed, 27 Mar 2019 17:07:26 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190326155728.5432-1-brgl@bgdev.pl> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bart, On 26/03/19 9:27 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Adding the vbus GPIO support to the ohci-da8xx driver isn't really the > optimal solution. Rather: it should be modeled as a fixed regulator > in which case the driver already has support. Can you clarify "driver already has support"? You are introducing support to use the VBUS gpio as regulator as part of 3/3. I do see other instances of VBUS regulator being used in USB tree. But we just converted the driver to use VBUS and over-current GPIOs in v5.1. So this is a bit of "churn". Can you document why the current solution is not optimal? Is it to make future device-tree conversion for these boards easier? Or? > > This series adds necessary fixups to the board files and removes the > vbus GPIO from the ohci driver. Thanks, Sekhar