From: Henning Schild <henning.schild@siemens.com>
To: <linux-kernel@vger.kernel.org>, <linux-gpio@vger.kernel.org>,
"Bartosz Golaszewski" <brgl@bgdev.pl>,
Linus Walleij <linus.walleij@linaro.org>,
Tasanakorn Phaipool <tasanakorn@gmail.com>
Cc: Sheng-Yuan Huang <syhuang3@nuvoton.com>,
Kuan-Wei Ho <cwho@nuvoton.com>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Henning Schild <henning.schild@siemens.com>
Subject: [PATCH v3 3/3] platform/x86: simatic-ipc: enable watchdog for 227G
Date: Tue, 12 Jul 2022 16:32:37 +0200 [thread overview]
Message-ID: <20220712143237.13992-4-henning.schild@siemens.com> (raw)
In-Reply-To: <20220712143237.13992-1-henning.schild@siemens.com>
Just load the watchdog module, after having identified that machine.
That watchdog module does not have any autoloading support.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
drivers/platform/x86/simatic-ipc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/platform/x86/simatic-ipc.c b/drivers/platform/x86/simatic-ipc.c
index 1825ef21a86d..8dd686d1c9f1 100644
--- a/drivers/platform/x86/simatic-ipc.c
+++ b/drivers/platform/x86/simatic-ipc.c
@@ -96,6 +96,9 @@ static int register_platform_devices(u32 station_id)
ipc_wdt_platform_device->name);
}
+ if (station_id == SIMATIC_IPC_IPC227G)
+ request_module("w83627hf_wdt");
+
if (ledmode == SIMATIC_IPC_DEVICE_NONE &&
wdtmode == SIMATIC_IPC_DEVICE_NONE) {
pr_warn("unsupported IPC detected, station id=%08x\n",
--
2.35.1
next prev parent reply other threads:[~2022-07-12 14:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-12 14:32 [PATCH v3 0/1] add device driver for Nuvoton SIO gpio function Henning Schild
2022-07-12 14:32 ` [PATCH v3 1/3] gpio: nct6116d: add new driver for several Nuvoton super io chips Henning Schild
2022-07-12 14:49 ` Andy Shevchenko
2022-07-13 7:27 ` Bartosz Golaszewski
2022-07-13 10:39 ` Henning Schild
2022-07-19 9:39 ` Bartosz Golaszewski
2022-07-19 11:13 ` Henning Schild
2022-07-12 14:32 ` [PATCH v3 2/3] leds: simatic-ipc-leds-gpio: add new model 227G Henning Schild
2022-07-12 15:13 ` Henning Schild
2022-07-14 12:06 ` Henning Schild
2022-07-12 14:32 ` Henning Schild [this message]
2022-07-12 14:42 ` [PATCH v3 0/1] add device driver for Nuvoton SIO gpio function Andy Shevchenko
2022-07-12 15:16 ` Henning Schild
2022-07-12 15:22 ` Andy Shevchenko
2022-07-13 7:20 ` Henning Schild
2022-07-12 15:14 ` Henning Schild
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=20220712143237.13992-4-henning.schild@siemens.com \
--to=henning.schild@siemens.com \
--cc=andy.shevchenko@gmail.com \
--cc=brgl@bgdev.pl \
--cc=cwho@nuvoton.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syhuang3@nuvoton.com \
--cc=tasanakorn@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®