From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754633AbbLKOox (ORCPT ); Fri, 11 Dec 2015 09:44:53 -0500 Received: from mail-lf0-f45.google.com ([209.85.215.45]:34378 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752991AbbLKOot (ORCPT ); Fri, 11 Dec 2015 09:44:49 -0500 Subject: Re: [PATCH] extcon-usb-gpio: add enable pin support To: Chanwoo Choi , robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, myungjoo.ham@samsung.com, devicetree@vger.kernel.org References: <4393960.B6dD3UkQy3@wasted.cogentembedded.com> <566A4B97.7080801@samsung.com> Cc: linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-usb@vger.kernel.org From: Sergei Shtylyov Organization: Cogent Embedded Message-ID: <566AE15D.1020506@cogentembedded.com> Date: Fri, 11 Dec 2015 17:44:45 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <566A4B97.7080801@samsung.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On 12/11/2015 07:05 AM, Chanwoo Choi wrote: >> Sometimes there's a real OTG chip behind the USB ID signal mapped to a GPIO >> pin: in my case it's Maxim Integrated MAX3355E which integrates Vbus charge >> pump and comparators and passes thru the ID signal from an OTG connector. > > s/thru/through ? "Thru" is valid English. >> This chip also has the SHDN# pin which should be driven high for the normal >> operation and low to save power; it is connected to a GPIO pin as well on, >> hence we'll have to teach the driver to parse the new optional device tree >> property, "enable-gpio"... > This patch description includes the double space between words. Also, I think So what? > you need to write the patch description again for formal style. Not sure I understand you. > This patch adds the specific 'enable-gpio' pin to express the SHDN#pin for MAX3355E. > I think it is not regular and standard case because maybe USB specification > don't include the SHDN#pin information. Certainly, it's not a USB pin. > I think it not appropriate way. > Instead, you better to make the MAX3355 extcon driver to support this case. OK, just didn't want to duplicate most of this driver there... > Thanks, > Chanwoo MBR, Sergei