All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible
@ 2020-02-18 17:14 ` Michael Walle
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Walle @ 2020-02-18 17:14 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: Mark Rutland, Rob Herring, Li Yang, Shawn Guo, Michael Walle

Signed-off-by: Michael Walle <michael@walle.cc>
---
changes since v1:
 - none, this is a new patch

 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 162e024b95a0..a6e4bc5e96db 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
@@ -7,6 +7,7 @@ Required properties:
 		"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
 		"fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
 		"fsl,ls1088a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
+		"fsl,ls1028a-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.20.1


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

* [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible
@ 2020-02-18 17:14 ` Michael Walle
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Walle @ 2020-02-18 17:14 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: Mark Rutland, Michael Walle, Rob Herring, Shawn Guo, Li Yang

Signed-off-by: Michael Walle <michael@walle.cc>
---
changes since v1:
 - none, this is a new patch

 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 162e024b95a0..a6e4bc5e96db 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
@@ -7,6 +7,7 @@ Required properties:
 		"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
 		"fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
 		"fsl,ls1088a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
+		"fsl,ls1028a-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.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v2 2/2] arm64: dts: ls1028a: add missing SPI nodes
  2020-02-18 17:14 ` Michael Walle
@ 2020-02-18 17:14   ` Michael Walle
  -1 siblings, 0 replies; 10+ messages in thread
From: Michael Walle @ 2020-02-18 17:14 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: Mark Rutland, Rob Herring, Li Yang, Shawn Guo, Michael Walle

The LS1028A has three (dual) SPI controller. These are compatible with
the ones from the LS1021A. Add the nodes.

The third controller was tested on a custom board.

Signed-off-by: Michael Walle <michael@walle.cc>
---
changes since v1:
 - add "fsl,ls1028a-dspi" compatible string

 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 0bf375ec959b..ef1e3867b3fb 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -290,6 +290,45 @@
 			status = "disabled";
 		};
 
