Pl330 integrated in rk3xxx platform doesn't support
DMAFLUSHP function. So we add broken-no-flushp quirk
for it.

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

---

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

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

diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi
index a2ae9f3..a8ca4b3 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;
                };
        };
 
-- 
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