All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
Cc: andi.shyti@kernel.org, Hans de Goede <hansg@kernel.org>,
	 baocheng.su@siemens.com, tobias.schaffner@siemens.com,
	 LKML <linux-kernel@vger.kernel.org>,
	linux-i2c@vger.kernel.org,  platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v3 2/3] platform/x86/siemens: simatic-ipc: add fan monitoring support for BX-59A
Date: Fri, 4 Dec 2026 18:36:10 +0200 (EET)	[thread overview]
Message-ID: <66037d75-4f83-95fb-af9f-aa10b00398c2@linux.intel.com> (raw)
In-Reply-To: <20261116142351.1228943-3-benedikt.niedermayr@siemens.com>

[-- Attachment #1: Type: text/plain, Size: 2894 bytes --]

On Mon, 16 Nov 2026, Benedikt Niedermayr wrote:

> Some fans on the BX59-A are connected to the ADT7475 fan controller
> which is connected to the NCT6126D Super I/O chip's SMBus interface
> (supported by the i2c-nct6126 driver).
> 
> Other fans on the BX59-A are connected to the NCT6126Ds hwmon interface
> which is controlled by the nct6775 driver.
> 
> This patch enables the required drivers.
> 
> Signed-off-by: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
> ---
>  drivers/platform/x86/siemens/simatic-ipc.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/platform/x86/siemens/simatic-ipc.c b/drivers/platform/x86/siemens/simatic-ipc.c
> index 4a4509fc9263..8f99032897dd 100644
> --- a/drivers/platform/x86/siemens/simatic-ipc.c
> +++ b/drivers/platform/x86/siemens/simatic-ipc.c
> @@ -33,7 +33,7 @@ static const struct dmi_system_id simatic_ipc_whitelist[] = {
>  
>  static struct simatic_ipc_platform platform_data;
>  
> -#define SIMATIC_IPC_MAX_EXTRA_MODULES 2
> +#define SIMATIC_IPC_MAX_EXTRA_MODULES 5
>  
>  static struct {
>  	u32 station_id;
> @@ -53,10 +53,10 @@ static struct {
>  		{ "emc1403", NULL }},
>  	{SIMATIC_IPC_IPC227G,
>  		SIMATIC_IPC_DEVICE_227G, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_227G,
> -		{ "nct6775", "w83627hf_wdt" }},
> +		{ "nct6775", "w83627hf_wdt", NULL }},
>  	{SIMATIC_IPC_IPC277G,
>  		SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_227G,
> -		{ "nct6775", "w83627hf_wdt" }},
> +		{ "nct6775", "w83627hf_wdt", NULL }},
>  	{SIMATIC_IPC_IPC277E,
>  		SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_227E, SIMATIC_IPC_DEVICE_227E,
>  		{ "emc1403", NULL }},
> @@ -71,19 +71,19 @@ static struct {
>  		{ "emc1403", NULL }},
>  	{SIMATIC_IPC_IPCBX_39A,
>  		SIMATIC_IPC_DEVICE_227G, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_BX_39A,
> -		{ "nct6775", "w83627hf_wdt" }},
> +		{ "nct6775", "w83627hf_wdt", NULL }},
>  	{SIMATIC_IPC_IPCPX_39A,
>  		SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_BX_39A,
> -		{ "nct6775", "w83627hf_wdt" }},
> +		{ "nct6775", "w83627hf_wdt", NULL }},
>  	{SIMATIC_IPC_IPCBX_21A,
>  		SIMATIC_IPC_DEVICE_BX_21A, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_BX_21A,
>  		{ "emc1403", NULL }},
>  	{SIMATIC_IPC_IPCBX_56A,
>  		SIMATIC_IPC_DEVICE_BX_59A, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_BX_59A,
> -		{ "emc1403", "w83627hf_wdt" }},
> +		{ "emc1403", "w83627hf_wdt", NULL }},
>  	{SIMATIC_IPC_IPCBX_59A,
>  		SIMATIC_IPC_DEVICE_BX_59A, SIMATIC_IPC_DEVICE_NONE, SIMATIC_IPC_DEVICE_BX_59A,
> -		{ "emc1403", "w83627hf_wdt" }},
> +		{ "i2c-nct6126", "nct6775", "adt7475", "emc1403", "w83627hf_wdt"  }},
>  };
>  
>  static int register_platform_devices(u32 station_id)
> 

Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

-- 
 i.

  reply	other threads:[~2026-12-04 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 14:23 [PATCH v3 0/3] Enable fan monitoring support for Simatic IPC BX-59A Benedikt Niedermayr
2026-11-16 14:23 ` [PATCH v3 1/3] i2c: i2c-nct6126: add support for NCT6126D Super I/O Benedikt Niedermayr
2026-11-16 14:23 ` [PATCH v3 2/3] platform/x86/siemens: simatic-ipc: add fan monitoring support for BX-59A Benedikt Niedermayr
2026-12-04 16:36   ` Ilpo Järvinen [this message]
2026-11-16 14:23 ` [PATCH v3 3/3] platform/x86/siemens: simatic-ipc: enable support for RW-548A Benedikt Niedermayr
2026-12-04 16:35   ` Ilpo Järvinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=66037d75-4f83-95fb-af9f-aa10b00398c2@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=andi.shyti@kernel.org \
    --cc=baocheng.su@siemens.com \
    --cc=benedikt.niedermayr@siemens.com \
    --cc=hansg@kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=tobias.schaffner@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.