mbox series

[v3,0/2] mmc: sdhci-pci-gli: GL9755: Quirks for Apple ARM platforms

Message ID 20211215161045.38843-1-marcan@marcan.st
Headers show
Series mmc: sdhci-pci-gli: GL9755: Quirks for Apple ARM platforms | expand

Message

Hector Martin Dec. 15, 2021, 4:10 p.m. UTC
Hi folks,

This short series adds a few quirks needed to make the card readers in
Apple M1 Pro/Max MacBook laptops work properly.

The first patch should be straightforward; it just allows configuring
the CD/WP polarity based on device tree settings. There is already a
standard DT binding for this.

The second patch works around an issue with 8/16-bit MMIO reads that
only affects these platforms, for some reason.

Changes since v2:
 - Style fixes

Hector Martin (2):
  mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF
    platforms
  mmc: sdhci-pci-gli: GL975[50]: Issue 8/16-bit MMIO reads as 32-bit
    reads.

 drivers/mmc/host/sdhci-pci-gli.c | 34 ++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Comments

Ulf Hansson Dec. 21, 2021, 1:03 p.m. UTC | #1
On Wed, 15 Dec 2021 at 17:16, Hector Martin <marcan@marcan.st> wrote:
>
> Hi folks,
>
> This short series adds a few quirks needed to make the card readers in
> Apple M1 Pro/Max MacBook laptops work properly.
>
> The first patch should be straightforward; it just allows configuring
> the CD/WP polarity based on device tree settings. There is already a
> standard DT binding for this.
>
> The second patch works around an issue with 8/16-bit MMIO reads that
> only affects these platforms, for some reason.
>
> Changes since v2:
>  - Style fixes
>
> Hector Martin (2):
>   mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF
>     platforms
>   mmc: sdhci-pci-gli: GL975[50]: Issue 8/16-bit MMIO reads as 32-bit
>     reads.
>
>  drivers/mmc/host/sdhci-pci-gli.c | 34 ++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>

Applied for next, thanks!

Kind regards
Uffe