From patchwork Tue Oct 18 23:03:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4357 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp25987wrs; Tue, 18 Oct 2022 16:05:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ZwYSJ4zs+oTC0b88LkhUZV0ZzFYo5Sb+jEUnzkgQdJAmz1m0nCstrbNgvdDgWup36Zf05 X-Received: by 2002:a17:906:9bd8:b0:78d:85f9:36ae with SMTP id de24-20020a1709069bd800b0078d85f936aemr4417918ejc.342.1666134357194; Tue, 18 Oct 2022 16:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666134357; cv=none; d=google.com; s=arc-20160816; b=gbw8DlWs1HOkZxq5U9VyVHMYVmy/uSao0gK0S+1EWC+HD6SggM6mLCCCPVzjW/8kfA epYtBa4Lk2pqfBrP/fhfTJw3E47DLNsDycWSlp3zMhYedslmd9XJen7e5xnwjaR8/NXD ommZxlMYCGo3hedPWmPEihWzGPuekH/NxzXuGUI1N2ULrHlidI+5JrVO7oFSw7/tV6N3 oEqJlp/ylXYAaHp1IX43ddFxPq7Xs/A9FqBcumEO6bTAVolDqdjbJcMhBGrnBxWYz1CN 1egl6uajwRuJDyNzPqHN5HdjLDwRFNKAU+LXj6hofVKQTLODHwlbhBwAKg1bNy1Ubkaw otEQ== 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=CTZo2+UahNqPWbr20HjCnz9vJERnU3dBPmvkQF15Ej0=; b=fEzxodUjU+mOp///2GKngWrcDFrqlKffJYiv8BkVkwKd3o/S1K8H60BmAkaa1JS0Kx pkrszFK+VbYZwmkiy2NmKXDSipXJinrkSmB8U4j/yH8sXS1FxxcCnAhycOO4eMRzFli+ hHpyLUq3iMcDkaGGfNHjsggh4QWZmY1IBFBjx5aVl8FWDmNKYhaLfg1Rb1IjY6ZQwig1 RcnMU16yZIwEHsGU6evPfOhf60zNvArGPjhXVcTzEBZb/gc5QG+sQo1v89oL3L7hnkLo nx/5p95irNi2SuCCs7vT6beQF1uhajKyvp3NOHlkCs3cy7Pu+yYXTCFdx4XpV7GlQoe+ 49nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dVhl0/3x"; 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 ae8-20020a17090725c800b0078db794016csi11556511ejc.907.2022.10.18.16.05.31; Tue, 18 Oct 2022 16:05:57 -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="dVhl0/3x"; 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 S230074AbiJRXEL (ORCPT + 99 others); Tue, 18 Oct 2022 19:04:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbiJRXEC (ORCPT ); Tue, 18 Oct 2022 19:04:02 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE885BD052 for ; Tue, 18 Oct 2022 16:03:57 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id hh9so10676043qtb.13 for ; Tue, 18 Oct 2022 16:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=CTZo2+UahNqPWbr20HjCnz9vJERnU3dBPmvkQF15Ej0=; b=dVhl0/3xyNOFWUTaRfptDk77g3ISYeG5BAQULaistrGZpm1Vy3YIkO3rQp3XCubOWI GUIUU/MCGGfz/MyuqXZPK6fAVC60t0gL2+QXGAHjqVipYXHG0I87GMqYKtO/4hdyp9TF KpDuPrdwvJvUAmmcvvoH2Z10ZHFmjlrRaWlX19kV74IJ9XZ4OiU9lihpk0HJ8cric8ho hgoWVf+WrI2cw5zO82+AE/Erm7juQZ9GV7SnDr2psDvybP6Wvm7L5moYGKSLfRWKtz0U RBVe2ZXXiMMIr804C9XvPcgevTB3V8j01RXeMZXdP2T2QP/gb336ec1nXRpQG2WdcBK7 gtXA== 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=CTZo2+UahNqPWbr20HjCnz9vJERnU3dBPmvkQF15Ej0=; b=2D2MBCn9hrPkRn2AuCu4EgIfxsanlqzmRech/2LYlh4f3e77J7jEDOvG2p39IiBD1I ecPRZjMCy6TL5qXUFnjHd/TiVzleueuCKCQduTmEMvw6WgsXw35+1h/XXe4MOgJg5RVs +r/yrc6Mhsl4mLrqeol+SgulaUriDumeSF7NagHxy9ebGjlIq3z0dRX8G7PNmV/z4Y6g acyxKf48o2j1feGb4MErRuG7A19MOE6cevQdn1+QvzdCcIOB/5EFv0z8rwWyy5VIuo/x Yz03U0e3s5+IsrvTQpqRqepR8tiuJ1UHDkuvSliyDy3ZUwEHLMfb8OdsKpfuMIfxIo5z qHNQ== X-Gm-Message-State: ACrzQf0ocIBOPNrbyxp+6U1vcN61zAMxnDoPfM4IwMxgL9gsfs2rZJDB n79+ghsv+MBO4uVWvjVA4IeMOg== X-Received: by 2002:a05:622a:43:b0:39c:eb15:c2ee with SMTP id y3-20020a05622a004300b0039ceb15c2eemr4201214qtw.331.1666134236657; Tue, 18 Oct 2022 16:03:56 -0700 (PDT) Received: from krzk-bin.MSRM (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id 134-20020a370a8c000000b006cbcdc6efedsm3279010qkk.41.2022.10.18.16.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 16:03:56 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 1/5] dt-bindings: dma: qcom: gpi: Use sm6350 fallback Date: Tue, 18 Oct 2022 19:03:48 -0400 Message-Id: <20221018230352.1238479-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018230352.1238479-1-krzysztof.kozlowski@linaro.org> References: <20221018230352.1238479-1-krzysztof.kozlowski@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 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?1747068499528438688?= X-GMAIL-MSGID: =?utf-8?q?1747068499528438688?= Several devices like SM6350, SM8150 and SC7280 are actually compatible, so use one compatible fallback for all of them. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml index 6f7dcae944e4..0c2894498845 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -20,11 +20,14 @@ properties: compatible: 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,sc7280-gpi-dma + - qcom,sm8350-gpi-dma + - qcom,sm8450-gpi-dma + - const: qcom,sm6350-gpi-dma - items: - enum: - qcom,sdm670-gpi-dma From patchwork Tue Oct 18 23:03:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4360 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp26208wrs; Tue, 18 Oct 2022 16:06:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4EHEe0SRedpqoSxBGoQcB9w993A0q+qqvxo9Z0Uoqz6bcXAgsIxfNwxdVhgbuyU+L9Om1q X-Received: by 2002:a05:6402:254d:b0:45d:3ed3:8aa9 with SMTP id l13-20020a056402254d00b0045d3ed38aa9mr4588100edb.157.1666134394060; Tue, 18 Oct 2022 16:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666134394; cv=none; d=google.com; s=arc-20160816; b=EL54nXyympC0SgiQ4h343OqJGqH/Bk07q2j5JhVG4/qHZmyjsw/74lizEeKMlzj7nS Ww69KT5IuxaKjqs5xAd/EzKelKokFa9eIAFz7LugCLPqEjLvf+ivLdaJUx7oJKFxEHcX rGj65tkWA8Q1B9xwr9W267lG104zAk5Ift8JqpEdXlQjgKYXl2aLF/EwtAzKRCjf+yGn lLgp846WNPiX5awjk9Fr+SaiawFdGiSf7nfuj3ry0I2sL0LQnrJzrGf/Yxw1oVJBdkDq i1PIeiKOW2S1mKb9OuRrQ/S2qDCRdFUQfgevmur03lz62dNQFnxSYf1cc8wozyEiwLuw jcPw== 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=rDE2/66UDa0hDLDqGdcC3HGG8N6jl6s2qDtARs18Pls=; b=VBuPvl0dODxGEo6m56EsoEdoRB6in5S4rj8Tv3MYGcjJc2fLUVMUZhfv5Wg3CnklEj TPu7Z90hZ1cYOeBj0qLSQkpSeIl4ajCogX5t63pGKyzbok0PrFGaofThoQi1H0QW17NK TIUaPdESB07eopyS20YRnXVT4GqSMHtVGrHejBqsE0uI3JhPA7je7zGdCU4XAEyZBUNg IHW7iRTqtLFQ/v6AbFZj9LEsyN9rWiMgKRFkfpvvuctgQAl1w9Qbh+41bW7fjP8SnF7D bNNMu6P437lMrzUE767iGRaayy4O1Gm3LADM5lIBTAV55YCyD42Psagvw8/DV6e0qMw/ lM3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yXgA+qYb; 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 ht15-20020a170907608f00b00781599eb7dbsi13466766ejc.573.2022.10.18.16.06.09; Tue, 18 Oct 2022 16:06:34 -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=yXgA+qYb; 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 S229976AbiJRXEI (ORCPT + 99 others); Tue, 18 Oct 2022 19:04:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229766AbiJRXEC (ORCPT ); Tue, 18 Oct 2022 19:04:02 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6F01BCBAF for ; Tue, 18 Oct 2022 16:03:58 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id 8so9705357qka.1 for ; Tue, 18 Oct 2022 16:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=rDE2/66UDa0hDLDqGdcC3HGG8N6jl6s2qDtARs18Pls=; b=yXgA+qYbSAVhoX3vmAKigDAkRu2K24kIHV9Q3YO/fSgj7Dfow/WN4Vq0mpghp9/cF0 zeTrol5i50aU49KgS+3toEMFfReqARWJx5Dm6eMAqhTYgxnwzfGujFd8AH26MqPbKxBz p9K/S+E0rNkFyhW4EadPxbyN6vVw5FnImBQay9Wo15XyDYPlU949LJ52rIemjxMoww0v dtarmNaaf0IZE3qBkqgMwAei49Z0ZLnaLpVJbHSbggYMI+JJlOEPObwqd7Syb2DpfOxy r56qOpkjFGAS6c90LZUf1LxVW0Z6SzzVnBTXmpCEn0zD50/pOKzLt4LCC/y6jJry64i0 jRNA== 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=rDE2/66UDa0hDLDqGdcC3HGG8N6jl6s2qDtARs18Pls=; b=jmX1iZKFopgGSIv0PU6l2wjwYAnph+JoPh9Nx32RBY1zSaPzChO+u8d/GQWAit6GAE FWC11fujXfXt+mp9rISWDDMjKbzoVpBpWihZ5QmtHiCmId2WqRkWm7iXBh3oGibqbUEk vN+Bimdc1bcas0iRFl580oWd+Cyag+qyu6sbOnMmfAt/sIOHbpw2n08BNdAP0O49xkhn Pc27x4+u0l53HvqqyuaWDmBtXV8X8/2CPU78Jhbdp9l3fZMtDTV2LNs5JHNkqg1urIWi JGEeGQJPQPyUqLBjgEjG81cqCTZyhaBa6sya6wMVLjqOj8KL5UhfrFedlLZmBm7AGF12 9ggw== X-Gm-Message-State: ACrzQf2OLKDp0HXOQQ3tNk0guhmqpSL9rGNROktI7pcGLicW1Y70yHi5 iIQi7R1vYDT24USGjjPKaVjj6w== X-Received: by 2002:a05:620a:2b85:b0:6ee:cc4a:de6 with SMTP id dz5-20020a05620a2b8500b006eecc4a0de6mr3536822qkb.458.1666134237725; Tue, 18 Oct 2022 16:03:57 -0700 (PDT) Received: from krzk-bin.MSRM (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id 134-20020a370a8c000000b006cbcdc6efedsm3279010qkk.41.2022.10.18.16.03.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 16:03:57 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Richard Acayan Subject: [PATCH v2 2/5] dmaengine: qcom: gpi: Document preferred SM6350 binding Date: Tue, 18 Oct 2022 19:03:49 -0400 Message-Id: <20221018230352.1238479-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018230352.1238479-1-krzysztof.kozlowski@linaro.org> References: <20221018230352.1238479-1-krzysztof.kozlowski@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 autolearn=ham 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?1747068538675287151?= X-GMAIL-MSGID: =?utf-8?q?1747068538675287151?= Devices with ee offset of 0x10000 should rather bind with SM6350 compatible, so the list will not unnecessarily grow for compatible devices. Signed-off-by: Krzysztof Kozlowski Acked-by: Richard Acayan --- drivers/dma/qcom/gpi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index f8e19e6e6117..061add832295 100644 --- a/drivers/dma/qcom/gpi.c +++ b/drivers/dma/qcom/gpi.c @@ -2286,13 +2286,14 @@ 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,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. + * Do not grow the list for compatible devices. Instead use + * qcom,sdm845-gpi-dma (for ee_offset = 0x0) or qcom,sm6350-gpi-dma + * (for ee_offset = 0x10000). */ + { .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 }, { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 }, From patchwork Tue Oct 18 23:03:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4358 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp26013wrs; Tue, 18 Oct 2022 16:06:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6bNyJnsomGAU8HHY2Z82ALLWubrN2O9OMsaCTcGOOuH2ILaxTbrPVM6QCD6/dvw8Qqv5jR X-Received: by 2002:a17:907:3186:b0:777:3fe7:4659 with SMTP id xe6-20020a170907318600b007773fe74659mr4288935ejb.336.1666134361671; Tue, 18 Oct 2022 16:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666134361; cv=none; d=google.com; s=arc-20160816; b=w4OqVa9zNSjKlXE744ScfiC8xeSuETv6Nu3YoVTUkzP4KpNsBOn1uX3F00erdqbn+s c+5WbFdWB+g3DGyst+F6ErWvcQ4+GU+o1UzaKI5jZAXz1m6VtVf/b1PKtOGzQSk3n76A Iqk392l8LXJJaBRR6EM2CvUuP26gNGKYsin8oxZT5Kb6oQjq1y9fxLILOItV3LaUz7q0 kouefWnJOMx7yDFGhFvpFsF6uDmwIYd89W2lHP0R4QWnU/ou64ehKLmQ0ciWSp9H9tW0 dmwgFE5TUtwFl3jhBh8q+CDDIRoghN+/fct05OPfODQ8ZT4gS4HVQuwX+bx71cJdZ+wi Aicg== 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=EFEHWgfFOmc7/ns5d+9E6vTdQjojEKv8ERpBj6Irj/M=; b=q8+ZlYMVjHz5BkzDJGaX5gmfwh3ymcnPj70LZ2XPIIahtKpseY/SKxmV/UumxWXWCQ OL5SZ2DupJnJZqQ03Bu8dqMQrS5rBqHc4GZOUFI5nVNckzKpnAs8Ojg3OWY0EnhW32LC cLZQR6m2z/tuBkLlrLDhyFSA3nfdizCWynQebYSYCD09BEPoQlH6okR36wtRw9s1Z5Bj CrUBfAh24oJ01z+QT81W8ACdiapzX+fkPRZ7DUzGMsvIO7RjROPKYewbAKkEr2EeYWt7 ak2BcY8gdnEO1LR2dKYPf8+TSYN46fo18cyQSPVDo4hva+XGJJozm27TesKkmeG+4SZv wvEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ntti7AEV; 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 i12-20020a05640242cc00b0045bccc84cebsi14913391edc.71.2022.10.18.16.05.36; Tue, 18 Oct 2022 16:06:01 -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=Ntti7AEV; 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 S230100AbiJRXEP (ORCPT + 99 others); Tue, 18 Oct 2022 19:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbiJRXEF (ORCPT ); Tue, 18 Oct 2022 19:04:05 -0400 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E836BBD046 for ; Tue, 18 Oct 2022 16:03:59 -0700 (PDT) Received: by mail-qv1-xf2b.google.com with SMTP id f14so10315397qvo.3 for ; Tue, 18 Oct 2022 16:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=EFEHWgfFOmc7/ns5d+9E6vTdQjojEKv8ERpBj6Irj/M=; b=Ntti7AEVeOd6Gj5CsDEXJCp29pglpn/ynCUnRIzWH0M/HTAXRRQPRECiGMAvc9DrhE dFQwf+uHp7Oag9Tl95YGTgDtMeGkdh+w6BTKRnZ/R6APILD8tItIUzx9BYYX7nD+n71Y h+YuYx3W9Wef82S5Q5QvJqYyztDyhfcHvM0Kx6KqDPVxynaOk7xVv/EqFHh6Gxp82thZ LIh523CmmhP3uJONSe/ywIlC5Jv+SBMxE6vYtMqRVE/g8DHQkxOO35ZT3oQukTYicnyW +D3s/KcoJeqcFFPKBPtocZ/QOywYl2IvWX2eEu1kph9dQ9Mzag5YccABAgnUdG7w6jSh 2feA== 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=EFEHWgfFOmc7/ns5d+9E6vTdQjojEKv8ERpBj6Irj/M=; b=wf1DfvMnTTZXj82FBlMISmJjNE8oqv6El8S2dcb3q2vqKnTpyhO//9rojZ0C+ghP64 LyET1IlpAixhflDPKpWPADnt6VfZoWbYegTd1QLroUwUeniFfZ4EhxIBNZ8ZXrsD9ttv OIiJAxvioG0GdQyDZrbJxeG81OW1klSUabZ1Ye8qqi06JuqPK+kR/kqrAivCaQ4f1JIh MZUlDOjCMtgVwDDJryiygsZ68f8FYDYkG//QVdN6dppJIEnwhh1F6qo2hMqESrP2y189 BCxkBKqMYeJ/IJbNTtTcl4Iq0AYdcRHi2JTXdbsXBLCrIlpo1WR6ZOCDe5sChz8S0P5a 6ZHQ== X-Gm-Message-State: ACrzQf0tFdnssvFmuZfmAbJcGVMnsL38hTyamyERwm2u8WpljbrVShX7 RFXmUu1kGj0/LSYVOByzXwH1RQ== X-Received: by 2002:a05:6214:401c:b0:4b2:d527:74a7 with SMTP id kd28-20020a056214401c00b004b2d52774a7mr4241968qvb.10.1666134239096; Tue, 18 Oct 2022 16:03:59 -0700 (PDT) Received: from krzk-bin.MSRM (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id 134-20020a370a8c000000b006cbcdc6efedsm3279010qkk.41.2022.10.18.16.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 16:03:58 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Neil Armstrong Subject: [PATCH v2 3/5] arm64: dts: qcom: sc7280: Add GPI DMA compatible fallback Date: Tue, 18 Oct 2022 19:03:50 -0400 Message-Id: <20221018230352.1238479-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018230352.1238479-1-krzysztof.kozlowski@linaro.org> References: <20221018230352.1238479-1-krzysztof.kozlowski@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 autolearn=ham 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?1747068504498227539?= X-GMAIL-MSGID: =?utf-8?q?1747068504498227539?= Use SM6350 as fallback for GPI DMA, to indicate devices are compatible and that drivers can bind with only one compatible. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 212580316d3e..2a167412fa6a 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -920,7 +920,7 @@ opp-384000000 { gpi_dma0: dma-controller@900000 { #dma-cells = <3>; - compatible = "qcom,sc7280-gpi-dma"; + compatible = "qcom,sc7280-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0 0x00900000 0 0x60000>; interrupts = , , @@ -1419,7 +1419,7 @@ uart7: serial@99c000 { gpi_dma1: dma-controller@a00000 { #dma-cells = <3>; - compatible = "qcom,sc7280-gpi-dma"; + compatible = "qcom,sc7280-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0 0x00a00000 0 0x60000>; interrupts = , , From patchwork Tue Oct 18 23:03:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4359 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp26143wrs; Tue, 18 Oct 2022 16:06:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6F6+Zi+DNJwMB3UEvAGHzJbSdnSE89R+pF4Hn33Ya/XsM6wSJgX5sVVpf7q3/BGS49f0ms X-Received: by 2002:a17:907:3da2:b0:78d:45df:b4f with SMTP id he34-20020a1709073da200b0078d45df0b4fmr4208370ejc.651.1666134381054; Tue, 18 Oct 2022 16:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666134381; cv=none; d=google.com; s=arc-20160816; b=sMdb2Y1xG9V6VElHN5/le12Sjib/Ffu+rtdsW/Tdcu5kMLEksyhGCUDUufpv65e84y 2FiNjWZktzFh+jCdUHMAf6rfni01kG3jFx6UlaUvnM5ElPXf4xmGQeEH+xqZN/FBQD2r RbDDo/8wIwnzrz+Q1F+qrM2Jynf+M/EomMroGSUz2T+PjQ/INN9S6zszv/QnLI5CGNv5 rG5XWwoNkDhf7k7EAU0Fp0tppJhdSgCRvkYkXRq1L7+G9jhsH20uHCqahHZvaUesigDt b4Y9dtWOtYXc/yQsamMDovpz6aPttlEl+IlnHKq+LsS2DgTiBiw/h4YmlHbgaUIUW8GW a4ag== 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=6SKk0pUCgLwhfjypSgrxLtxlJmX8JgawfBhUMDt+ICk=; b=voEMVSMBUaAnUmTztVmWnLPuLH51p0dtYUWz878yK1HaNVCOdAiOKtOz7JZaQFydqY 4a/DBoiuhI6Gdkc6eLaYENA+N8HppxxoDqqjAV4nQVDRWYgMelbV+M5nNODeY3jRYsXi MO5yMRaXPNcBillyKmQOF6tDRlFKQfHxU7nHFEnUau9CY+R+THJdLJ0DV1r4hkoq39nb v0waRBOGf/ibY1VOI2sWufh7YGVY+e6puAkM2p/TeyKgsxaWqu8APykOhHW98flZ3U7D 8g8oglV503B3N7azNpDslFAP9xy9wG8ykLsQu23iqmZzrBu35v89PUUVAYYBwvt+K3in Wltw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rx7VVK5f; 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 r16-20020a05640251d000b0045da52f303csi6852071edd.213.2022.10.18.16.05.53; Tue, 18 Oct 2022 16:06:21 -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=rx7VVK5f; 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 S230108AbiJRXEW (ORCPT + 99 others); Tue, 18 Oct 2022 19:04:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229841AbiJRXEG (ORCPT ); Tue, 18 Oct 2022 19:04:06 -0400 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 978E1BE2CA for ; Tue, 18 Oct 2022 16:04:01 -0700 (PDT) Received: by mail-qv1-xf34.google.com with SMTP id z18so10294303qvn.6 for ; Tue, 18 Oct 2022 16:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=6SKk0pUCgLwhfjypSgrxLtxlJmX8JgawfBhUMDt+ICk=; b=rx7VVK5ft2n8lkM2P4qqZRQd1rQS+I7yjKxd7JiSZSiV0LG88/MztFwwdaluywnpeS 8re6JNhf4LBDetzpO5hy7aDBnIoa3yG/2ChqAyr2MTXOfySxWA/0ywm1ru+ou42zQXss QWbhmmD5jct0slMbOVIRQf1yudylF6zbJwPzWc9m2d1iX0NLAWj2BVQppVQcVAmopkfl 1Mvuh6QcLv6kAlV1GgvGKmv+PeMeIhcxdGExslomIUpxT8jthlzJoinLwQA/5STsR9tw bwrV8DzhE6ngC09Qv3JMMlBhQSBqxJW8rBv31Ol5inBThCFMiT0XlE8OKvOZ1XFDzoq2 zr2A== 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=6SKk0pUCgLwhfjypSgrxLtxlJmX8JgawfBhUMDt+ICk=; b=H2+kFfwprKPazTnFS1uQvFfU4oAG9luN6GKNvB6G/KIQDS2anEidbLQVJ6CDw18RtR pRksiRQ8YOztoL7460WeUQbSqrmdo9EV393xPDiQXhlPfRjmB+8ZeyiijZgR/5i6J2T2 EIyn7lMxA2x/8f+IBnBXiGAPL4VISHyxohIc3MfLZ47hfa5M3F6n26ITcogM15er6yjk 6rdykSSY/H+yHpf3v1NoMPXsQjjOiEhK2rGdFPmsuAgmbOFZ+qwgVIPoerLHr7FC2POP jcFDE19oSzuNtLYUHHJdiUbk62Sr/Rn+dL3Flo7DfenP95stpFS1iGQ2ldiuyDnmRGIB BZeA== X-Gm-Message-State: ACrzQf1QCTABAk/HBFxhKmD++TZUeAsHgm1Wwdz2sWCEAPCVYRAUSW/z quY8zPN9ioaPgsdItxaR7MqmMg== X-Received: by 2002:a05:6214:29eb:b0:4af:b287:8ff6 with SMTP id jv11-20020a05621429eb00b004afb2878ff6mr4365906qvb.65.1666134240416; Tue, 18 Oct 2022 16:04:00 -0700 (PDT) Received: from krzk-bin.MSRM (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id 134-20020a370a8c000000b006cbcdc6efedsm3279010qkk.41.2022.10.18.16.03.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 16:03:59 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Neil Armstrong Subject: [PATCH v2 4/5] arm64: dts: qcom: sm8350: Add GPI DMA compatible fallback Date: Tue, 18 Oct 2022 19:03:51 -0400 Message-Id: <20221018230352.1238479-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018230352.1238479-1-krzysztof.kozlowski@linaro.org> References: <20221018230352.1238479-1-krzysztof.kozlowski@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 autolearn=ham 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?1747068524326081684?= X-GMAIL-MSGID: =?utf-8?q?1747068524326081684?= Use SM6350 as fallback for GPI DMA, to indicate devices are compatible and that drivers can bind with only one compatible. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index a86d9ea93b9d..aa08c0e065c7 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -678,7 +678,7 @@ ipcc: mailbox@408000 { }; gpi_dma2: dma-controller@800000 { - compatible = "qcom,sm8350-gpi-dma"; + compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0 0x00800000 0 0x60000>; interrupts = , , @@ -904,7 +904,7 @@ spi19: spi@894000 { }; gpi_dma0: dma-controller@900000 { - compatible = "qcom,sm8350-gpi-dma"; + compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0 0x09800000 0 0x60000>; interrupts = , , @@ -1209,7 +1209,7 @@ spi7: spi@99c000 { }; gpi_dma1: dma-controller@a00000 { - compatible = "qcom,sm8350-gpi-dma"; + compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0 0x00a00000 0 0x60000>; interrupts = , , From patchwork Tue Oct 18 23:03:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4361 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp26480wrs; Tue, 18 Oct 2022 16:07:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6QSa/TsMou6pImfS4HvHmJhSYWk4WaPxtFIeNAn3SbS0AIWMW3AkEUVX5KaY1PKc23smyw X-Received: by 2002:a05:6402:2b8b:b0:43a:5475:f1ae with SMTP id fj11-20020a0564022b8b00b0043a5475f1aemr4701597edb.363.1666134435814; Tue, 18 Oct 2022 16:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666134435; cv=none; d=google.com; s=arc-20160816; b=oMbx/l2+HvucprgfV6d7yPFFmrxyYFCtdZQ7BP/xj8dNAc8jBbvZNoW9zUgCGXgjZx R5rUMl1SVb0UrwRykxDzm74vh4jpO9B5KeGokUtOi/qgOzEsBJcroL7a2Dgn+d3ntX4v msHTnxPTo+xP+7qO79lJBUt5+ggCLFFFMoszfLd0yEdWMZvqe1O4DIaki/FmVPU2Q3gs DnYIOuQQWVNINXELuzSjK8Xng7xkYWo9QBLjxc+QhXuyQ0WpsqGmKTqH1380plSsOzZ8 jIownQHlgP9pV7TFWrLOw1e25C0/gkUU9ZnX+g/FBkgWg/hIFP5CyH3VV2+OtxgimATS +wgQ== 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=j5onxALWPECvEQDbcc1fJ7WbhZUDY/4v0hgNP7t4FyY=; b=eWA5OPanRE4RtMY412riIElYbrF51+mLd4Cw7mlvcd3jNI81IDVeFsG1d4agk1wdYD Z1D+Bj+It7/jBEcEOSEH6SZg/QcsO6jQngyonBMDz2P35cV+yUR90xpj1wtvH6apozX2 hvAAYaxatQMTQTssmJ+gYHlts6IBoEkpeTvq4F7UHLbCmM/i5/YA7VWCnNC7gsYvbZ6b YfUmx+2SfdIIMR1+pcCMDfj269u3fznWO+Y5r2HUk2MvwKBF+HghKyormaxckb4nZ3m3 me3YfRIS4hpdHF7eJ9Y8b1mlxFI1jzZ0at0jf0DNnKSduPcjaGOr3YkcVlZ9uWoJJ8jR VyHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uuC5cdGZ; 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 e11-20020a056402104b00b004587cd5a5bdsi11532460edu.81.2022.10.18.16.06.35; Tue, 18 Oct 2022 16:07:15 -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=uuC5cdGZ; 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 S229866AbiJRXES (ORCPT + 99 others); Tue, 18 Oct 2022 19:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbiJRXEI (ORCPT ); Tue, 18 Oct 2022 19:04:08 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBB36D25B1 for ; Tue, 18 Oct 2022 16:04:03 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id o67so10288298qvo.13 for ; Tue, 18 Oct 2022 16:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=j5onxALWPECvEQDbcc1fJ7WbhZUDY/4v0hgNP7t4FyY=; b=uuC5cdGZPruoYSQCrJao34nCJk7xGMr5lItBdzuAKncJM5qZFaEtPqF9dAVEuDckDu p6yHAcJbD7ufXcArqgAFJbe65sgJywCblw1tuPel3OWZt3sE+CdoEW4MrQMbGGBHL++A C7oP/UDmLY3zXMid9PROm0ctwsMvm3LuFtsNUSnsrktdmj0p0GsCi23sNn1mIaA8KIGK gmruarPDwwdQPR/EVQ5/m07KMv6tG6OYc3wYCLMUSDBUGgX5uACGL8pJVntjuW853bNv duX1VNKrjvEpydcptjRQWN200asq7DOPoAEAFWhhiqm8NFRrPm6bIEnndBWiXrDHiZsP PlDg== 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=j5onxALWPECvEQDbcc1fJ7WbhZUDY/4v0hgNP7t4FyY=; b=CWmsahOXnBfByFuru9vi++zXRynn0/RlA6FnG76nvwpMDLDBPDPFLam7/uur+lnpH2 GcD7V9mNepVMJ8Xlbvdi1B8Rgt3oTdVMu0ZaqqEh3xKMWZIW0+9idJwACMPa9piMNrNJ vIIAnXdks6hgxq5kcKtoJz5cjk0U4F/zr6LeICtaXkKqT38mB8hP1+5zx8A0/fGmL8u+ urT4NoHZ99mG48p+JAqQoCQ9uUzJpWGLPK4LQry8oVXxxWmkXQryrRQDmQrTH9HapHn6 Q8Sav1cPsjuTm4TLi4i0HcULFifyd6P7GWiJYcCxe7CSNkfyiLsETps+8SzO/9cRCeSn bd8g== X-Gm-Message-State: ACrzQf27bnmTWRscEVKsHEzfV/3rEntxJO/3bI26Ftc0o4WVBA8cmJIi XuQrGifKBZfbqdPaXNs9ZfhAEw== X-Received: by 2002:a05:6214:e49:b0:4b3:f24e:91ac with SMTP id o9-20020a0562140e4900b004b3f24e91acmr4064637qvc.41.1666134242891; Tue, 18 Oct 2022 16:04:02 -0700 (PDT) Received: from krzk-bin.MSRM (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id 134-20020a370a8c000000b006cbcdc6efedsm3279010qkk.41.2022.10.18.16.04.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 16:04:02 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Neil Armstrong Subject: [PATCH v2 5/5] arm64: dts: qcom: sm8450: Add GPI DMA compatible fallback Date: Tue, 18 Oct 2022 19:03:52 -0400 Message-Id: <20221018230352.1238479-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018230352.1238479-1-krzysztof.kozlowski@linaro.org> References: <20221018230352.1238479-1-krzysztof.kozlowski@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 autolearn=ham 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?1747068581825710001?= X-GMAIL-MSGID: =?utf-8?q?1747068581825710001?= Use SM6350 as fallback for GPI DMA, to indicate devices are compatible and that drivers can bind with only one compatible. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index d32f08df743d..e01a019d8b23 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -730,7 +730,7 @@ gcc: clock-controller@100000 { }; gpi_dma2: dma-controller@800000 { - compatible = "qcom,sm8450-gpi-dma"; + compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; #dma-cells = <3>; reg = <0 0x800000 0 0x60000>; interrupts = , @@ -1058,7 +1058,7 @@ spi21: spi@898000 { }; gpi_dma0: dma-controller@900000 { - compatible = "qcom,sm8450-gpi-dma"; + compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; #dma-cells = <3>; reg = <0 0x900000 0 0x60000>; interrupts = , @@ -1394,7 +1394,7 @@ uart7: serial@99c000 { }; gpi_dma1: dma-controller@a00000 { - compatible = "qcom,sm8450-gpi-dma"; + compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; #dma-cells = <3>; reg = <0 0xa00000 0 0x60000>; interrupts = ,