From patchwork Fri Sep 23 01:54:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12986053 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 56F13C6FA8B for ; Fri, 23 Sep 2022 01:55:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbiIWBy7 (ORCPT ); Thu, 22 Sep 2022 21:54:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbiIWBy6 (ORCPT ); Thu, 22 Sep 2022 21:54:58 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92B1541980; Thu, 22 Sep 2022 18:54:56 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id h194so9265725iof.4; Thu, 22 Sep 2022 18:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=WWCkl804ico60F1xNbgiB+MLksWA4Nf7dgSkTsSs29U=; b=QM1H2VZPs+aonHB0K55H9inGDoXKTi2V8s8ooCCHWkhTxuZkoZ7kHnqTbI0p0GuPAn tR8qaCOIGKxytY4BrbyolR6E3f6RvFPMg89qQnS7jLcy8JIPvvcgDYsMryPuyIsLZt4s XHnmPLwbV6jds9JJHKPsQTL8C7dOtCpBxQ0Lhl/dU53/S0LGtDUhbt0mWmWhITEQryEa lP/FgJWYQB2OUwaGRtIbt5tXAhxHfsYsM6fCGzRxHJUcnRKuXgJxOikEGjQRxMhxP5Ur SpMh/C1uPO4ECKkLMRIZzmOzIb1hXtji8f+MclPNJRJTDXn2wJvvHC4Ra+6U0b/uephW 36eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=WWCkl804ico60F1xNbgiB+MLksWA4Nf7dgSkTsSs29U=; b=O1uo5Z3BUems0B1UlWaf98Y+g5sVd8wLDJ2JX07dkdRuZhZTJmM0dlpheKDS+SbKqG Ri68RvXWkTIjoKZZejENn+VBX3YTrWOVOPwZfj2Ujr5pznct2pEM1wCroSYgMdXe4qHz UEKPmyGUvEFNrtotfsgPgNYacWl/ZAdk1aAcNLIMz/wMcynaeeLgSuvPKyuJM4NGK7qz xyydwalddQlYPKch0mAgB5sL+0uW6mQJfiDosCjhQ+eBHCF57s2thTuYumfRtasu2qId TS2NmrHi0ZJEV0sozBl4xefvzjI6YmeXaS7F2VD0G3RbIDHoOmodYbvYpYnHHuf8w/5U XMhQ== X-Gm-Message-State: ACrzQf2zu+G8kYIwUDuZQ4/by+uxRNduwLwCJlIXPrt129wQe5LBzluR EqUaNklXdpre1GIw0lepm9w7CVMA5Zs= X-Google-Smtp-Source: AMsMyM6p0EIAlbamOzKoK//K5mesokVqJn5kz/U/qaj7gUKhogfY2OObhcLFF9vfwXBDn5IWe54mrg== X-Received: by 2002:a05:6638:1487:b0:35a:ba3d:ba16 with SMTP id j7-20020a056638148700b0035aba3dba16mr3631663jak.188.1663898095809; Thu, 22 Sep 2022 18:54:55 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1e16]) by smtp.gmail.com with UTF8SMTPSA id v28-20020a056602059c00b00681b6e20a82sm2984874iox.46.2022.09.22.18.54.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 18:54:55 -0700 (PDT) From: Richard Acayan To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Rob Herring , Krzysztof Kozlowski , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, Richard Acayan Subject: [PATCH 1/2] dt-bindings: dma: qcom: gpi: add compatible for sdm670 Date: Thu, 22 Sep 2022 21:54:25 -0400 Message-Id: <20220923015426.38119-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923015426.38119-1-mailingradian@gmail.com> References: <20220923015426.38119-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Snapdragon 670 uses GPI DMA for its GENI interface. Add a compatible string for it in the documentation. Signed-off-by: Richard Acayan --- Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml index eabf8a76d3a0..cabe6a51db07 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -20,6 +20,7 @@ properties: compatible: enum: - qcom,sc7280-gpi-dma + - qcom,sdm670-gpi-dma - qcom,sdm845-gpi-dma - qcom,sm6350-gpi-dma - qcom,sm8150-gpi-dma From patchwork Fri Sep 23 01:54:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12986054 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 A46BDC6FA93 for ; Fri, 23 Sep 2022 01:55:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231777AbiIWBzA (ORCPT ); Thu, 22 Sep 2022 21:55:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbiIWBy7 (ORCPT ); Thu, 22 Sep 2022 21:54:59 -0400 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C05F941980; Thu, 22 Sep 2022 18:54:58 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id q83so9258406iod.7; Thu, 22 Sep 2022 18:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=mW8s+qE2+PwiW8Hix8DWVqRMl3AzSFEjSxAF23tGUY8=; b=TjFHpFqES2r2mVynq7XsYrt3agVUBuifUpdkQfonrme9LHyEUBPt34KrIN5axEbbMJ RMIg+F5kk7Ikr367Ei/nDUa1RjAvTklRUj2Ife8nzPqVHXU4DBR8PAgJ3/u7uW2NUm0O CRHPKnvBjuemZGo2CMuPvnITg9yiUTTvHNhouhZexi1vcZ7OGUllRLtLB8qPJ1WSgdcU J52wNNh/wd7hmuBqU6A+Y8xEv3Y+dvRHWsueUDNKXZxUQw3ys3sVbqkprNntT0FrzVx8 czSt6RqfiX24xp0uuV+mQOYNfPtI4tMVDANC+26BA7da3sYS5eO2BYpxFBGD5ePC+F26 Gd6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=mW8s+qE2+PwiW8Hix8DWVqRMl3AzSFEjSxAF23tGUY8=; b=I1ViYas4+7ckDEwqo4gJ6Cihw0uesDb6rBECm4wb2gXES6fr3qIGFm3WvtTEUjzMW+ I78S8A5Qiy07cuE0zB1xiPpTsjRC+SD4mzLhkSf44F8KjV5tA8Y+iruC5ZCHGHpNiAOu Re8nyXnpOhEwlH/O/gBDSmwMU4SMJmwicg65nlF5k1jOYW3kXHxlhpvmWQo0FHZTHxAB SOy0eZmAuVHB/sVEDlflqyrP4Cz0HkTqI3hR+GrlTaCXqvunZ8to4O4QGvFvnf17I5ms A8Sma+JO/L+Gp+MGkNH86FvjbHascl4RwNBoilGODP3uyJhqJidoA1i0cI/0XhSD0uMF 49/w== X-Gm-Message-State: ACrzQf1drbRKDRUHy2tcYMIqkO2MNxErLTWoa7FGo39EShYvntB8RzSh KwJeRMy48/yRXl+2X8sAk7lJA6wm3VI= X-Google-Smtp-Source: AMsMyM7sZxd5nPOCs59XV8m+x9XtHd9Qk493E9JbC/Tz8JwzedajoccvvRiIV+7P4ALuiBKPx+gerA== X-Received: by 2002:a05:6638:16d6:b0:358:31d8:65d8 with SMTP id g22-20020a05663816d600b0035831d865d8mr3786532jat.137.1663898098323; Thu, 22 Sep 2022 18:54:58 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1e16]) by smtp.gmail.com with UTF8SMTPSA id r10-20020a02b10a000000b003583d27d258sm2847885jah.105.2022.09.22.18.54.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 18:54:57 -0700 (PDT) From: Richard Acayan To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Rob Herring , Krzysztof Kozlowski , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, Richard Acayan Subject: [PATCH 2/2] dmaengine: qcom: gpi: add sdm670 support Date: Thu, 22 Sep 2022 21:54:26 -0400 Message-Id: <20220923015426.38119-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923015426.38119-1-mailingradian@gmail.com> References: <20220923015426.38119-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Snapdragon 670 uses GPI DMA for its GENI interface. Add support for it. Signed-off-by: Richard Acayan --- drivers/dma/qcom/gpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index 89839864b4ec..9634be23e46b 100644 --- a/drivers/dma/qcom/gpi.c +++ b/drivers/dma/qcom/gpi.c @@ -2287,6 +2287,7 @@ static int gpi_probe(struct platform_device *pdev) static const struct of_device_id gpi_of_match[] = { { .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 }, + { .compatible = "qcom,sdm670-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm6350-gpi-dma", .data = (void *)0x10000 }, { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 },