Skip to content

Versatile Express DT support

Dave Martin linux-arm-kernel linux-devicetree 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 3/35 patches 0 repliesNew
  2. v3 posting 2/30 of 5 patches 0 repliesSuperseded
  3. v3 posting 1/31 of 5 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/22 of 4 patches0 repliesSuperseded
v2 posting 1/24 patches0 repliesSuperseded
v15 patches0 repliesSuperseded

Patches in v3 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/5ARM: vexpress: Add DT support in v2march/arm/mach-vexpress/v2m.c+5 -21 reply
3/5ARM: vexpress: Add DT support in v2m+0 -00 replies
3/5ARM: vexpress: Add DT support in v2m+0 -01 reply
4/5ARM: vexpress: Initial RS1 memory map support+0 -01 reply
4/5ARM: vexpress: Initial RS1 memory map support+0 -09 replies
4/5ARM: vexpress: Initial RS1 memory map support+0 -05 replies
4/5ARM: vexpress: Initial RS1 memory map support+0 -00 replies
5/5ARM: vexpress: DT-based support for CoreTiles Express A5x2 and A9x4+0 -01 reply
5/5ARM: vexpress: DT-based support for CoreTiles Express A5x2 and A9x4+0 -01 reply
5/5ARM: vexpress: DT-based support for CoreTiles Express A5x2 and A9x4+0 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/5] Versatile Express DT support
Quoted 21 lines · Pawel Moll
Quoted 1 line · Dave Martin

Attached. It's just vexpress_defconfig, plus ARCH_VEXPRESS_V2P_CA5S_CA9=y

Could you try that?

8<----------------------------------------------

arch/arm/mach-vexpress/Kconfig +1 -1
index 9eb8161..ded66d0 100644
@@ -11,7 +11,7 @@ config ARCH_VEXPRESS_CA9X4
 
 config ARCH_VEXPRESS_DT
        bool
-       select OF
+       select USE_OF
        help
          VE platform *requiring* Flattened Device Tree to boot.

8<----------------------------------------------

Quoted 7 lines

The OF is an effect of the USE_OF, not the other way round, sorry about the mistake.

Of course I could go the "classic way" and make the ARCH_VEXPRESS_V2P_CA5S_CA9 dependant on the OF, but this means that the DT-powered tile would be invisible till one enables USE_OF. Any opinions?

Your suggestion fixes it -- I suggest we keep the config this way round; this means that OF gets turned on when enabling a coretile which requires it, and those coretiles are offered as choices even before OF is turned on. That feels like a sensible behaviour for the config.

While we're about this, building of the applicable dtbs is not currently enabled.

Can we add this, so that "make dtbs" works?

arch/arm/mach-vexpress/Makefile.boot +4 -0
index 05b77a5..b89ffde 100644
@@ -7,3 +7,7 @@ else
 params_phys-y	:= 0x60000100
 initrd_phys-y	:= 0x60800000
 endif
+
+dtb-$(CONFIG_ARCH_VEXPRESS_V2P_CA5S_CA9) += \
+					vexpress-v2p-ca5s.dtb \
+					vexpress-v2p-ca9.dtb

Cheers
---Dave