]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/surface: aggregator_registry: omit battery & AC nodes on Surface Laptop 7
authorOliver White <oliverjwhite07@gmail.com>
Thu, 9 Apr 2026 03:43:47 +0000 (15:43 +1200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 19 May 2026 13:27:12 +0000 (16:27 +0300)
commit0488073a6c84571dd3cffe581a4a73a5fceb099d
treed2d119d7701a1a7a48194da8850da66aaf0dadcb
parent2997606dd17729404cef9821ce66dd037b6019eb
platform/surface: aggregator_registry: omit battery & AC nodes on Surface Laptop 7

Surface Laptop 7 exposes battery and AC status via Qualcomm PMIC GLINK
qcom_battmgr. Registering the standard SSAM battery and AC client
devices on this platform causes duplicate power-supply devices to
appear.

Drop the SSAM battery and AC nodes from the Surface Laptop 7 registry
group so that only the qcom_battmgr power supplies are instantiated.

Fixes: b27622f13172 ("platform/surface: Add OF support")
Signed-off-by: Oliver White <oliverjwhite07@gmail.com>
Link: https://patch.msgid.link/20260409034347.17381-1-oliverjwhite07@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/surface/surface_aggregator_registry.c