Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292055

Re: [PATCH v2] extcon: add Maxim MAX3355 driver

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] extcon: add Maxim MAX3355 driver
Date Tue, 15 Dec 2015 12:30:01 +0100
Message-ID <qFVXP-3nl-1@gated-at.bofh.it> (permalink)
References <qEFiq-2CJ-13@gated-at.bofh.it> <qFq7E-7FC-15@gated-at.bofh.it> <qFFgn-Lk-29@gated-at.bofh.it> <qFJN0-3NK-9@gated-at.bofh.it> <qFJN0-3NK-7@gated-at.bofh.it> <qFL2q-4xi-21@gated-at.bofh.it>
X-Original-To Greg KH <greg@kroah.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=SkB0tnBce8jcbwGLV2X8LQ+QN+1T7eyzYa4CukGic6o=; b=DlPUZFB5maZrnm+nH5nMLzIkcRXFiFjQGFVd7DF1Ca7rCEOCH6If7OaLJCDaI2ZnLR Zb+1QkCHCh/G0yyIMR3eEh4TY2PeKk14VBjExFdUmSrcZ5AVT94gjDOZZuvXNB9WXNIP U0BUAYenLkf0A0mZFs/X9bRTk3MNrJiSAmzWiWaO2Qgn30uPekTk6lqAAkLQcc9Iso9g XFSoKG9ahdK/OeHltTZyuqNkD9QV6RiA5eI2jZLVHZp9WQGO5Z+8FlnmqWkcoJulNd3Z i8r0BAvWBnXhjbvrJbGmrtfmm6CFUN2ZrYeAvipGl/4yP2Vl0oDU1cHs3ahnIRgeFSG1 uBUA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=SkB0tnBce8jcbwGLV2X8LQ+QN+1T7eyzYa4CukGic6o=; b=drfOzqZkb2WOj5KsyBbbw+z7zPreCGBVadvZnk6dNIkmlTM3XRZA4FpHWLRKXDguE5 dUsw6xTOLcREOCX6xF5N14NtYVAISvNYZoLFlvzA7dyS10PwtISgaz1VT31SVhbUAMSO z5/UK3eEDgTpBSyGmuvvz/6Ozz4pPPGW6Tr968kQZDqYZVJkyC9Qe2Nsp74NtzONFaOF kIGmRw/l/maAiYhUGFJrexWqhlhcqVFtkyKEXICOSAHJVaqsjtSzPremhPkKLWIKV7mm 6Ygcx0a4cGiYQGQ0/P/eqM4LsS9p29L35bY77uILJqhKk3YcmmYTGhdgCdzCrr588KaJ JNVQ==
X-Gm-Message-State ALoCoQkul5sHZwBAfkSJcgr54z2TUGet+zm+qb7YaVZF3YVo8vlVlleEUW33S4Cmc9Y42+ItjtF8PHXiwbLoqVknEyJ8ALk44Q==
X-Received by 10.112.61.166 with SMTP id q6mr15399088lbr.70.1450178698708; Tue, 15 Dec 2015 03:24:58 -0800 (PST)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 59
Organization linux.* mail to news gateway
X-Original-Cc Rob Herring <robh@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, MyungJoo Ham <myungjoo.ham@samsung.com>, Chanwoo Choi <cw00.choi@samsung.com>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, SH-Linux <linux-sh@vger.kernel.org>, Linux USB List <linux-usb@vger.kernel.org>
X-Original-Date Tue, 15 Dec 2015 14:24:56 +0300
X-Original-Message-ID <566FF888.8060200@cogentembedded.com>
X-Original-References <5045536.UEVncNCOZE@wasted.cogentembedded.com> <20151214012400.GA9506@rob-hp-laptop> <566EFE0A.4000104@cogentembedded.com> <CAL_JsqJ2RQcJY27B=emzKT6HQ4XEp=XjSqufx5742yvFt3Wfxw@mail.gmail.com> <566F42BF.30109@cogentembedded.com> <20151214234446.GA10671@kroah.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1292055

