mfd: lpc_ich: Add PCI ID for Intel Braswell
Subsystems (2)
PATCH 1/1 mfd: lpc_ich: Add PCI ID for Intel Braswell
From: Alan Cox <[email protected]>
This is the same as used in Baytrail so add the new PCI ID to the driver's list of supported IDs.
Signed-off-by Alan Cox <[email protected]>
Signed-off-by Mika Westerberg <[email protected]>
--- drivers/mfd/lpc_ich.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/mfd/lpc_ich.c +6 -0
@@ -216,6 +216,7 @@ enum lpc_chipsets {LPC_BAYTRAIL ,/* Bay Trail SoC */ LPC_COLETO ,/* Coleto Creek */ LPC_WPT_LP ,/* Wildcat Point-LP */ + LPC_BRASWELL, /* Braswell SoC */ }; static struct lpc_ich_info lpc_chipset_info[] = {
@@ -519,6 +520,10 @@ static struct lpc_ich_info lpc_chipset_info[] = { .name = "Wildcat Point_LP", .iTCO_version = 2, }, + [LPC_BRASWELL] = { + .name = "Braswell SoC", + .iTCO_version = 3, + }, };/*
@@ -745,6 +750,7 @@ static const struct pci_device_id lpc_ich_ids[] = { { PCI_VDEVICE(INTEL, 0x9cc6), LPC_WPT_LP}, { PCI_VDEVICE(INTEL, 0x9cc7), LPC_WPT_LP}, { PCI_VDEVICE(INTEL, 0x9cc9), LPC_WPT_LP}, + { PCI_VDEVICE(INTEL, 0x229C), LPC_BRASWELL}, { 0, }, /* End of list */ };MODULE_DEVICE_TABLE (pci, lpc_ich_ids);
Signature · 1 line
2.1.0
Quoted 35 lines · Mika Westerberg
From: Alan Cox <[email protected]>
This is the same as used in Baytrail so add the new PCI ID to the driver's list of supported IDs.
Signed-off-by Alan Cox <[email protected]>Signed-off-by Mika Westerberg <[email protected]>--- drivers/mfd/lpc_ich.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/mfd/lpc_ich.c +5
-0@@ -216,6 +216,7 @@ enum lpc_chipsets {LPC_BAYTRAIL ,/* Bay Trail SoC */ LPC_COLETO ,/* Coleto Creek */ LPC_WPT_LP ,/* Wildcat Point-LP */ + LPC_BRASWELL, /* Braswell SoC */ }; static struct lpc_ich_info lpc_chipset_info[] = {@@ -519,6 +520,10 @@ static struct lpc_ich_info lpc_chipset_info[] = { .name = "Wildcat Point_LP", .iTCO_version = 2, }, + [LPC_BRASWELL] = { + .name = "Braswell SoC", + .iTCO_version = 3, + }, };/*
drivers/mfd/lpc_ich.c static const struct pci_device_id lpc_ich_ids[] = { · line 753
Quoted 4 lines
drivers/mfd/lpc_ich.c +1
-0@@ -745,6 +750,7 @@ static const struct pci_device_id lpc_ich_ids[] = { { PCI_VDEVICE(INTEL, 0x9cc6), LPC_WPT_LP}, { PCI_VDEVICE(INTEL, 0x9cc7), LPC_WPT_LP}, { PCI_VDEVICE(INTEL, 0x9cc9), LPC_WPT_LP}, + { PCI_VDEVICE(INTEL, 0x229C), LPC_BRASWELL},
Nit: All the other numbers are in lower case.
Please fix and re-send.
Quoted 3 lines
drivers/mfd/lpc_ich.c +0
-0{ 0, }, /* End of list */ };MODULE_DEVICE_TABLE (pci, lpc_ich_ids);
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog