All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Antony Pavlov <antonynpavlov@gmail.com>, linux-mips@linux-mips.org
Cc: Ralf Baechle <ralf@linux-mips.org>, Alban Bedel <albeu@free.fr>,
	Wills Wang <wills.wang@live.com>,
	Daniel Schwierzeck <daniel.schwierzeck@gmail.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	Grant Likely <grant.likely@linaro.org>,
	devicetree@vger.kernel.org
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	[thread overview]
Message-ID: <56C0855C.1060802@denx.de> (raw)
In-Reply-To: <1455400697-29898-7-git-send-email-antonynpavlov@gmail.com>

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@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: Ralf Baechle <ralf@linux-mips.org>
> Cc: linux-mips@linux-mips.org
> Cc: devicetree@vger.kernel.org

Acked-by: Marek Vasut <marex@denx.de>

WARNING: multiple messages have this Message-ID (diff)
From: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>
To: Antony Pavlov
	<antonynpavlov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org
Cc: Ralf Baechle <ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org>,
	Alban Bedel <albeu-GANU6spQydw@public.gmane.org>,
	Wills Wang <wills.wang-EMRzualFZlQ@public.gmane.org>,
	Daniel Schwierzeck
	<daniel.schwierzeck-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Frank Rowand
	<frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Grant Likely
	<grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
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	[thread overview]
Message-ID: <56C0855C.1060802@denx.de> (raw)
In-Reply-To: <1455400697-29898-7-git-send-email-antonynpavlov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 <antonynpavlov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Cc: Alban Bedel <albeu-GANU6spQydw@public.gmane.org>
> Cc: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> Cc: Frank Rowand <frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Cc: Grant Likely <grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Cc: Ralf Baechle <ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org>
> Cc: linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org
> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Acked-by: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>

--
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

  reply	other threads:[~2016-02-14 13:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-13 21:58 [PATCH 00/10] MIPS: ath79: update devicetree support for AR9132 Antony Pavlov
2016-02-13 21:58 ` [PATCH 01/10] dt-bindings: clock: qca,ath79-pll: fix copy-paste typos Antony Pavlov
2016-02-13 21:58   ` Antony Pavlov
2016-02-13 21:58 ` [PATCH 02/10] MIPS: dts: qca: ar9132: fix typo: "ppl" -> "pll" Antony Pavlov
2016-02-13 21:58   ` Antony Pavlov
2016-02-22  2:54   ` Rob Herring
2016-02-13 21:58 ` [PATCH 03/10] MIPS: ath79: Fix the ar724x clock calculation Antony Pavlov
2016-02-14 13:44   ` Marek Vasut
2016-02-14 17:02     ` Antony Pavlov
2016-02-14 18:45       ` Marek Vasut
2016-02-13 21:58 ` [PATCH 04/10] MIPS: ath79: Fix the ar913x reference clock rate Antony Pavlov
2016-02-13 21:58 ` [PATCH 05/10] MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: drop unused alias node Antony Pavlov
2016-02-13 21:58   ` Antony Pavlov
2016-02-14 13:46   ` Marek Vasut
2016-02-14 13:46     ` Marek Vasut
2016-02-15  8:36     ` Alban
2016-02-15  8:36       ` Alban
2016-02-15  9:54     ` Antony Pavlov
2016-02-15  9:54       ` Antony Pavlov
2016-02-13 21:58 ` [PATCH 06/10] MIPS: dts: qca: ar9132: use short references for uart, usb and spi nodes Antony Pavlov
2016-02-13 21:58   ` Antony Pavlov
2016-02-14 13:47   ` Marek Vasut [this message]
2016-02-14 13:47     ` Marek Vasut
2016-02-14 21:24   ` Alban
2016-02-14 21:24     ` Alban
2016-02-13 21:58 ` [PATCH 07/10] MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: use "ref" for reference clock name Antony Pavlov
2016-02-13 21:58 ` [RFC 08/10] MIPS: ath79: update devicetree support for AR9132 Antony Pavlov
2016-02-13 21:58 ` [RFC 09/10] MIPS: ath79: setup.c: disable platform code for OF boards Antony Pavlov
2016-02-13 21:58 ` [RFC 10/10] WIP: MIPS: ath79: add tl-wr1043nd{,no-dt}_defconfig Antony Pavlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56C0855C.1060802@denx.de \
    --to=marex@denx.de \
    --cc=albeu@free.fr \
    --cc=antonynpavlov@gmail.com \
    --cc=daniel.schwierzeck@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=grant.likely@linaro.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=wills.wang@live.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.