mbox series

[v2,00/10] usb: typec: A few more improvements for Intel CHT

Message ID 20180903133616.71051-1-heikki.krogerus@linux.intel.com (mailing list archive)
Headers show
Series usb: typec: A few more improvements for Intel CHT | expand

Message

Heikki Krogerus Sept. 3, 2018, 1:36 p.m. UTC
Hi,

I've now removed the conditional creation of the mux device, and the
connection for it that was checked in intel_cht_int33fe.c. I'm instead
making the intel_cht_int33fe driver depend on the mux drivers. I also
added a trivial cleanup patch (patch 10/10) for the fusb302.c to this
series, and also a few fixes (1/10 and 2/10) to the mux handling.

The origin thread can be read here:
https://www.spinics.net/lists/linux-usb/msg172033.html


Heikki Krogerus (10):
  usb: typec: Take care of driver module reference counting
  usb: roles: Handle driver reference counting
  platform: x86: intel_cht_int33fe: Add dependency on muxes
  drivers: base: Helpers for adding device connection descriptions
  platform: x86: intel_cht_int33fe: Register all connections at once
  platform: x86: intel_cht_int33fe: Fix the identifier for the mux
    connection
  platform: x86: intel_cht_int33fe: Add connections for the USB Type-C
    port
  usb: typec: class: Don't use port parent for getting mux handles
  platform: x86: intel_cht_int33fe: Remove the old connections for the
    muxes
  usb: typec: fusb302: reorganizing the probe function a little

 drivers/platform/x86/Kconfig             |  2 ++
 drivers/platform/x86/intel_cht_int33fe.c | 20 +++++--------
 drivers/usb/common/roles.c               | 15 ++++++++--
 drivers/usb/typec/class.c                | 38 ++++++++++--------------
 drivers/usb/typec/fusb302/fusb302.c      | 25 ++++++----------
 drivers/usb/typec/mux.c                  | 17 ++++++++---
 include/linux/device.h                   | 24 +++++++++++++++
 7 files changed, 82 insertions(+), 59 deletions(-)

Comments

Andy Shevchenko Sept. 3, 2018, 2:23 p.m. UTC | #1
On Mon, Sep 3, 2018 at 4:37 PM Heikki Krogerus
<heikki.krogerus@linux.intel.com> wrote:
>
> Hi,
>
> I've now removed the conditional creation of the mux device, and the
> connection for it that was checked in intel_cht_int33fe.c. I'm instead
> making the intel_cht_int33fe driver depend on the mux drivers. I also
> added a trivial cleanup patch (patch 10/10) for the fusb302.c to this
> series, and also a few fixes (1/10 and 2/10) to the mux handling.
>
> The origin thread can be read here:
> https://www.spinics.net/lists/linux-usb/msg172033.html
>
>

Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>

for PDx86 bits on condition that Hans is fine with them.

> Heikki Krogerus (10):
>   usb: typec: Take care of driver module reference counting
>   usb: roles: Handle driver reference counting
>   platform: x86: intel_cht_int33fe: Add dependency on muxes
>   drivers: base: Helpers for adding device connection descriptions
>   platform: x86: intel_cht_int33fe: Register all connections at once
>   platform: x86: intel_cht_int33fe: Fix the identifier for the mux
>     connection
>   platform: x86: intel_cht_int33fe: Add connections for the USB Type-C
>     port
>   usb: typec: class: Don't use port parent for getting mux handles
>   platform: x86: intel_cht_int33fe: Remove the old connections for the
>     muxes
>   usb: typec: fusb302: reorganizing the probe function a little
>
>  drivers/platform/x86/Kconfig             |  2 ++
>  drivers/platform/x86/intel_cht_int33fe.c | 20 +++++--------
>  drivers/usb/common/roles.c               | 15 ++++++++--
>  drivers/usb/typec/class.c                | 38 ++++++++++--------------
>  drivers/usb/typec/fusb302/fusb302.c      | 25 ++++++----------
>  drivers/usb/typec/mux.c                  | 17 ++++++++---
>  include/linux/device.h                   | 24 +++++++++++++++
>  7 files changed, 82 insertions(+), 59 deletions(-)
>
> --
> 2.18.0
>