Skip to content

platform/surface: Add DTX detachment system driver

Maximilian Luz linux-api linux-doc lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3platform/surface: Add DTX driverDocumentation/userspace-api/ioctl/ioctl-number.rst MAINTAINERS drivers/platform/surface/Kconfig +3 more+1373 -00 replies
2/3platform/surface: dtx: Add support for native SSAM devicesdrivers/platform/surface/Kconfig drivers/platform/surface/surface_dtx.c+93 -10 replies
3/3docs: driver-api: Add Surface DTX driver documentationDocumentation/driver-api/surface_aggregator/clients/dtx.rst Documentation/driver-api/surface_aggregator/clients/index.rst MAINTAINERS+720 -00 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] platform/surface: Add DTX detachment system driver

The Microsoft Surface Book series devices consist of a so-called clipboard part (containing the CPU, touchscreen, and primary battery) and a base part (containing keyboard, secondary battery, and optional discrete GPU). These parts can be separated, i.e. the clipboard can be detached and used as tablet.

This detachment process is managed by a subsystem of the Surface System Aggregator Module (SSAM). As that process is a bit more complex, i.e. can involve user interaction, it seems the best way to implement this is to provide a somewhat cleaned-up version of this interface to userspace.

This series adds a driver (and documentation) for the detachment system which provides such an interface. See the commit message of the first patch for more details and a link to a user-space daemon using this interface. Support for the Surface Book 3 is added in patch 2, user-space API documentation in patch 3.

Regards,
Max

Maximilian Luz (3):
platform/surface: Add DTX driver platform/surface: dtx: Add support for native SSAM devices
docs: driver-api: Add Surface DTX driver documentation

 .../surface_aggregator/clients/dtx.rst        |  718 +++++++++
 .../surface_aggregator/clients/index.rst      |    1 +
 .../userspace-api/ioctl/ioctl-number.rst      |    2 +
 MAINTAINERS                                   |    8 +
 drivers/platform/surface/Kconfig              |   20 +
 drivers/platform/surface/Makefile             |    1 +
 drivers/platform/surface/surface_dtx.c        | 1289 +++++++++++++++++
 include/uapi/linux/surface_aggregator/dtx.h   |  146 ++
 8 files changed, 2185 insertions(+)
 create mode 100644 Documentation/driver-api/surface_aggregator/clients/dtx.rst
 create mode 100644 drivers/platform/surface/surface_dtx.c
 create mode 100644 include/uapi/linux/surface_aggregator/dtx.h
Signature · 1 line
2.30.1