All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2015-12-04 10:20 ` Mingkai Hu
  0 siblings, 0 replies; 14+ messages in thread
From: Mingkai Hu @ 2015-12-04 10:20 UTC (permalink / raw)
  To: arm; +Cc: devicetree, Mingkai Hu, leoli, linux-arm-kernel, Minghuan Lian

From: Minghuan Lian <Minghuan.Lian@freescale.com>

The patch adds LS2085a to PCIe compatible to fix the compatibility
issue when using firmware with LS2085a compatible property.

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
---
v2 change:
 - Rebased to latest kernel base

 Documentation/devicetree/bindings/pci/layerscape-pci.txt |  1 +
 arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi           | 12 ++++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
index e376785..4600007 100644
--- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
+++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
@@ -15,6 +15,7 @@ Required properties:
 - compatible: should contain the platform identifier such as:
         "fsl,ls1021a-pcie", "snps,dw-pcie"
         "fsl,ls2080a-pcie", "snps,dw-pcie"
+        "fsl,ls2085a-pcie", "snps,dw-pcie"
 - reg: base addresses and lengths of the PCIe controller
 - interrupts: A list of interrupt outputs of the controller. Must contain an
   entry for each entry in the interrupt-names property.
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
index e81cd48..3821bb1 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
@@ -383,7 +383,8 @@
 		};
 
 		pcie@3400000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
 			       0x10 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
@@ -406,7 +407,8 @@
 		};
 
 		pcie@3500000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
 			       0x12 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
@@ -429,7 +431,8 @@
 		};
 
 		pcie@3600000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
 			       0x14 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
@@ -452,7 +455,8 @@
 		};
 
 		pcie@3700000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
 			       0x16 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
-- 
2.1.0.27.g96db324

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

* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2015-12-04 10:20 ` Mingkai Hu
  0 siblings, 0 replies; 14+ messages in thread
From: Mingkai Hu @ 2015-12-04 10:20 UTC (permalink / raw)
  To: linux-arm-kernel

From: Minghuan Lian <Minghuan.Lian@freescale.com>

The patch adds LS2085a to PCIe compatible to fix the compatibility
issue when using firmware with LS2085a compatible property.

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
---
v2 change:
 - Rebased to latest kernel base

 Documentation/devicetree/bindings/pci/layerscape-pci.txt |  1 +
 arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi           | 12 ++++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
index e376785..4600007 100644
--- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
+++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
@@ -15,6 +15,7 @@ Required properties:
 - compatible: should contain the platform identifier such as:
         "fsl,ls1021a-pcie", "snps,dw-pcie"
         "fsl,ls2080a-pcie", "snps,dw-pcie"
+        "fsl,ls2085a-pcie", "snps,dw-pcie"
 - reg: base addresses and lengths of the PCIe controller
 - interrupts: A list of interrupt outputs of the controller. Must contain an
   entry for each entry in the interrupt-names property.
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
index e81cd48..3821bb1 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
@@ -383,7 +383,8 @@
 		};
 
 		pcie at 3400000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
 			       0x10 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
@@ -406,7 +407,8 @@
 		};
 
 		pcie at 3500000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
 			       0x12 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
@@ -429,7 +431,8 @@
 		};
 
 		pcie at 3600000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
 			       0x14 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
@@ -452,7 +455,8 @@
 		};
 
 		pcie at 3700000 {
-			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
+			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
+				     "snps,dw-pcie";
 			reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
 			       0x16 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
-- 
2.1.0.27.g96db324

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

* Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
  2015-12-04 10:20 ` Mingkai Hu
@ 2015-12-04 16:22     ` Rob Herring
  -1 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2015-12-04 16:22 UTC (permalink / raw)
  To: Mingkai Hu
  Cc: arm-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA,
	leoli-KZfg59tc24xl57MIdRCFDg,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Minghuan Lian

On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> From: Minghuan Lian <Minghuan.Lian-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> 
> The patch adds LS2085a to PCIe compatible to fix the compatibility
> issue when using firmware with LS2085a compatible property.
> 
> Signed-off-by: Minghuan Lian <Minghuan.Lian-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> Signed-off-by: Mingkai Hu <Mingkai.Hu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> ---
> v2 change:
>  - Rebased to latest kernel base

How about implementing my comments on v1, too?

> 
>  Documentation/devicetree/bindings/pci/layerscape-pci.txt |  1 +
>  arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi           | 12 ++++++++----
>  2 files changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> index e376785..4600007 100644
> --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> @@ -15,6 +15,7 @@ Required properties:
>  - compatible: should contain the platform identifier such as:
>          "fsl,ls1021a-pcie", "snps,dw-pcie"
>          "fsl,ls2080a-pcie", "snps,dw-pcie"
> +        "fsl,ls2085a-pcie", "snps,dw-pcie"
>  - reg: base addresses and lengths of the PCIe controller
>  - interrupts: A list of interrupt outputs of the controller. Must contain an
>    entry for each entry in the interrupt-names property.
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> index e81cd48..3821bb1 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> @@ -383,7 +383,8 @@
>  		};
>  
>  		pcie@3400000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
>  			       0x10 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> @@ -406,7 +407,8 @@
>  		};
>  
>  		pcie@3500000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
>  			       0x12 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> @@ -429,7 +431,8 @@
>  		};
>  
>  		pcie@3600000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
>  			       0x14 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> @@ -452,7 +455,8 @@
>  		};
>  
>  		pcie@3700000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
>  			       0x16 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> -- 
> 2.1.0.27.g96db324
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
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] 14+ messages in thread

* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2015-12-04 16:22     ` Rob Herring
  0 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2015-12-04 16:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> From: Minghuan Lian <Minghuan.Lian@freescale.com>
> 
> The patch adds LS2085a to PCIe compatible to fix the compatibility
> issue when using firmware with LS2085a compatible property.
> 
> Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> ---
> v2 change:
>  - Rebased to latest kernel base

How about implementing my comments on v1, too?

> 
>  Documentation/devicetree/bindings/pci/layerscape-pci.txt |  1 +
>  arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi           | 12 ++++++++----
>  2 files changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> index e376785..4600007 100644
> --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> @@ -15,6 +15,7 @@ Required properties:
>  - compatible: should contain the platform identifier such as:
>          "fsl,ls1021a-pcie", "snps,dw-pcie"
>          "fsl,ls2080a-pcie", "snps,dw-pcie"
> +        "fsl,ls2085a-pcie", "snps,dw-pcie"
>  - reg: base addresses and lengths of the PCIe controller
>  - interrupts: A list of interrupt outputs of the controller. Must contain an
>    entry for each entry in the interrupt-names property.
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> index e81cd48..3821bb1 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> @@ -383,7 +383,8 @@
>  		};
>  
>  		pcie at 3400000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
>  			       0x10 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> @@ -406,7 +407,8 @@
>  		};
>  
>  		pcie at 3500000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
>  			       0x12 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> @@ -429,7 +431,8 @@
>  		};
>  
>  		pcie at 3600000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
>  			       0x14 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> @@ -452,7 +455,8 @@
>  		};
>  
>  		pcie at 3700000 {
> -			compatible = "fsl,ls2080a-pcie", "snps,dw-pcie";
> +			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
> +				     "snps,dw-pcie";
>  			reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
>  			       0x16 0x00000000 0x0 0x00002000>; /* configuration space */
>  			reg-names = "regs", "config";
> -- 
> 2.1.0.27.g96db324
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
  2015-12-04 16:22     ` Rob Herring
@ 2015-12-07  8:44       ` Hu Vincent
  -1 siblings, 0 replies; 14+ messages in thread
From: Hu Vincent @ 2015-12-07  8:44 UTC (permalink / raw)
  To: Rob Herring; +Cc: devicetree, arm, Li Leo, linux-arm-kernel, Lian M.H.



> -----Original Message-----
> From: Rob Herring [mailto:robh@kernel.org]
> Sent: Saturday, December 05, 2015 12:23 AM
> To: Hu Mingkai-B21284
> Cc: arm@kernel.org; devicetree@vger.kernel.org; Li Yang-Leo-R58472;
> linux-arm-kernel@lists.infradead.org; Lian Minghuan-B31939
> Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> 
> On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > From: Minghuan Lian <Minghuan.Lian@freescale.com>
> >
> > The patch adds LS2085a to PCIe compatible to fix the compatibility
> > issue when using firmware with LS2085a compatible property.
> >
> > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> > ---
> > v2 change:
> >  - Rebased to latest kernel base
> 
> How about implementing my comments on v1, too?
> 

Hi Rob,

Do you mean to change the combinations in layerscape-pci.txt as follows?

> --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> @@ -15,6 +15,7 @@ Required properties:
>  - compatible: should contain the platform identifier such as:
>          "fsl,ls1021a-pcie", "snps,dw-pcie"
> -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"


And the ls2085a was released first, but the dts file is for ls2080a (fsl-ls2080a.dtsi),
So I prefer to put the ls2080a as the first compatible string. How about your suggestion?

Thanks,
Mingkai

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

* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2015-12-07  8:44       ` Hu Vincent
  0 siblings, 0 replies; 14+ messages in thread
