From patchwork Mon Mar 20 07:12: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: 13180781 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 35F82C7618D for ; Mon, 20 Mar 2023 07:12:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230128AbjCTHMd (ORCPT ); Mon, 20 Mar 2023 03:12:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbjCTHMc (ORCPT ); Mon, 20 Mar 2023 03:12:32 -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 E37AD21A3B for ; Mon, 20 Mar 2023 00:12:23 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id fy10-20020a17090b020a00b0023b4bcf0727so11395985pjb.0 for ; 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=QEKHb4h14d1dInqemqa5dqBQLqQsVpxYCgpB4mLzagJaJ4BeXh1FMelsZVQxpFl+qm ESnUIno6/0TW7ztCIf7RA76cAuGegLnRzkYDdOz3UhRZnRnCyqHJiA4YGEVdywO5YKzo w7hdVUIuJ+Kb4PIdf3NB+NtkKeM9QQAeYfx5cTeI0ooE49AvzbkYAS/QxCxk77an97wL 5jmY7JEaE55zIElAYpFFxiC1TOw13Bzh+a0gLxIfMSVWHHBRs+azicpBaqjdABc/17PO sy3RdM/ERF2dOfsyC6l5W6dSvUlJedKER6rxVcYh+F/P62mcWsA66fXT4almb5TnCL7T s/xQ== X-Gm-Message-State: AO0yUKVay0QYfeAI9Vxd1CAfX2K2W2p8ZADjlvOVl7SOBlDL1nEcGIe9 e6r5xDMcmjBX2wwB7bxEVPhHeA== X-Google-Smtp-Source: AK7set8+GGQ0GBnKezfamELSnYM3iCzRrxwRSznc7c7dTN7KY6YaM6wT3eo4ISJH84tWfbzbSgb/pA== 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 --- 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 From patchwork Mon Mar 20 07:12:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 13180782 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 8F943C6FD1D for ; Mon, 20 Mar 2023 07:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230144AbjCTHMj (ORCPT ); Mon, 20 Mar 2023 03:12:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbjCTHMi (ORCPT ); Mon, 20 Mar 2023 03:12:38 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F26021A23 for ; Mon, 20 Mar 2023 00:12:28 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id f6-20020a17090ac28600b0023b9bf9eb63so11345687pjt.5 for ; Mon, 20 Mar 2023 00:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679296347; 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=liNNhxqvRDMursBLDB2MIwbIPJeovqlNRny383xdhTI=; b=BylZS6xZ3b0Zlrl7YQq86fUUU4kXq9w0KrIWam69wNxiznczxs8DlTjfLG6Bq2J7PL eYvthylHCplJ5QATwymsNS5gN9CpHggP584ljCnpJbZDJNJdKgorg3rN1IGaOcrgLO/i t+w6nYkOqaqzBR5w2R8RxBJ+rfxa7wwAXj9yNUJkLMb0kSulm8gDAi1oK5orWl5R5wtD Amcg6EZge1/y/VKIxyCnBlYgezFQWJO6J5EK5RRgggdp7DBItBftvsfSro/SKFUUpe6o DpqkBi4RkQC607k7yLGNEyLXqPC8AzwkHPHQvsA+yiLsQMoQF06ukG8lByZcZJPFlncT WIrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679296347; 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=liNNhxqvRDMursBLDB2MIwbIPJeovqlNRny383xdhTI=; b=LjLgfultPeI+oCEB9nCJtQwGeSOtgRDGuwFUaCdHEH1Dr9uFTtk3fwTicN9ZNj/NVt 6cQkGglTPKzT6aku+erBNCcOxHINv6LknPMAzL7jxk1mjnvdimUbuVPIbWpVt30UiWQt XFdwh4ezXm+261tG+VS5ELV5MN//ZhBjuIYiwKyNo4kvQRyBOixM3AP0jHCaokDO/UPa 1iv+SbwUQmd+dS/98TpiIH0EoDemdqNMI+dHPI+AUQxFVFqJSpP27P7yJ+YCA5aSJYmc sBJ0kEvn0Eh/AHM9tBf29oOawAyLoKtKvBKOLs0irJZdeaLFH8GLnZYCaKqENBd58g9C A9yA== X-Gm-Message-State: AO0yUKXbELZS8uNh1S2TAfGM2FmZlDtvNmFg5uqmV4sBer0wM9+ryBsr f6SouOwBhMoP35XAjitQW4zDHQ== X-Google-Smtp-Source: AK7set/pArwQDd4hLvBichOD4CHjcDNi/TQiRseWtTK/LvIGTt7oXuPoe+urprEkfBgBWclFjev3Wg== X-Received: by 2002:a05:6a20:ca4e:b0:d3:c6f6:ac8c with SMTP id hg14-20020a056a20ca4e00b000d3c6f6ac8cmr13025826pzb.36.1679296347663; Mon, 20 Mar 2023 00:12:27 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 00:12:27 -0700 (PDT) From: Bhupesh Sharma 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 2/2] dmaengine: qcom: bam_dma: Add support for BAM engine v1.7.4 Date: Mon, 20 Mar 2023 12:42:11 +0530 Message-Id: <20230320071211.3005769-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230320071211.3005769-1-bhupesh.sharma@linaro.org> References: <20230320071211.3005769-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Qualcomm SoCs SM6115 and QRB2290 support BAM engine version v1.7.4. Add the support for the same in driver. Since the reg info of this version is similar to version v1.7.0, so reuse the same. Signed-off-by: Bhupesh Sharma --- drivers/dma/qcom/bam_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/qcom/bam_dma.c b/drivers/dma/qcom/bam_dma.c index 1e47d27e1f81..153d189de7d2 100644 --- a/drivers/dma/qcom/bam_dma.c +++ b/drivers/dma/qcom/bam_dma.c @@ -1228,6 +1228,7 @@ static const struct of_device_id bam_of_match[] = { { .compatible = "qcom,bam-v1.3.0", .data = &bam_v1_3_reg_info }, { .compatible = "qcom,bam-v1.4.0", .data = &bam_v1_4_reg_info }, { .compatible = "qcom,bam-v1.7.0", .data = &bam_v1_7_reg_info }, + { .compatible = "qcom,bam-v1.7.4", .data = &bam_v1_7_reg_info }, {} };