From nobody Wed Sep 17 08:42:34 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B323C4332F for ; Thu, 22 Dec 2022 10:38:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235275AbiLVKio (ORCPT ); Thu, 22 Dec 2022 05:38:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235120AbiLVKic (ORCPT ); Thu, 22 Dec 2022 05:38:32 -0500 X-Greylist: delayed 62 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 22 Dec 2022 02:38:28 PST Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net [185.136.64.226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3694A6473 for ; Thu, 22 Dec 2022 02:38:28 -0800 (PST) Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 20221222103724d9e0325ea971d521ed for ; Thu, 22 Dec 2022 11:37:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=henning.schild@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=/5c+5ug9GWGitUxuQCC3c3hqagy8mvlYMuajEDXSXBo=; b=CGcm6YNZUb8c0OtX5H8VXgGXM7optGI+YjMlFqeQdLRokCvargx9JeZacAlbEjEfc1dUJi tCi+aANTTduEtazupwkyQ9mfnzrhN5TZ7Up41gsei72+JnCln5w/L6ubE5MPFyA3iBe7+f/K doo+hXrq4a5mBOok9aE3jQycKQKzw=; From: Henning Schild To: Hans de Goede , Mark Gross , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andy Shevchenko , Henning Schild Subject: [PATCH 1/2] platform/x86: simatic-ipc: correct name of a model Date: Thu, 22 Dec 2022 11:37:19 +0100 Message-Id: <20221222103720.8546-2-henning.schild@siemens.com> In-Reply-To: <20221222103720.8546-1-henning.schild@siemens.com> References: <20221222103720.8546-1-henning.schild@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-52304:519-21489:flowmailer Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" What we called IPC427G should be renamed to BX-39A to be more in line with the actual product name. Signed-off-by: Henning Schild --- drivers/platform/x86/simatic-ipc.c | 2 +- include/linux/platform_data/x86/simatic-ipc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/simatic-ipc.c b/drivers/platform/x86/sima= tic-ipc.c index ca76076fc706..2ab1f8da32b0 100644 --- a/drivers/platform/x86/simatic-ipc.c +++ b/drivers/platform/x86/simatic-ipc.c @@ -46,7 +46,7 @@ static struct { {SIMATIC_IPC_IPC427D, SIMATIC_IPC_DEVICE_427E, SIMATIC_IPC_DEVICE_NONE}, {SIMATIC_IPC_IPC427E, SIMATIC_IPC_DEVICE_427E, SIMATIC_IPC_DEVICE_427E}, {SIMATIC_IPC_IPC477E, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_427E}, - {SIMATIC_IPC_IPC427G, SIMATIC_IPC_DEVICE_227G, SIMATIC_IPC_DEVICE_227G}, + {SIMATIC_IPC_IPCBX_39A, SIMATIC_IPC_DEVICE_227G, SIMATIC_IPC_DEVICE_227G}, }; =20 static int register_platform_devices(u32 station_id) diff --git a/include/linux/platform_data/x86/simatic-ipc.h b/include/linux/= platform_data/x86/simatic-ipc.h index 632320ec8f08..a4a6cba412cb 100644 --- a/include/linux/platform_data/x86/simatic-ipc.h +++ b/include/linux/platform_data/x86/simatic-ipc.h @@ -32,7 +32,7 @@ enum simatic_ipc_station_ids { SIMATIC_IPC_IPC477E =3D 0x00000A02, SIMATIC_IPC_IPC127E =3D 0x00000D01, SIMATIC_IPC_IPC227G =3D 0x00000F01, - SIMATIC_IPC_IPC427G =3D 0x00001001, + SIMATIC_IPC_IPCBX_39A =3D 0x00001001, }; =20 static inline u32 simatic_ipc_get_station_id(u8 *data, int max_len) --=20 2.38.2 From nobody Wed Sep 17 08:42:34 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2C2EC001B2 for ; Thu, 22 Dec 2022 10:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235262AbiLVKiu (ORCPT ); Thu, 22 Dec 2022 05:38:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235241AbiLVKid (ORCPT ); Thu, 22 Dec 2022 05:38:33 -0500 X-Greylist: delayed 62 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 22 Dec 2022 02:38:29 PST Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36A676542 for ; Thu, 22 Dec 2022 02:38:28 -0800 (PST) Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 202212221037241505da12e8e9da2411 for ; Thu, 22 Dec 2022 11:37:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=henning.schild@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=FKMNskZUyu+3zsjd2lYrkSASIEGUhfqqUjLO0ieJ4pU=; b=ArRN8+AZRJ21b/InE16Ovq09jtA0kZ86UoY6Y2hvO0FT3oYU1mBTF4KXXkGNVYo0RGslvz eUK64wWSYQrGzTVVHdSAcSQTks7fQOtS/CZNbb+M8mPbpiydYMAjtwHgdOY84jHSOUtYMs9w B5YFuZMgUmgFjtPSgiY8IYr79m4Hc=; From: Henning Schild To: Hans de Goede , Mark Gross , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andy Shevchenko , Henning Schild Subject: [PATCH 2/2] platform/x86: simatic-ipc: add another model Date: Thu, 22 Dec 2022 11:37:20 +0100 Message-Id: <20221222103720.8546-3-henning.schild@siemens.com> In-Reply-To: <20221222103720.8546-1-henning.schild@siemens.com> References: <20221222103720.8546-1-henning.schild@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-52304:519-21489:flowmailer Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add IPC PX-39A support. Signed-off-by: Henning Schild --- drivers/platform/x86/simatic-ipc.c | 1 + include/linux/platform_data/x86/simatic-ipc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/platform/x86/simatic-ipc.c b/drivers/platform/x86/sima= tic-ipc.c index 2ab1f8da32b0..b3622419cd1a 100644 --- a/drivers/platform/x86/simatic-ipc.c +++ b/drivers/platform/x86/simatic-ipc.c @@ -47,6 +47,7 @@ static struct { {SIMATIC_IPC_IPC427E, SIMATIC_IPC_DEVICE_427E, SIMATIC_IPC_DEVICE_427E}, {SIMATIC_IPC_IPC477E, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_427E}, {SIMATIC_IPC_IPCBX_39A, SIMATIC_IPC_DEVICE_227G, SIMATIC_IPC_DEVICE_227G}, + {SIMATIC_IPC_IPCPX_39A, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_227G}, }; =20 static int register_platform_devices(u32 station_id) diff --git a/include/linux/platform_data/x86/simatic-ipc.h b/include/linux/= platform_data/x86/simatic-ipc.h index a4a6cba412cb..a48bb5240977 100644 --- a/include/linux/platform_data/x86/simatic-ipc.h +++ b/include/linux/platform_data/x86/simatic-ipc.h @@ -33,6 +33,7 @@ enum simatic_ipc_station_ids { SIMATIC_IPC_IPC127E =3D 0x00000D01, SIMATIC_IPC_IPC227G =3D 0x00000F01, SIMATIC_IPC_IPCBX_39A =3D 0x00001001, + SIMATIC_IPC_IPCPX_39A =3D 0x00001002, }; =20 static inline u32 simatic_ipc_get_station_id(u8 *data, int max_len) --=20 2.38.2