From: Hu Vincent @ 2015-12-07  8:44 UTC (permalink / raw)
  To: linux-arm-kernel



> -----Original Message-----
> From: Rob Herring [mailto:robh at kernel.org]
> Sent: Saturday, December 05, 2015 12:23 AM
> To: Hu Mingkai-B21284
> Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
> linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
> Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> 
> On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > From: Minghuan Lian <Minghuan.Lian@freescale.com>
> >
> > The patch adds LS2085a to PCIe compatible to fix the compatibility
> > issue when using firmware with LS2085a compatible property.
> >
> > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> > ---
> > v2 change:
> >  - Rebased to latest kernel base
> 
> How about implementing my comments on v1, too?
> 

Hi Rob,

Do you mean to change the combinations in layerscape-pci.txt as follows?

> --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> @@ -15,6 +15,7 @@ Required properties:
>  - compatible: should contain the platform identifier such as:
>          "fsl,ls1021a-pcie", "snps,dw-pcie"
> -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"


And the ls2085a was released first, but the dts file is for ls2080a (fsl-ls2080a.dtsi),
So I prefer to put the ls2080a as the first compatible string. How about your suggestion?

Thanks,
Mingkai

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

* RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
  2015-12-04 16:22     ` Rob Herring
@ 2015-12-15  2:01       ` Hu Vincent
  -1 siblings, 0 replies; 14+ messages in thread
From: Hu Vincent @ 2015-12-15  2:01 UTC (permalink / raw)
  To: Hu Vincent, Rob Herring
  Cc: devicetree, Lian M.H., arm, Scott Wood, Li Leo, linux-arm-kernel



> -----Original Message-----
> From: Hu Mingkai-B21284
> Sent: Monday, December 07, 2015 4:44 PM
> To: 'Rob Herring'
> Cc: arm@kernel.org; devicetree@vger.kernel.org; Li Yang-Leo-R58472;
> linux-arm-kernel@lists.infradead.org; Lian Minghuan-B31939
> Subject: RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
> 
> 
> 
> > -----Original Message-----
> > From: Rob Herring [mailto:robh@kernel.org]
> > Sent: Saturday, December 05, 2015 12:23 AM
> > To: Hu Mingkai-B21284
> > Cc: arm@kernel.org; devicetree@vger.kernel.org; Li Yang-Leo-R58472;
> > linux-arm-kernel@lists.infradead.org; Lian Minghuan-B31939
> > Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> >
> > On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > > From: Minghuan Lian <Minghuan.Lian@freescale.com>
> > >
> > > The patch adds LS2085a to PCIe compatible to fix the compatibility
> > > issue when using firmware with LS2085a compatible property.
> > >
> > > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> > > ---
> > > v2 change:
> > >  - Rebased to latest kernel base
> >
> > How about implementing my comments on v1, too?
> >
> 
> Hi Rob,
> 
> Do you mean to change the combinations in layerscape-pci.txt as follows?
> 
> > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > @@ -15,6 +15,7 @@ Required properties:
> >  - compatible: should contain the platform identifier such as:
> >          "fsl,ls1021a-pcie", "snps,dw-pcie"
> > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> 
> 
> And the ls2085a was released first, but the dts file is for ls2080a (fsl-
> ls2080a.dtsi), So I prefer to put the ls2080a as the first compatible
> string. How about your suggestion?
> 

Hi Rob,

I will keep the "fsl,ls2085a-pcie" as the first compatible string as discussed.
And change the layerscape-pci.txt as follows:

> > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"

What's your suggestion?

Thanks,
Mingkai

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

* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2015-12-15  2:01       ` Hu Vincent
  0 siblings, 0 replies; 14+ messages in thread
From: Hu Vincent @ 2015-12-15  2:01 UTC (permalink / raw)
  To: linux-arm-kernel



> -----Original Message-----
> From: Hu Mingkai-B21284
> Sent: Monday, December 07, 2015 4:44 PM
> To: 'Rob Herring'
> Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
> linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
> Subject: RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
> 
> 
> 
> > -----Original Message-----
> > From: Rob Herring [mailto:robh at kernel.org]
> > Sent: Saturday, December 05, 2015 12:23 AM
> > To: Hu Mingkai-B21284
> > Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
> > linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
> > Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> >
> > On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > > From: Minghuan Lian <Minghuan.Lian@freescale.com>
> > >
> > > The patch adds LS2085a to PCIe compatible to fix the compatibility
> > > issue when using firmware with LS2085a compatible property.
> > >
> > > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> > > ---
> > > v2 change:
> > >  - Rebased to latest kernel base
> >
> > How about implementing my comments on v1, too?
> >
> 
> Hi Rob,
> 
> Do you mean to change the combinations in layerscape-pci.txt as follows?
> 
> > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > @@ -15,6 +15,7 @@ Required properties:
> >  - compatible: should contain the platform identifier such as:
> >          "fsl,ls1021a-pcie", "snps,dw-pcie"
> > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> 
> 
> And the ls2085a was released first, but the dts file is for ls2080a (fsl-
> ls2080a.dtsi), So I prefer to put the ls2080a as the first compatible
> string. How about your suggestion?
> 

Hi Rob,

I will keep the "fsl,ls2085a-pcie" as the first compatible string as discussed.
And change the layerscape-pci.txt as follows:

> > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"

What's your suggestion?

Thanks,
Mingkai

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

* Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
  2015-12-15  2:01       ` Hu Vincent
@ 2015-12-15  2:02           ` Scott Wood
  -1 siblings, 0 replies; 14+ messages in thread
From: Scott Wood @ 2015-12-15  2:02 UTC (permalink / raw)
  To: Hu Mingkai-B21284, Rob Herring
  Cc: arm-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Li Yang-Leo-R58472,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Lian Minghuan-B31939

On Mon, 2015-12-14 at 20:01 -0600, Hu Mingkai-B21284 wrote:
> 
> > -----Original Message-----
> > From: Hu Mingkai-B21284
> > Sent: Monday, December 07, 2015 4:44 PM
> > To: 'Rob Herring'
> > Cc: arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Li Yang-Leo-R58472;
> > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; Lian Minghuan-B31939
> > Subject: RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Rob Herring [mailto:robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org]
> > > Sent: Saturday, December 05, 2015 12:23 AM
> > > To: Hu Mingkai-B21284
> > > Cc: arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Li Yang-Leo-R58472;
> > > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; Lian Minghuan-B31939
> > > Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > > 
> > > On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > > > From: Minghuan Lian <Minghuan.Lian-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> > > > 
> > > > The patch adds LS2085a to PCIe compatible to fix the compatibility
> > > > issue when using firmware with LS2085a compatible property.
> > > > 
> > > > Signed-off-by: Minghuan Lian <Minghuan.Lian-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> > > > Signed-off-by: Mingkai Hu <Mingkai.Hu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> > > > ---
> > > > v2 change:
> > > >  - Rebased to latest kernel base
> > > 
> > > How about implementing my comments on v1, too?
> > > 
> > 
> > Hi Rob,
> > 
> > Do you mean to change the combinations in layerscape-pci.txt as follows?
> > 
> > > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > @@ -15,6 +15,7 @@ Required properties:
> > >  - compatible: should contain the platform identifier such as:
> > >          "fsl,ls1021a-pcie", "snps,dw-pcie"
> > > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> > 
> > 
> > And the ls2085a was released first, but the dts file is for ls2080a (fsl-
> > ls2080a.dtsi), So I prefer to put the ls2080a as the first compatible
> > string. How about your suggestion?
> > 
> 
> Hi Rob,
> 
> I will keep the "fsl,ls2085a-pcie" as the first compatible string as
> discussed.

Do you mean "fsl,ls2080a-pcie"?

-Scott

> And change the layerscape-pci.txt as follows:
> 
> > > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> 
> What's your suggestion?

--
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] 14+ messages in thread

* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2015-12-15  2:02           ` Scott Wood
  0 siblings, 0 replies; 14+ messages in thread
