From patchwork Wed Apr 27 16:15:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12829131 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 1D7FEC4332F for ; Wed, 27 Apr 2022 16:17:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242814AbiD0QUh (ORCPT ); Wed, 27 Apr 2022 12:20:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243374AbiD0QTX (ORCPT ); Wed, 27 Apr 2022 12:19:23 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F21336E38 for ; Wed, 27 Apr 2022 09:16:04 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id k23so4430338ejd.3 for ; Wed, 27 Apr 2022 09:16:04 -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=4VzhkWiZCxUXRF8iX+xp5MfZBCcHCDwpOVdBeFnavlE=; b=U1HBEC4cHR49LZJPnRWWK5GyEYH+FgfciW/s3I7EUYGqhlzXQGJz2Vrb/dTjPF2/o9 jzHB/vXO+QChU30hQu22ZfQlvP7Uf4l2oFJ/U7OSH+GoyiByPQZRhNfISFypO2EoPR0K TXoHkihZBoKu2URuvf34R8k6hMFaYJPuxHoKQS1W+NybncDhdLAGwxAwLDQTq8zNfB6m xS7sC2Rl4c4wlzaw/9RnGh1eKcZuVnu/hYx/Xvqpj6d810Ktp2BOQy7EVTTt0+Upl59A LI3OxacDVkOZmCeqFbb8GJsI8ZoAIKtRqEzhlnXjIBgLSFkR59BUD0L0RA3NtUgX9VwL gVgQ== 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=4VzhkWiZCxUXRF8iX+xp5MfZBCcHCDwpOVdBeFnavlE=; b=Ut6+aNIDugWJl//YlxQ9Sb15DKjbNFyBC1F2Fr6lOAp/tQ8ipPCS0wUwzOCBtC/c47 SkUYy5RJMg+A2imPlSyBZQFhgbg9vT2SIiBfbPG9nFHrk4G5aArnV3KA9ZvSgsA8Yv5q XooGtvYbR3r0dUDLt4Yk63fhMAc5CNXONKreUq0cwLJQPR7qQ6QO/xokUQbTgKn3Juwu QqjQVFPn3iNOzAz14qGVvauomotjMAtHg9e1SXDO84yu361RHpCydibLTSPOojP3qI9H anvlYXSztU/yUcz2WGNs+HePbMtvPPkuOmC+rd1e2wX3nLqtiokeSEIJ0q5FAg7mYzgX ep+w== X-Gm-Message-State: AOAM530UocpyWyr57KLvaVY6kYnXIDVomkoz5Iw0Az0reF99bh9NMp8p FBp8N3d1bZK0S1bs6BLo1hnDsg== X-Google-Smtp-Source: ABdhPJx+J4Fwg1jZEwuFrg1VMUFB/mcoAonFGOK4HecHtr8mYLo0eQf0a8XbCgNBKyZUSf0780iYqg== X-Received: by 2002:a17:906:3f83:b0:6f3:c1ca:9c72 with SMTP id b3-20020a1709063f8300b006f3c1ca9c72mr4736318ejj.539.1651076140638; Wed, 27 Apr 2022 09:15:40 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q17-20020a1709064cd100b006e78206fe2bsm7131192ejt.111.2022.04.27.09.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 09:15:40 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: dmaengine: fsl-imx: deprecate '#dma-channels' and '#dma-requests' Date: Wed, 27 Apr 2022 18:15:32 +0200 Message-Id: <20220427161533.647837-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220427161533.647837-1-krzysztof.kozlowski@linaro.org> References: <20220427161533.647837-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The generic properties, used in most of the drivers and defined in generic dma-common DT bindings, are 'dma-channels' and 'dma-requests'. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/dma/fsl-imx-dma.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-dma.txt b/Documentation/devicetree/bindings/dma/fsl-imx-dma.txt index 7bd8847d6394..1c9929d53727 100644 --- a/Documentation/devicetree/bindings/dma/fsl-imx-dma.txt +++ b/Documentation/devicetree/bindings/dma/fsl-imx-dma.txt @@ -13,8 +13,10 @@ Required properties: - #dma-cells : Has to be 1. imx-dma does not support anything else. Optional properties: -- #dma-channels : Number of DMA channels supported. Should be 16. -- #dma-requests : Number of DMA requests supported. +- dma-channels : Number of DMA channels supported. Should be 16. +- #dma-channels : deprecated +- dma-requests : Number of DMA requests supported. +- #dma-requests : deprecated Example: @@ -23,7 +25,7 @@ Example: reg = <0x10001000 0x1000>; interrupts = <32 33>; #dma-cells = <1>; - #dma-channels = <16>; + dma-channels = <16>; }; From patchwork Wed Apr 27 16:15:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12829128 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 8060BC4332F for ; Wed, 27 Apr 2022 16:17:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242694AbiD0QUc (ORCPT ); Wed, 27 Apr 2022 12:20:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243380AbiD0QTX (ORCPT ); Wed, 27 Apr 2022 12:19:23 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AE20939CD for ; Wed, 27 Apr 2022 09:16:05 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id p18so2525314edr.7 for ; Wed, 27 Apr 2022 09:16:05 -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=ikx9HZ+yBGChQJqSXuq9OtG7Yyq5sAT2KIDRyjVy2Ew=; b=k9lz0sQhbRTwPHt2muLKlXs9a5W5z2xtvBDrZ3E0nj9D2eC1AjA7FEpUxl0/v40NHT wm61gDgL4blRe9F+iSoMzVnqzdbIbduB4aI0LEyo+Cd6386bJ6NtFjgQWzRStKWFHizZ M/8hdEaSHjpYqmwiwUOk0MEUVfudG88JutG26cgXUkc9r1j2R1u69/v5MHBg79m3+fLK ORpZA1HL8fN8khg05nIi/b8JMiojUAYb5RnOjkIFOdaJBxaIPdEOrCO73Juve/oS0mqH OrJasXHsPa3r1gY4ABG/y+sa0S8F47v1dWxjYAM6HqDwk4DwU72+EDo0NxSwcvcIN0Va Btkw== 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=ikx9HZ+yBGChQJqSXuq9OtG7Yyq5sAT2KIDRyjVy2Ew=; b=meUUO9XfzgtKDkOzt3q1KpDx6v1ROEv6e43skgMuPBrfbbSA5ewkUxeFfor/3YtWnN xJ/5BeuXO26ft+KqjnFxMQXfyhxmY/nxblMBzbYQG9Di5bnBFwYRYtqXmvTUbLr297wS 59gvQxWkjfG4On8SuJ36Uhlx5/s5ZtLs0HKI5lwiCnOE+paS+cR78YJHj2GwnF7VpOZr 6HXq1QrsCi5ohiGaJVdUo8jFpXVo3CPpOCi8+MsC2gf6n3VOj1F0Q7PzHoGc54rzOW40 9ms2QGr37D+AWZE6XwQMuU4ud7eR6kinyqATRwxLxbSrpP2BOuVtwOLMZbaIuwSduXUQ 3XVQ== X-Gm-Message-State: AOAM530cNwTTcd0B5hokE9pXoMZFOhVAQfyhXzEZmiFWkbz31XeGQANg 27FemYKwjjE6FzepuzjtRbtg2g== X-Google-Smtp-Source: ABdhPJxBkczXJ03bluk/rb8a+lRgpdHRXkDsGrW8J/qjPIBcWncX4iSCWz3kGJJfzbZhBzuwpCm6sQ== X-Received: by 2002:a50:d707:0:b0:425:e37d:4ef3 with SMTP id t7-20020a50d707000000b00425e37d4ef3mr18981209edi.167.1651076141717; Wed, 27 Apr 2022 09:15:41 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q17-20020a1709064cd100b006e78206fe2bsm7131192ejt.111.2022.04.27.09.15.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 09:15:41 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] ARM: dts: imx27: use new 'dma-channels' property Date: Wed, 27 Apr 2022 18:15:33 +0200 Message-Id: <20220427161533.647837-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220427161533.647837-1-krzysztof.kozlowski@linaro.org> References: <20220427161533.647837-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The '#dma-channels' property was deprecated in favor of one defined by generic dma-common DT bindings. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/imx27.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index fd525c3b16fa..b660c7d05584 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++ b/arch/arm/boot/dts/imx27.dtsi @@ -96,7 +96,7 @@ dma: dma@10001000 { <&clks IMX27_CLK_DMA_AHB_GATE>; clock-names = "ipg", "ahb"; #dma-cells = <1>; - #dma-channels = <16>; + dma-channels = <16>; }; wdog: watchdog@10002000 {