Skip to content

phy: rockchip: emmc: Enable internal strobe pull-down by default

Folker Schwesinger b4-sent linux-arm-kernel linux-devicetree linux-phy linux-rockchip lkml 1 version In review

Get series with b4
b4 am 20240326-rk-default-enable-strobe-pulldown-v1-0-f410c71605c0@folker-schwesinger.de change-id 20240326-rk-default-enable-strobe-pulldown-3356c8cf1b4f

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3phy: rockchip: emmc: Enable pulldown for strobe linedrivers/phy/rockchip/phy-rockchip-emmc.c+3 -312 replies
2/3devicetree: phy: rockchip-emmc: Document changed strobe-pulldown propertyDocumentation/devicetree/bindings/phy/rockchip-emmc-phy.txt+2 -22 replies
3/3arm64: dts: rockchip: Remove enable-strobe-pulldown for NanoPi4 boardsarch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] phy: rockchip: emmc: Enable internal strobe pull-down by default

Various RK3399 boards, including the Rock Pi 4 series, the NanoPi 4 series and possibly others showed instabilities with some eMMC modules when operating in HS400 mode [1]. Later, a missing pull-down resistor on the eMMC strobe line was identified as the root cause of these instabilities [2].

This series changes the Rockchip eMMC PHY driver to enable the internal pull-down for the strobe line by default, effectively restoring the behavior of the vendor kernel [3]. Addressing the problem in the driver avoids fix-ups in individual board DTs.

As this change makes the optional DT property enable-strobe-pulldown obsolete, it is replaced by a new property disable-strobe-pulldown, that, when used, allows to disable the internal pull-down.

While at it, the enable-strobe-pulldown property was removed from the NanoPi4 series DTS (which was the only user of the property in the kernel).

[1]: https://lore.kernel.org/all/[email protected]/
[2]: https://lore.kernel.org/all/[email protected]/
[3]: https://github.com/rockchip-linux/kernel/blob/develop-4.4/drivers/phy/rockchip/phy-rockchip-emmc.c#L310

---
Folker Schwesinger (3):
phy: rockchip: emmc: Enable pulldown for strobe line
devicetree: phy: rockchip-emmc: Document changed strobe-pulldown property
arm64: dts: rockchip: Remove enable-strobe-pulldown for NanoPi4 boards

 Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt | 4 ++--
 arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi            | 1 -
 drivers/phy/rockchip/phy-rockchip-emmc.c                    | 6 +++---
 3 files changed, 5 insertions(+), 6 deletions(-)

---
base-commit: 4cece764965020c22cff7665b18a012006359095
change-id: 20240326-rk-default-enable-strobe-pulldown-3356c8cf1b4f

Best regards,

Signature · 1 line
Folker Schwesinger <[email protected]>