)]}'
{
  "commit": "3e0208cc64966b2a5049b3b3c6d64c05a018698f",
  "tree": "7538965d08232f616a1f021314ce403735abbb82",
  "parents": [
    "aa2561443c88c00abf7a6f1f77f4976392409771"
  ],
  "author": {
    "name": "Tanmay Kathpalia",
    "email": "tanmay.kathpalia@altera.com",
    "time": "Sun Jun 28 23:16:15 2026 -0700"
  },
  "committer": {
    "name": "Peng Fan",
    "email": "peng.fan@nxp.com",
    "time": "Mon Jul 06 14:06:27 2026 +0800"
  },
  "message": "Revert \"mmc: sdhci-cadence: trigger tuning for SD HS mode on SD6HC (v6) PHY\"\n\nThis reverts commit b42c67188c14 (\"mmc: sdhci-cadence: trigger tuning\nfor SD HS mode on SD6HC (v6) PHY\").\n\nThe reverted patch introduced several issues:\n\n1. Non-standard tuning trigger: The SD Physical Layer Specification\n   only mandates execute_tuning for SDR50 and SDR104 UHS-I modes.\n   Triggering tuning for SD High Speed mode is outside the spec and\n   is handled via a non-standard set_ios_post callback rather than\n   through the established SDHCI framework tuning path.\n\n2. Non-standard device tree property: The patch introduced a new\n   \"cdns,sd-hs-tuning\" DT property to opt into SD HS tuning. This\n   is not aligned with existing DT bindings and bypasses the standard\n   MMC capability negotiation mechanism.\n\n3. Incorrect tunable mode allowlist: The sdhci_cdns6_mode_is_tuned()\n   function includes SD_HS, UHS_SDR50, and MMC_HS_400_ES as tunable\n   modes. According to the Cadence SD6HC IP User Guide (section 7.5.2,\n   Figure 18), tuning is only required for UHS-I SDR104 (SD) and\n   HS200 (eMMC). SD High Speed, UHS-I SDR50, and DDR50 only require\n   a PHY settings update from the pre-calculation script, not the\n   tuning procedure. HS400 transitions through HS200 and reuses its\n   tuned DLL value with a partial settings update. HS400ES only\n   requires a plain settings update from the calculation script with\n   no dependency on HS200 tuning.\n\n4. Tuned state management outside the framework: The patch manually\n   tracks tuned DLL state (tuned_mode, tuned_dll_slave_ctrl) and\n   restores it across PHY reconfigurations. This duplicates\n   responsibility that belongs in the core MMC tuning framework and\n   adds unnecessary complexity to the driver.\n\nReverting to realign the driver with the IP documentation and the SD\nPhysical Layer Specification.\n\nSigned-off-by: Tanmay Kathpalia \u003ctanmay.kathpalia@altera.com\u003e\nSigned-off-by: Peng Fan \u003cpeng.fan@nxp.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a76f9e8d6bd7e0cb09377ecc1f7900a184ddbf1f",
      "old_mode": 33188,
      "old_path": "drivers/mmc/sdhci-cadence.c",
      "new_id": "5bbc18dfa5172164b51e429eea9358566b93bf49",
      "new_mode": 33188,
      "new_path": "drivers/mmc/sdhci-cadence.c"
    },
    {
      "type": "modify",
      "old_id": "ea5174918603eb2370fc17f68b85bb32cce8ca40",
      "old_mode": 33188,
      "old_path": "drivers/mmc/sdhci-cadence.h",
      "new_id": "7101f00b75b250017cd299c7f8c142811d545cc5",
      "new_mode": 33188,
      "new_path": "drivers/mmc/sdhci-cadence.h"
    },
    {
      "type": "modify",
      "old_id": "c8b42532e177c531716a443d9cac1a0cca8fccb9",
      "old_mode": 33188,
      "old_path": "drivers/mmc/sdhci-cadence6.c",
      "new_id": "ca1086e2359de769deb8d8f1c43925144c66fcfd",
      "new_mode": 33188,
      "new_path": "drivers/mmc/sdhci-cadence6.c"
    }
  ]
}
