From patchwork Tue May 3 06:51:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12835112 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 2AADBC433FE for ; Tue, 3 May 2022 06:53:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231156AbiECG4b (ORCPT ); Tue, 3 May 2022 02:56:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230404AbiECG4N (ORCPT ); Tue, 3 May 2022 02:56:13 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D8FC193F7 for ; Mon, 2 May 2022 23:52:08 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id be20so18813471edb.12 for ; Mon, 02 May 2022 23:52:08 -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=sVwYpRv6A4+S1bhstcYmZjP3ooQB2ceztq/bgoKx4Y0=; b=m+UMq9HjFGL1pawSHWXNJXY44LbxRl3b3jZvFdOr24LdN7cVAsl0Yc71DBJ/7+Errp SnNqwB6EnkY9DVlJXEW2Xv4nWFaVNGVJ0vTRZj3aMNR6UgDW1CPJKmEUG95memNdbie1 v06aoP4J842g6uQ+MwMldH5MnXWRA5K88BqSPnV8fXbKGcyps6jxcJSoHGDQ1GmbbPUy bNjktXdRRKrdZWa6sINABtOr2Vu3rNQiwCgn2G36ZgNY5awGpYOY2IiMCGYKkQdXLBE1 HXoYaNb2ZSUtqBpX8+pUHe4G4am33WQOfTMXcxwZeJF+sslF2nrSE1AWzoj44Mrxv85X xjlQ== 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=sVwYpRv6A4+S1bhstcYmZjP3ooQB2ceztq/bgoKx4Y0=; b=yPeoS341kJo4adnqPRVSAjFZ40Ws5AByVOfEk5Ye7ileYqZtcNCwJ6//aK6adA1skV mNwRZG0o8j1GuUQNo2TqeXaKDW2GuAgr3WD6XPlITRzOsfgfDCFvxbCplNSxNOu9wMqO 28T4lA1TqHG8/A0VaurUHoTfRve7TaEyvMna07g3CL2Jxl8toh0GnkegXOrEZinBLbIF jb3oNpgbdu1d/iuNjISoC80qOLLLKLB5JGsZcHaYgvxQtIgquKBOiY1y2XS/9MjQ80F0 Xsb2CJcMElilg8XyKv488p9BZkj62AaGnS9g+oJJ6e7TnDiUxXojhp9XGK0pr/SaLm+v QSpA== X-Gm-Message-State: AOAM531Iz3meVCc0OzE1D8ceM9rM7Ue9Pmgb+UqDtangVtomj9DhMBFo ZeeLbR7H3tw0NoJ4I+J6xpr3Kw== X-Google-Smtp-Source: ABdhPJxX41ad42ohDONU2inC36SvNn3yJ8FVybQJC23jj81KFEG0aHFRSNIgZA4e/OODJOxCriEyJg== X-Received: by 2002:aa7:c04e:0:b0:400:4daf:bab1 with SMTP id k14-20020aa7c04e000000b004004dafbab1mr16455194edo.101.1651560726854; Mon, 02 May 2022 23:52:06 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id hf27-20020a1709072c5b00b006f3ef214e2fsm4382915ejc.149.2022.05.02.23.52.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 23:52:06 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , =?utf-8?q?Beno?= =?utf-8?q?=C3=AEt_Cousson?= , Tony Lindgren , Sekhar Nori , Bartosz Golaszewski , Vinod Koul , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v3 1/6] dt-bindings: usb: am33xx-usb: deprecate '#dma-channels' Date: Tue, 3 May 2022 08:51:56 +0200 Message-Id: <20220503065201.51818-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220503065201.51818-1-krzysztof.kozlowski@linaro.org> References: <20220503065201.51818-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@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 Reviewed-by: Tony Lindgren --- Documentation/devicetree/bindings/usb/am33xx-usb.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/am33xx-usb.txt b/Documentation/devicetree/bindings/usb/am33xx-usb.txt index 7a198a30408a..654ffc62d013 100644 --- a/Documentation/devicetree/bindings/usb/am33xx-usb.txt +++ b/Documentation/devicetree/bindings/usb/am33xx-usb.txt @@ -61,8 +61,9 @@ DMA endpoint number (0 … 14 for endpoints 1 … 15 on instance 0 and 15 … 29 for endpoints 1 … 15 on instance 1). The second number is 0 for RX and 1 for TX transfers. -- #dma-channels: should be set to 30 representing the 15 endpoints for +- dma-channels: should be set to 30 representing the 15 endpoints for each USB instance. +- #dma-channels: deprecated Example: ~~~~~~~~ @@ -193,7 +194,7 @@ usb: usb@47400000 { interrupts = <17>; interrupt-names = "glue"; #dma-cells = <2>; - #dma-channels = <30>; - #dma-requests = <256>; + dma-channels = <30>; + dma-requests = <256>; }; };