[PATCH v6 0/2] dts/ls2080a: update the DTS for QSPI and DSPI support

STALE3799d

9 messages, 3 authors, 2016-04-13 · open the first message on its own page

[PATCH v6 0/2] dts/ls2080a: update the DTS for QSPI and DSPI support

From: Yuan Yao <hidden>
Date: 2016-03-09 10:31:20

From: Yuan Yao <redacted>

Both of the patches are already send out to l2-mtd as a part of the set
for add QSPI support on Freescale new SOC before.

But those two patch should not be merged into l2-mtd, so I have to resend them.

Yuan Yao (2):
  dts/ls2080a: update the DTS for QSPI and DSPI support
  Documentation: fsl: dspi: Add fsl,ls2080a-dspi compatible string

 Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 5 ++++-
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts      | 9 ++++++++-
 arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi         | 4 ++--
 3 files changed, 14 insertions(+), 4 deletions(-)

-- 
2.1.0.27.g96db324

[PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support

From: Yuan Yao <hidden>
Date: 2016-03-09 10:31:36

Signed-off-by: Yuan Yao <redacted>
Acked-by: Han xu <han.xu@nxp.com>
---
Changed in v6:
No changes.

Changed in v5:
Resend base on arm-soc.

Changed in v4:
No changes.

Changed in v3:
No changes.

Changed in v2:
Update my email to [off-list ref]
---
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 ++++++++-
 arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi    | 4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
index 4cb996d..e8801fa 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
@@ -178,7 +178,14 @@
 
 &qspi {
 	status = "okay";
-	qflash0: s25fl008k {
+	flash0: s25fl256s1 at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "st,m25p80";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+	};
+	flash2: s25fl256s1 at 2 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "st,m25p80";
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
index 2b23d03..65e612a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
@@ -318,7 +318,7 @@
 
 		dspi: dspi at 2100000 {
 			status = "disabled";
-			compatible = "fsl,vf610-dspi";
+			compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x2100000 0x0 0x10000>;
@@ -444,7 +444,7 @@
 
 		qspi: quadspi at 20c0000 {
 			status = "disabled";
-			compatible = "fsl,vf610-qspi";
+			compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x20c0000 0x0 0x10000>,
-- 
2.1.0.27.g96db324

[PATCH v6 1/2] Documentation: fsl: dspi: Add fsl,ls2080a-dspi compatible string

From: Yuan Yao <hidden>
Date: 2016-03-09 10:46:31

new compatible string: "fsl,ls2080a-dspi".

Signed-off-by: Yuan Yao <redacted>
Acked-by: Rob Herring <robh@kernel.org>
---
Changed in v6:
No changes.

Changed in v5:
Fix the subject and commit message.

Changed in v4:
No changes.

Changed in v3:
Add the modifier for new compatible string like:
"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"

Changed in v2:
Update my email to [off-list ref]
---
 Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
index fa77f87..1ad0fe3 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
@@ -1,7 +1,10 @@
 ARM Freescale DSPI controller
 
 Required properties:
-- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi", "fsl,ls2085a-dspi"
+- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi",
+		"fsl,ls2085a-dspi"
+		or
+		"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
 - reg : Offset and length of the register set for the device
 - interrupts : Should contain SPI controller interrupt
 - clocks: from common clock binding: handle to dspi clock.
-- 
2.1.0.27.g96db324

RE: [PATCH v6 1/2] Documentation: fsl: dspi: Add fsl,ls2080a-dspi compatible string

From: Yao Yuan <hidden>
Date: 2016-03-25 07:28:07

Hi All,

Could you please help to review and merge this patch?

Thanks.

On 03/09/2016 08:59 PM, Yao Yuan wrote:
quoted hunk
new compatible string: "fsl,ls2080a-dspi".

Signed-off-by: Yuan Yao <redacted>
Acked-by: Rob Herring <robh@kernel.org>
---
Changed in v6:
No changes.

Changed in v5:
Fix the subject and commit message.

Changed in v4:
No changes.

Changed in v3:
Add the modifier for new compatible string like:
"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"

Changed in v2:
Update my email to [off-list ref]
---
 Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
index fa77f87..1ad0fe3 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
@@ -1,7 +1,10 @@
 ARM Freescale DSPI controller

 Required properties:
-- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi", "fsl,ls2085a-dspi"
+- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi",
+		"fsl,ls2085a-dspi"
+		or
+		"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
 - reg : Offset and length of the register set for the device
 - interrupts : Should contain SPI controller interrupt
 - clocks: from common clock binding: handle to dspi clock.
--

RE: [PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support

From: Yao Yuan <hidden>
Date: 2016-03-25 07:28:12

Hi All,

Could you please help to review and merge this patch?

Thanks.

Best Regards,
Yuan Yao


On 03/09/2016 08:59 PM, Yao Yuan wrote:
quoted hunk
Signed-off-by: Yuan Yao <redacted>
Acked-by: Han xu <han.xu@nxp.com>
---
Changed in v6:
No changes.

Changed in v5:
Resend base on arm-soc.

Changed in v4:
No changes.

Changed in v3:
No changes.

Changed in v2:
Update my email to [off-list ref]
---
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 ++++++++-
 arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi    | 4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
index 4cb996d..e8801fa 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
@@ -178,7 +178,14 @@

 &qspi {
 	status = "okay";
-	qflash0: s25fl008k {
+	flash0: s25fl256s1 at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "st,m25p80";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+	};
+	flash2: s25fl256s1 at 2 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "st,m25p80";
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
index 2b23d03..65e612a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
@@ -318,7 +318,7 @@

 		dspi: dspi at 2100000 {
 			status = "disabled";
-			compatible = "fsl,vf610-dspi";
+			compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x2100000 0x0 0x10000>;
@@ -444,7 +444,7 @@

 		qspi: quadspi at 20c0000 {
 			status = "disabled";
-			compatible = "fsl,vf610-qspi";
+			compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x20c0000 0x0 0x10000>,
--
2.1.0.27.g96db324

RE: [PATCH v6 1/2] Documentation: fsl: dspi: Add fsl,ls2080a-dspi compatible string

From: Yao Yuan <hidden>
Date: 2016-03-31 06:39:21

Hi Brian Norris,

Could you please help to review and merge this patch?

Thanks.
On 03/09/2016 08:59 PM, Yao Yuan wrote:
quoted
new compatible string: "fsl,ls2080a-dspi".

Signed-off-by: Yuan Yao <redacted>
Acked-by: Rob Herring <robh@kernel.org>
---
Changed in v6:
No changes.

Changed in v5:
Fix the subject and commit message.

Changed in v4:
No changes.

Changed in v3:
Add the modifier for new compatible string like:
"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"

Changed in v2:
Update my email to [off-list ref]
---
 Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
index fa77f87..1ad0fe3 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
@@ -1,7 +1,10 @@
 ARM Freescale DSPI controller

 Required properties:
-- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi", "fsl,ls2085a-dspi"
+- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi",
+		"fsl,ls2085a-dspi"
+		or
+		"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
 - reg : Offset and length of the register set for the device
 - interrupts : Should contain SPI controller interrupt
 - clocks: from common clock binding: handle to dspi clock.
--

Re: [PATCH v6 1/2] Documentation: fsl: dspi: Add fsl, ls2080a-dspi compatible string

From: Shawn Guo <shawnguo@kernel.org>
Date: 2016-04-13 02:24:29

On Wed, Mar 09, 2016 at 06:22:05PM +0800, Yuan Yao wrote:
new compatible string: "fsl,ls2080a-dspi".

Signed-off-by: Yuan Yao <redacted>
Acked-by: Rob Herring <robh@kernel.org>
Drop the space after 'fsl,' and applied the patch.

Shawn

Re: [PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support

From: Shawn Guo <shawnguo@kernel.org>
Date: 2016-04-13 02:30:19

On Wed, Mar 09, 2016 at 06:22:06PM +0800, Yuan Yao wrote:
Signed-off-by: Yuan Yao <redacted>
Acked-by: Han xu <han.xu@nxp.com>
Changed subject prefix to 'arm64: dts: ls2080a: ', and then applied the
patch.

Shawn
quoted hunk
---
Changed in v6:
No changes.

Changed in v5:
Resend base on arm-soc.

Changed in v4:
No changes.

Changed in v3:
No changes.

Changed in v2:
Update my email to [off-list ref]
---
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 ++++++++-
 arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi    | 4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
index 4cb996d..e8801fa 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
@@ -178,7 +178,14 @@
 
 &qspi {
 	status = "okay";
-	qflash0: s25fl008k {
+	flash0: s25fl256s1 at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "st,m25p80";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+	};
+	flash2: s25fl256s1 at 2 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "st,m25p80";
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
index 2b23d03..65e612a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
@@ -318,7 +318,7 @@
 
 		dspi: dspi at 2100000 {
 			status = "disabled";
-			compatible = "fsl,vf610-dspi";
+			compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x2100000 0x0 0x10000>;
@@ -444,7 +444,7 @@
 
 		qspi: quadspi at 20c0000 {
 			status = "disabled";
-			compatible = "fsl,vf610-qspi";
+			compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x20c0000 0x0 0x10000>,
-- 
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

RE: [PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support

From: Yao Yuan <hidden>
Date: 2016-04-13 02:57:13

Thanks for your review and work.

Best Regards,
Yuan Yao

-----Original Message-----
From: Shawn Guo [mailto:shawnguo at kernel.org]
Sent: Wednesday, April 13, 2016 10:30 AM
To: Yuan Yao <redacted>
Cc: robh+dt at kernel.org; mark.rutland at arm.com; pawel.moll at arm.com; Han
Xu [off-list ref]; Yang-Leo Li [off-list ref];
devicetree at vger.kernel.org; linux-kernel at vger.kernel.org; linux-arm-
kernel at lists.infradead.org; Yao Yuan [off-list ref]
Subject: Re: [PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI
support

On Wed, Mar 09, 2016 at 06:22:06PM +0800, Yuan Yao wrote:
quoted
Signed-off-by: Yuan Yao <redacted>
Acked-by: Han xu <han.xu@nxp.com>
Changed subject prefix to 'arm64: dts: ls2080a: ', and then applied the patch.

Shawn
quoted
---
Changed in v6:
No changes.

Changed in v5:
Resend base on arm-soc.

Changed in v4:
No changes.

Changed in v3:
No changes.

Changed in v2:
Update my email to [off-list ref]
---
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 ++++++++-
 arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi    | 4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
index 4cb996d..e8801fa 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
@@ -178,7 +178,14 @@

 &qspi {
 	status = "okay";
-	qflash0: s25fl008k {
+	flash0: s25fl256s1 at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "st,m25p80";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+	};
+	flash2: s25fl256s1 at 2 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "st,m25p80";
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
index 2b23d03..65e612a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
@@ -318,7 +318,7 @@

 		dspi: dspi at 2100000 {
 			status = "disabled";
-			compatible = "fsl,vf610-dspi";
+			compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x2100000 0x0 0x10000>; @@ -444,7 +444,7
@@
quoted
 		qspi: quadspi at 20c0000 {
 			status = "disabled";
-			compatible = "fsl,vf610-qspi";
+			compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x0 0x20c0000 0x0 0x10000>,
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help