On 02/13/2016 10:58 PM, Antony Pavlov wrote: > 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@xxxxxxxxx> > Cc: Alban Bedel <albeu@xxxxxxx> > Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > Cc: Rob Herring <robh+dt@xxxxxxxxxx> > Cc: Frank Rowand <frowand.list@xxxxxxxxx> > Cc: Grant Likely <grant.likely@xxxxxxxxxx> > Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Cc: linux-mips@xxxxxxxxxxxxxx > Cc: devicetree@xxxxxxxxxxxxxxx Acked-by: Marek Vasut <marex@xxxxxxx>