From: Scott Wood @ 2015-12-15  2:02 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, 2015-12-14 at 20:01 -0600, Hu Mingkai-B21284 wrote:
> 
> > -----Original Message-----
> > From: Hu Mingkai-B21284
> > Sent: Monday, December 07, 2015 4:44 PM
> > To: 'Rob Herring'
> > Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
> > linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
> > Subject: RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Rob Herring [mailto:robh at kernel.org]
> > > Sent: Saturday, December 05, 2015 12:23 AM
> > > To: Hu Mingkai-B21284
> > > Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
> > > linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
> > > Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > > 
> > > On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > > > From: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > > 
> > > > The patch adds LS2085a to PCIe compatible to fix the compatibility
> > > > issue when using firmware with LS2085a compatible property.
> > > > 
> > > > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> > > > ---
> > > > v2 change:
> > > >  - Rebased to latest kernel base
> > > 
> > > How about implementing my comments on v1, too?
> > > 
> > 
> > Hi Rob,
> > 
> > Do you mean to change the combinations in layerscape-pci.txt as follows?
> > 
> > > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > @@ -15,6 +15,7 @@ Required properties:
> > >  - compatible: should contain the platform identifier such as:
> > >          "fsl,ls1021a-pcie", "snps,dw-pcie"
> > > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> > 
> > 
> > And the ls2085a was released first, but the dts file is for ls2080a (fsl-
> > ls2080a.dtsi), So I prefer to put the ls2080a as the first compatible
> > string. How about your suggestion?
> > 
> 
> Hi Rob,
> 
> I will keep the "fsl,ls2085a-pcie" as the first compatible string as
> discussed.

Do you mean "fsl,ls2080a-pcie"?

-Scott

> And change the layerscape-pci.txt as follows:
> 
> > > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> 
> What's your suggestion?

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

* RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
  2015-12-15  2:02           ` Scott Wood
@ 2015-12-15  2:05             ` Hu Vincent
  -1 siblings, 0 replies; 14+ messages in thread
From: Hu Vincent @ 2015-12-15  2:05 UTC (permalink / raw)
  To: Scott Wood, Rob Herring
  Cc: devicetree, arm, Li Leo, linux-arm-kernel, Lian M.H.



> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Tuesday, December 15, 2015 10:03 AM
> To: Hu Mingkai-B21284; Rob Herring
> Cc: arm@kernel.org; devicetree@vger.kernel.org; Li Yang-Leo-R58472;
> linux-arm-kernel@lists.infradead.org; Lian Minghuan-B31939
> Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> 
> On Mon, 2015-12-14 at 20:01 -0600, Hu Mingkai-B21284 wrote:
> >
> > > -----Original Message-----
> > > From: Hu Mingkai-B21284
> > > Sent: Monday, December 07, 2015 4:44 PM
> > > To: 'Rob Herring'
> > > Cc: arm@kernel.org; devicetree@vger.kernel.org; Li Yang-Leo-R58472;
> > > linux-arm-kernel@lists.infradead.org; Lian Minghuan-B31939
> > > Subject: RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Rob Herring [mailto:robh@kernel.org]
> > > > Sent: Saturday, December 05, 2015 12:23 AM
> > > > To: Hu Mingkai-B21284
> > > > Cc: arm@kernel.org; devicetree@vger.kernel.org; Li
> > > > Yang-Leo-R58472; linux-arm-kernel@lists.infradead.org; Lian
> > > > Minghuan-B31939
> > > > Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > > >
> > > > On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > > > > From: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > > >
> > > > > The patch adds LS2085a to PCIe compatible to fix the
> > > > > compatibility issue when using firmware with LS2085a compatible
> property.
> > > > >
> > > > > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > > > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> > > > > ---
> > > > > v2 change:
> > > > >  - Rebased to latest kernel base
> > > >
> > > > How about implementing my comments on v1, too?
> > > >
> > >
> > > Hi Rob,
> > >
> > > Do you mean to change the combinations in layerscape-pci.txt as
> follows?
> > >
> > > > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > > @@ -15,6 +15,7 @@ Required properties:
> > > >  - compatible: should contain the platform identifier such as:
> > > >          "fsl,ls1021a-pcie", "snps,dw-pcie"
> > > > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > > > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> > >
> > >
> > > And the ls2085a was released first, but the dts file is for ls2080a
> > > (fsl- ls2080a.dtsi), So I prefer to put the ls2080a as the first
> > > compatible string. How about your suggestion?
> > >
> >
> > Hi Rob,
> >
> > I will keep the "fsl,ls2085a-pcie" as the first compatible string as
> > discussed.
> 
> Do you mean "fsl,ls2080a-pcie"?
> 