Show key headers only | View raw


Hello.

On 12/15/2015 2:44 AM, Greg KH wrote:

>>>>>> Maxim  Integrated MAX3355E chip integrates a  charge pump and comparators
>>>>>> to
>>>>>> enable a system with an integrated USB OTG dual-role transceiver to
>>>>>> function
>>>>>> as  an USB  OTG dual-role device.  In addition  to sensing/controlling
>>>>>> Vbus,
>>>>>> the chip also passes thru the ID signal  from the USB  OTG connector.
>>>>>> On some Renesas boards,  this signal is  just fed into the SoC thru a
>>>>>> GPIO
>>>>>> pin --  there's no real  OTG controller, only host and gadget USB
>>>>>> controllers
>>>>>> sharing the same USB bus; however, we'd  like to allow host or gadget
>>>>>> drivers
>>>>>> to be loaded depending on the cable type,  hence the need for the MAX3355
>>>>>> extcon driver. The Vbus status signals are also  wired to GPIOs (however,
>>>>>> we
>>>>>> aren't currently interested in them),  the OFFVBUS# signal is controlled
>>>>>> by
>>>>>> the host controllers, there's  also the SHDN# signal wired to a GPIO, it
>>>>>> should be driven high for the  normal operation.
>>>>>
>>>>>
>>>>> As multiple people have said, fix the spacing here.
>>>>
>>>>
>>>>     You are the first to complain abou _this_ patch. If you don't have other
>>>> issues with this driver in which case you should have trimmed the reply at
>>>> this point), I'd like to keep my spacing as is. Thank you.
>>>
>>> Your previous version was not "extcon-usb-gpio: add enable pin
>>> support"[1] which has now been re-written to be max3355 specific?
>>
>>     No, the MAX3355 driver pre-dates that version. First there was a driver,
>> then I tried to re-use the existing stuff (there was no extcon-usb-gpio at
>> the time of writing my driver), then had to return to the separate driver
>> idea...
>>
>>> "So
>>> what" and "I'd like to keep my spacing as is" aren't valid reasons.
>>> Fix it, then I'll look at the rest again.
>>
>>     I'll consider doing that if you care to explain what's the problem with
>> my spacing. TIA.
>
> You are mixing 2 and 1 spaces between words, don't do that.

    Care to just explain why?

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] extcon: add Maxim MAX3355 driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-12 00:30 +0100
  Re: [PATCH v2] extcon: add Maxim MAX3355 driver Rob Herring <robh@kernel.org> - 2015-12-14 02:30 +0100
    Re: [PATCH v2] extcon: add Maxim MAX3355 driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-14 18:40 +0100
      Re: [PATCH v2] extcon: add Maxim MAX3355 driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-14 23:30 +0100
        Re: [PATCH v2] extcon: add Maxim MAX3355 driver Greg KH <greg@kroah.com> - 2015-12-15 00:50 +0100
          Re: [PATCH v2] extcon: add Maxim MAX3355 driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-15 12:30 +0100
            Re: [PATCH v2] extcon: add Maxim MAX3355 driver Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-15 12:30 +0100
              Re: [PATCH v2] extcon: add Maxim MAX3355 driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-15 13:00 +0100
                Re: [PATCH v2] extcon: add Maxim MAX3355 driver Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-15 13:20 +0100
            Re: [PATCH v2] extcon: add Maxim MAX3355 driver Greg KH <greg@kroah.com> - 2015-12-15 20:00 +0100
              Re: [PATCH v2] extcon: add Maxim MAX3355 driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-15 20:10 +0100
      Re: [PATCH v2] extcon: add Maxim MAX3355 driver Rob Herring <robh@kernel.org> - 2015-12-14 23:30 +0100
  Re: [PATCH v2] extcon: add Maxim MAX3355 driver Chanwoo Choi <cw00.choi@samsung.com> - 2015-12-15 02:30 +0100
    Re: [PATCH v2] extcon: add Maxim MAX3355 driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-15 20:20 +0100

csiph-web