public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	USB list <linux-usb@vger.kernel.org>
Subject: Re: [GIT PULL] USB/PHY driver changes for 4.15-rc1
Date: Tue, 14 Nov 2017 17:25:48 +0100	[thread overview]
Message-ID: <20171114162548.GB20665@kroah.com> (raw)
In-Reply-To: <20171114161010.GA19879@roeck-us.net>

On Tue, Nov 14, 2017 at 08:10:10AM -0800, Guenter Roeck wrote:
> On Tue, Nov 14, 2017 at 05:02:53PM +0200, Heikki Krogerus wrote:
> > Hi Guenter,
> > 
> > On Tue, Nov 14, 2017 at 06:48:21AM -0800, Guenter Roeck wrote:
> > > On 11/14/2017 05:17 AM, Greg KH wrote:
> > > > On Mon, Nov 13, 2017 at 09:29:36PM -0800, Linus Torvalds wrote:
> > > > > On Mon, Nov 13, 2017 at 8:19 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> > > > > > 
> > > > > > Other major thing is the typec code that moved out of staging and into
> > > > > > the "real" part of the drivers/usb/ tree, which was nice to see happen.
> > > > > 
> > > > > Hmm. So now it asks me about Type-C Port Controller Manager. Fair
> > > > > enough. I say "N", because I have none. But then it still asks me
> > > > > about that TI TPS6598x driver...
> > > > > 
> > > > > So I do see the _technical_ logic in there - the "TYPEC" config option
> > > > > is a hidden internal option, and it's selected by the things that need
> > > > > it.
> > > > > 
> > > > > But from a user perspective, this configuration model is really strange.
> > > > > 
> > > > > Why is TYPEC_TCPM something you ask the user, but not "do you want
> > > > > Type-C support"?  And if you single out the PCM side to ask about, why
> > > > > don't you single out the power delivery side?
> > > > > 
> > > > > Wouldn't it make more sense to at least ask whether I want Type-C
> > > > > power delivery chips before it then starts asking about individual PD
> > > > > drivers, the same way you asked about the port controller before you
> > > > > started asking ab out individual port controller drivers?
> > > > > 
> > > > > Or is it just me who finds this a bit odd?
> > > > 
> > > > Yes, it is odd, but then again, so is typec :(
> > > > 
> > > > I think this is an artifact of the code living in two different
> > > > directories for a while (drivers/staging/ and drivers/usb) and now
> > > > coming together.
> > > > 
> > > > Guenter, can you make up a patch to fix up the Kconfig entries in
> > > > drivers/usb/typec/Kconfig to make a bit more sense now that things are
> > > > all living in the same place in the tree?
> > > > 
> > > 
> > > I'll give it a try. Wonder if we should make TYPEC_TCPM implicit (selected)
> > > instead of having a dependency on it. After all, its use depends on the
> > > selected chip. Any thoughts ?
> > 
> > Sorry, I had not noticed Greg's answer.
> > 
> > My proposal was kinda the opposite. To make the TYPEC user selectable:
> > https://lkml.org/lkml/2017/11/14/281
> > 
> > But making TYPEC_TCPM implicit works for me too. It just means the
> > user is asked about every Type-C and Power Delivery driver always.
> > 
> I had planned to introduce a configurable TYPEC_PD for "Type-C Power
> Delivery support". Just not sure if UCSI would fit into that. But we
> can also make TYPEC configurable; I am not religious about that.
> Lets go with your patch, since you sent it out already and spent a
> lot of time writing up a description.

Looks good to me as well,

greg k-h

  reply	other threads:[~2017-11-14 16:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-13 16:19 [GIT PULL] USB/PHY driver changes for 4.15-rc1 Greg KH
2017-11-14  5:29 ` Linus Torvalds
2017-11-14 13:17   ` Greg KH
2017-11-14 14:48     ` Guenter Roeck
2017-11-14 15:02       ` Heikki Krogerus
2017-11-14 16:10         ` Guenter Roeck
2017-11-14 16:25           ` Greg KH [this message]
2017-11-14 13:23   ` Heikki Krogerus
2017-11-14 16:25     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171114162548.GB20665@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox