]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: aggregator_registry: Add battery subsystem devices
authorMaximilian Luz <luzmaximilian@gmail.com>
Fri, 12 Feb 2021 11:54:36 +0000 (12:54 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 6 Mar 2021 09:23:26 +0000 (10:23 +0100)
commitac3316bc2ba8f6e4a260805c868521c64a98eddd
treebc46b7b8b1972fd7444877d55415abc862215a65
parent67dfce395205895b242274c36391037f648baea5
platform/surface: aggregator_registry: Add battery subsystem devices

Add battery subsystem (TC=0x02) devices (battery and AC) to the SSAM
device registry. These devices need to be registered for 7th-generation
Surface models. On 5th- and 6th-generation models, these devices are
handled via the standard ACPI battery/AC interface, which in turn
accesses the same SSAM interface via the Surface ACPI Notify (SAN)
driver.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210212115439.1525216-4-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/surface_aggregator_registry.c