Pl330 integrated in rk3xxx platform doesn't support
DMAFLUSHP function. So we add arm,pl330-broken-no-flushp quirk
for it. And add rockchip,spi-broken-burst-len for spi.

Signed-off-by: Shawn Lin <shawn....@rock-chips.com>
cc: Heiko Stuebner <he...@sntech.de>
cc: Doug Anderson <diand...@chromium.org>
cc: Olof Johansson <o...@lixom.net>

---

Changes in v3: None
Changes in v2: None
Changes in v1:
- rename broken-no-flushp to "arm,pl330-broken-no-flushp" suggested
  by Krzysztof.

 arch/arm/boot/dts/rk3xxx.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi
index a2ae9f3..ae15a81 100644
--- a/arch/arm/boot/dts/rk3xxx.dtsi
+++ b/arch/arm/boot/dts/rk3xxx.dtsi
@@ -79,6 +79,7 @@
                        #dma-cells = <1>;
                        clocks = <&cru ACLK_DMA1>;
                        clock-names = "apb_pclk";
+                       arm,pl330-broken-no-flushp;
                };
 
                dmac1_ns: dma-controller@2001c000 {
@@ -89,6 +90,7 @@
                        #dma-cells = <1>;
                        clocks = <&cru ACLK_DMA1>;
                        clock-names = "apb_pclk";
+                       arm,pl330-broken-no-flushp;
                        status = "disabled";
                };
 
@@ -100,6 +102,7 @@
                        #dma-cells = <1>;
                        clocks = <&cru ACLK_DMA2>;
                        clock-names = "apb_pclk";
+                       arm,pl330-broken-no-flushp;
                };
        };
 
@@ -398,6 +401,7 @@
                #size-cells = <0>;
                dmas = <&dmac2 10>, <&dmac2 11>;
                dma-names = "tx", "rx";
+               rockchip,spi-broken-burst-len;
                status = "disabled";
        };
 
@@ -411,6 +415,7 @@
                #size-cells = <0>;
                dmas = <&dmac2 12>, <&dmac2 13>;
                dma-names = "tx", "rx";
+               rockchip,spi-broken-burst-len;
                status = "disabled";
        };
 };
-- 
2.3.7


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to