Skip to content

Add Genesys Logic GL975x support

Ben Chuang linux-mmc lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest5 patches 5 repliesIn review
  2. v85 patches 2 repliesSuperseded
  3. v75 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v65 patches7 repliesApplied
v54 patches5 repliesSuperseded

Changes in v9 from the cover letter

- refine gli_set_9750_rx_inv()
- modify comments in sdhci_gli_voltage_switch()

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mmc: sdhci: Change timeout of loop for checking internal clock stabledrivers/mmc/host/sdhci.c+2 -20 replies
2/5mmc: sdhci: Add PLL Enable support to internal clock setupdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+24 -00 replies
3/5PCI: Add Genesys Logic, Inc. Vendor IDinclude/linux/pci_ids.h+2 -00 replies
4/5mmc: sdhci: Export sdhci_abort_tuning function symboldrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+3 -10 replies
5/5mmc: host: sdhci-pci: Add Genesys Logic GL975x supportdrivers/mmc/host/Kconfig drivers/mmc/host/Makefile drivers/mmc/host/sdhci-pci-core.c +2 more+362 -15 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAdrian Hunter
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH V9 0/5] Add Genesys Logic GL975x support

From: Ben Chuang <[email protected]>

The patches modify internal clock setup to match SD Host Controller Simplified Specifications 4.20 and support Genesys Logic GL9750/GL9755 chipsets.

v9:
- refine gli_set_9750_rx_inv()
- modify comments in sdhci_gli_voltage_switch()

v8:
refine codes in sdhci-gli-pci.c
- remove duplicate assignment
- remove redundant delay
- use '!!'(not not) logical operator to refine the true/false condition
- check end condition after outter loop
- add comments for delay 5ms in sdhci_gli_voltage_switch()
- merge two logical conditions to one line

v7:
- remove condition define CONFIG_MMC_SDHCI_IO_ACCESSORS from sdhci-pci-gli.c
- making the accessors(MMC_SDHCI_IO_ACCESSORS) always available when selecting MMC_SDHCI_PCI in Kconfig

V6:
- export sdhci_abot_tuning() function symbol
- use C-style comments
- use BIT, FIELD_{GET,PREP} and GENMASK to define bit fields of register
- use host->ops->platform_execute_tuning instead of mmc->ops->execute_tuning
- call sdhci_reset() instead of duplicating the code in sdhci_gl9750_reset
- remove .hw_reset
- use condition define CONFIG_MMC_SDHCI_IO_ACCESSORS for read_l

V5:
- add "change timeout of loop .." to a patch
- fix typo "verndor" to "vendor"

V4:
- change name from sdhci_gli_reset to sdhci_gl9750_reset
- fix sdhci_reset to sdhci_gl9750_reset in sdhci_gl9750_ops
- fix sdhci_gli_reset to sdhci_reset in sdhci_gl9755_ops

V3:
- change usleep_range to udelay
- add Genesys Logic PCI Vendor ID to a patch
- separate the Genesys Logic specific part to a patch

V2:
- change udelay to usleep_range

Ben Chuang (5):
mmc: sdhci: Change timeout of loop for checking internal clock stable
mmc: sdhci: Add PLL Enable support to internal clock setup
PCI: Add Genesys Logic, Inc. Vendor ID
mmc: sdhci: Export sdhci_abort_tuning function symbol
mmc: host: sdhci-pci: Add Genesys Logic GL975x support

 drivers/mmc/host/Kconfig          |   1 +
 drivers/mmc/host/Makefile         |   2 +-
 drivers/mmc/host/sdhci-pci-core.c |   2 +
 drivers/mmc/host/sdhci-pci-gli.c  | 353 ++++++++++++++++++++++++++++++
 drivers/mmc/host/sdhci-pci.h      |   5 +
 drivers/mmc/host/sdhci.c          |  30 ++-
 drivers/mmc/host/sdhci.h          |   2 +
 include/linux/pci_ids.h           |   2 +
 8 files changed, 393 insertions(+), 4 deletions(-)
 create mode 100644 drivers/mmc/host/sdhci-pci-gli.c
Signature · 1 line
2.23.0