From patchwork Wed Apr 27 16:14:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12829129 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC2F4C433F5 for ; Wed, 27 Apr 2022 16:17:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242773AbiD0QUd (ORCPT ); Wed, 27 Apr 2022 12:20:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242333AbiD0QS3 (ORCPT ); Wed, 27 Apr 2022 12:18:29 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E982F72E31 for ; Wed, 27 Apr 2022 09:14:33 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id g23so2501743edy.13 for ; Wed, 27 Apr 2022 09:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Yyayk/RjcawLgWYAzZuuqM4z9iA3IiQWnxVg7aM9FBk=; b=SRAiD4Nl08BRnA5G7RHqOxRjhHE/2t4zEOLeZktktZ/L1aAhuB+FqOSwEtEXaLZzT2 R4SRGxY45dUykug8xT/MJ8HDy3ZXw2+hsJqDVORv4ydnMPjuLhM2xek4KsA2Ezee0PEz X3d7W5t7hqIX3FvHDqGXTFnQFekw6notlytPaegaJDBkeIZ4rfHCRdHJNrADTbBfp5TM zv4PGhXunU15sJ6qyGaHuE39TxxIsI7o4ssuwuGWpgXkYd9+zwhTPgZ/G5HEVLzi1WIx 67wOO1MD9X6/6dHae6w/5csQ/1l9ol+KwqpAQvptBEZoNCeWwYjKDUHDeBu2zav02WaK B0yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Yyayk/RjcawLgWYAzZuuqM4z9iA3IiQWnxVg7aM9FBk=; b=EpQjQ+yMoDUh7niTt39NgOlkXi9H/LuKcCRUsnu33gkExX8ESv//8l1oDYkXFmR59K smMlCtLusfqarls+QCX2DZ3IRQqIc4PnR60OwD3va4RXSe3hDoa6YNIkRJNQws4fwfVZ rkg9GxRRlp7U12Do0K/Kgn9hwp+2dy9d+Qo7hXi6dP9gqwyai/1FZZ4u6XoCqLAj528t SJHGjsAU4ks41YPebkwbLkP93p40RK51bLCXuEo2H4zw/cpB+IxdC1ED6i9DgdliGsuA xGEVd/XWOulgkhX9EydUHUH5YPUIoCpJ35txn4t1bfQIBS8Awg06ywYM5f40bnH7pViw JkQA== X-Gm-Message-State: AOAM530a6ffMq0M6EepjOWD1h81trtilYGFuVkygdcWxoMU5NEVX8pLY 3BaW32uSo5hqst22h/JIBI56Vg== X-Google-Smtp-Source: ABdhPJxmugYp9cqdpnSVekLRx91zWH/+Y9y80LLPwQttFOJ5mLF//PfXkRkvHEvMD4NYa46z7MO2Gg== X-Received: by 2002:aa7:cd0a:0:b0:425:bc13:4ccb with SMTP id b10-20020aa7cd0a000000b00425bc134ccbmr29595892edw.229.1651076068228; Wed, 27 Apr 2022 09:14:28 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id b17-20020aa7dc11000000b00412ae7fda95sm8583383edu.44.2022.04.27.09.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 09:14:27 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Orson Zhai , Baolin Wang , Chunyan Zhang , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] dt-bindings: dmaengine: sprd: deprecate '#dma-channels' Date: Wed, 27 Apr 2022 18:14:21 +0200 Message-Id: <20220427161423.647534-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220427161423.647534-1-krzysztof.kozlowski@linaro.org> References: <20220427161423.647534-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The generic property, used in most of the drivers and defined in generic dma-common DT bindings, is 'dma-channels'. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/dma/sprd-dma.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/sprd-dma.txt b/Documentation/devicetree/bindings/dma/sprd-dma.txt index adccea9941f1..c7e9b5fd50e7 100644 --- a/Documentation/devicetree/bindings/dma/sprd-dma.txt +++ b/Documentation/devicetree/bindings/dma/sprd-dma.txt @@ -8,10 +8,13 @@ Required properties: - interrupts: Should contain one interrupt shared by all channel. - #dma-cells: must be <1>. Used to represent the number of integer cells in the dmas property of client device. -- #dma-channels : Number of DMA channels supported. Should be 32. +- dma-channels : Number of DMA channels supported. Should be 32. - clock-names: Should contain the clock of the DMA controller. - clocks: Should contain a clock specifier for each entry in clock-names. +Deprecated properties: +- #dma-channels : Number of DMA channels supported. Should be 32. + Example: Controller: @@ -20,7 +23,7 @@ apdma: dma-controller@20100000 { reg = <0x20100000 0x4000>; interrupts = ; #dma-cells = <1>; - #dma-channels = <32>; + dma-channels = <32>; clock-names = "enable"; clocks = <&clk_ap_ahb_gates 5>; };