[PATCH 0/2] platform/x86: add CMOS battery monitoring for simatic IPCs
From: Henning Schild
Date: Thu Jul 06 2023 - 11:49:59 EST
The real change is in p2 and p1 just prepares to multiplex an IO region.
We introduce a custom driver to read CMOS battery information on several
of the Industrial PCs.
This is based on
"[PATCH 0/1] leds: simatic-ipc-leds-gpio: add new model BX-21A"
Henning Schild (2):
watchdog: simatic-ipc-wdt: make IO region access of one model muxed
platform/x86: add CMOS battery monitoring for simatic IPCs
drivers/platform/x86/Kconfig | 48 ++++
drivers/platform/x86/Makefile | 6 +-
.../x86/simatic-ipc-batt-apollolake.c | 51 ++++
.../x86/simatic-ipc-batt-elkhartlake.c | 51 ++++
.../platform/x86/simatic-ipc-batt-f7188x.c | 70 +++++
drivers/platform/x86/simatic-ipc-batt.c | 250 ++++++++++++++++++
drivers/platform/x86/simatic-ipc-batt.h | 20 ++
drivers/platform/x86/simatic-ipc.c | 65 ++++-
drivers/watchdog/simatic-ipc-wdt.c | 9 +-
.../platform_data/x86/simatic-ipc-base.h | 1 +
10 files changed, 553 insertions(+), 18 deletions(-)
create mode 100644 drivers/platform/x86/simatic-ipc-batt-apollolake.c
create mode 100644 drivers/platform/x86/simatic-ipc-batt-elkhartlake.c
create mode 100644 drivers/platform/x86/simatic-ipc-batt-f7188x.c
create mode 100644 drivers/platform/x86/simatic-ipc-batt.c
create mode 100644 drivers/platform/x86/simatic-ipc-batt.h
--
2.39.3