[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ef29da5d-5007-4ea0-aafd-fc50a3fd2da8@linaro.org>
Date: Tue, 23 Jan 2024 13:55:45 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Sam Protsenko <semen.protsenko@...aro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Andi Shyti <andi.shyti@...nel.org>, Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>
Cc: Alim Akhtar <alim.akhtar@...sung.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Tomasz Figa <tomasz.figa@...il.com>, Chanwoo Choi <cw00.choi@...sung.com>,
linux-spi@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH 6/7] arm64: dts: exynos: Add PDMA node for Exynos850
On 20/01/2024 02:29, Sam Protsenko wrote:
> Enable PDMA node. It's needed for multiple peripheral modules, like SPI.
> Use "arm,pl330-broken-no-flushp" quirk, as otherwise SPI transfers in
> DMA mode often fail with error like this:
>
> I/O Error: rx-1 tx-1 rx-f tx-f len-786 dma-1 res-(-5)
>
> Signed-off-by: Sam Protsenko <semen.protsenko@...aro.org>
> ---
> arch/arm64/boot/dts/exynos/exynos850.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi
> index da3f4a791e68..cd0a452cd6b4 100644
> --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi
> +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi
> @@ -197,6 +197,16 @@ gic: interrupt-controller@...01000 {
> IRQ_TYPE_LEVEL_HIGH)>;
> };
>
> + pdma0: dma-controller@...c0000 {
Looks misordered. Keep unit-address order.
> + compatible = "arm,pl330", "arm,primecell";
> + reg = <0x120c0000 0x1000>;
> + interrupts = <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&cmu_core CLK_GOUT_PDMA_CORE_ACLK>;
> + clock-names = "apb_pclk";
Best regards,
Krzysztof
Powered by blists - more mailing lists