From patchwork Mon Sep 26 11:22:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12988672 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 7BEB2C07E9D for ; Mon, 26 Sep 2022 12:48:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236378AbiIZMsD (ORCPT ); Mon, 26 Sep 2022 08:48:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235608AbiIZMro (ORCPT ); Mon, 26 Sep 2022 08:47:44 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 727CD132D52 for ; Mon, 26 Sep 2022 04:23:30 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id fs14so5965113pjb.5 for ; Mon, 26 Sep 2022 04:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=JYDoWINnTnWSLstS0U4CDHaR+NWzszIow/uHYNqrLqs=; b=g8lNQl16VInhr8fQ1rv/n0nIZV//JkcF0keGq+gempO8uCVYTU+H63nmK7nU2hMpLe Njj07s3zeBlBr9UexgLer+HpLpvJaqQbyQQ0eF53+TYDbRmpJY5e7NU1vvn2iGQMLsym SSMHR03IeaQnlN88FvM6YVl9uXdvs60c6ZFzaYqWpI8cr2YdUNi3lD/Cvex2tuHMmkiO 9HT3fHoGkirhHn2fIHZbC7dHRabAMNZq5N36tDboZzbGj2j7LByFRuI1ePq+53bTM+6b FqOUhWcKzXIktRRsimpfBGLrWmfh/BSsgnG5989KrDLosVrijb0yVGgjaAQd67+cCwmq S21A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=JYDoWINnTnWSLstS0U4CDHaR+NWzszIow/uHYNqrLqs=; b=OpfujgpWAUJxCLTFtyhg1rgzgzP8f4ZGVwhTb+TroalZnjmulBeNgM5njrCfeKZHHZ XbIPTHuSvD6B+Gez1nvXWN1nXxUao0ZEBseDL4XcfHlGzCvS9ja1OpvFBTQ+mi8dw9jL oEAY5Jtu4eqipv4FLUMArwBnt5B4UGt0WMstI3TS0GnCGMJI8VaKHexcXJVK8CrDZd/u 6AyfD3xbMsBNu6p2RzuFUu1qr0j2l8FXGLePVajduGaWYuujQ0cWAgidSgw6V90/5ue2 Af0i7FYs0K34bFyFTbNwgshFok/BCcJbBy63ineH5VTmljlWOGKmv+mPPxOJfF62Dvpx Mc4g== X-Gm-Message-State: ACrzQf1Wjvoo1oa7HoDTum7Ky/vt8CzfvCTLiAx25vQLrPFEGl0zJBvD +25InAavM9/m6Suyb4EVOK0QNg== X-Google-Smtp-Source: AMsMyM74+1NNHJgu7WyQesL5hoEKzfq6L9qRrAIaL/fTtmfCUGntVGvjnG3d33XG33OgJMgTUCkgjA== X-Received: by 2002:a17:903:44e:b0:178:8492:d0ff with SMTP id iw14-20020a170903044e00b001788492d0ffmr21768016plb.146.1664191340419; Mon, 26 Sep 2022 04:22:20 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:95f8:d0c3:cac:4cc3:5957]) by smtp.gmail.com with ESMTPSA id mm10-20020a17090b358a00b002005f5ab6a8sm6277418pjb.29.2022.09.26.04.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 04:22:19 -0700 (PDT) From: Bhupesh Sharma To: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, vkoul@kernel.org, agross@kernel.org, dmaengine@vger.kernel.org, krzysztof.kozlowski@linaro.org, andersson@kernel.org, konrad.dybcio@somainline.org, robh+dt@kernel.org Subject: [PATCH v2] dt-bindings: dma: Make minor fixes to qcom,bam-dma binding doc Date: Mon, 26 Sep 2022 16:52:00 +0530 Message-Id: <20220926112200.1948080-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org As a user recently noted, the qcom,bam-dma binding document describes the msm8974 BAM DMA node in the 'example section' incorrectly. Fix the same by making it consistent with the node present inside 'qcom-msm8974' dts file, namely the 'reg' and 'interrupt' values which are incorrect in the 'example section'. While at it also make two additioanal minor cleanups: - mention Bjorn's new email ID in the document, and - add SDM845 in the comment line for the SoCs on which qcom,bam-v1.7.0 version is supported. Fixes: 4f46cc1b88b3 ("dt-bindings: dma: Convert Qualcomm BAM DMA binding to json format") Cc: konrad.dybcio@somainline.org Cc: robh+dt@kernel.org Cc: andersson@kernel.org Cc: krzysztof.kozlowski@linaro.org Signed-off-by: Bhupesh Sharma Reviewed-by: Krzysztof Kozlowski --- - v1 can be seen here: https://lore.kernel.org/all/20220918081119.295364-1-bhupesh.sharma@linaro.org/ - Fixed Krzysztof's comments on v1 regarding describing the problem more clearly in the commit log. Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index 9bf3a1b164f1..003098caf709 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -8,7 +8,7 @@ title: Qualcomm Technologies Inc BAM DMA controller maintainers: - Andy Gross - - Bjorn Andersson + - Bjorn Andersson allOf: - $ref: "dma-controller.yaml#" @@ -20,7 +20,7 @@ properties: - qcom,bam-v1.3.0 # MSM8974, APQ8074 and APQ8084 - qcom,bam-v1.4.0 - # MSM8916 + # MSM8916 and SDM845 - qcom,bam-v1.7.0 clocks: @@ -90,8 +90,8 @@ examples: dma-controller@f9944000 { compatible = "qcom,bam-v1.4.0"; - reg = <0xf9944000 0x15000>; - interrupts = ; + reg = <0xf9944000 0x19000>; + interrupts = ; clocks = <&gcc GCC_BLSP2_AHB_CLK>; clock-names = "bam_clk"; #dma-cells = <1>;