helios64: restore hs400 support after enabling strobe line internal p… #7756
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…ulldown
Since v5.11, Linux upstream commit 8b5c2b45b8f0 disabled the internal pull-down for the strobe line explicitly instead of leaving it in its default state (the opposite of Rockchip Kernel which force enable this intrnal pulldown by default) thus causing I/O errors in HS400 mode for various eMMC modules (the ones that did not have an external pulldown on the strobe line likely).
Discussed upstream and the choice has been made to keep this behavior as it has been there for too long and reverting might break other boards http://lists.infradead.org/pipermail/linux-rockchip/2024-April/046416.html
HS400 for helios64 was disabled in commit 5f2e23e "Disabled hs400 on Helios64 (hopefully only temporarily) (#3126)" but for 5.10.63i (ie before the above commit disabled internal pulldown). Back then I had bisected the emmc I/O issue to a double init of the emmc regulator introduced while adding deferred support to the regulator driver core, ie commit 06653ebc0ad2 "regulator: core: resolve supply for boot-on/always-on regulators" in 5.10.60. But due to the new default for the strobe line internal pulldown introduced in 5.6.11 when this double voltage regulator init issue was fixed likely by 8a866d527ac0 "regulator: core: Resolve supply name earlier to prevent double-init" in Linux 6.1.
Description
Enables internal pulldown for strobe line of the eMMC. This allows to reenable hs400 without getting I/O errors.
How Has This Been Tested?
dd
dd
Checklist: