* [PATCH 0/2] arm64: dts: Add ls1088a DSPI device tree nodes
@ 2017-11-01 3:40 Zhiqiang Hou
2017-11-01 3:40 ` [PATCH 1/2] arm64: dts: ls1088a: add DT nodes for DSPI support Zhiqiang Hou
2017-11-01 3:40 ` [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI Zhiqiang Hou
0 siblings, 2 replies; 5+ messages in thread
From: Zhiqiang Hou @ 2017-11-01 3:40 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, devicetree, linux-spi, broonie,
robh+dt, mark.rutland, shawnguo, prabhakar.kushwaha
Cc: Hou Zhiqiang
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
LS1088A reuse LS2085A DSPI driver, this patchset just adds device tree
nodes and adds compatible entry to documentation.
Hou Zhiqiang (2):
arm64: dts: ls1088a: add DT nodes for DSPI support
Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI
.../devicetree/bindings/spi/spi-fsl-dspi.txt | 1 +
arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts | 28 ++++++++++++++++++++++
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 13 ++++++++++
3 files changed, 42 insertions(+)
--
2.14.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] arm64: dts: ls1088a: add DT nodes for DSPI support
2017-11-01 3:40 [PATCH 0/2] arm64: dts: Add ls1088a DSPI device tree nodes Zhiqiang Hou
@ 2017-11-01 3:40 ` Zhiqiang Hou
2017-11-01 3:40 ` [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI Zhiqiang Hou
1 sibling, 0 replies; 5+ messages in thread
From: Zhiqiang Hou @ 2017-11-01 3:40 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, devicetree, linux-spi, broonie,
robh+dt, mark.rutland, shawnguo, prabhakar.kushwaha
Cc: Hou Zhiqiang
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts | 28 +++++++++++++++++++++++
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 13 +++++++++++
2 files changed, 41 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
index 30128051d0c0..cf5b85b93ae6 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
@@ -134,6 +134,34 @@
};
};
+&dspi {
+ status = "okay";
+
+ dflash0: n25q128a {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "n25q128a11", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <3000000>;
+ };
+
+ dflash1: sst25wf040b {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "sst,sst25wf040b", "jedec,spi-nor";
+ reg = <1>;
+ spi-max-frequency = <3000000>;
+ };
+
+ dflash2: en25s64 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "eon,en25s64", "jedec,spi-nor";
+ reg = <2>;
+ spi-max-frequency = <3000000>;
+ };
+};
+
&duart0 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index bd80e9a2e67c..f5ed3878abb7 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -276,6 +276,19 @@
};
};
+ dspi: dspi@2100000 {
+ compatible = "fsl,ls1088a-dspi", "fsl,ls2085a-dspi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x0 0x2100000 0x0 0x10000>;
+ interrupts = <0 26 0x4>; /* Level high type */
+ clocks = <&clockgen 4 3>;
+ clock-names = "dspi";
+ spi-num-chipselects = <5>;
+ bus-num = <0>;
+ status = "disabled";
+ };
+
duart0: serial@21c0500 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x0 0x21c0500 0x0 0x100>;
--
2.14.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI
2017-11-01 3:40 [PATCH 0/2] arm64: dts: Add ls1088a DSPI device tree nodes Zhiqiang Hou
2017-11-01 3:40 ` [PATCH 1/2] arm64: dts: ls1088a: add DT nodes for DSPI support Zhiqiang Hou
@ 2017-11-01 3:40 ` Zhiqiang Hou
2017-11-02 0:14 ` Rob Herring
1 sibling, 1 reply; 5+ messages in thread
From: Zhiqiang Hou @ 2017-11-01 3:40 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, devicetree, linux-spi, broonie,
robh+dt, mark.rutland, shawnguo, prabhakar.kushwaha
Cc: Hou Zhiqiang
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Add a new compatible string "fsl,ls1088a-dspi".
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
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 dcc7eaada511..5fc467211cc6 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
@@ -6,6 +6,7 @@ Required properties:
or
"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
"fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
+ "fsl,ls1088a-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.14.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI
2017-11-01 3:40 ` [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI Zhiqiang Hou
@ 2017-11-02 0:14 ` Rob Herring
2017-11-02 3:12 ` Z.q. Hou
0 siblings, 1 reply; 5+ messages in thread
From: Rob Herring @ 2017-11-02 0:14 UTC (permalink / raw)
To: Zhiqiang Hou
Cc: linux-arm-kernel, linux-kernel, devicetree, linux-spi, broonie,
mark.rutland, shawnguo, prabhakar.kushwaha
On Wed, Nov 01, 2017 at 11:40:15AM +0800, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>
> Add a new compatible string "fsl,ls1088a-dspi".
>
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> ---
> Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 +
> 1 file changed, 1 insertion(+)
"dt-bindings: spi: " for the subject. Otherwise,
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI
2017-11-02 0:14 ` Rob Herring
@ 2017-11-02 3:12 ` Z.q. Hou
0 siblings, 0 replies; 5+ messages in thread
From: Z.q. Hou @ 2017-11-02 3:12 UTC (permalink / raw)
To: Rob Herring
Cc: linux-arm-kernel, linux-kernel, devicetree, linux-spi, broonie,
mark.rutland, shawnguo, Prabhakar Kushwaha
Hi Rob,
Thanks a lot for the ack!
> -----Original Message-----
> From: Rob Herring [mailto:robh@kernel.org]
> Sent: 2017年11月2日 8:14
> To: Z.q. Hou <zhiqiang.hou@nxp.com>
> Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org;
> devicetree@vger.kernel.org; linux-spi@vger.kernel.org; broonie@kernel.org;
> mark.rutland@arm.com; shawnguo@kernel.org; Prabhakar Kushwaha
> <prabhakar.kushwaha@nxp.com>
> Subject: Re: [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for
> ls1088a DSPI
>
> On Wed, Nov 01, 2017 at 11:40:15AM +0800, Zhiqiang Hou wrote:
> > From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> >
> > Add a new compatible string "fsl,ls1088a-dspi".
> >
> > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> > ---
> > Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 +
> > 1 file changed, 1 insertion(+)
>
> "dt-bindings: spi: " for the subject. Otherwise,
I'll recompose the subject in next version.
>
> Acked-by: Rob Herring <robh@kernel.org>
Thanks,
Zhiqiang
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-11-02 3:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01 3:40 [PATCH 0/2] arm64: dts: Add ls1088a DSPI device tree nodes Zhiqiang Hou
2017-11-01 3:40 ` [PATCH 1/2] arm64: dts: ls1088a: add DT nodes for DSPI support Zhiqiang Hou
2017-11-01 3:40 ` [PATCH 2/2] Documentation: fsl: dspi: Add a compatible string for ls1088a DSPI Zhiqiang Hou
2017-11-02 0:14 ` Rob Herring
2017-11-02 3:12 ` 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).