[PATCH v3 0/3] OF support for Surface System Aggregator Module
From: Konrad Dybcio
Date: Wed Aug 14 2024 - 06:27:46 EST
Wire up OF support for SSAM drivers, to use with Surface Laptop 7 and
other Qualcomm-based devices.
Patch 3 references compatible strings introduced in [1]
[1] https://lore.kernel.org/linux-arm-msm/20240809-topic-sl7-v1-1-2090433d8dfc@xxxxxxxxxxx/T/#u
Signed-off-by: Konrad Dybcio <quic_kdybcio@xxxxxxxxxxx>
---
Changes in v3:
- Drop unnecessary nullchecks
- Add MODULE_ALIAS in the platform hub driver
- Fix MODULE_DEVICE_TABLE after rename
- Prolong the '----' comment to 80 lines
- Change the current-speed bindings description to ": true", in
preparation for krzk's serial device bindings reorganization
- Link to v2: https://lore.kernel.org/r/20240810-topic-sam-v2-0-8a8eb368a4f0@xxxxxxxxxxx
Changes in v2:
- Fix kerneldoc
- Drop the drivers/acpi change (oops)
- Style fixes
- Don't assign int to acpi_status
- Don't scan the bus twice in SAM core probe
- Link to v1: https://lore.kernel.org/r/20240809-topic-sam-v1-0-05bca1932614@xxxxxxxxxxx
---
Konrad Dybcio (3):
dt-bindings: serial: Allow embedded-controller as child node
dt-bindings: platform: Add Surface System Aggregator Module
platform/surface: Add OF support
.../bindings/platform/microsoft,surface-sam.yaml | 47 +++++++++++++
.../devicetree/bindings/serial/serial.yaml | 2 +-
drivers/platform/surface/aggregator/bus.c | 2 +
drivers/platform/surface/aggregator/controller.c | 67 ++++++++++++++----
drivers/platform/surface/aggregator/core.c | 82 +++++++++++++++++-----
drivers/platform/surface/surface3_power.c | 1 +
drivers/platform/surface/surface_acpi_notify.c | 1 +
.../platform/surface/surface_aggregator_registry.c | 47 +++++++++++--
8 files changed, 210 insertions(+), 39 deletions(-)
---
base-commit: 1e391b34f6aa043c7afa40a2103163a0ef06d179
change-id: 20240809-topic-sam-5de2f0ec9370
Best regards,
--
Konrad Dybcio <quic_kdybcio@xxxxxxxxxxx>