From patchwork Fri May 26 19:22:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 99625 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp702450vqr; Fri, 26 May 2023 12:25:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49NSs+fSo26qT9pj4aTxbEck6wGJ1pBsGb+MowQXKlmO2MALwO0daBPhz7plJE72RcnMsP X-Received: by 2002:a17:902:ab5a:b0:1a9:b8c3:c2c2 with SMTP id ij26-20020a170902ab5a00b001a9b8c3c2c2mr3304805plb.37.1685129122468; Fri, 26 May 2023 12:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129122; cv=none; d=google.com; s=arc-20160816; b=BFl+ONDd46KuodC1kfnQZbMsA/ZvbCxgkW2w4Jlryi8DXYrS3pDc4FSOCU6jNKJILY xSS9Yq+iwkeSt2L70uYGQWe9X7EFeQp/4nji70mZHm1MpGGTuTkTB+IMvyTZRNNmbrH0 8BLJ8hSwJu6UOZtNzIS96t2mNDi4/xbH4kkKkVGIFcgOIKjiE5sdIubj1QyQ+Z88ZMky aHgWpklxp2vA33LIivwuZJZizLq79RtWRrlkHJbMdV0xJk1Dkf21tV/SVIuHqSUMBPQL J4B7uJFciCjbouKy0awAcF5j3MGbhOUZyun51uiBjIdPOgOumRCidfgCx+3JXs2I+Dib 07bw== 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=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=KPNIjkw7G34w/m9R6vCZDLGsZqHKKGVvNNQf7YPq5t9wpcnl0FhVrY1qAWPL2Sbco+ ExIK1YE+1dUqXLipXfGL1ceQtPsU8npcBZzLKDe5Tbvuin61zMLJnAYGMgTqrW0hQjzE dDmMzai0+Ii3s/JAkJYcAw5dWlWyhb7E0CxuQhpEZumWelKzJvj1ZZHM/55uTjUmrUjH xIE/zxb0pm5ZSOgHYZsu4rQTAT34SRCGbMw+g1se7FKW95TBp3qK5mFyGpNse1bGTxg8 GjpLaMkuT9+1FySSxPbWP3nUUtU99+pLbnK0YQF/O6GvL3eXttq/U0/LT4mbXM06OBNa DyJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HTFoP4m/"; 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 u14-20020a170902e5ce00b001b0163c9715si86833plf.318.2023.05.26.12.25.08; Fri, 26 May 2023 12:25:22 -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="HTFoP4m/"; 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 S242754AbjEZTWp (ORCPT + 99 others); Fri, 26 May 2023 15:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237672AbjEZTWl (ORCPT ); Fri, 26 May 2023 15:22:41 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B281118D for ; Fri, 26 May 2023 12:22:36 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1ae3ed1b08eso11077115ad.0 for ; Fri, 26 May 2023 12:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128956; x=1687720956; 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=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=HTFoP4m/KzdkNWwsXmOkyw8oHw3x66dQjBNKv5POjSNBeIlLOuM7UCjCf15eu3hiXY W0JzoeIac8HudaGgcWYGRPf7w3rYQC2JR4896NrFutHzV9M5KRzhc+KAYFZ4UGT7bTBj VTbb+hyZvo5PiLzVDP1C1h1Z9MXVWNcWQZ9WLMB4LkbV9TBUy498c+cYLVScqo5cdZq9 YzSZ0uKE9V/RN7wuXkfsyBjqUjk5qpEWOC8L9JKzTR31Xih/qODE96T5YItlJjZzlK9d 7OdR+aqHoJXlAOenOC3DM57WXruMmSOwSUEwmG9dmt4RbRVdUYmPg6pEJ+hzd7gHqqO5 KrMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128956; x=1687720956; 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=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=d+t0DjH073LVPEH7QofqyU2IW95qwKtguHTf6A270WfmSbJMLwCdvMXhRHaDxsRhMe GgD1lHdRYe6KEkJGpXJbqsb1DNfov+3EhMi+DAP3MMNEC6VDNc4rc0uawpePVNVHfxSA KRkj5p3bytaShkMAmfDx8yizABfGtsckqwZXBEqOYpBu2qgRDka5BRNCE4nwtQDrz5J+ 0yly5BueBanQ23ySs5Rk5mL3hLzm4RqJUz8ln8Po/WYzLG2bZ/z5NkiN9Qw7lKGkiJzg cQ3H6L4tOlPzXeqL3Wc9SiJL7oGY39Knry1Gx3ZRY0dSAknf817hgXTJHhy88wPzNFp9 aZnA== X-Gm-Message-State: AC+VfDzBDgh8p+hozwK3hYAD9LC587WvdVCWTK3CZ8x9mBybGC3eqM1z MRna1ZEFeR0kx6EykaLqaMHsIA== X-Received: by 2002:a17:902:eacb:b0:1a6:84be:a08f with SMTP id p11-20020a170902eacb00b001a684bea08fmr3481356pld.64.1685128956253; Fri, 26 May 2023 12:22:36 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:22:35 -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, djakov@kernel.org, stephan@gerhold.net, Rob Herring , Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 01/11] dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs Date: Sat, 27 May 2023 00:52:00 +0530 Message-Id: <20230526192210.3146896-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 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,T_SCC_BODY_TEXT_LINE,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?1766985954721518422?= X-GMAIL-MSGID: =?utf-8?q?1766985954721518422?= 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. Acked-by: Rob Herring Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/dma/qcom,bam-dma.yaml | 20 ++++++++++++------- 1 file changed, 13 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..c663b6102f50 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -15,13 +15,19 @@ 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: + - enum: + # APQ8064, IPQ8064 and MSM8960 + - qcom,bam-v1.3.0 + # MSM8974, APQ8074 and APQ8084 + - qcom,bam-v1.4.0 + # MSM8916, SDM630 + - 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