The Mahua-based Surface Laptop 13.8" 8th Edition exposes the same SAM
client devices as the Surface Laptop 7: keyboard, fan and platform
profile. Battery and AC status come from pmic-glink here as well, so
the Surface Laptop 7 node group can be reused as is.

Signed-off-by: Gopikrishna Garmidi <[email protected]>
---
 drivers/platform/surface/surface_aggregator_registry.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/platform/surface/surface_aggregator_registry.c 
b/drivers/platform/surface/surface_aggregator_registry.c
index 061d4a567a06..cf3ae252b1c4 100644
--- a/drivers/platform/surface/surface_aggregator_registry.c
+++ b/drivers/platform/surface/surface_aggregator_registry.c
@@ -517,6 +517,8 @@ static const struct of_device_id 
ssam_platform_hub_of_match[] __maybe_unused = {
        /* Surface Laptop 7 */
        { .compatible = "microsoft,romulus13", (void *)ssam_node_group_sl7 },
        { .compatible = "microsoft,romulus15", (void *)ssam_node_group_sl7 },
+       /* Surface Laptop 8th Edition (13.8") */
+       { .compatible = "microsoft,surface-laptop-8-13in", (void 
*)ssam_node_group_sl7 },
        { },
 };
 

-- 
2.34.1

Reply via email to