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 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 | 50 +++++++++++++ .../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 | 4 +- drivers/platform/surface/surface_acpi_notify.c | 4 +- .../platform/surface/surface_aggregator_registry.c | 44 ++++++++++-- 8 files changed, 215 insertions(+), 40 deletions(-) --- base-commit: 1e391b34f6aa043c7afa40a2103163a0ef06d179 change-id: 20240809-topic-sam-5de2f0ec9370 Best regards, -- Konrad Dybcio <quic_kdybcio@xxxxxxxxxxx>