mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF platforms
authorHector Martin <marcan@marcan.st>
Wed, 15 Dec 2021 16:10:44 +0000 (01:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:04:47 +0000 (11:04 +0100)
commit892805138cb49f0db59c44f38c6998d8a2137fce
treee724001656d55a5987ea2953e0ddfdbfdc179219
parent0c3f9c13796ea054e4683a506a404168d8456a21
mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF platforms

[ Upstream commit 189f1d9bc3a5ea3e442e119e4a5deda63da8c462 ]

This is required on some Apple ARM64 laptops using this controller.
As is typical on DT platforms, pull these quirks from the device tree
using the standard mmc bindings.

See Documentation/devicetree/bindings/mmc/mmc-controller.yaml

Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20211215161045.38843-2-marcan@marcan.st
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci-pci-gli.c