Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mmc: mtk-sd: add tuning steps related property

Add 'mediatek,tuning-steps' setting. This property will give MSDC
a chance to extend tuning steps up to 64. With more tuning steps,
MSDC may achieve a more optimal calibration result, thus avoiding
potential CRC issues.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Axe Yang <axe.yang@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20231207063535.29546-2-axe.yang@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Axe Yang and committed by
Ulf Hansson
ec1aaf79 1f30f510

+9
+9
Documentation/devicetree/bindings/mmc/mtk-sd.yaml
··· 145 145 minimum: 0 146 146 maximum: 7 147 147 148 + mediatek,tuning-step: 149 + $ref: /schemas/types.yaml#/definitions/uint32 150 + description: 151 + Some SoCs need extend tuning step for better delay value to avoid CRC issue. 152 + If not present, default tuning step is 32. For eMMC and SD, this can yield 153 + satisfactory calibration results in most cases. 154 + enum: [32, 64] 155 + default: 32 156 + 148 157 resets: 149 158 maxItems: 1 150 159