diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2016-03-17 03:34:12 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 12:01:45 (GMT) |
commit | 83fe838466ec9bfcba4f477656cb9a67172d2c29 (patch) | |
tree | 488742c441466f2dbcef721a32cd3ba49d6f7237 /include/dt-bindings | |
parent | 2cdfec1bbb0a093836f6a471ca15e4e26f8b6401 (diff) | |
download | linux-83fe838466ec9bfcba4f477656cb9a67172d2c29.tar.xz |
MIPS: dts: qca: ar9132: use short references for dt nodes
Here are some Sascha Hauer's arguments for using aliases in the dts
files:
- using aliases reduces the number of indentations in dts files;
- dts files become independent of the layout of the dtsi files
(it becomes possible to introduce another bus {} hierarchy between
a toplevel bus and the devices when you have to);
- less chances for typos. if &i2c2 does not exist you get an error.
If instead you duplicate the whole path in the dts file a typo
in the path will just create another node.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Cc: Alban Bedel <albeu@free.fr>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12873/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions