Skip to content

Commit d348b1d

Browse files
henning-schildjwrdegoede
authored andcommitted
platform/x86: simatic-ipc: add another model
Add IPC PX-39A support. Signed-off-by: Henning Schild <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent ed058ea commit d348b1d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/platform/x86/simatic-ipc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ static struct {
4747
{SIMATIC_IPC_IPC427E, SIMATIC_IPC_DEVICE_427E, SIMATIC_IPC_DEVICE_427E},
4848
{SIMATIC_IPC_IPC477E, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_427E},
4949
{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},
5051
};
5152

5253
static int register_platform_devices(u32 station_id)

include/linux/platform_data/x86/simatic-ipc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ enum simatic_ipc_station_ids {
3333
SIMATIC_IPC_IPC127E = 0x00000D01,
3434
SIMATIC_IPC_IPC227G = 0x00000F01,
3535
SIMATIC_IPC_IPCBX_39A = 0x00001001,
36+
SIMATIC_IPC_IPCPX_39A = 0x00001002,
3637
};
3738

3839
static inline u32 simatic_ipc_get_station_id(u8 *data, int max_len)

0 commit comments

Comments
 (0)