diff mbox

mmc: sdhci-acpi: support 80860F14 UID 2 SDIO bus

Message ID 20161201203303.24676-1-drake@endlessm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Drake Dec. 1, 2016, 8:33 p.m. UTC
Add an entry for the SDIO bus in the ECS EF20 cherry trail laptop:

  Device (SDHB) {
    Name (_ADR, 0x00110000)
    Name (_HID, "80860F14" /* Intel Baytrail SDIO/MMC Host Controller */)
    Name (_CID, "PNP0D40" /* SDA Standard Compliant SD Host Controller */)
    Name (_DDN, "Intel(R) SDIO Controller - 80862295")
    Name (_UID, 0x02)
    Name (_HRV, One)

A SDHB device with the same _HID and _UID can also be found on other
cherry trail products like Chuwi Hi10.

Signed-off-by: Daniel Drake <drake@endlessm.com>
---
 drivers/mmc/host/sdhci-acpi.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Adrian Hunter Dec. 2, 2016, 1:41 p.m. UTC | #1
On 01/12/16 22:33, Daniel Drake wrote:
> Add an entry for the SDIO bus in the ECS EF20 cherry trail laptop:
> 
>   Device (SDHB) {
>     Name (_ADR, 0x00110000)
>     Name (_HID, "80860F14" /* Intel Baytrail SDIO/MMC Host Controller */)
>     Name (_CID, "PNP0D40" /* SDA Standard Compliant SD Host Controller */)
>     Name (_DDN, "Intel(R) SDIO Controller - 80862295")
>     Name (_UID, 0x02)
>     Name (_HRV, One)
> 
> A SDHB device with the same _HID and _UID can also be found on other
> cherry trail products like Chuwi Hi10.
> 
> Signed-off-by: Daniel Drake <drake@endlessm.com>

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

> ---
>  drivers/mmc/host/sdhci-acpi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
> index 81d4dc0..160f695 100644
> --- a/drivers/mmc/host/sdhci-acpi.c
> +++ b/drivers/mmc/host/sdhci-acpi.c
> @@ -328,6 +328,7 @@ static const struct sdhci_acpi_uid_slot sdhci_acpi_uids[] = {
>  	{ "80865ACC", NULL, &sdhci_acpi_slot_int_emmc },
>  	{ "80865AD0", NULL, &sdhci_acpi_slot_int_sdio },
>  	{ "80860F14" , "1" , &sdhci_acpi_slot_int_emmc },
> +	{ "80860F14" , "2" , &sdhci_acpi_slot_int_sdio },
>  	{ "80860F14" , "3" , &sdhci_acpi_slot_int_sd   },
>  	{ "80860F16" , NULL, &sdhci_acpi_slot_int_sd   },
>  	{ "INT33BB"  , "2" , &sdhci_acpi_slot_int_sdio },
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ulf Hansson Dec. 5, 2016, 1:18 p.m. UTC | #2
On 1 December 2016 at 21:33, Daniel Drake <drake@endlessm.com> wrote:
> Add an entry for the SDIO bus in the ECS EF20 cherry trail laptop:
>
>   Device (SDHB) {
>     Name (_ADR, 0x00110000)
>     Name (_HID, "80860F14" /* Intel Baytrail SDIO/MMC Host Controller */)
>     Name (_CID, "PNP0D40" /* SDA Standard Compliant SD Host Controller */)
>     Name (_DDN, "Intel(R) SDIO Controller - 80862295")
>     Name (_UID, 0x02)
>     Name (_HRV, One)
>
> A SDHB device with the same _HID and _UID can also be found on other
> cherry trail products like Chuwi Hi10.
>
> Signed-off-by: Daniel Drake <drake@endlessm.com>

Thanks, applied for next!

Kind regards
Uffe

> ---
>  drivers/mmc/host/sdhci-acpi.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
> index 81d4dc0..160f695 100644
> --- a/drivers/mmc/host/sdhci-acpi.c
> +++ b/drivers/mmc/host/sdhci-acpi.c
> @@ -328,6 +328,7 @@ static const struct sdhci_acpi_uid_slot sdhci_acpi_uids[] = {
>         { "80865ACC", NULL, &sdhci_acpi_slot_int_emmc },
>         { "80865AD0", NULL, &sdhci_acpi_slot_int_sdio },
>         { "80860F14" , "1" , &sdhci_acpi_slot_int_emmc },
> +       { "80860F14" , "2" , &sdhci_acpi_slot_int_sdio },
>         { "80860F14" , "3" , &sdhci_acpi_slot_int_sd   },
>         { "80860F16" , NULL, &sdhci_acpi_slot_int_sd   },
>         { "INT33BB"  , "2" , &sdhci_acpi_slot_int_sdio },
> --
> 2.9.3
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
index 81d4dc0..160f695 100644
--- a/drivers/mmc/host/sdhci-acpi.c
+++ b/drivers/mmc/host/sdhci-acpi.c
@@ -328,6 +328,7 @@  static const struct sdhci_acpi_uid_slot sdhci_acpi_uids[] = {
 	{ "80865ACC", NULL, &sdhci_acpi_slot_int_emmc },
 	{ "80865AD0", NULL, &sdhci_acpi_slot_int_sdio },
 	{ "80860F14" , "1" , &sdhci_acpi_slot_int_emmc },
+	{ "80860F14" , "2" , &sdhci_acpi_slot_int_sdio },
 	{ "80860F14" , "3" , &sdhci_acpi_slot_int_sd   },
 	{ "80860F16" , NULL, &sdhci_acpi_slot_int_sd   },
 	{ "INT33BB"  , "2" , &sdhci_acpi_slot_int_sdio },