[ARM] Prevent high-speed SD, enable CONFIG_DEBUG_FS - #295
Open
chaitu236 wants to merge 2 commits into
Open
Conversation
This will prevent SD card from doing SD high-speed timing. It will not do SD high-speed timing for high-speed or standard-speed card. Signed-off-by: Chen Yee Chew <chen.yee.chew@ni.com> Reviewed-by: Keng Soon Cheah <keng.soon.cheah@ni.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Natinst-CAR-ID: 519438 Natinst-ReviewBoard-ID: 99036 (cherry picked from commit 1aa830c) [cvadrevu: Resolved simple conflict with 8199d31 ("mmc: sdhci-pltfm: Convert DT properties to generic device properties") by switching from of_get_property API to device_property_present] Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com>
Enable debugfs to provide access to kernel debugging and diagnostic interfaces on NI Zynq targets. Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com>
gratian
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Cherry-pick commit "HACK sd: Prevent SD from doing high-speed timing" from 4.14 kernel.
Also enable missing CONFIG_DEBUG_FS for parity with x64 and to support tracing.
WI: AB#3990505
Testing
sbRIO-9607(device code 77D6 whose dtb hasforce-sd-standardset)./sys/kernel/debug/mmc0/capsis0x40000009i.e.,MMC_CAP_SD_HIGHSPEED(1 << 2) andMMC_CAP_MMC_HIGHSPEED(1 << 1) are not set.