Oops. Yes, it's "fsl,ls2080a-pcie ".

Thanks,
Mingkai

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

* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2015-12-15  2:05             ` Hu Vincent
  0 siblings, 0 replies; 14+ messages in thread
From: Hu Vincent @ 2015-12-15  2:05 UTC (permalink / raw)
  To: linux-arm-kernel



> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Tuesday, December 15, 2015 10:03 AM
> To: Hu Mingkai-B21284; Rob Herring
> Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
> linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
> Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> 
> On Mon, 2015-12-14 at 20:01 -0600, Hu Mingkai-B21284 wrote:
> >
> > > -----Original Message-----
> > > From: Hu Mingkai-B21284
> > > Sent: Monday, December 07, 2015 4:44 PM
> > > To: 'Rob Herring'
> > > Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
> > > linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
> > > Subject: RE: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Rob Herring [mailto:robh at kernel.org]
> > > > Sent: Saturday, December 05, 2015 12:23 AM
> > > > To: Hu Mingkai-B21284
> > > > Cc: arm at kernel.org; devicetree at vger.kernel.org; Li
> > > > Yang-Leo-R58472; linux-arm-kernel at lists.infradead.org; Lian
> > > > Minghuan-B31939
> > > > Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
> > > >
> > > > On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
> > > > > From: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > > >
> > > > > The patch adds LS2085a to PCIe compatible to fix the
> > > > > compatibility issue when using firmware with LS2085a compatible
> property.
> > > > >
> > > > > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> > > > > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
> > > > > ---
> > > > > v2 change:
> > > > >  - Rebased to latest kernel base
> > > >
> > > > How about implementing my comments on v1, too?
> > > >
> > >
> > > Hi Rob,
> > >
> > > Do you mean to change the combinations in layerscape-pci.txt as
> follows?
> > >
> > > > --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > > +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
> > > > @@ -15,6 +15,7 @@ Required properties:
> > > >  - compatible: should contain the platform identifier such as:
> > > >          "fsl,ls1021a-pcie", "snps,dw-pcie"
> > > > -        "fsl,ls2080a-pcie", "snps,dw-pcie"
> > > > +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
> > >
> > >
> > > And the ls2085a was released first, but the dts file is for ls2080a
> > > (fsl- ls2080a.dtsi), So I prefer to put the ls2080a as the first
> > > compatible string. How about your suggestion?
> > >
> >
> > Hi Rob,
> >
> > I will keep the "fsl,ls2085a-pcie" as the first compatible string as
> > discussed.
> 
> Do you mean "fsl,ls2080a-pcie"?
> 

Oops. Yes, it's "fsl,ls2080a-pcie ".

Thanks,
Mingkai

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

* Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
  2015-12-07  8:44       ` Hu Vincent
@ 2016-01-18  8:09           ` Li Yang
  -1 siblings, 0 replies; 14+ messages in thread
From: Li Yang @ 2016-01-18  8:09 UTC (permalink / raw)
  To: Hu Vincent
  Cc: Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA,
	arm-DgEjT+Ai2ygdnm+yROfE0A,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Lian M.H.

On Mon, Dec 7, 2015 at 4:44 PM, Hu Vincent <Mingkai.Hu-KZfg59tc24xl57MIdRCFDg@public.gmane.org> wrote:
>
>
>> -----Original Message-----
>> From: Rob Herring [mailto:robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org]
>> Sent: Saturday, December 05, 2015 12:23 AM
>> To: Hu Mingkai-B21284
>> Cc: arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Li Yang-Leo-R58472;
>> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; Lian Minghuan-B31939
>> Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
>>
>> On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
>> > From: Minghuan Lian <Minghuan.Lian-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
>> >
>> > The patch adds LS2085a to PCIe compatible to fix the compatibility
>> > issue when using firmware with LS2085a compatible property.
>> >
>> > Signed-off-by: Minghuan Lian <Minghuan.Lian-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
>> > Signed-off-by: Mingkai Hu <Mingkai.Hu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
>> > ---
>> > v2 change:
>> >  - Rebased to latest kernel base
>>
>> How about implementing my comments on v1, too?
>>
>
> Hi Rob,
>
> Do you mean to change the combinations in layerscape-pci.txt as follows?
>
>> --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
>> +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
>> @@ -15,6 +15,7 @@ Required properties:
>>  - compatible: should contain the platform identifier such as:
>>          "fsl,ls1021a-pcie", "snps,dw-pcie"
>> -        "fsl,ls2080a-pcie", "snps,dw-pcie"
>> +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
>
>
> And the ls2085a was released first, but the dts file is for ls2080a (fsl-ls2080a.dtsi),
> So I prefer to put the ls2080a as the first compatible string. How about your suggestion?

I think this is what Rob suggested in v1 to make the combination in
document align with real dts. And it would be good to also have an
entry for ls2085: "fsl,ls2085a-pcie", "snps,dw-pcie".  Can you send an
updated version?

Regards,
Leo
--
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] 14+ messages in thread

* [PATCH v2] dts/ls2080a: Update PCIe compatible
@ 2016-01-18  8:09           ` Li Yang
  0 siblings, 0 replies; 14+ messages in thread
