Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: simatic-ipc: add another model

Add IPC PX-39A support.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Link: https://lore.kernel.org/r/20221222103720.8546-3-henning.schild@siemens.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Henning Schild and committed by
Hans de Goede
d348b1d7 ed058eab

+2
+1
drivers/platform/x86/simatic-ipc.c
··· 47 47 {SIMATIC_IPC_IPC427E, SIMATIC_IPC_DEVICE_427E, SIMATIC_IPC_DEVICE_427E}, 48 48 {SIMATIC_IPC_IPC477E, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_427E}, 49 49 {SIMATIC_IPC_IPCBX_39A, SIMATIC_IPC_DEVICE_227G, SIMATIC_IPC_DEVICE_227G}, 50 + {SIMATIC_IPC_IPCPX_39A, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_227G}, 50 51 }; 51 52 52 53 static int register_platform_devices(u32 station_id)
+1
include/linux/platform_data/x86/simatic-ipc.h
··· 33 33 SIMATIC_IPC_IPC127E = 0x00000D01, 34 34 SIMATIC_IPC_IPC227G = 0x00000F01, 35 35 SIMATIC_IPC_IPCBX_39A = 0x00001001, 36 + SIMATIC_IPC_IPCPX_39A = 0x00001002, 36 37 }; 37 38 38 39 static inline u32 simatic_ipc_get_station_id(u8 *data, int max_len)