mbox series

[0/2] platform/x86: add CMOS battery monitoring for simatic IPCs

Message ID 20230706154831.19100-1-henning.schild@siemens.com (mailing list archive)
Headers show
Series platform/x86: add CMOS battery monitoring for simatic IPCs | expand

Message

Henning Schild July 6, 2023, 3:48 p.m. UTC
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

Comments

Hans de Goede July 14, 2023, 9:28 a.m. UTC | #1
Hi,

On 7/6/23 17:48, Henning Schild wrote:
> 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

Thank you. I've merged both into a platform-drivers-x86-simatic-ipc
branch where I'm collecting all the pending platform/x86: simatic-ipc
work.

I'll tag + send a pull-request to Lee Jones (for some dependent LED
patches) later today.

Guenter, I'll Cc you on the pull-req in case you also want to merge
the (immutable) tag to pick up the small watchdog change in this
series.

Regards,

Hans




> 
>  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
>