lkml.org 
[lkml]   [2022]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 3/3] arm64: dts: sprd: use new 'dma-channels' property
On Tue, May 3, 2022 at 2:51 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> The '#dma-channels' property was deprecated in favor of one defined by
> generic dma-common DT bindings. Add new property while keeping old one
> for backwards compatibility.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Thanks.
Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>

> ---
> arch/arm64/boot/dts/sprd/whale2.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
> index 79b9591c37aa..89d91abbd5d1 100644
> --- a/arch/arm64/boot/dts/sprd/whale2.dtsi
> +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
> @@ -126,7 +126,9 @@ ap_dma: dma-controller@20100000 {
> reg = <0 0x20100000 0 0x4000>;
> interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
> #dma-cells = <1>;
> + /* For backwards compatibility: */
> #dma-channels = <32>;
> + dma-channels = <32>;
> clock-names = "enable";
> clocks = <&apahb_gate CLK_DMA_EB>;
> };
> @@ -272,7 +274,9 @@ agcp_dma: dma-controller@41580000 {
> compatible = "sprd,sc9860-dma";
> reg = <0 0x41580000 0 0x4000>;
> #dma-cells = <1>;
> + /* For backwards compatibility: */
> #dma-channels = <32>;
> + dma-channels = <32>;
> clock-names = "enable", "ashb_eb";
> clocks = <&agcp_gate CLK_AGCP_DMAAP_EB>,
> <&agcp_gate CLK_AGCP_AP_ASHB_EB>;
> --
> 2.32.0
>


--
Baolin Wang

\
 
 \ /
  Last update: 2022-05-04 04:30    [W:0.062 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site