dt: run C pre-processor on *.dts, create some standard headers

This branch enhances the support for running dtc on device tree files.
 
 A dedicated directory is created for header files that provide constants
 for device-tree bindings.
 
 The kbuild dependency script processor is enhanced to support processing
 the dependency outputs from multiple separate commands at once.
 
 The kbuild dtc rule is modified so that the C pre-processor is always
 applied when compiling any device tree.
 
 Some standard headers are created which define common constants for GPIO,
 IRQ, and ARM GIC device tree bindings.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJRXxlRAAoJEMzrak5tbycxaSsQAMDw5JoNgRubYvwBIZxrHAL8
 ELVIVrMujh1EquLW1+AdDYP5JGVkBzYdNmBkNyb2nPpTDPMeTrOHsMA2V3PtRHsF
 bvdO49xIoqJS4hr9qAq781a8LUW6+vo++Fptjcp4+2uLF1vMDFB9sbe3AAc4j0Tg
 6cqRrCQjNxtZFMTzUyj1KftCshW3A4xH5+Lr/tpMWLd+mpvJorDbaxSDTNDfq2WF
 ZmfzOybt7F8mu6SK6ar+XsJp0gX8hGV7zNPeHcClFKeguyA5YKfCZKeo6PTJlMA1
 yZ9UfaLVLXTfy+l/aM8fG5m9QvtiBy9oZK5kyM6r83DC0mI9Rnc9oohdpCvfmgu8
 3YOXU8BoouN/HrJQJLZHPiqN1Dj7i+PDTqrz6YTQ/Aa23XJCyvVZmmsUaXv/uy5b
 uJsyU1QiMdO6p25Q/EC1xfJbdCSUQz+pRdo1w3liqoGynrj87/MUF+qApPKz5qkx
 lJc5HyHw63Uw3ql5l/JmpXfYgeQC6Ie593+9bXEFQqJGai2sbu7eDS5SjTrp77Z4
 t+K28dTLm+fkE53pZb3YuLryGdRA22+bmOOsOpnE6PUyvZjDK1TVU0Q3XprSriW/
 ZBomvCoK5Kd+2Ioxf9p/u8cRwjM19cz1NCAV+cSvN4uI8YYT4sMGFAScT6nK4mCf
 ircNDR1WEIrtCbwzHazL
 =4/RH
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-3.10-dtc-cpp-chroot-std-headers' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into for-next

Pull DT C pre-processor changes from Stephen Warren:

dt: run C pre-processor on *.dts, create some standard headers

This branch enhances the support for running dtc on device tree files.

A dedicated directory is created for header files that provide constants
for device-tree bindings.

The kbuild dependency script processor is enhanced to support processing
the dependency outputs from multiple separate commands at once.

The kbuild dtc rule is modified so that the C pre-processor is always
applied when compiling any device tree.

Some standard headers are created which define common constants for GPIO,
IRQ, and ARM GIC device tree bindings.
This commit is contained in:
Rob Herring 2013-04-09 14:59:04 -05:00
commit a2f682aeee
6 changed files with 125 additions and 42 deletions