Message ID | 20230321184811.3325725-1-bhupesh.sharma@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1954816wrt; Tue, 21 Mar 2023 12:02:25 -0700 (PDT) X-Google-Smtp-Source: AK7set9zZk8+UZRMo0S1ZpX7SIMXYfKbmfNmi1kSjXp3Ey/Beqmudzd/5Bo36MIGLfajTHLZRtEw X-Received: by 2002:a62:6409:0:b0:627:eaf5:48e8 with SMTP id y9-20020a626409000000b00627eaf548e8mr580608pfb.32.1679425345140; Tue, 21 Mar 2023 12:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679425345; cv=none; d=google.com; s=arc-20160816; b=tpQHZE5xITQaOOGv2b9mTL/1nui/N6TMJEi09qax9rk+Q2ju/4VAHfJGJnVExXB5gU zfjOaZAQiBhaZ5fBwDUAMvZd5aOwR2tPmgmfzuUZ0LgeIDvGnbrIqkogbUXmARS3dS0t W1SEjcj15XqB/oEdrW2eKc57wwPpH93lYvvNrh75uGkldlM99bED4oeMMYQ+euwQRX9B dtCfjBZy3HXmG2YGqeaURctJErNGy4kqhnsiO2Wb6oW+w2UkF8HFTBGbNaqVG1jvYEmB mKuwyZeonVypPwRfjbeagg6tWTnEqLewT8ESdu2kuCstm+yRgTuspL2D03jDg6BlnuoG SJOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=OU2TpmTbkt/6hvSTm+PPEoXU/hSqJlv3qM+jLeXgjsM=; b=xyY7Vgb62o0VG4jatKad7PcUgI7febXgAp1mmFuxFGqHO5JJExudQIIVudbkK7GTaM 0LJBndA2f9q6vgm6hC++WpcrbIwYEctvUpnpyd/Q+TjKX7q/mP7oQvv6s/+orYRNHkZ4 htfuy62XB0MsntT9oF9HQUVQEbVbBAxOwyQTNIK46fnI9fuwED/OWYItw/AauI8DWfZz 7A4+PMe2OWEZce/K13co2zpbxXnw09q/imQal88kNJ5nodNvU68Fj25RbaUwtWD6OLHh 5Z+0pBes/rnZ7Bm7w5cC47Tn8hRnbt2zr2MUbs7Vp/5MjPSqDab/dRkpcMjgHZg+8t8a Q5Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OVw0ECty; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f19-20020a056a00239300b005e06c0a9852si14988705pfc.179.2023.03.21.12.02.10; Tue, 21 Mar 2023 12:02:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OVw0ECty; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230411AbjCUStA (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Tue, 21 Mar 2023 14:49:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230371AbjCUSs6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Mar 2023 14:48:58 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE12254CAC for <linux-kernel@vger.kernel.org>; Tue, 21 Mar 2023 11:48:24 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id kc4so2413585plb.10 for <linux-kernel@vger.kernel.org>; Tue, 21 Mar 2023 11:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679424501; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OU2TpmTbkt/6hvSTm+PPEoXU/hSqJlv3qM+jLeXgjsM=; b=OVw0ECtyo2lDexPfAB5v+xW9q4bqZYx4ZfJqU2SL5kXXnye4/lrm/ei4i+2v4vBE70 5lQb1OCAoRw8sN4zTYaaR0isVYdumbxVJQLLwe9hQvmcq8R/g9l0Bs3NyBkvFfslZmUA 4n2Hh8fqXkOGJeVfvZuoh1KkaZRFXyaONmAhQefe9xb/sNJrdGApo26vdhUnxorrgjNq 9GWI7d12jnIS+TqpVA200Zdmeu/lAGY9WQ1qZhNVlPfUkSQyDU73ANsjwWZ9R6vnrgjI UqR9/hVdy9PEhsC0sYoGn0wZg/NfjqPKFHpEjUktqegt2qR1HUSjDqISD5j4a+q7TOqL Va1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679424501; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OU2TpmTbkt/6hvSTm+PPEoXU/hSqJlv3qM+jLeXgjsM=; b=iCsc+HKKCZBQA/vlS6WcAACh59RmsVnHTqApgLLvFvNSIRzkSJNk1MMr18ebbOoXZv lSPYONsK0cEr4hw4Ji+k6LduUth/0pZs+LZtNDHUga8IwTZUZ3ng3ISdH6KNvjXuy7aM Mw/fXLMyZayrUcC58BuqOlNsC6/dWQH1pkEdogaMs81f7l345m6181EUR10LWMIZAOzh sRVPTG/xcXpRreXTVThHjPfYhQCElKFKcFpYmFTfIbSobzhdkQ0vT9Gni02W5GZ8ZpIU wPnkfm0im1Lj2kx07HKtPaHJBClrmpXi2DIsc9ZIp8jHTHgHPQizbqaNKe8X0NJqnNw3 dGFQ== X-Gm-Message-State: AO0yUKU+Uyye+8oHsumbARlKa2iauudF9bpSwa9mZjTb3kcTTtoV8U9n dPxiL+E7f2GF0KT31icnyJdF7A== X-Received: by 2002:a05:6a20:baa1:b0:d5:b3d1:bff9 with SMTP id fb33-20020a056a20baa100b000d5b3d1bff9mr2305721pzb.52.1679424500498; Tue, 21 Mar 2023 11:48:20 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d4c3:8671:83c0:33ae:5a96]) by smtp.gmail.com with ESMTPSA id s24-20020aa78298000000b005d4360ed2bbsm8590817pfm.197.2023.03.21.11.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 11:48:20 -0700 (PDT) From: Bhupesh Sharma <bhupesh.sharma@linaro.org> To: dmaengine@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, vkoul@kernel.org, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org Subject: [PATCH v2 1/1] dt-bindings: dma: Add support for SM6115 and QCS2290 SoCs Date: Wed, 22 Mar 2023 00:18:11 +0530 Message-Id: <20230321184811.3325725-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761005110844070980?= X-GMAIL-MSGID: =?utf-8?q?1761005110844070980?= |
Series |
[v2,1/1] dt-bindings: dma: Add support for SM6115 and QCS2290 SoCs
|
|
Commit Message
Bhupesh Sharma
March 21, 2023, 6:48 p.m. UTC
Add new compatible for BAM DMA engine version v1.7.4 which is
found on Qualcomm SM6115 and QCS2290 SoCs. Since its very similar
to v1.7.0 used on SM8150 like SoCs, mark the comptible scheme
accordingly.
While at it, also update qcom,bam-dma bindings to add comments
which describe the BAM DMA versions used in SM8150 and SM8250 SoCs.
This provides an easy reference for identifying the actual BAM DMA
version available on Qualcomm SoCs.
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
---
Changes since v1:
~ v1 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230320071211.3005769-1-bhupesh.sharma@linaro.org/
~ Addressed Konrad's comments on v1, where he suggested how compatibles
should be used for SoCs which support BAM DMA engine v1.7.4
~ Dropped v1's [PATCH 2/2] in v2.
.../devicetree/bindings/dma/qcom,bam-dma.yaml | 22 +++++++++++++------
1 file changed, 15 insertions(+), 7 deletions(-)
Comments
On 21.03.2023 19:48, Bhupesh Sharma wrote: > Add new compatible for BAM DMA engine version v1.7.4 which is > found on Qualcomm SM6115 and QCS2290 SoCs. All compatibles upstream are QCM2290-themed, let's keep it consistent. [...] > + - items: > + - enum: > + # SDM845, SM6115, SM8150, SM8250 and QRB2290 The robotics SoC is QRB2210, but this should be QCM. Konrad > + - qcom,bam-v1.7.4 > + - const: qcom,bam-v1.7.0 > > clocks: > maxItems: 1
On Wed, 22 Mar 2023 at 00:58, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > > > On 21.03.2023 19:48, Bhupesh Sharma wrote: > > Add new compatible for BAM DMA engine version v1.7.4 which is > > found on Qualcomm SM6115 and QCS2290 SoCs. > All compatibles upstream are QCM2290-themed, let's keep it consistent. > > [...] > > > + - items: > > + - enum: > > + # SDM845, SM6115, SM8150, SM8250 and QRB2290 > The robotics SoC is QRB2210, but this should be QCM. Sure, will be addressed in v2. Thanks. > > + - qcom,bam-v1.7.4 > > + - const: qcom,bam-v1.7.0 > > > > clocks: > > maxItems: 1
diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index f1ddcf672261..bed966fa7653 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -15,13 +15,21 @@ allOf: properties: compatible: - enum: - # APQ8064, IPQ8064 and MSM8960 - - qcom,bam-v1.3.0 - # MSM8974, APQ8074 and APQ8084 - - qcom,bam-v1.4.0 - # MSM8916 and SDM845 - - qcom,bam-v1.7.0 + oneOf: + - items: + - enum: + # APQ8064, IPQ8064 and MSM8960 + - qcom,bam-v1.3.0 + # MSM8974, APQ8074 and APQ8084 + - qcom,bam-v1.4.0 + # MSM8916 + - qcom,bam-v1.7.0 + + - items: + - enum: + # SDM845, SM6115, SM8150, SM8250 and QRB2290 + - qcom,bam-v1.7.4 + - const: qcom,bam-v1.7.0 clocks: maxItems: 1