From: Marek Vasut Subject: Re: [PATCH 06/10] MIPS: dts: qca: ar9132: use short references for uart, usb and spi nodes Date: Sun, 14 Feb 2016 14:47:08 +0100 Message-ID: <56C0855C.1060802@denx.de> References: <1455400697-29898-1-git-send-email-antonynpavlov@gmail.com> <1455400697-29898-7-git-send-email-antonynpavlov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1455400697-29898-7-git-send-email-antonynpavlov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Antony Pavlov , linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org Cc: Ralf Baechle , Alban Bedel , Wills Wang , Daniel Schwierzeck , Sascha Hauer , Rob Herring , Frank Rowand , Grant Likely , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org 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 > Cc: Alban Bedel > Cc: Sascha Hauer > Cc: Rob Herring > Cc: Frank Rowand > Cc: Grant Likely > Cc: Ralf Baechle > Cc: linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Acked-by: Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html