diff options
| author | Maximilian Luz <[email protected]> | 2022-05-27 04:34:44 +0200 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2022-06-13 17:25:08 +0200 |
| commit | 1aa4c85bab7623469271d5a9cde3e3005b56fb7c (patch) | |
| tree | f394aeaddcb03efb53620e71ebfebdfdc1486bd5 /tools/perf/scripts/python | |
| parent | 25e2ca7301bd3ca5a63a6be41d729eb42202bc21 (diff) | |
platform/surface: aggregator_registry: Generify subsystem hub functionality
The Surface System Aggregator Module (SSAM) has multiple subsystems that
can manage detachable devices. At the moment, we only support the "base"
(BAS/0x11) subsystem, which is used on the Surface Book 3 to manage
devices (including keyboard, touchpad, and secondary battery) connected
to the base of the device.
The Surface Pro 8 has a new type-cover with keyboard and touchpad, which
is managed via the KIP/0x0e subsystem. The general procedure is the
same, but with slightly different events and setup. To make
implementation of the KIP hub easier and prevent duplication, generify
the parts of the base hub that we can use for the KIP hub (or any
potential future subsystem hubs).
This also switches over to use the newly introduced "hot-remove"
functionality, which should prevent communication issues when devices
have been detached.
Lastly, also drop the undocumented and unused sysfs "state" attribute of
the base hub. It has at best been useful for debugging.
Signed-off-by: Maximilian Luz <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions