]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: simatic-ipc: add main driver for Siemens devices
authorHenning Schild <henning.schild@siemens.com>
Mon, 13 Dec 2021 12:04:59 +0000 (13:04 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 23 Dec 2021 17:09:06 +0000 (18:09 +0100)
commit335e5d314d156008ed7da07d36e674d0b01b7b2a
treed46accfbf4a598f2b0c29707affac82f300754be
parent77a04f5c6969c63bbde2065253efcea123ecdbf0
platform/x86: simatic-ipc: add main driver for Siemens devices

This mainly implements detection of these devices and will allow
secondary drivers to work on such machines.

The identification is DMI-based with a vendor specific way to tell them
apart in a reliable way.

Drivers for LEDs and Watchdogs will follow to make use of that platform
detection.

There is also some code to allow secondary drivers to find GPIO memory,
that needs to be in place because the pinctrl drivers do not come up.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Link: https://lore.kernel.org/r/20211213120502.20661-2-henning.schild@siemens.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/simatic-ipc.c [new file with mode: 0644]
include/linux/platform_data/x86/simatic-ipc-base.h [new file with mode: 0644]
include/linux/platform_data/x86/simatic-ipc.h [new file with mode: 0644]