mbox series

[v2,0/3] Remove one more platform_device_add_properties() call

Message ID 20210111141045.14027-1-heikki.krogerus@linux.intel.com
Headers show
Series Remove one more platform_device_add_properties() call | expand

Message

Heikki Krogerus Jan. 11, 2021, 2:10 p.m. UTC
Hi Felipe, Rafael,

This is the second version of this series. There are no real changes,
but I added the Tiger Lake ID patch to this series in hope that it
will make your life a bit easier, assuming that Rafael will still pick
these.


The original over letter:

I originally introduced these as part of my series where I was
proposing PM ops for software nodes [1], but since that still needs
work, I'm sending these two separately.

So basically I'm only modifying dwc3-pci.c so it registers a software
node directly at this point. That will remove one more user of
platform_device_add_properties().

[1] https://lore.kernel.org/lkml/20201029105941.63410-1-heikki.krogerus@linux.intel.com/

thanks,

Heikki Krogerus (3):
  software node: Introduce device_add_software_node()
  usb: dwc3: pci: Register a software node for the dwc3 platform device
  usb: dwc3: pci: ID for Tiger Lake CPU

 drivers/base/swnode.c       | 69 ++++++++++++++++++++++++++++++++-----
 drivers/usb/dwc3/dwc3-pci.c | 65 +++++++++++++++++++++-------------
 include/linux/property.h    |  3 ++
 3 files changed, 104 insertions(+), 33 deletions(-)

Comments

Greg KH Jan. 15, 2021, 3:01 p.m. UTC | #1
On Tue, Jan 12, 2021 at 12:49:14PM +0100, Greg KH wrote:
> On Mon, Jan 11, 2021 at 05:10:42PM +0300, Heikki Krogerus wrote:

> > Hi Felipe, Rafael,

> > 

> > This is the second version of this series. There are no real changes,

> > but I added the Tiger Lake ID patch to this series in hope that it

> > will make your life a bit easier, assuming that Rafael will still pick

> > these.

> 

> I can take all 3 of these if that makes it easier.  Rafael, let me know

> what you want to do, either is fine with me.


I've added it to my usb-next branch now.

thanks,

greg k-h
Greg KH Jan. 15, 2021, 3:05 p.m. UTC | #2
On Fri, Jan 15, 2021 at 04:01:37PM +0100, Greg KH wrote:
> On Tue, Jan 12, 2021 at 12:49:14PM +0100, Greg KH wrote:

> > On Mon, Jan 11, 2021 at 05:10:42PM +0300, Heikki Krogerus wrote:

> > > Hi Felipe, Rafael,

> > > 

> > > This is the second version of this series. There are no real changes,

> > > but I added the Tiger Lake ID patch to this series in hope that it

> > > will make your life a bit easier, assuming that Rafael will still pick

> > > these.

> > 

> > I can take all 3 of these if that makes it easier.  Rafael, let me know

> > what you want to do, either is fine with me.

> 

> I've added it to my usb-next branch now.


Argh, grabbed the wrong one, will drop this and grab v3...