devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: PCI: rcar: Correct example to match reality
@ 2017-10-11 13:50 Geert Uytterhoeven
  2017-10-11 16:13 ` Sergei Shtylyov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2017-10-11 13:50 UTC (permalink / raw)
  To: Bjorn Helgaas, Rob Herring, Mark Rutland, Ben Dooks,
	Sergei Shtylyov
  Cc: linux-pci, devicetree, linux-renesas-soc, Geert Uytterhoeven

Correct the USB subnodes in the example, cfr. commit f7d569c1e6a6fa73
("ARM: dts: r8a779x: Fix PCI bus dtc warnings"):
  1. Drop the bogus 'device_type = "pci"' properties,
  2. Correct the unit addresses.

Update other bits in the example to match real use:
  1. Rename the USB subnodes from "pci" to "usb",
  2. Update the "phys" property.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
index 3d038638612b8ec2..9fe7e12a7bf37b7c 100644
--- a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
+++ b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
@@ -60,17 +60,15 @@ Example SoC configuration:
 				 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
 				 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
 
-		pci@0,1 {
+		usb@1,0 {
 			reg = <0x800 0 0 0 0>;
-			device_type = "pci";
-			phys = <&usbphy 0 0>;
+			phys = <&usb0 0>;
 			phy-names = "usb";
 		};
 
-		pci@0,2 {
+		usb@2,0 {
 			reg = <0x1000 0 0 0 0>;
-			device_type = "pci";
-			phys = <&usbphy 0 0>;
+			phys = <&usb0 0>;
 			phy-names = "usb";
 		};
 	};
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: PCI: rcar: Correct example to match reality
  2017-10-11 13:50 [PATCH] dt-bindings: PCI: rcar: Correct example to match reality Geert Uytterhoeven
@ 2017-10-11 16:13 ` Sergei Shtylyov
       [not found] ` <1507729813-21501-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
  2017-10-20 17:30 ` Bjorn Helgaas
  2 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2017-10-11 16:13 UTC (permalink / raw)
  To: Geert Uytterhoeven, Bjorn Helgaas, Rob Herring, Mark Rutland,
	Ben Dooks
  Cc: linux-pci, devicetree, linux-renesas-soc

On 10/11/2017 04:50 PM, Geert Uytterhoeven wrote:

> Correct the USB subnodes in the example, cfr. commit f7d569c1e6a6fa73
> ("ARM: dts: r8a779x: Fix PCI bus dtc warnings"):
>    1. Drop the bogus 'device_type = "pci"' properties,
>    2. Correct the unit addresses.
> 
> Update other bits in the example to match real use:
>    1. Rename the USB subnodes from "pci" to "usb",
>    2. Update the "phys" property.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

MBR, Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: PCI: rcar: Correct example to match reality
       [not found] ` <1507729813-21501-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2017-10-17 19:52   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2017-10-17 19:52 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Bjorn Helgaas, Mark Rutland, Ben Dooks, Sergei Shtylyov,
	linux-pci-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA

On Wed, Oct 11, 2017 at 03:50:13PM +0200, Geert Uytterhoeven wrote:
> Correct the USB subnodes in the example, cfr. commit f7d569c1e6a6fa73
> ("ARM: dts: r8a779x: Fix PCI bus dtc warnings"):
>   1. Drop the bogus 'device_type = "pci"' properties,
>   2. Correct the unit addresses.
> 
> Update other bits in the example to match real use:
>   1. Rename the USB subnodes from "pci" to "usb",
>   2. Update the "phys" property.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
> ---
>  Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: PCI: rcar: Correct example to match reality
  2017-10-11 13:50 [PATCH] dt-bindings: PCI: rcar: Correct example to match reality Geert Uytterhoeven
  2017-10-11 16:13 ` Sergei Shtylyov
       [not found] ` <1507729813-21501-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2017-10-20 17:30 ` Bjorn Helgaas
  2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Helgaas @ 2017-10-20 17:30 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Bjorn Helgaas, Rob Herring, Mark Rutland, Ben Dooks,
	Sergei Shtylyov, linux-pci, devicetree, linux-renesas-soc

On Wed, Oct 11, 2017 at 03:50:13PM +0200, Geert Uytterhoeven wrote:
> Correct the USB subnodes in the example, cfr. commit f7d569c1e6a6fa73
> ("ARM: dts: r8a779x: Fix PCI bus dtc warnings"):
>   1. Drop the bogus 'device_type = "pci"' properties,
>   2. Correct the unit addresses.
> 
> Update other bits in the example to match real use:
>   1. Rename the USB subnodes from "pci" to "usb",
>   2. Update the "phys" property.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied with acks from Sergei and Rob to pci/host-rcar for v4.15, thanks!

> ---
>  Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> index 3d038638612b8ec2..9fe7e12a7bf37b7c 100644
> --- a/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> +++ b/Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt
> @@ -60,17 +60,15 @@ Example SoC configuration:
>  				 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
>  				 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
>  
> -		pci@0,1 {
> +		usb@1,0 {
>  			reg = <0x800 0 0 0 0>;
> -			device_type = "pci";
> -			phys = <&usbphy 0 0>;
> +			phys = <&usb0 0>;
>  			phy-names = "usb";
>  		};
>  
> -		pci@0,2 {
> +		usb@2,0 {
>  			reg = <0x1000 0 0 0 0>;
> -			device_type = "pci";
> -			phys = <&usbphy 0 0>;
> +			phys = <&usb0 0>;
>  			phy-names = "usb";
>  		};
>  	};
> -- 
> 2.7.4
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-20 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 13:50 [PATCH] dt-bindings: PCI: rcar: Correct example to match reality Geert Uytterhoeven
2017-10-11 16:13 ` Sergei Shtylyov
     [not found] ` <1507729813-21501-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2017-10-17 19:52   ` Rob Herring
2017-10-20 17:30 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).