+		dspi0: spi@2100000 {
+			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x2100000 0x0 0x10000>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "dspi";
+			clocks = <&clockgen 4 1>;
+			spi-num-chipselects = <4>;
+			little-endian;
+			status = "disabled";
+		};
+
+		dspi1: spi@2110000 {
+			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x2110000 0x0 0x10000>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "dspi";
+			clocks = <&clockgen 4 1>;
+			spi-num-chipselects = <4>;
+			little-endian;
+			status = "disabled";
+		};
+
+		dspi2: spi@2120000 {
+			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x2120000 0x0 0x10000>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "dspi";
+			clocks = <&clockgen 4 1>;
+			spi-num-chipselects = <3>;
+			little-endian;
+			status = "disabled";
+		};
+
 		esdhc: mmc@2140000 {
 			compatible = "fsl,ls1028a-esdhc", "fsl,esdhc";
 			reg = <0x0 0x2140000 0x0 0x10000>;
-- 
2.20.1


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

* [PATCH v2 2/2] arm64: dts: ls1028a: add missing SPI nodes
@ 2020-02-18 17:14   ` Michael Walle
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Walle @ 2020-02-18 17:14 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: Mark Rutland, Michael Walle, Rob Herring, Shawn Guo, Li Yang

The LS1028A has three (dual) SPI controller. These are compatible with
the ones from the LS1021A. Add the nodes.

The third controller was tested on a custom board.

Signed-off-by: Michael Walle <michael@walle.cc>
---
changes since v1:
 - add "fsl,ls1028a-dspi" compatible string

 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 0bf375ec959b..ef1e3867b3fb 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -290,6 +290,45 @@
 			status = "disabled";
 		};
 
+		dspi0: spi@2100000 {
+			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x2100000 0x0 0x10000>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "dspi";
+			clocks = <&clockgen 4 1>;
+			spi-num-chipselects = <4>;
+			little-endian;
+			status = "disabled";
+		};
+
+		dspi1: spi@2110000 {
+			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x2110000 0x0 0x10000>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "dspi";
+			clocks = <&clockgen 4 1>;
+			spi-num-chipselects = <4>;
+			little-endian;
+			status = "disabled";
+		};
+
+		dspi2: spi@2120000 {
+			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x2120000 0x0 0x10000>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			clock-names = "dspi";
+			clocks = <&clockgen 4 1>;
+			spi-num-chipselects = <3>;
+			little-endian;
+			status = "disabled";
+		};
+
 		esdhc: mmc@2140000 {
 			compatible = "fsl,ls1028a-esdhc", "fsl,esdhc";
 			reg = <0x0 0x2140000 0x0 0x10000>;
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2 2/2] arm64: dts: ls1028a: add missing SPI nodes
  2020-02-18 17:14   ` Michael Walle
@ 2020-02-19  2:17     ` Shawn Guo
  -1 siblings, 0 replies; 10+ messages in thread
From: Shawn Guo @ 2020-02-19  2:17 UTC (permalink / raw
  To: Michael Walle
  Cc: linux-kernel, devicetree, linux-arm-kernel, Mark Rutland,
	Rob Herring, Li Yang

On Tue, Feb 18, 2020 at 06:14:18PM +0100, Michael Walle wrote:
> The LS1028A has three (dual) SPI controller. These are compatible with
> the ones from the LS1021A. Add the nodes.
> 
> The third controller was tested on a custom board.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>

Applied this version, instead.

Shawn

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

* Re: [PATCH v2 2/2] arm64: dts: ls1028a: add missing SPI nodes
@ 2020-02-19  2:17     ` Shawn Guo
  0 siblings, 0 replies; 10+ messages in thread
From: Shawn Guo @ 2020-02-19  2:17 UTC (permalink / raw
  To: Michael Walle
  Cc: Mark Rutland, devicetree, linux-kernel, Li Yang, Rob Herring,
	linux-arm-kernel

On Tue, Feb 18, 2020 at 06:14:18PM +0100, Michael Walle wrote:
> The LS1028A has three (dual) SPI controller. These are compatible with
> the ones from the LS1021A. Add the nodes.
> 
> The third controller was tested on a custom board.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>

Applied this version, instead.

Shawn

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible
  2020-02-18 17:14 ` Michael Walle
@ 2020-02-19 21:36   ` Rob Herring
  -1 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2020-02-19 21:36 UTC (permalink / raw
  To: Michael Walle
  Cc: linux-kernel, devicetree, linux-arm-kernel, Mark Rutland,
	Michael Walle

On Tue, 18 Feb 2020 18:14:17 +0100, Michael Walle wrote:
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> changes since v1:
>  - none, this is a new patch
> 
>  Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible
@ 2020-02-19 21:36   ` Rob Herring
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2020-02-19 21:36 UTC (permalink / raw
  To: Michael Walle
  Cc: Mark Rutland, devicetree, Michael Walle, linux-kernel,
	linux-arm-kernel

On Tue, 18 Feb 2020 18:14:17 +0100, Michael Walle wrote:
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> changes since v1:
>  - none, this is a new patch
> 
>  Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible
  2020-02-18 17:14 ` Michael Walle
@ 2020-03-06  9:52   ` Michael Walle
  -1 siblings, 0 replies; 10+ messages in thread
From: Michael Walle @ 2020-03-06  9:52 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: Mark Rutland, Rob Herring, Li Yang, Shawn Guo, Vladimir Oltean

Am 2020-02-18 18:14, schrieb Michael Walle:
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> changes since v1:
>  - none, this is a new patch
> 
>  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 162e024b95a0..a6e4bc5e96db 100644
> --- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
> +++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
> @@ -7,6 +7,7 @@ Required properties:
>  		"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
>  		"fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
>  		"fsl,ls1088a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
> +		"fsl,ls1028a-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.

This patch is be superseeded by
   https://lore.kernel.org/lkml/20200302001958.11105-2-olteanv@gmail.com/

-michael

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

* Re: [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible
@ 2020-03-06  9:52   ` Michael Walle
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Walle @ 2020-03-06  9:52 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: Mark Rutland, Vladimir Oltean, Rob Herring, Shawn Guo, Li Yang

Am 2020-02-18 18:14, schrieb Michael Walle:
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> changes since v1:
>  - none, this is a new patch
> 
>  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 162e024b95a0..a6e4bc5e96db 100644
> --- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
> +++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
> @@ -7,6 +7,7 @@ Required properties:
>  		"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
>  		"fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
>  		"fsl,ls1088a-dspi" followed by "fsl,ls1021a-v1.0-dspi"
> +		"fsl,ls1028a-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.

This patch is be superseeded by
   https://lore.kernel.org/lkml/20200302001958.11105-2-olteanv@gmail.com/

-michael

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-03-06  9:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18 17:14 [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible Michael Walle
2020-02-18 17:14 ` Michael Walle
2020-02-18 17:14 ` [PATCH v2 2/2] arm64: dts: ls1028a: add missing SPI nodes Michael Walle
2020-02-18 17:14   ` Michael Walle
2020-02-19  2:17   ` Shawn Guo
2020-02-19  2:17     ` Shawn Guo
2020-02-19 21:36 ` [PATCH v2 1/2] dt-bindings: spi: Add fsl,ls1028a-dspi compatible Rob Herring
2020-02-19 21:36   ` Rob Herring
2020-03-06  9:52 ` Michael Walle
2020-03-06  9:52   ` Michael Walle

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.