[PATCH] watchdog: Add Intel Apollo Lake to iTCO driver

6 views
Skip to first unread message

Christian Storm

unread,
Apr 3, 2019, 11:25:13 AM4/3/19
to efibootg...@googlegroups.com, Christian Storm
From: Christian Storm <christi...@siemens.com>

As found, e.g., on SIEMENS SIMATIC IPC127E.

Signed-off-by: Christian Storm <christi...@siemens.com>
---
drivers/watchdog/itco.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/watchdog/itco.c b/drivers/watchdog/itco.c
index b7b6e80..f46379d 100644
--- a/drivers/watchdog/itco.c
+++ b/drivers/watchdog/itco.c
@@ -18,6 +18,7 @@

#define PCI_DEVICE_ID_INTEL_BAYTRAIL 0x0f1c
#define PCI_DEVICE_ID_INTEL_WPT_LP 0x9cc3
+#define PCI_DEVICE_ID_INTEL_APL 0x5ae8

#define PMBASE_REG 0x40
# define PMBASE_ADDRMASK 0xff00
@@ -44,7 +45,8 @@ init(EFI_PCI_IO *pci_io, UINT16 pci_vendor_id, UINT16 pci_device_id,

if (!pci_io || pci_vendor_id != PCI_VENDOR_ID_INTEL ||
(pci_device_id != PCI_DEVICE_ID_INTEL_BAYTRAIL &&
- pci_device_id != PCI_DEVICE_ID_INTEL_WPT_LP)) {
+ pci_device_id != PCI_DEVICE_ID_INTEL_WPT_LP &&
+ pci_device_id != PCI_DEVICE_ID_INTEL_APL)) {
return EFI_UNSUPPORTED;
}

--
2.21.0

Jan Kiszka

unread,
Apr 3, 2019, 11:37:39 AM4/3/19
to [ext] Christian Storm, efibootg...@googlegroups.com
Thanks, applied.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
Reply all
Reply to author
Forward
0 new messages