From: Yuan Yao <[email protected]>
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
Signed-off-by: Yuan Yao <[email protected]>
Acked-by: Han xu <[email protected]>
---
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 <[email protected]>
---
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@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "st,m25p80";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
+ };
+ flash2: s25fl256s1@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@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@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
new compatible string: "fsl,ls2080a-dspi".
Signed-off-by: Yuan Yao <[email protected]>
Acked-by: Rob Herring <[email protected]>
---
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 <[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
Hi All,
Could you please help to review and merge this patch?
Thanks.
On 03/09/2016 08:59 PM, Yao Yuan wrote:
>
> new compatible string: "fsl,ls2080a-dspi".
>
> Signed-off-by: Yuan Yao <[email protected]>
> Acked-by: Rob Herring <[email protected]>
> ---
> 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 <[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.
> --
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:
>
> Signed-off-by: Yuan Yao <[email protected]>
> Acked-by: Han xu <[email protected]>
> ---
> 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 <[email protected]>
> ---
> 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@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "st,m25p80";
> + spi-max-frequency = <20000000>;
> + reg = <0>;
> + };
> + flash2: s25fl256s1@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@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@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
Hi Brian Norris,
Could you please help to review and merge this patch?
Thanks.
> On 03/09/2016 08:59 PM, Yao Yuan wrote:
> >
> > new compatible string: "fsl,ls2080a-dspi".
> >
> > Signed-off-by: Yuan Yao <[email protected]>
> > Acked-by: Rob Herring <[email protected]>
> > ---
> > 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 <[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.
> > --
On Wed, Mar 09, 2016 at 06:22:05PM +0800, Yuan Yao wrote:
> new compatible string: "fsl,ls2080a-dspi".
>
> Signed-off-by: Yuan Yao <[email protected]>
> Acked-by: Rob Herring <[email protected]>
Drop the space after 'fsl,' and applied the patch.
Shawn
On Wed, Mar 09, 2016 at 06:22:06PM +0800, Yuan Yao wrote:
> Signed-off-by: Yuan Yao <[email protected]>
> Acked-by: Han xu <[email protected]>
Changed subject prefix to 'arm64: dts: ls2080a: ', and then applied the
patch.
Shawn
> ---
> 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 <[email protected]>
> ---
> 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@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "st,m25p80";
> + spi-max-frequency = <20000000>;
> + reg = <0>;
> + };
> + flash2: s25fl256s1@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@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@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
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
Thanks for your review and work.
Best Regards,
Yuan Yao
> -----Original Message-----
> From: Shawn Guo [mailto:[email protected]]
> Sent: Wednesday, April 13, 2016 10:30 AM
> To: Yuan Yao <[email protected]>
> Cc: [email protected]; [email protected]; [email protected]; Han
> Xu <[email protected]>; Yang-Leo Li <[email protected]>;
> [email protected]; [email protected]; linux-arm-
> [email protected]; Yao Yuan <[email protected]>
> 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:
> > Signed-off-by: Yuan Yao <[email protected]>
> > Acked-by: Han xu <[email protected]>
>
> Changed subject prefix to 'arm64: dts: ls2080a: ', and then applied the patch.
>
> Shawn
>
> > ---
> > 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 <[email protected]>
> > ---
> > 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@0 {
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + compatible = "st,m25p80";
> > + spi-max-frequency = <20000000>;
> > + reg = <0>;
> > + };
> > + flash2: s25fl256s1@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@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@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
> > [email protected]
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> >