From patchwork Tue Oct 18 00:57:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 616195 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 4C292C43217 for ; Tue, 18 Oct 2022 00:58:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230156AbiJRA56 (ORCPT ); Mon, 17 Oct 2022 20:57:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbiJRA5y (ORCPT ); Mon, 17 Oct 2022 20:57:54 -0400 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B1331D0C2; Mon, 17 Oct 2022 17:57:53 -0700 (PDT) Received: by mail-il1-x12d.google.com with SMTP id r20so6728822ilt.11; Mon, 17 Oct 2022 17:57:53 -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 :message-id:reply-to; bh=DGOddrq1TbXskC3V91ACaoVHHWqz1fTHGtmIS0OMGxo=; b=CLGCojXqZmCoaPCSXvRCY7RIPqH3jEUujb9XKOjjOgVR1DW19cWsgoYOM51sO5v837 qqHQ/0+k9EIVC7l7GgSH/ys3aUfbc2LgWjlEXMGw/ZnpiYzzT+mkfNLnC6XJg+Wj5glW qKKBicP9trPJSrwCxOe0kpniIZ5aHM3layg42Ybt9t4QvjNp9uCrQk3s4VIlh5GYt+WF cWYW1iOyO5S7ACBhgKDXgX/jwSDmhtG0NVx8IgyULjqFLRkOvd2wOq+qV+tZWzp0BCtv J9fluRkbBGAlYbEcM14XcbBvsUBchMaFqcQJMGDNO+SvUUJrnu+KTmSIiA2O/VvowgEM yF/A== 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:message-id:reply-to; bh=DGOddrq1TbXskC3V91ACaoVHHWqz1fTHGtmIS0OMGxo=; b=KaTLQztEcR0892yfytjMS2tUWlpIButC9lm65tDHrmV8BtVOpKWgDWstT1yZNnKDF6 3IO/4BegjF2w8KI8iKz+RgmLfuvluvrZUL4jbGh3x3g4Fip/dx27ZIDCtX/aQOwGhJti jguGJnEcCyQ8IyyKqaYRle3QFBgJ02qKRz3P/gxeYzd9L2sdQsyxK/t4eg2eLfm4PzqY PoFVU9Bv6AvYaZLUa+I4UFRp7owPTv64aXhFMp+J7h1NyZDUBSTvikkS1TA27gZRfMCt Gq7XoXdCNLXGIFYKo+8O3an31dgKO9NJk5Y9Nb0Ugdt711GvkABIHXnm3AF+Z1MZCznS SQ2g== X-Gm-Message-State: ACrzQf2kkpD2wC0YpVrJbl3PLLKNN2/PWejDn6WYHTn57jt8eR9U08sT PkI2P7aRSbw9rBR0CL6Sp4fUDm/wJTZG8A== X-Google-Smtp-Source: AMsMyM6AuqTWbaNOyfzzdk772AjJbIyEd/v0DjfF6ulv6ryWvMpNIJN081MC38nHI8CrobyKHs76EA== X-Received: by 2002:a92:ab01:0:b0:2fc:405a:d055 with SMTP id v1-20020a92ab01000000b002fc405ad055mr563624ilh.94.1666054672575; Mon, 17 Oct 2022 17:57:52 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::4a89]) by smtp.gmail.com with UTF8SMTPSA id a20-20020a921a14000000b002f139ba4135sm439828ila.86.2022.10.17.17.57.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 17:57:52 -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 Subject: [PATCH v6 2/4] dt-bindings: dma: qcom: gpi: add compatible for sdm670 Date: Mon, 17 Oct 2022 20:57:38 -0400 Message-Id: <20221018005740.23952-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221018005740.23952-1-mailingradian@gmail.com> References: <20221018005740.23952-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 Reviewed-by: Krzysztof Kozlowski --- 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 182b8573230d..6f7dcae944e4 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -27,6 +27,7 @@ properties: - qcom,sm8450-gpi-dma - items: - enum: + - qcom,sdm670-gpi-dma - qcom,sm8150-gpi-dma - qcom,sm8250-gpi-dma - const: qcom,sdm845-gpi-dma From patchwork Tue Oct 18 00:57:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 616194 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 09BF1C4167B for ; Tue, 18 Oct 2022 00:58:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230395AbiJRA6D (ORCPT ); Mon, 17 Oct 2022 20:58:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230413AbiJRA57 (ORCPT ); Mon, 17 Oct 2022 20:57:59 -0400 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A68E1F2E4; Mon, 17 Oct 2022 17:57:57 -0700 (PDT) Received: by mail-io1-xd36.google.com with SMTP id i65so10621157ioa.0; Mon, 17 Oct 2022 17:57:57 -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 :message-id:reply-to; bh=aHb659dRKjS34iRpN5S8qZLZW/bi4pJGRDjrLJdy9vk=; b=VjW7wk4V3SledJo6tEBA2pMqF7mJc6ceo/2UI/f2HIWEk69GtoFBWrRTW+LqlidubS uACP/gsGI9rFljsBg1atTvhDN8tdSQ1Iw7BAvzOU5gZ/oKQ+9OpkV5Fjv8NYU8BbPRuM 7ZFfCtU296/VXi5cNalxql9l4BkqjSj47ViwrsvB+f7W03z9r9MwbbBn8Rls7vqNPphU TAmJsi4HGpQf7/IQabmh8rie6IgWSnRBz9+pglKHmi7mx8quDBhHxIC40sIMIum0+A0b Cuf8TVsl839lsvYq4CapDIqT+pOY5trF8N9gbTe7y5lQKDZXqIw8XD4BSeCG49Vpnf0+ KyDA== 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:message-id:reply-to; bh=aHb659dRKjS34iRpN5S8qZLZW/bi4pJGRDjrLJdy9vk=; b=r6X79Lqck5+NmKx+IwBF2Db9sxgfB54+aQnXlvIZAiQpf85jqIYlJWQZRK/QGuUgwo YQy0NT7xaSu8yvJveEW6BuH6408bo763Nga6k4aYi5Hm/DO4VuAN4HtHwXNCUnlMG/Cv apaIOxVlNI0t7qlTqpwfP8NWaeviSlcDhCVevljHSKBDyui+gKjz45BHDcLsAP5H5iii v4oo61hXs0DptAuF/RbrCIAENQDqguaCUoeLMgp5beuHF3DkSIoH+WOh+2O0JE6yiM4/ WgjXVMRAlH0SKMryPRPlNNX6ry9Ew5i//ENutXVg5gMFwRUr5Xa4z8MX/KtLWUk55lXD Ke/g== X-Gm-Message-State: ACrzQf38xcch7aC0FMfPCj/g/sTU/pA7PII6Y5rqWqia01ONKCh87O6V WyUu2lHx+ittfDarkjJhSI8xwFNMHP8RPg== X-Google-Smtp-Source: AMsMyM4PZIvevqllKuvN+/G0+w9IG1UsFQbK9f1L4BQ1h1y2Rm3yL6ySEf/iCRXR8UQqtzKLgsyI/w== X-Received: by 2002:a05:6602:2b06:b0:67f:fdf6:ffc2 with SMTP id p6-20020a0566022b0600b0067ffdf6ffc2mr527019iov.111.1666054676328; Mon, 17 Oct 2022 17:57:56 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::4a89]) by smtp.gmail.com with UTF8SMTPSA id x95-20020a0294e8000000b00363b5d4e701sm497480jah.167.2022.10.17.17.57.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 17:57: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 Subject: [PATCH v6 4/4] arm64: dts: qcom: add gpi-dma fallback compatible Date: Mon, 17 Oct 2022 20:57:40 -0400 Message-Id: <20221018005740.23952-5-mailingradian@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221018005740.23952-1-mailingradian@gmail.com> References: <20221018005740.23952-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The dt schema for gpi-dma has been updated with a new fallback compatible string. Add the compatible strings to existing device trees. Signed-off-by: Richard Acayan Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 6 +++--- arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index cef8c4f4f0ff..281d5109ac3b 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -887,7 +887,7 @@ gcc: clock-controller@100000 { }; gpi_dma0: dma-controller@800000 { - compatible = "qcom,sm8150-gpi-dma"; + compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma"; reg = <0 0x800000 0 0x60000>; interrupts = , , @@ -1222,7 +1222,7 @@ spi7: spi@89c000 { }; gpi_dma1: dma-controller@a00000 { - compatible = "qcom,sm8150-gpi-dma"; + compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma"; reg = <0 0xa00000 0 0x60000>; interrupts = , , @@ -1471,7 +1471,7 @@ spi16: spi@a94000 { }; gpi_dma2: dma-controller@c00000 { - compatible = "qcom,sm8150-gpi-dma"; + compatible = "qcom,sm8150-gpi-dma", "qcom,sdm845-gpi-dma"; reg = <0 0xc00000 0 0x60000>; interrupts = , , diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index a5b62cadb129..5d5de7eead08 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -936,7 +936,7 @@ rng: rng@793000 { }; gpi_dma2: dma-controller@800000 { - compatible = "qcom,sm8250-gpi-dma"; + compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma"; reg = <0 0x00800000 0 0x70000>; interrupts = , , @@ -1187,7 +1187,7 @@ spi19: spi@894000 { }; gpi_dma0: dma-controller@900000 { - compatible = "qcom,sm8250-gpi-dma"; + compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma"; reg = <0 0x00900000 0 0x70000>; interrupts = , , @@ -1505,7 +1505,7 @@ spi7: spi@99c000 { }; gpi_dma1: dma-controller@a00000 { - compatible = "qcom,sm8250-gpi-dma"; + compatible = "qcom,sm8250-gpi-dma", "qcom,sdm845-gpi-dma"; reg = <0 0x00a00000 0 0x70000>; interrupts = , ,