mbox series

[0/3] usb: typec: tps6598x: Move the driver under its own directory

Message ID 20210310104630.77945-1-heikki.krogerus@linux.intel.com (mailing list archive)
Headers show
Series usb: typec: tps6598x: Move the driver under its own directory | expand

Message

Heikki Krogerus March 10, 2021, 10:46 a.m. UTC
Hi,

The driver is going to be getting new features at one point it seems,
features like alternate mode registration, and firmware upgrading.
Some of those features will need to be implemented in their own files.
Because of that, and because the driver already consist of multiple
files, creating a separate folder for it.

The first patch is a minor fix.

thanks,

Heikki Krogerus (3):
  usb: typec: tps6598x: Fix tracepoint header file
  usb: typec: tps6598x: Move the driver under its own subdirectory
  usb: typec: tipd: Separate file for tracepoint creation

 drivers/usb/typec/Kconfig                         | 15 ++-------------
 drivers/usb/typec/Makefile                        |  5 +----
 drivers/usb/typec/tipd/Kconfig                    | 12 ++++++++++++
 drivers/usb/typec/tipd/Makefile                   |  6 ++++++
 drivers/usb/typec/{tps6598x.c => tipd/core.c}     |  6 ++----
 drivers/usb/typec/{ => tipd}/tps6598x.h           |  0
 drivers/usb/typec/tipd/trace.c                    |  9 +++++++++
 .../usb/typec/{tps6598x_trace.h => tipd/trace.h}  |  6 +++---
 8 files changed, 35 insertions(+), 24 deletions(-)
 create mode 100644 drivers/usb/typec/tipd/Kconfig
 create mode 100644 drivers/usb/typec/tipd/Makefile
 rename drivers/usb/typec/{tps6598x.c => tipd/core.c} (99%)
 rename drivers/usb/typec/{ => tipd}/tps6598x.h (100%)
 create mode 100644 drivers/usb/typec/tipd/trace.c
 rename drivers/usb/typec/{tps6598x_trace.h => tipd/trace.h} (98%)