mmc: sdhci-pci: Add PCI IDs for Intel LKF

Message ID 20210322055356.24923-1-adrian.hunter@intel.com
State New
Headers show
Series
  • mmc: sdhci-pci: Add PCI IDs for Intel LKF
Related show

Commit Message

Adrian Hunter March 22, 2021, 5:53 a.m.
Add PCI IDs for Intel LKF eMMC and SD card host controllers.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-pci-core.c | 2 ++
 drivers/mmc/host/sdhci-pci.h      | 2 ++
 2 files changed, 4 insertions(+)

Comments

Ulf Hansson March 24, 2021, 10:20 a.m. | #1
On Mon, 22 Mar 2021 at 06:53, Adrian Hunter <adrian.hunter@intel.com> wrote:
>

> Add PCI IDs for Intel LKF eMMC and SD card host controllers.

>

> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>


Applied for next, thanks!

Kind regards
Uffe


> ---

>  drivers/mmc/host/sdhci-pci-core.c | 2 ++

>  drivers/mmc/host/sdhci-pci.h      | 2 ++

>  2 files changed, 4 insertions(+)

>

> diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c

> index 62799c1d9c0c..b3caa174effe 100644

> --- a/drivers/mmc/host/sdhci-pci-core.c

> +++ b/drivers/mmc/host/sdhci-pci-core.c

> @@ -1903,6 +1903,8 @@ static const struct pci_device_id pci_ids[] = {

>         SDHCI_PCI_DEVICE(INTEL, CMLH_SD,   intel_byt_sd),

>         SDHCI_PCI_DEVICE(INTEL, JSL_EMMC,  intel_glk_emmc),

>         SDHCI_PCI_DEVICE(INTEL, JSL_SD,    intel_byt_sd),

> +       SDHCI_PCI_DEVICE(INTEL, LKF_EMMC,  intel_glk_emmc),

> +       SDHCI_PCI_DEVICE(INTEL, LKF_SD,    intel_byt_sd),

>         SDHCI_PCI_DEVICE(O2, 8120,     o2),

>         SDHCI_PCI_DEVICE(O2, 8220,     o2),

>         SDHCI_PCI_DEVICE(O2, 8221,     o2),

> diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h

> index d0ed232af0eb..8f90c4163bb5 100644

> --- a/drivers/mmc/host/sdhci-pci.h

> +++ b/drivers/mmc/host/sdhci-pci.h

> @@ -57,6 +57,8 @@

>  #define PCI_DEVICE_ID_INTEL_CMLH_SD    0x06f5

>  #define PCI_DEVICE_ID_INTEL_JSL_EMMC   0x4dc4

>  #define PCI_DEVICE_ID_INTEL_JSL_SD     0x4df8

> +#define PCI_DEVICE_ID_INTEL_LKF_EMMC   0x98c4

> +#define PCI_DEVICE_ID_INTEL_LKF_SD     0x98f8

>

>  #define PCI_DEVICE_ID_SYSKONNECT_8000  0x8000

>  #define PCI_DEVICE_ID_VIA_95D0         0x95d0

> --

> 2.17.1

>

Patch

diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c
index 62799c1d9c0c..b3caa174effe 100644
--- a/drivers/mmc/host/sdhci-pci-core.c
+++ b/drivers/mmc/host/sdhci-pci-core.c
@@ -1903,6 +1903,8 @@  static const struct pci_device_id pci_ids[] = {
 	SDHCI_PCI_DEVICE(INTEL, CMLH_SD,   intel_byt_sd),
 	SDHCI_PCI_DEVICE(INTEL, JSL_EMMC,  intel_glk_emmc),
 	SDHCI_PCI_DEVICE(INTEL, JSL_SD,    intel_byt_sd),
+	SDHCI_PCI_DEVICE(INTEL, LKF_EMMC,  intel_glk_emmc),
+	SDHCI_PCI_DEVICE(INTEL, LKF_SD,    intel_byt_sd),
 	SDHCI_PCI_DEVICE(O2, 8120,     o2),
 	SDHCI_PCI_DEVICE(O2, 8220,     o2),
 	SDHCI_PCI_DEVICE(O2, 8221,     o2),
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h
index d0ed232af0eb..8f90c4163bb5 100644
--- a/drivers/mmc/host/sdhci-pci.h
+++ b/drivers/mmc/host/sdhci-pci.h
@@ -57,6 +57,8 @@ 
 #define PCI_DEVICE_ID_INTEL_CMLH_SD	0x06f5
 #define PCI_DEVICE_ID_INTEL_JSL_EMMC	0x4dc4
 #define PCI_DEVICE_ID_INTEL_JSL_SD	0x4df8
+#define PCI_DEVICE_ID_INTEL_LKF_EMMC	0x98c4
+#define PCI_DEVICE_ID_INTEL_LKF_SD	0x98f8
 
 #define PCI_DEVICE_ID_SYSKONNECT_8000	0x8000
 #define PCI_DEVICE_ID_VIA_95D0		0x95d0