Message ID | 20230320071211.3005769-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 j10csp1065985wrt; Mon, 20 Mar 2023 00:25:23 -0700 (PDT) X-Google-Smtp-Source: AK7set+ROw8G8FbSSJDyoHFW7PiycIKtF2gYbRqe/kdF55IRiQ3/t6BgQZefzNoX2PVbtmOpmtxR X-Received: by 2002:a05:6a00:418c:b0:624:bf7e:9d8c with SMTP id ca12-20020a056a00418c00b00624bf7e9d8cmr15863472pfb.1.1679297123482; Mon, 20 Mar 2023 00:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679297123; cv=none; d=google.com; s=arc-20160816; b=sPN+4lou2xqwRDLBDZvM9rP590sB2JmflsdzK/ovNpNLcoNo8E31m8NNjDVKHjJZXo cpfFN0Or3JjK0FuXV0fX6VMJhLF1PCTfG72/D5i7jTUFx72Gv+gllGAxmeplJYUpUlVJ zk92CdsOcsH7b55oA8i7KB6LC2RdbXz3Da50wNXXRZC+aHdyIeUtV+4RJqzTBcsiRiEZ zALLjL6WXW+/IT44OLAfC4fYD3PfgDFi5C7haZShyhpfdnQSwbH3ybj26yr2NhKA/sFO ec5Hw5+sot/oPe4W38wgNZrvXJtgGSHTMUx8KVCVUcQJH0Uklmu3tLvrYqHIg0luJVX3 xD7w== 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=xPJTzAUBl9aQkaatQh9jv7wmEMUxBwZiAFZub+QkGFU=; b=nwr5CJyyAIxP2GAOTjrkK/QnPpyxjp09paQVtjtAfB5UrDEevJ6QuN2eaX72rsrLOR slwSe1CmArhwn3fMVJYLU8ZyWK5Xw+dFHA3EalMLxJzIg8dsED3ZV22KbxiJHSQEP0C+ G5RLh1X54VBeAP0RaLnX9FslE6GuYVigdYdEIE0BoxLbFJiI82mP1g904na/tlZGJTLE J6R0+4UUVU7YX0znZAbD7Mrpof3OZh7AAJKI//54x97uOCiCUL9jNopwtw033vUWmylo 8DN+J9wr3r8TQ6UoIYg90ojJxm3bHGXIItvJJBnNtwHAFZraxNgt0O14M/qNmXmDO3GF 8CFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wesqcDIp; 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 s134-20020a632c8c000000b004e0d688fb83si9556321pgs.824.2023.03.20.00.25.09; Mon, 20 Mar 2023 00:25:23 -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=wesqcDIp; 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 S230045AbjCTHMf (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Mon, 20 Mar 2023 03:12:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbjCTHMc (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Mar 2023 03:12:32 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEC6E21957 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 00:12:23 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id j3-20020a17090adc8300b0023d09aea4a6so15413920pjv.5 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 00:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679296343; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xPJTzAUBl9aQkaatQh9jv7wmEMUxBwZiAFZub+QkGFU=; b=wesqcDIp6CGIDZkttFy2CU6UGJ47kp56J2X9DNeu+p4pf5NQMe4OUzMv79j8IeI4+y 4gPEP3f1Cxg1ImguOlmI3/Hb4pD6ZJJXREwkgmYZeuTQlQ67Tx/qQ9e3jzr0sDllh7yy aupO6L7PjeMqeyHHJ9P52Lgg0t4MA5Agm6W63CD1A1StYW4HrzDPbqPXrsBCx8rcvboZ zr1LLvEHFmA5apuWqDJeAGdoDpG7f7JkrnbJ/lLDBuCWJOcvanZku3Z+31zE6dhrotbV 7DpwaUpunZDeiyhtvGa3pfWyC8qUcTXMNVG7PtjOf7Gdje6lfV+2exWifqkedTmw/Kkn bCwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679296343; 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=xPJTzAUBl9aQkaatQh9jv7wmEMUxBwZiAFZub+QkGFU=; b=w5GBrZTSo8eWgZJAz0qEoiv5dgvMOqq0/wSzhuphSsV08Fwy6+9hZXX//g2E3u6JKp ZDp9WtfdwGFkd7OyVDRFU/uDm64/cK2v97lubujfqhOpoCmcjiCkykgyB1FT0HxRhhiE ie9BSmbNtc/YYzGVLO/TjZyqwNubc9jDyHYJj3YaTGtRHHUhkC9IDzNeja9Q8L1G7nAm zOOuLTfzeSVpd3trDhrgSTvI4AodZon5EsZxjVNiFdWoKGXHaeIDkLwVwST/fwNihCMZ S9NgbbZvoHtYPt4qbjIJPVTgXDPk3lFG6SLwEUrAFx05dsBq4hgJz3hGDEtD0mWu65T6 8rpQ== X-Gm-Message-State: AO0yUKUHg2DHL+TrPQByxSf6Kie9IDQrPGVCir8/goJsBYozODBdo01S kdDwY3JlTNfOrF+uY7GFwN4F/Q== X-Received: by 2002:a17:90b:1bc4:b0:23b:bd09:7f0b with SMTP id oa4-20020a17090b1bc400b0023bbd097f0bmr18084040pjb.30.1679296343242; Mon, 20 Mar 2023 00:12:23 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c61:7331:922d:c0be:85c4:f0ae]) by smtp.gmail.com with ESMTPSA id m3-20020a63fd43000000b004facdf070d6sm5619477pgj.39.2023.03.20.00.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 00:12:22 -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 1/2] dt-bindings: dma: Add support for SM6115 and QCS2290 SoCs Date: Mon, 20 Mar 2023 12:42:10 +0530 Message-Id: <20230320071211.3005769-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 autolearn=ham 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?1760870660558301248?= X-GMAIL-MSGID: =?utf-8?q?1760870660558301248?= |
Series |
[1/2] dt-bindings: dma: Add support for SM6115 and QCS2290 SoCs
|
|
Commit Message
Bhupesh Sharma
March 20, 2023, 7:12 a.m. UTC
Add new compatible for BAM DMA engine version v1.7.4 which is
found on Qualcomm SM6115 and QCS2290 SoCs.
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>
---
Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Comments
Hi Bhupesh, On 3/20/23 09:12, Bhupesh Sharma wrote: > Add new compatible for BAM DMA engine version v1.7.4 which is > found on Qualcomm SM6115 and QCS2290 SoCs. > > 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> > --- > Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml > index f1ddcf672261..4c8536df98fe 100644 > --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml > +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml > @@ -20,8 +20,10 @@ properties: > - qcom,bam-v1.3.0 > # MSM8974, APQ8074 and APQ8084 > - qcom,bam-v1.4.0 > - # MSM8916 and SDM845 > + # MSM8916, SDM845, SM8150 and SM8250 > - qcom,bam-v1.7.0 > + # SM6115 and QRB2290 > + - qcom,bam-v1.7.4 > > clocks: > maxItems: 1 apparently it's a good time to implement a switch in compatible values similar to the one done for QCE: https://lore.kernel.org/linux-arm-msm/20230222172240.3235972-6-vladimir.zapolskiy@linaro.org/ If this is done in the nearest time, then new platfrom QCE changes can be seamlessly added after the next merge window, also the change in the compatible values model shall resolve multiple technical concerns including the one above about 1/1 change in the series. -- Best wishes, Vladimir
Hi Vladimir, On Fri, 24 Mar 2023 at 17:38, Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> wrote: > > Hi Bhupesh, > > On 3/20/23 09:12, Bhupesh Sharma wrote: > > Add new compatible for BAM DMA engine version v1.7.4 which is > > found on Qualcomm SM6115 and QCS2290 SoCs. > > > > 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> > > --- > > Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml > > index f1ddcf672261..4c8536df98fe 100644 > > --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml > > +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml > > @@ -20,8 +20,10 @@ properties: > > - qcom,bam-v1.3.0 > > # MSM8974, APQ8074 and APQ8084 > > - qcom,bam-v1.4.0 > > - # MSM8916 and SDM845 > > + # MSM8916, SDM845, SM8150 and SM8250 > > - qcom,bam-v1.7.0 > > + # SM6115 and QRB2290 > > + - qcom,bam-v1.7.4 > > > > clocks: > > maxItems: 1 > > apparently it's a good time to implement a switch in compatible values > similar to the one done for QCE: > > https://lore.kernel.org/linux-arm-msm/20230222172240.3235972-6-vladimir.zapolskiy@linaro.org/ > > If this is done in the nearest time, then new platfrom QCE changes > can be seamlessly added after the next merge window, also the change > in the compatible values model shall resolve multiple technical > concerns including the one above about 1/1 change in the series. That is on my to-do list, but it's not of urgent priority as of now, as fortunately the BAM DMA versions 1.7.0 and 1.7.4 are very similar (at least in terms of how the linux driver uses them), so when we have future use-cases that exploit the differences between the two versions (or newer versions introduced in SoCs in the meanwhile) in the DMA driver we can move to the soc-specific compatibles. Thanks, Bhupesh
diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index f1ddcf672261..4c8536df98fe 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -20,8 +20,10 @@ properties: - qcom,bam-v1.3.0 # MSM8974, APQ8074 and APQ8084 - qcom,bam-v1.4.0 - # MSM8916 and SDM845 + # MSM8916, SDM845, SM8150 and SM8250 - qcom,bam-v1.7.0 + # SM6115 and QRB2290 + - qcom,bam-v1.7.4 clocks: maxItems: 1