Skip to content

ARM: tegra: use new dtc+cpp feature

Tony Lindgren linux-arm-kernel linux-devicetree linux-tegra lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 9 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 9 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.

Read the v1 thread

Cover letter [PATCH 0/9] ARM: tegra: use new dtc+cpp feature
Quoted 6 lines · Stephen Warren

From: Stephen Warren <[email protected]>

This series converts the Tegra device tree files to use the new feature of running cpp over .dts files before compiling them with dtc. This allows GPIOs and other GPIO/IRQ specifier cells to be named for example.

Quoted 7 lines

As far as merging goes, I'd anticipate the first 3 patches being useful to any other ARM sub-arch that wants to convert; perhaps they could go through some arm-soc common branch. The next 2 patches are Tegra-specific cleanup that I'd anticipate applying to Tegra's for-3.10/cleanup. The rest of the patches depend on those 5 previous patches, so would need to go into a Tegra branch that merges in the previous patches; I'd anticipate calling it for-3.10/dtc-cpp say.

Great! This will help a lot with making the .dts* files readable.

Quoted 5 lines

One issue this raises: The first 2 patches aren't ARM-specific. I put the files they create into arch/arm/boot/dts, but I wonder if they wouldn't be better in some arch-agnostic include directory, or even right with the binding documentation in Documentation/devicetree/bindings. Moving the files would require adjusting the cpp include path.

I'd assume this will be used by many architectures, so it would probably be a good idea to make them common to start with.

Regards,

Tony