Skip to content

ARM: dts: socfpga: fix booting with SD/MMC

dinguyen at opensource.altera.com linux-arm-kernel linux-devicetree 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v32 patches 1 replySuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: dts: socfpga: rename gpio nodesarch/arm/boot/dts/socfpga.dtsi+6 -61 reply
2/3ARM: dts: socfpga: Fix SD card detectarch/arm/boot/dts/socfpga_cyclone5_socdk.dts+5 -11 reply
3/3ARM: dts: socfpga: Add a 3.3V fixed regulator nodearch/arm/boot/dts/socfpga_arria5.dtsi arch/arm/boot/dts/socfpga_arria5_socdk.dts arch/arm/boot/dts/socfpga_cyclone5_socdk.dts +1 more+34 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDoug Anderson
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 0/3] ARM: dts: socfpga: fix booting with SD/MMC

From: Dinh Nguyen <[email protected]>

The SOCFPGA dev kit was hanging during bootup on the SD/MMC driver loading. The first patch fixes the booting and the 2nd patch adds a regulator node for the SD/MMC driver to use.

v4 diff(s):
- Add a new patch to rename the GPIO IP DTS node
- Use &gpio1 to set status="okay"
- Update the cd-gpios to use &portb

v3 diff(s): Thanks to Doug Anderson, the real issue was that the GPIO bank used by cd-gpios did not have status="okay" in the node. This cause the GPIO to not get probed correctly.

In fact, prior to patch 3cf890fc42b "mmc: dw_mmc: Pass back errors from mmc_of_parse()", the error was being masked, so it was not being detected.

v2 diff(s): Patch 2/2 ARM: dts: socfpga: Add a 3.3V fixed regulator node
- Move the regulator nodes to their respective board dts file and correctly rename the regulator to match the schematic

Dinh Nguyen (3):
ARM: dts: socfpga: rename gpio nodes
ARM: dts: socfpga: Fix SD card detect
ARM: dts: socfpga: Add a 3.3V fixed regulator node

 arch/arm/boot/dts/socfpga.dtsi                | 12 ++++++------
 arch/arm/boot/dts/socfpga_arria5.dtsi         |  2 +-
 arch/arm/boot/dts/socfpga_arria5_socdk.dts    | 12 ++++++++++++
 arch/arm/boot/dts/socfpga_cyclone5_socdk.dts  | 15 ++++++++++++++-
 arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 12 ++++++++++++
 5 files changed, 45 insertions(+), 8 deletions(-)
Signature · 1 line
2.0.3