OSDN Git Service

platform/x86/siemens: simatic-ipc-batt: add support for module BX-59A
authorxingtong.wu <xingtong.wu@siemens.com>
Mon, 31 Jul 2023 07:21:48 +0000 (15:21 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 31 Jul 2023 12:24:44 +0000 (14:24 +0200)
commitc56beff2037549c951042d178de75e535818a98a
treeafb2270a14ef48cc729ccaaf7737cf20504b03ea
parentb8af77951941e943434a76ef40fdc372bf95030e
platform/x86/siemens: simatic-ipc-batt: add support for module BX-59A

This is used for the Siemens Simatic IPC BX-59A, which
can monitor the voltage of the CMOS battery with two bits
that indicate low or empty state

Signed-off-by: xingtong.wu <xingtong.wu@siemens.com>
Link: https://lore.kernel.org/r/20230731072148.4781-1-xingtong_wu@163.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/siemens/Kconfig
drivers/platform/x86/siemens/simatic-ipc-batt-f7188x.c
drivers/platform/x86/siemens/simatic-ipc-batt.c