2016-03-08 09:05:19

by Yuan Yao

[permalink] [raw]
Subject: [PATCH v5 1/2] Documentation: fsl: dspi: Add fsl,ls2080a-dspi compatible string

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

Signed-off-by: Yuan Yao <[email protected]>
Acked-by: Rob Herring <[email protected]>
---
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 <[email protected]>
---
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


2016-03-08 09:04:42

by Yuan Yao

[permalink] [raw]
Subject: [PATCH 2/2] dts/ls2080a: Update DSPI compatible

From: Yuan Yao <[email protected]>

The patch adds LS2085a to DSPI compatible.
The DSPI driver on LS2080A should use TCFQ mode.
It's different from on vf610.

Signed-off-by: Yuan Yao <[email protected]>
---
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
index 9d746c6..122c517 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@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>;
--
2.1.0.27.g96db324

2016-03-09 03:44:14

by Yao Yuan

[permalink] [raw]
Subject: RE: [PATCH 2/2] dts/ls2080a: Update DSPI compatible

Hi All,

Sorry for the patch:
dts/ls2080a: Update DSPI compatible

I was just trying to resend this patch:
dts/ls2080a: update the DTS for QSPI and DSPI support
https://patchwork.ozlabs.org/patch/573108/

But I have a big mistake to sending a wrong patch.
Please ignore it.

And I will resend the right patch.

Sorry for make you confused.

Best Regards,
Yuan Yao


> -----Original Message-----
> From: Yuan Yao [mailto:[email protected]]
> Sent: Tuesday, March 08, 2016 4:23 PM
> To: [email protected]; [email protected]; [email protected]
> Cc: [email protected]; [email protected];
> [email protected]; Yao Yuan <[email protected]>
> Subject: [PATCH 2/2] dts/ls2080a: Update DSPI compatible
>
> From: Yuan Yao <[email protected]>
>
> The patch adds LS2085a to DSPI compatible.
> The DSPI driver on LS2080A should use TCFQ mode.
> It's different from on vf610.
>
> Signed-off-by: Yuan Yao <[email protected]>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> index 9d746c6..122c517 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@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>;
> --
> 2.1.0.27.g96db324