public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Alexandre Courbot
	<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2 1/2] dt-bindings: tegra: Remove 0, prefix from unit-addresses
Date: Tue, 19 Apr 2016 17:24:02 -0500	[thread overview]
Message-ID: <20160419222402.GA31786@rob-hp-laptop> (raw)
In-Reply-To: <1460473656-27209-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Tue, Apr 12, 2016 at 05:07:35PM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> When Tegra124 support was first merged the unit-addresses of all devices
> were listed with a "0," prefix to encode the reg property's second cell.
> It turns out that this notation is not correct, and the "," separator is
> only used to separate fields in the unit address (such as the device and
> function number in PCI devices), not individual cells for addresses
> with more than one cell.
> 
> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Applied, thanks.

Rob

> ---
>  Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt    | 2 +-
>  Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt              | 2 +-
>  .../devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt      | 6 +++---
>  Documentation/devicetree/bindings/memory-controllers/tegra-emc.txt  | 4 ++--
>  .../devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt     | 6 +++---
>  Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt      | 2 +-
>  Documentation/devicetree/bindings/thermal/tegra-soctherm.txt        | 2 +-
>  7 files changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt
> index ee7e5fd4a50b..63f9d8277d48 100644
> --- a/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt
> +++ b/Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt
> @@ -50,7 +50,7 @@ Required properties for I2C mode:
>  
>  Example:
>  
> -clock@0,70110000 {
> +clock@70110000 {
>          compatible = "nvidia,tegra124-dfll";
>          reg = <0 0x70110000 0 0x100>, /* DFLL control */
>                <0 0x70110000 0 0x100>, /* I2C output control */
> diff --git a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
> index 23bfe8e1f7cc..9d47a2c25e2d 100644
> --- a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
> +++ b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
> @@ -26,7 +26,7 @@ Required properties:
>  
>  Example:
>  
> -	gpu@0,57000000 {
> +	gpu@57000000 {
>  		compatible = "nvidia,gk20a";
>  		reg = <0x0 0x57000000 0x0 0x01000000>,
>  		      <0x0 0x58000000 0x0 0x01000000>;
> diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt
> index 3338a2834ad7..8dbe47013c2b 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt
> +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt
> @@ -61,7 +61,7 @@ specified, according to the board documentation:
>  Example SoC include file:
>  
>  / {
> -	mc: memory-controller@0,70019000 {
> +	mc: memory-controller@70019000 {
>  		compatible = "nvidia,tegra124-mc";
>  		reg = <0x0 0x70019000 0x0 0x1000>;
>  		clocks = <&tegra_car TEGRA124_CLK_MC>;
> @@ -72,7 +72,7 @@ Example SoC include file:
>  		#iommu-cells = <1>;
>  	};
>  
> -	sdhci@0,700b0000 {
> +	sdhci@700b0000 {
>  		compatible = "nvidia,tegra124-sdhci";
>  		...
>  		iommus = <&mc TEGRA_SWGROUP_SDMMC1A>;
> @@ -82,7 +82,7 @@ Example SoC include file:
>  Example board file:
>  
>  / {
> -	memory-controller@0,70019000 {
> +	memory-controller@70019000 {
>  		emc-timings-3 {
>  			nvidia,ram-code = <3>;
>  
> diff --git a/Documentation/devicetree/bindings/memory-controllers/tegra-emc.txt b/Documentation/devicetree/bindings/memory-controllers/tegra-emc.txt
> index b59c625d6336..ba0bc3f12419 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/tegra-emc.txt
> +++ b/Documentation/devicetree/bindings/memory-controllers/tegra-emc.txt
> @@ -190,7 +190,7 @@ be specified, according to the board documentation:
>  Example SoC include file:
>  
>  / {
> -	emc@0,7001b000 {
> +	emc@7001b000 {
>  		compatible = "nvidia,tegra124-emc";
>  		reg = <0x0 0x7001b000 0x0 0x1000>;
>  
> @@ -201,7 +201,7 @@ Example SoC include file:
>  Example board file:
>  
>  / {
> -	emc@0,7001b000 {
> +	emc@7001b000 {
>  		emc-timings-3 {
>  			nvidia,ram-code = <3>;
>  
> diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt
> index 30676ded85bb..9c8ddd547a99 100644
> --- a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt
> @@ -79,7 +79,7 @@ Example:
>  SoC file extract:
>  -----------------
>  
> -	padctl@0,7009f000 {
> +	padctl@7009f000 {
>  		compatible = "nvidia,tegra124-xusb-padctl";
>  		reg = <0x0 0x7009f000 0x0 0x1000>;
>  		resets = <&tegra_car 142>;
> @@ -91,7 +91,7 @@ SoC file extract:
>  Board file extract:
>  -------------------
>  
> -	pcie-controller@0,01003000 {
> +	pcie-controller@01003000 {
>  		...
>  
>  		phys = <&padctl 0>;
> @@ -102,7 +102,7 @@ Board file extract:
>  
>  	...
>  
> -	padctl: padctl@0,7009f000 {
> +	padctl: padctl@7009f000 {
>  		pinctrl-0 = <&padctl_default>;
>  		pinctrl-names = "default";
>  
> diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt
> index 275c6ea356f6..44d27456e8a4 100644
> --- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt
> +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt
> @@ -15,7 +15,7 @@ Required properties:
>  
>  Example:
>  
> -hda@0,70030000 {
> +hda@70030000 {
>  	compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda";
>  	reg = <0x0 0x70030000 0x0 0x10000>;
>  	interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
> diff --git a/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt b/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt
> index 351a7376baa8..edebfa0a985e 100644
> --- a/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt
> +++ b/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt
> @@ -33,7 +33,7 @@ than it, the system will be shutdown or reset by hardware.
>  
>  Example :
>  
> -	soctherm@0,700e2000 {
> +	soctherm@700e2000 {
>  		compatible = "nvidia,tegra124-soctherm";
>  		reg = <0x0 0x700e2000 0x0 0x1000>;
>  		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
> -- 
> 2.8.0
> 

      parent reply	other threads:[~2016-04-19 22:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 15:07 [PATCH v2 1/2] dt-bindings: tegra: Remove 0, prefix from unit-addresses Thierry Reding
     [not found] ` <1460473656-27209-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-12 15:07   ` [PATCH v2 2/2] dt-bindings: tegra: Rename some bindings for consistency Thierry Reding
     [not found]     ` <1460473656-27209-2-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-19 22:24       ` Rob Herring
2016-04-15 13:41   ` [PATCH v2 1/2] dt-bindings: tegra: Remove 0, prefix from unit-addresses Thierry Reding
     [not found]     ` <20160415134102.GB3472-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-04-15 16:46       ` Rob Herring
2016-04-19 22:24   ` Rob Herring [this message]

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=20160419222402.GA31786@rob-hp-laptop \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox