Skip to content

usb: typec: tps6598x: Move the driver under its own directory

Heikki Krogerus linux-usb 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: typec: tps6598x: Fix tracepoint header filedrivers/usb/typec/tps6598x_trace.h+2 -20 replies
2/3usb: typec: tps6598x: Move the driver under its own subdirectorydrivers/usb/typec/Kconfig drivers/usb/typec/Makefile drivers/usb/typec/tipd/Kconfig +4 more+19 -170 replies
3/3usb: typec: tipd: Separate file for tracepoint creationdrivers/usb/typec/tipd/Makefile drivers/usb/typec/tipd/core.c drivers/usb/typec/tipd/trace.c +1 more+15 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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%)
Signature · 1 line
2.30.1