From: Li Yang @ 2016-01-18  8:09 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Dec 7, 2015 at 4:44 PM, Hu Vincent <Mingkai.Hu@freescale.com> wrote:
>
>
>> -----Original Message-----
>> From: Rob Herring [mailto:robh at kernel.org]
>> Sent: Saturday, December 05, 2015 12:23 AM
>> To: Hu Mingkai-B21284
>> Cc: arm at kernel.org; devicetree at vger.kernel.org; Li Yang-Leo-R58472;
>> linux-arm-kernel at lists.infradead.org; Lian Minghuan-B31939
>> Subject: Re: [PATCH v2] dts/ls2080a: Update PCIe compatible
>>
>> On Fri, Dec 04, 2015 at 06:20:17PM +0800, Mingkai Hu wrote:
>> > From: Minghuan Lian <Minghuan.Lian@freescale.com>
>> >
>> > The patch adds LS2085a to PCIe compatible to fix the compatibility
>> > issue when using firmware with LS2085a compatible property.
>> >
>> > Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
>> > Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
>> > ---
>> > v2 change:
>> >  - Rebased to latest kernel base
>>
>> How about implementing my comments on v1, too?
>>
>
> Hi Rob,
>
> Do you mean to change the combinations in layerscape-pci.txt as follows?
>
>> --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt
>> +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt
>> @@ -15,6 +15,7 @@ Required properties:
>>  - compatible: should contain the platform identifier such as:
>>          "fsl,ls1021a-pcie", "snps,dw-pcie"
>> -        "fsl,ls2080a-pcie", "snps,dw-pcie"
>> +        "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie"
>
>
> And the ls2085a was released first, but the dts file is for ls2080a (fsl-ls2080a.dtsi),
> So I prefer to put the ls2080a as the first compatible string. How about your suggestion?

I think this is what Rob suggested in v1 to make the combination in
document align with real dts. And it would be good to also have an
entry for ls2085: "fsl,ls2085a-pcie", "snps,dw-pcie".  Can you send an
updated version?

Regards,
Leo

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

end of thread, other threads:[~2016-01-18  8:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-04 10:20 [PATCH v2] dts/ls2080a: Update PCIe compatible Mingkai Hu
2015-12-04 10:20 ` Mingkai Hu
     [not found] ` <1449224417-20753-1-git-send-email-Mingkai.Hu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-12-04 16:22   ` Rob Herring
2015-12-04 16:22     ` Rob Herring
2015-12-07  8:44     ` Hu Vincent
2015-12-07  8:44       ` Hu Vincent
     [not found]       ` <BY2PR03MB3169DD34DF302BCF7A60FF284090-+7O3WWA3DPuCr+ldVt6je+O6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2016-01-18  8:09         ` Li Yang
2016-01-18  8:09           ` Li Yang
2015-12-15  2:01     ` Hu Vincent
2015-12-15  2:01       ` Hu Vincent
     [not found]       ` <BY2PR03MB3160E6BF80C63C5DF0AB91F84EE0-+7O3WWA3DPuCr+ldVt6je+O6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-12-15  2:02         ` Scott Wood
2015-12-15  2:02           ` Scott Wood
2015-12-15  2:05           ` Hu Vincent
2015-12-15  2:05             ` Hu Vincent

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.