* [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support
@ 2017-08-30 10:12 Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 1/3] " Zhiqiang Hou
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Zhiqiang Hou @ 2017-08-30 10:12 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
shawnguo-DgEjT+Ai2ygdnm+yROfE0A, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w
Cc: Hou Zhiqiang
From: Hou Zhiqiang <Zhiqiang.Hou-3arQi8VN3Tc@public.gmane.org>
Corrected the subject for 3/5 patch v1.
Yuan Yao (3):
arm64: dts: ls1012a: add the DTS node for DSPI support
Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string
Documentation: dt: mtd: add sst25wf040b and en25s64 to the SPI NOR
support list
.../devicetree/bindings/mtd/jedec,spi-nor.txt | 2 ++
.../devicetree/bindings/spi/spi-fsl-dspi.txt | 1 +
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 33 ++++++++++++++++++++++
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 13 +++++++++
4 files changed, 49 insertions(+)
--
2.14.1
--
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] 6+ messages in thread
* [PATCHv2 1/3] arm64: dts: ls1012a: add the DTS node for DSPI support
2017-08-30 10:12 [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support Zhiqiang Hou
@ 2017-08-30 10:12 ` Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 2/3] Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string Zhiqiang Hou
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Zhiqiang Hou @ 2017-08-30 10:12 UTC (permalink / raw)
To: linux-arm-kernel, devicetree, linux-kernel, shawnguo, dwmw2,
robh+dt, mark.rutland, computersforpeace
Cc: Yuan Yao, Hou Zhiqiang
From: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
V2:
- No change
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 33 +++++++++++++++++++++++
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 13 +++++++++
2 files changed, 46 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
index 8c013b54db14..cdc4aee75227 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
@@ -93,6 +93,39 @@
};
};
+&dspi {
+ bus-num = <0>;
+ status = "okay";
+
+ flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "n25q128a11", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <10000000>;
+ };
+
+ flash@1 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "sst25wf040b", "jedec,spi-nor";
+ spi-cpol;
+ spi-cpha;
+ reg = <1>;
+ spi-max-frequency = <10000000>;
+ };
+
+ flash@2 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "en25s64", "jedec,spi-nor";
+ spi-cpol;
+ spi-cpha;
+ reg = <2>;
+ spi-max-frequency = <10000000>;
+ };
+};
+
&duart0 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
index df83915d6ea6..09ce00022728 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
@@ -355,6 +355,19 @@
status = "disabled";
};
+ dspi: dspi@2100000 {
+ compatible = "fsl,ls1012a-dspi", "fsl,ls1021a-v1.0-dspi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x0 0x2100000 0x0 0x10000>;
+ interrupts = <0 64 IRQ_TYPE_LEVEL_HIGH>;
+ clock-names = "dspi";
+ clocks = <&clockgen 4 0>;
+ spi-num-chipselects = <5>;
+ big-endian;
+ status = "disabled";
+ };
+
duart0: serial@21c0500 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x00 0x21c0500 0x0 0x100>;
--
2.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCHv2 2/3] Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string
2017-08-30 10:12 [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 1/3] " Zhiqiang Hou
@ 2017-08-30 10:12 ` Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 3/3] Documentation: dt: mtd: add sst25wf040b and en25s64 to the SPI NOR support list Zhiqiang Hou
[not found] ` <20170830101238.28378-1-Zhiqiang.Hou-3arQi8VN3Tc@public.gmane.org>
3 siblings, 0 replies; 6+ messages in thread
From: Zhiqiang Hou @ 2017-08-30 10:12 UTC (permalink / raw)
To: linux-arm-kernel, devicetree, linux-kernel, shawnguo, dwmw2,
robh+dt, mark.rutland, computersforpeace
Cc: Yuan Yao, Hou Zhiqiang
From: Yuan Yao <yao.yuan@nxp.com>
new compatible string: "fsl,ls1012a-dspi".
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
---
V2:
- No change
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
index ff5893d275a2..800c483b0076 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
@@ -5,6 +5,7 @@ Required properties:
"fsl,ls2085a-dspi"
or
"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
+ "fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-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.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCHv2 3/3] Documentation: dt: mtd: add sst25wf040b and en25s64 to the SPI NOR support list
2017-08-30 10:12 [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 1/3] " Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 2/3] Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string Zhiqiang Hou
@ 2017-08-30 10:12 ` Zhiqiang Hou
[not found] ` <20170830101238.28378-1-Zhiqiang.Hou-3arQi8VN3Tc@public.gmane.org>
3 siblings, 0 replies; 6+ messages in thread
From: Zhiqiang Hou @ 2017-08-30 10:12 UTC (permalink / raw)
To: linux-arm-kernel, devicetree, linux-kernel, shawnguo, dwmw2,
robh+dt, mark.rutland, computersforpeace
Cc: Yuan Yao, Hou Zhiqiang
From: Yuan Yao <yao.yuan@nxp.com>
The chip sst25wf040b and en25s64 are compatible with SPI NOR flash.
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
---
V2:
- Corrected the subject.
Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
index 9ce35af8507c..4cab5d85cf6f 100644
--- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
+++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
@@ -13,6 +13,7 @@ Required properties:
at25df321a
at25df641
at26df081a
+ en25s64
mr25h256
mr25h10
mr25h40
@@ -31,6 +32,7 @@ Required properties:
s25fl008k
s25fl064k
sst25vf040b
+ sst25wf040b
m25p40
m25p80
m25p16
--
2.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support
[not found] ` <20170830101238.28378-1-Zhiqiang.Hou-3arQi8VN3Tc@public.gmane.org>
@ 2017-09-20 14:10 ` Shawn Guo
2017-09-21 2:47 ` Z.q. Hou
0 siblings, 1 reply; 6+ messages in thread
From: Shawn Guo @ 2017-09-20 14:10 UTC (permalink / raw)
To: Zhiqiang Hou
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w
On Wed, Aug 30, 2017 at 06:12:35PM +0800, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou-3arQi8VN3Tc@public.gmane.org>
>
> Corrected the subject for 3/5 patch v1.
>
> Yuan Yao (3):
> arm64: dts: ls1012a: add the DTS node for DSPI support
> Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string
> Documentation: dt: mtd: add sst25wf040b and en25s64 to the SPI NOR
> support list
I edited bindings doc patch subject a bit, and applied all.
Shawn
--
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] 6+ messages in thread
* RE: [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support
2017-09-20 14:10 ` [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support Shawn Guo
@ 2017-09-21 2:47 ` Z.q. Hou
0 siblings, 0 replies; 6+ messages in thread
From: Z.q. Hou @ 2017-09-21 2:47 UTC (permalink / raw)
To: Shawn Guo
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Hi Shawn,
> -----Original Message-----
> From: Shawn Guo [mailto:shawnguo@kernel.org]
> Sent: 2017年9月20日 22:11
> To: Z.q. Hou <zhiqiang.hou@nxp.com>
> Cc: linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org;
> linux-kernel@vger.kernel.org; dwmw2@infradead.org; robh+dt@kernel.org;
> mark.rutland@arm.com; computersforpeace@gmail.com
> Subject: Re: [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI
> support
>
> On Wed, Aug 30, 2017 at 06:12:35PM +0800, Zhiqiang Hou wrote:
> > From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> >
> > Corrected the subject for 3/5 patch v1.
> >
> > Yuan Yao (3):
> > arm64: dts: ls1012a: add the DTS node for DSPI support
> > Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string
> > Documentation: dt: mtd: add sst25wf040b and en25s64 to the SPI NOR
> > support list
>
> I edited bindings doc patch subject a bit, and applied all.
Thanks a lot!
- Zhiqiang
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-09-21 2:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-30 10:12 [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 1/3] " Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 2/3] Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string Zhiqiang Hou
2017-08-30 10:12 ` [PATCHv2 3/3] Documentation: dt: mtd: add sst25wf040b and en25s64 to the SPI NOR support list Zhiqiang Hou
[not found] ` <20170830101238.28378-1-Zhiqiang.Hou-3arQi8VN3Tc@public.gmane.org>
2017-09-20 14:10 ` [PATCHv2 0/3] arm64: dts: ls1012a: add the DTS node for DSPI support Shawn Guo
2017-09-21 2:47 ` Z.q. Hou
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).