From patchwork Wed Mar 22 11:45:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 73389 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2301962wrt; Wed, 22 Mar 2023 05:05:30 -0700 (PDT) X-Google-Smtp-Source: AK7set/lJlRLNM2gcldv3KCH9oejX3cGUHVcYLpnzR1pAbRSPTkxLsZMzrTn1ZLDqhV0IzcWF9Rx X-Received: by 2002:a17:90a:305:b0:234:13a3:6e67 with SMTP id 5-20020a17090a030500b0023413a36e67mr3614159pje.12.1679486730060; Wed, 22 Mar 2023 05:05:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679486730; cv=none; d=google.com; s=arc-20160816; b=an8WrW1VNfZ0ObNAVKSwITYe6QBtOolc/B2aB8a+sTiGMDVBFj7U3YPTavPPwTxDxI nM9qHN6qoHKVfqDgC/f967/Zj16NJvlqKECLTuFPD+6/If4d1FndrWNW2sZCkPkubSJ/ 8Q1SMQhmP4UsBax/MiSMt5ieYDNOMF0iHExrXjy3NQ/HcbOqPEcTF+T0ewhCMCGCYb2E 7sUoLvK4V8XR2B9Tryd8zjarOm2RN2Tv+p14cOQN9oWZk6nChkc5G3nCs9+UENiaMfxY e7eBLjqUI0r0/8AjjlkHsU2mrvoFZOwNET/9KDmnx1QO/pyDtGJt4KSH5PYEg0zKGWYj SPhQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=I/QZc9gZG9fueXODq2o89xljOdcpkBJcOX9/f1kD4r0=; b=SpkVLBDOrodDqbjk2Tm20B22VncXjjGFN6uzXafFZJcongHoswgkq1hNdExaSjh/TI XVkGwtPVFT6oQXK7jURwj4dRihn5JZCfKcVZPZPy+W8eeY5qu3KZzqFa2VZwbVBRrl2I SvnnjWpLMlW6GbNn6oDWRxlilcrJDAZMsupAOHB+hjJirdHu7vc7ZG6xearlzZOZo6aX C3+kXVZ+e0cybWDfZ+FEz5Ye+eyWD6MUVLki0Rd/vlv3yUFiov8WKGNp1TaBPVWzlLvl vDczfX7/G7/7nHe+kkimwc0rJqU74qaUHmpjRb2H2LJBuAO5Q6MIqmFnWFQEHrGldssC oDEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=or8ldxV5; 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 e62-20020a636941000000b0050be91fafffsi14945185pgc.818.2023.03.22.05.05.15; Wed, 22 Mar 2023 05:05:30 -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=or8ldxV5; 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 S230059AbjCVLpo (ORCPT + 99 others); Wed, 22 Mar 2023 07:45:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbjCVLpk (ORCPT ); Wed, 22 Mar 2023 07:45:40 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A7695F20D for ; Wed, 22 Mar 2023 04:45:38 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id lr16-20020a17090b4b9000b0023f187954acso18844578pjb.2 for ; Wed, 22 Mar 2023 04:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679485538; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I/QZc9gZG9fueXODq2o89xljOdcpkBJcOX9/f1kD4r0=; b=or8ldxV5kusHSiQsQe6hGg43hc2lWIR9VMZIxoE14kX98zSmsLfczaENHd+hmCP3X4 eB3d8d6ib/SP6DSz/XgWpnB4JuZhDgY/kk3Zjn8lFOFNJIeWyGWKdBK1AUD6CATWZvqP 72mzMLQmI2BEI8gWJ5Fm00SDxWk1Sj9kwTmayohDd3fVB/Xy9YD+FxFrfI0tqqBt9ZjU 6cug9Q8WmWVgwG9lyoKwbDNliFfUKl49IRfQM1DoFVdJDnR7x3CynO7H9ZfpVm+pS+KG fkR5qj232Rzb1hQfaCgqHsOrFhWH5h7ZSEAZaO/1FsDqMZXPGjSfvc6fhwA8PJWN90+H ePBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679485538; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I/QZc9gZG9fueXODq2o89xljOdcpkBJcOX9/f1kD4r0=; b=SulthmxitwrVibiNSyK2jgtk2kncpky+r6UpGNVWZyzxIWyDsn8bfTp5hM1KeFAKsk vQXSokEoibfPCXjhl5/py66RaI1S6MYn5HBobNdMVkdgsNpkrS37tcpp5zzcJ6leE4a4 ETda8NAPgIx8zH1av/18AZ+U9pYNAuX4bsqI5cYaQKe4s+Z3iHAkVwjHuzc5RP2oVYvq Zbell+B/0BCM0hSmTeFBksYY6xQoxGmcTm81cpbIOnV4fIHdiuqSL3gdyRr0+PNXp9re Q7XgHtpBBvZv8R5zgyfnVB7ISqFGo0T63l2t/6C9o/82A16nUrxhd0+KYgXzoraceS2e 62UA== X-Gm-Message-State: AO0yUKV6XU0SijDw14RDyH/y6RvD87AmLXbnDXBMPIvBe1l5wWwpVNeE 4ChhfMP1QoxpujV1wiqeh9lUsg== X-Received: by 2002:a17:902:dacf:b0:19f:36b1:c35 with SMTP id q15-20020a170902dacf00b0019f36b10c35mr3257626plx.64.1679485537813; Wed, 22 Mar 2023 04:45:37 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d4c3:8671:83c0:33ae:5a96]) by smtp.gmail.com with ESMTPSA id jd1-20020a170903260100b0019b0afc24e8sm10386649plb.250.2023.03.22.04.45.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 04:45:37 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org Subject: [PATCH v2 01/10] dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs Date: Wed, 22 Mar 2023 17:15:10 +0530 Message-Id: <20230322114519.3412469-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230322114519.3412469-1-bhupesh.sharma@linaro.org> References: <20230322114519.3412469-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761069477527484368?= X-GMAIL-MSGID: =?utf-8?q?1761069477527484368?= Add new compatible for BAM DMA engine version v1.7.4 which is found on Qualcomm SM6115 and QCM2290 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 --- .../devicetree/bindings/dma/qcom,bam-dma.yaml | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index f1ddcf672261..624208d20a34 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 QCM2290 + - qcom,bam-v1.7.4 + - const: qcom,bam-v1.7.0 clocks: maxItems: 1