[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230706154831.19100-1-henning.schild@siemens.com>
Date: Thu, 6 Jul 2023 17:48:29 +0200
From: Henning Schild <henning.schild@...mens.com>
To: Hans de Goede <hdegoede@...hat.com>,
Mark Gross <markgross@...nel.org>,
<linux-kernel@...r.kernel.org>,
<platform-driver-x86@...r.kernel.org>
CC: Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Jean Delvare <jdelvare@...e.com>,
<linux-watchdog@...r.kernel.org>, <linux-hwmon@...r.kernel.org>,
"Tobias Schaffner" <tobias.schaffner@...mens.com>,
Gerd Haeussler <gerd.haeussler.ext@...mens.com>,
Henning Schild <henning.schild@...mens.com>
Subject: [PATCH 0/2] platform/x86: add CMOS battery monitoring for simatic IPCs
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
Powered by blists - more mailing lists