Skip to content

Add support for Eswin EIC7700 SD/eMMC controller

[email protected] linux-devicetree linux-mmc lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 10 repliesIn review
  2. v42 patches 2 repliesSuperseded
  3. v32 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v22 patches6 repliesSuperseded

Changes in v5 from the cover letter

- Update snps,dwcmshc-sdhci.yaml
- Update description for eswin,hsp-sp-csr
- Fix eswin,hsp-sp-csr property structure to use nested items format
- Remove unnecessary '|' symbol from description field
- Wrap description lines to 80-chars
- Update sdhci-of-dwcmshc.c
- Remove inappropriate Reported-by and Closes tags, as the fixes are part of this patch
- Fix error code return in eic7700_init() when syscon_node_to_regmap() fails (return PTR_ERR(hsp_regmap))
- Remove unnecessary clock disable/enable operations when changing clock rates
- Remove unnecessary parentheses around ~PHY_CNFG_RSTN_DEASSERT in sdhci_eic7700_config_phy()
- Update misleading comments: change "SDIO specific" to "SD specific" in tuning logic
- Fix multi-line comment format
- Link to v4: https://lore.kernel.org/all/[email protected]/

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: mmc: sdhci-of-dwcmshc: Add Eswin EIC7700Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml+51 -65 replies
2/2mmc: sdhci-of-dwcmshc: Add support for Eswin EIC7700drivers/mmc/host/sdhci-of-dwcmshc.c+491 -113 replies

Reviews trailers per patch

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

PatchConor DooleyAdrian Hunter
1/2R-b
2/2A-b

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

Read the v5 thread

Cover letter [PATCH v5 0/2] Add support for Eswin EIC7700 SD/eMMC controller

From: Huan He <[email protected]>

Updates:

Changes in v5:
- Update snps,dwcmshc-sdhci.yaml
- Update description for eswin,hsp-sp-csr
- Fix eswin,hsp-sp-csr property structure to use nested items format
- Remove unnecessary '|' symbol from description field
- Wrap description lines to 80-chars
- Update sdhci-of-dwcmshc.c
- Remove inappropriate Reported-by and Closes tags, as the fixes are part of this patch
- Fix error code return in eic7700_init() when syscon_node_to_regmap() fails (return PTR_ERR(hsp_regmap))
- Remove unnecessary clock disable/enable operations when changing clock rates
- Remove unnecessary parentheses around ~PHY_CNFG_RSTN_DEASSERT in sdhci_eic7700_config_phy()
- Update misleading comments: change "SDIO specific" to "SD specific" in tuning logic
- Fix multi-line comment format
- Link to v4: https://lore.kernel.org/all/[email protected]/

Changes in v4:
- Update sdhci-of-dwcmshc.c
- Address the compile error from kernel test robot
- Remove duplicate implementation of dwcmshc_enable_card_clk()
- Add missing dwcmshc_disable_card_clk() function implementation
- Link to v3: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Update snps,dwcmshc-sdhci.yaml
- Delete clock-output-names, '#clock-cells' and eswin,syscrg-csr
- Update description for eswin,hsp-sp-csr
- Update drive-impedance-ohm
- Update the item of reset-names
- Update sdhci-of-dwcmshc.c
- Add descriptions for PHY registers
- Simplify clock management(remove custom clock provider, use
standard clk API)
- Replace magic numbers with GENMASK() or FIELD_PREP() macros
- Add comments explaining HSP stability assertion writes
- Adjust line wrapping to fit within 100-column
- Delete forward declarations by moving function definitions
- Rename variable is_sdio to is_sd
- Replace unclear macros with meaningful alternatives
- Link to v2: https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Delete the previous separate driver and yaml binding file
- Update snps,dwcmshc-sdhci.yaml to add support for Eswin EIC7700
- Add the new compautible string: "eswin,eic7700-dwcmshc"
- Add new properties: clock-output-names, '#clock-cells', drive-impedance-ohm, eswin,hsp-sp-csr and eswin,syscrg-csr
- Add customized reset-names for EIC7700 platform
- Update sdhci-of-dwcmshc.c to add support for Eswin EIC7700
- Add a new struct eic7700_priv to hold Eswin-specific data,
including clock phases, register mappings, and drive
impedance configuration
- Implement EIC7700-specific sdhci_ops
- set_clock: support core clock configuration with phase delay
- reset: add PHY reset and configuration
- set_uhs_signaling: support HS400 DLL lock
- platform_execute_tuning: implement delay line tuning and phase
code adjustment
- Add initialization routine (eic7700_init)
- Integrate the new platform data and ops into the driver's match table
- Link to v1: https://lore.kernel.org/all/[email protected]/

Huan He (2):
dt-bindings: mmc: sdhci-of-dwcmshc: Add Eswin EIC7700
mmc: sdhci-of-dwcmshc: Add support for Eswin EIC7700

 .../bindings/mmc/snps,dwcmshc-sdhci.yaml      |  57 +-
 drivers/mmc/host/sdhci-of-dwcmshc.c           | 502 +++++++++++++++++-
 2 files changed, 542 insertions(+), 17 deletions(-)
Signature · 1 line
2.25.1