arm: rockchip: rk3399: rock-pi-4: power domain driver to boot from MMCSD
Get series with b4
b4 am 20220602110200.GB1727@begutVersions newest first
- v1 Latest0 of 3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] arm: rockchip: rk3399: rock-pi-4: power domain driver to boot from MMCSD
Hello.
I've been trying to compile myself all the stack to boot a Radxa Rock Pi 4B.
I've found and worked around a few issues and I'm starting to select, clean up and send the patches I used.
Since I'm new to the project I may have overseen something obvious. If so sorry. For the rest I hope something can be useful to others.
Likewise I've found a couple of suspicions lines in clk_rk3399.c, but since I haven't found cases where they give problems, I should not send changes, or should I?
This series is the minimum I needed to be able to boot linux-libre from a SD card, which wasn't possible for me just from master. It still displays some errors, but I leave them for later because it boots.
The series is basically about trying not to overlap ATF, enabling a couple of clocks that MMCSD uses, and adding a power domain driver for rockchip, since I guess the DTS must have been updated from linux and the board may have worked before but the new DTS maybe broke boot from SD.
I'm not sure why power domain drivers in U-Boot leave the clocks they need enabled, but I tried to disable them once powered up and it didn't boot.
If people wants to test with other rockchip SOCs that'd be welcome, but I'm not sure whether they need the new driver. For now I only configured it for Rock Pi 4.
Thanks beforehand for any feedback. Specially if I should run any tests.
Signature · 1 line
Xavier Drudis Ferran