From patchwork Sat Oct 1 21:19:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12996683 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 D100DC433FE for ; Sat, 1 Oct 2022 21:19:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229548AbiJAVTn (ORCPT ); Sat, 1 Oct 2022 17:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbiJAVTm (ORCPT ); Sat, 1 Oct 2022 17:19:42 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 340E42BC1; Sat, 1 Oct 2022 14:19:41 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id l127so3236745iof.12; Sat, 01 Oct 2022 14:19:41 -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=IhR4jS5mTKqz4s743v2gTnl33ynzzzLSD1UxLXxB31Q=; b=GVfTBp1WvMFPhDUQGNZ8fnj0xKNKzm99WezeKAC0YvLWmIyk+yVXz4WBtEPcoYFyG0 GL9DdKiMBEJnC5h03qv5TpfEi7DQFf5KEv96nMScmaIXCKe7lkvf/24JtjKpVEYNjm89 XfOpKTp9SQkh9eNKNoccv1GmmHtrYlcnrbMX0s+0B0CgNB1iNvvVvkBsBRCw9rxXubjp TK3VccIjbS/tkRhdItjhXrRSpvD8iBIt+tgZD1qexK5V9SLu9TcbpGNPU2urgiVKFg2C kINmgJu+Guzo9Im3mYLyRbakAMZ4BDZfpG2fmD73S5Cu9hs+DpCanTvuGSzCXVNL9kqL WESA== 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=IhR4jS5mTKqz4s743v2gTnl33ynzzzLSD1UxLXxB31Q=; b=yJVPa72F5FyLIomF6vQCJhSCPMP3cqKxKR5NFgaSk3prn0sCOM8Gtgp6DSPn1yeNZZ D7GC0fcD7k5PIwyNPsFRcmezxssJB0IKi16jbZFHYr8UQlBAmKoaPpZ8q+u5I8C+Y5IP +dBL8KQIvbglU04Rz+FCT0SBsI45dCFP5uZn+9ulpgoIyz+sBzZmKsUuP27x29wflSju MQNn6FWRa2VN3oCZEEjycDaIKIlRqcXL/y1lCHvndlTcyU6rPy1OIP7z5Izln+zP2UnS /TXWq/DLQ97dLuuN7bLon42KYpZoVbomJlowbEx856oDH/jGDLD0eXs5hve5t8Vc3Bvw oHAw== X-Gm-Message-State: ACrzQf2GiDCktn+BI1NLOsd4vck/BOD0ewNhFHAADCf8DMym6TBNOKMk 2FZOx3XMJyoiMsJ9YzX/cy6D0iUe8l8DVQ== X-Google-Smtp-Source: AMsMyM5c0ZceTmIceQmKCmHevF5/W1F/ZoIuoScWE8IalNjG8pAEWwsqGwqqNThFY3/t8V+JZmQrbw== X-Received: by 2002:a05:6638:2725:b0:362:1b0f:ce9b with SMTP id m37-20020a056638272500b003621b0fce9bmr1121907jav.250.1664659180430; Sat, 01 Oct 2022 14:19:40 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1eda]) by smtp.gmail.com with UTF8SMTPSA id x7-20020a056638010700b0035a995a34d6sm2432272jao.60.2022.10.01.14.19.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 14:19:39 -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 v4 1/4] dt-bindings: dma: qcom: gpi: add fallback compatible Date: Sat, 1 Oct 2022 17:19:31 -0400 Message-Id: <20221001211934.62511-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001211934.62511-1-mailingradian@gmail.com> References: <20221001211934.62511-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The drivers are transitioning from matching against lists of specific compatible strings to matching against smaller lists of more generic compatible strings. Use the SDM845 compatible string as a fallback in the schema to support this change. Signed-off-by: Richard Acayan Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/dma/qcom,gpi.yaml | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml index eabf8a76d3a0..081b8a2d393d 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -18,14 +18,19 @@ allOf: properties: compatible: - enum: - - qcom,sc7280-gpi-dma - - qcom,sdm845-gpi-dma - - qcom,sm6350-gpi-dma - - qcom,sm8150-gpi-dma - - qcom,sm8250-gpi-dma - - qcom,sm8350-gpi-dma - - qcom,sm8450-gpi-dma + oneOf: + - enum: + - qcom,sc7280-gpi-dma + - qcom,sdm845-gpi-dma + - qcom,sm6350-gpi-dma + - qcom,sm8350-gpi-dma + - qcom,sm8450-gpi-dma + + - items: + - enum: + - qcom,sm8150-gpi-dma + - qcom,sm8250-gpi-dma + - const: qcom,sdm845-gpi-dma reg: maxItems: 1 From patchwork Sat Oct 1 21:19:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12996685 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 A5655C4332F for ; Sat, 1 Oct 2022 21:19:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229592AbiJAVTq (ORCPT ); Sat, 1 Oct 2022 17:19:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiJAVTp (ORCPT ); Sat, 1 Oct 2022 17:19:45 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E3D5659D; Sat, 1 Oct 2022 14:19:43 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id p202so5733493iod.6; Sat, 01 Oct 2022 14:19:43 -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=W45UiD2TumgDHADA0Bi3A73GMwe5dfWiZOQNYdF92SY=; b=mqi5UeL4NN8J4sXjI7AOWnU8jZonIf3ImSkDEUYdxacv6jOvgBvpL61SMb3DzW9Zv4 /kP+EJ0NN+T/pb8o3J4K3vr/UGq7jk/ZeJd6ln6HPHWWsO6tHTj/zbMzzOoEZRwariOj wrKUASiOnVkpHr0NpsCb4kIUl/RYHnh6IHtI8h9WOejN8/8tWoJwXP8o1ZjSkY8RP3Ai Td3xjKnP6332WQtLiSgAbKpiEbGvbep4Quo0Az81NdSep2wblFWIVJs6mAN/GjGdBQKP j9CluzHXzr+OHQFOQLcwPvckklnDdE36yXMxMKTH4QSAuPnooGW913FwUI+tImEYFUDZ 86Ng== 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=W45UiD2TumgDHADA0Bi3A73GMwe5dfWiZOQNYdF92SY=; b=N8ia9Qgdq2FOGPES4qMPLnilzMYd3FOxpV8cqLmW0uhPKApaH9hWwN3PHzAY9PwD1O ErwRGhXuRoLgYX8l98yFJB5XlukFw+GOw2O34TJ/SaF1ds9RneTYYQgQDGxO4ZiEr/Lm RI80PHw5o3Ki/HE5ohD4r/pb9SyGi4Ju8A4mKE/NeNyr8DFLaHI/byzgvZnzxDK/3NXu RTKbc9coMxrYxePMdBCRRPL43/+Ra7aaPDACGTR4WiX6x+ap+J3PsvkaV2n1dMEs6K9m CzvJ/0lS7gwruc+3uT2rl611TLV/ytydaVsiPHhbJQLIkEktvcDmVeY1BoTjkLV9xXTw VVZg== X-Gm-Message-State: ACrzQf3ynVskEKBDbmxLa69dT/p5BBFBx62DghFFYbbinEPNiccNI3z+ NBBKWWjBEiYq15zzOGhjmN5aHeORlKcQEA== X-Google-Smtp-Source: AMsMyM4fSyY4UVQKxgr1kycGYFuo068e1zqkSkumS1yVZPshVg2VHVa7zARlNRkmFq1IL82O4p636Q== X-Received: by 2002:a6b:cd86:0:b0:6a8:4861:fc2e with SMTP id d128-20020a6bcd86000000b006a84861fc2emr1902728iog.38.1664659182495; Sat, 01 Oct 2022 14:19:42 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1eda]) by smtp.gmail.com with UTF8SMTPSA id x6-20020a026f06000000b00352a7f96772sm2356074jab.38.2022.10.01.14.19.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 14:19:41 -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 v4 2/4] dt-bindings: dma: qcom: gpi: add compatible for sdm670 Date: Sat, 1 Oct 2022 17:19:32 -0400 Message-Id: <20221001211934.62511-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001211934.62511-1-mailingradian@gmail.com> References: <20221001211934.62511-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@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 081b8a2d393d..750b40c32213 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -28,6 +28,7 @@ properties: - items: - enum: + - qcom,sdm670-gpi-dma - qcom,sm8150-gpi-dma - qcom,sm8250-gpi-dma - const: qcom,sdm845-gpi-dma From patchwork Sat Oct 1 21:19:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12996686 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 82AA3C433F5 for ; Sat, 1 Oct 2022 21:19:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229602AbiJAVTu (ORCPT ); Sat, 1 Oct 2022 17:19:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbiJAVTr (ORCPT ); Sat, 1 Oct 2022 17:19:47 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 623351056A; Sat, 1 Oct 2022 14:19:45 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id l127so3236804iof.12; Sat, 01 Oct 2022 14:19:45 -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=3gkovKwNaV5T+QMYSnqdWiKH0URvqosCR5B8+wjjDBc=; b=F7q64MO7jmVLbNxJrYU7/yoWWJP69Dg9MsoLd4DQrNALCDcOzDkBoWQUjvtk2k42Ho kPlHf++tlQpNZvO1WHqgf2l8mnazd1hDcu6wWAhZwXpcoRjEFW15Eg67bH21eIcVaoet D7YvSVlGHcNUrF058XIQ+Gev5IXgvbNzmx4MKaIYsBINLEB51R0h5QcDTGw+i6l5QXoM PBjvNa52eHzIzy6iYy+1A9haPAoEZeMJzZn7ig22K5+4iKtH1ncU2GF4p7w2gU9HqbOo JOYM6QY3gZCOYM8FjPA9zg0eo47lUlaokvTc/F77ZbW00LTj/N7GHFuPB+NBJG6uQOwb QOtw== 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=3gkovKwNaV5T+QMYSnqdWiKH0URvqosCR5B8+wjjDBc=; b=bmTdPeeUkx0fwo82lL+CDdXlfgEp2Nw8Fh3qemYGirFd7FunKjk+oKdUTfjjdjga/o ZtB2stJ8U57W8r7Wcfi6Yge4n1D+VRZT5Bt2gel9tMbHFG9K4e+W/zCNjr2fdPV/AeDL U6pFqqiGIripn3mdZx55sv8ZonucbhDzyjNOnsyMYDxp+0XSlqgyVlswbhXfOB55Wt35 ZJQ6x4RxA5psLF6IH9U2MFT9FiPlQvReNv9yQocJQWcMD7irs2cmX1q89iznSPzT3Aj+ GG8x9S3XY4fK1c3g3vc0UF41pz/kGQGmRVO0/QYGUkeOC5IhU2PIaNDUChtdwnoLcMn8 Eg1Q== X-Gm-Message-State: ACrzQf3n1kk/MG1oP30iIbE0qiE51OKM7oU39HKjW5BJdbA6po082o4t VFt6ehWqNSElneZdmx+PJojI7/1XvbnM4Q== X-Google-Smtp-Source: AMsMyM4JkTSZxaJWFiM/vW7T4ZelSzZLTX7F+E1QYhWIm64kDfG3Hg34bqww43/pGKtG89dQdAGmRw== X-Received: by 2002:a6b:e003:0:b0:6a0:d55b:a3ae with SMTP id z3-20020a6be003000000b006a0d55ba3aemr6318386iog.167.1664659184576; Sat, 01 Oct 2022 14:19:44 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1eda]) by smtp.gmail.com with UTF8SMTPSA id t19-20020a02b193000000b00362c9a4a3a9sm95810jah.113.2022.10.01.14.19.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 14:19:44 -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 v4 3/4] arm64: dts: qcom: add gpi-dma fallback compatible Date: Sat, 1 Oct 2022 17:19:33 -0400 Message-Id: <20221001211934.62511-4-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001211934.62511-1-mailingradian@gmail.com> References: <20221001211934.62511-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@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 = , , From patchwork Sat Oct 1 21:19:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12996687 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 A68E6C4167B for ; Sat, 1 Oct 2022 21:19:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229614AbiJAVTv (ORCPT ); Sat, 1 Oct 2022 17:19:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbiJAVTt (ORCPT ); Sat, 1 Oct 2022 17:19:49 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF2EA18E12; Sat, 1 Oct 2022 14:19:48 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id p202so5733587iod.6; Sat, 01 Oct 2022 14:19:48 -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=ncWXTlDofAnH4a6zbZXsucgF01Ea2LS/bTNTYDPAZe8=; b=IP3Az7IU4h2FlVb8Izvh64cUIFCzb0bDD3o9TuJUjJxU7R5qOb9hrFgRfwghvNNMaM UXdEYY+9op2uW3vLidX4+Ilwh53PzbY/s0UaBENC5RDKktC8fjQMcC3o8EzMLAeutw46 OCTag8HHRff5GYYhn7WI0ZD0RafcsPJV8oCHKEm9V8gxjhnmPfiAaWELtMl+AA8GemMd shtUFH4K5SXmcHKGuG7o4WLL7O7u80UOgh1DedZqvO1TIZRRAMeFYlXz/yRlOyxXwkq7 fO+cHWwMLPgsisn3TZLXrXKQof1zYuxpnOCAtioGkZAv45qy86X3JRtQ2ol6J1wc5CYk SpUA== 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=ncWXTlDofAnH4a6zbZXsucgF01Ea2LS/bTNTYDPAZe8=; b=XHPG63uqnM9/7rtJ56/5QiWpV1ji+QZv+O0wHX8JNCDEY2h1I+i/wp6G2YBeTXagit pgJnSKfLBiiu/9K/2Wm4jMMmkNAGQEJJIJp5r2eXwGxpdE+0Ul+VsaCFH5UDWQF57LYd EGMHGuvM/GGrFPvbh/1BZxkaz1PEIAo9P7Y+2ZJovYxvZOlTIvL8SO8b/Oy7xZQtJbjP /yTkvsc3476etAEAvjFx7iwWBHdyD3nIa5SWbcWNseg0DBXZUz9JRY59jJxScDoXOOQW +ta11fzhz0DmelTLDAJdijUTgkUuwGCBu9/vpBaKcnR706ejT2qcTFAxMSk5UuiqS4pj Zj8Q== X-Gm-Message-State: ACrzQf2Oa3iRIPSmu886bYe6amVBKo55MgX4PsJI2yCaf4fazF2Ta6XJ UvlX9XV5ldbaVpX31lULuZ4lgjG5qR9ttA== X-Google-Smtp-Source: AMsMyM69qdc7SEZY+JRhEYOQKmIp6dl21M+u+kB9e9kTiLfjsSFUMbBWugKcjeSi/D3zbQJeqqtayA== X-Received: by 2002:a05:6638:1a1b:b0:35a:ce31:2e2b with SMTP id cd27-20020a0566381a1b00b0035ace312e2bmr7498793jab.289.1664659186536; Sat, 01 Oct 2022 14:19:46 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1eda]) by smtp.gmail.com with UTF8SMTPSA id l28-20020a02665c000000b00356744215f6sm2393731jaf.47.2022.10.01.14.19.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 14:19:46 -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 v4 4/4] dmaengine: qcom: deprecate redundant of_device_id entries Date: Sat, 1 Oct 2022 17:19:34 -0400 Message-Id: <20221001211934.62511-5-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001211934.62511-1-mailingradian@gmail.com> References: <20221001211934.62511-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The drivers are transitioning from matching against lists of specific compatible strings to matching against smaller lists of more generic compatible strings. Add a message that the compatible strings with an ee_offset of 0 are deprecated except for the SDM845 compatible string. Signed-off-by: Richard Acayan Reviewed-by: Krzysztof Kozlowski --- drivers/dma/qcom/gpi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index 89839864b4ec..ff22f5725ded 100644 --- a/drivers/dma/qcom/gpi.c +++ b/drivers/dma/qcom/gpi.c @@ -2289,6 +2289,10 @@ static const struct of_device_id gpi_of_match[] = { { .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 }, { .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm6350-gpi-dma", .data = (void *)0x10000 }, + /* + * Deprecated, devices with ee_offset = 0 should use sdm845-gpi-dma as + * fallback and not need their own entries here. + */ { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },