From patchwork Sat Oct 15 14:04:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 2939 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp656174wrs; Sat, 15 Oct 2022 07:08:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HmRHQGS1+b6/436kpSctAQQieppy5udqE5BJumqSzxdkd0hUvQKbpPKfdzjJC4qi7gtO3 X-Received: by 2002:a05:6a02:18f:b0:44a:3972:898d with SMTP id bj15-20020a056a02018f00b0044a3972898dmr2691681pgb.525.1665842901368; Sat, 15 Oct 2022 07:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665842901; cv=none; d=google.com; s=arc-20160816; b=Vl3fviPD6b0K9DSzLvvJBCsTrHlVpaQwT0gwEck8NJ0tl6Nv4TmuiJrBBbTRT8OMpw kvSOXWAk7aLl1znXj6vD5dRoLwbd1dALlGkq42dk/iZlN03qugRQGwBnn9QLjElI9HUR 6i+221uKZagHA2Ch7I9kfiobSwTkT1rwP+dnxJhIYIc8cIrKojeWgrejJzPauBHg2aib EH/eAfHZRZvBBXpQCv5HL1ohrO+y5BHyRLo5vHvu7lQbWN/fXBWR2f/HxdLAzK115I8x RYKQe4WxEu9qTYg9SHn53v6Xa9M4PuEi0N9Xx0pHl94NxanA5Nv9wMg+HKCnmpUtz4d5 0+2g== 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=bxQPINt+WD8WuWGRIKOof3DJAfj05njiHZmcwReVibA=; b=Dx3eG2TBUxZxnP2K28H7ft/qGLHzLz40F0q2mM1o/vhKdSL+6JG2G5a+4rICPbkGrP TJX/jtQTOr1VSmJWSqvgRmWbS38TPx9Kc0QNJnktaqkvu/CwSNyB2hNko1esW4DSW1wD AIfV+IUq2WWKhGqtqPOwBc8SWbm5VYRuhpocEJB3n8unJo6QfgG8VBdkz5JNqBLCfsKb f5jFo/nuY8AuF9A7374jWDztr3aIadTFwHgoamaTXS2Pu9cJKzRoeMGwiYPh/VwbR1Ze bcgScgnMMaBJDYBSIbUzOWw4eeCeBV2Jr16EzVPtIBHEXyOrj4wSsXgnfQrFLqLHTKRG qObA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yZ/y5Cys"; 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 202-20020a6214d3000000b005634e5369bdsi5594947pfu.209.2022.10.15.07.08.02; Sat, 15 Oct 2022 07:08: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="yZ/y5Cys"; 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 S229764AbiJOOF0 (ORCPT + 99 others); Sat, 15 Oct 2022 10:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229722AbiJOOFW (ORCPT ); Sat, 15 Oct 2022 10:05:22 -0400 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFC5D2D74A for ; Sat, 15 Oct 2022 07:05:20 -0700 (PDT) Received: by mail-qk1-x729.google.com with SMTP id a5so4207758qkl.6 for ; Sat, 15 Oct 2022 07:05:20 -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=bxQPINt+WD8WuWGRIKOof3DJAfj05njiHZmcwReVibA=; b=yZ/y5Cys1uIvd1d84CoC8Sw3LmvRXIQ9X05Zp7sAY9BPQHYQW4BOgLaN5q8mO9jXHP YGayNBP6G6f2KR35YOqkpU345nbUzFq+r86wXek9O57trfy08SYyYUljH6UNDV7WZ/Md dU9hlBYNp+VF/zAPpNXlqR8PGpyVhgTOjZLtTlbNh+XHv1/Yyd4jiNR3TPEJjYQiQGvh o1/s4AH+p6Ncm9gc612XF8Gm6oMDTJH0nHb3sDzAxUF7T2vRYY2uLdRzoTVhIUrv4T2K fXX/5Ef8qbtwVe/cZqtEGZYOwEZ0ToCPsi5OnH7NnZUB/i5dCCOJTBhJUOuxRgUV3BwO 2GNQ== 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=bxQPINt+WD8WuWGRIKOof3DJAfj05njiHZmcwReVibA=; b=G/hP3HDhmsufgy2eKTTNCJF2KRx0We6a/Ir0Xn/UMEH9q5tpXaRCzDVtYg2KGKGTuO YStxcgLV86CVJ23oj5A+/mG6HWW5G2JbC2QBloiFv/m/cSwZv3mLKNQztAIC5MDKSdIX nH/ZEfSFJm7iQL21W35UxD7mgqa67wGYr/UNU70FOiIqyozrCFg7sREz3QrXT7WyW+Bv j8qgUvQXDq64p5w3+jEMUU7Io01G0pxaB33QdLDbq2YtpSNPRrdrTNG7ptdCy8t5hoCL cwgHJHHr8hlXQ8Kl9RiF0ktCIbwZhjXPTmvBPX9QTAhXV7nV2ARY/lohfmbmP3EGWVGG CUgg== X-Gm-Message-State: ACrzQf1X62oqxcTMik2NsfhvDdQ6Xu9S73bBodvOH+6I2Lmhv4xRF97N mn6x8pdvWEDuQVRWqC8PhGeWYw== X-Received: by 2002:a05:620a:126d:b0:6ea:cff7:3832 with SMTP id b13-20020a05620a126d00b006eacff73832mr1865407qkl.694.1665842719902; Sat, 15 Oct 2022 07:05:19 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:161:5720:79e9:9739]) by smtp.gmail.com with ESMTPSA id s21-20020a05620a29d500b006bb78d095c5sm4958022qkp.79.2022.10.15.07.05.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 07:05:19 -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: Richard Acayan , Melody Olvera , Krzysztof Kozlowski Subject: [PATCH 1/5] dt-bindings: dma: qcom: gpi: use sm6350 fallback Date: Sat, 15 Oct 2022 10:04:43 -0400 Message-Id: <20221015140447.55221-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015140447.55221-1-krzysztof.kozlowski@linaro.org> References: <20221015140447.55221-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?1746762885845493157?= X-GMAIL-MSGID: =?utf-8?q?1746762885845493157?= 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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml index 750b40c32213..0c2894498845 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -20,12 +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 Sat Oct 15 14:04:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 2941 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp656872wrs; Sat, 15 Oct 2022 07:09:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6+qwUrirKuRZLn4S8/e8s7VaWpKQPk5q7mWObpdacYJPcI4yeBtNcTkMcNw3GTABoHCiEJ X-Received: by 2002:a17:90b:1644:b0:20d:459b:9d81 with SMTP id il4-20020a17090b164400b0020d459b9d81mr3597052pjb.196.1665842990584; Sat, 15 Oct 2022 07:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665842990; cv=none; d=google.com; s=arc-20160816; b=TrP3v0/hsg3dQt11gRfimKFR0eXpSqgic9LqoIhqLW+VQzm05IEFivBCrt7jf4mpNl RDhBIazojIerIz4EpSBnI7FGMOHfZZstKOVUhQPzb3+36758sIxec1+uPcjX1L18a1Ly cFnGqABwT4yn4T26QVrbsgZJwyIfcLt3dAsuK/003Z06cMmcRDOP1FKy8sruBUom1UJ6 3DfPvDjKpjmecQQS5vmbPWvHCyVN5f9yiV+Txuu8YJSf1d9s8N3jtghghfbEFWLvdb9V 0epvat5WrXTIKUr7yvd2ExWHgRHog14DSWUYKUFLle+JnTT5eHFOowFHTJNi1Lv+tyu+ okjw== 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=EYgNOPB2ou2QU09N065JCjsFs4GUgDaOF6Ag64S/wVc=; b=NmzmJqUrdExLbRKh2sQemptpVhpNImcCKV7vG/Z5yDDYziN7Ibf5YzXn6xlBwx6Wyi HmZsOLylvXSHQJWZnAaA5mUqFHHo6kzC8NpIL3c1kFpYQ6zWpd6XH+WXuHpnqNU0m9ci SXrDqW5Kti6mhszM7eqWKL9s+j8B6ypJbakptJH1zMP1PxZHH2zUAu/Jk5rMnEuco2GE MVyNKLdkZoQszGd+4ct1PQXdd4v0qJlxz6hz0gfPS6PfHzwtuLBLt4kGke7VPu42d/RA JfrUE8dgKekwAqg8aOI2Zu2Gs6Zz/wnwpd5NTqVkv+4nl4lMV1xv8LrIFo7coFsSzV/w PNLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ud/w3bMW"; 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 i4-20020a170902c94400b0017a0c197f3fsi7043381pla.335.2022.10.15.07.09.38; Sat, 15 Oct 2022 07:09:50 -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="Ud/w3bMW"; 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 S229783AbiJOOFa (ORCPT + 99 others); Sat, 15 Oct 2022 10:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbiJOOFX (ORCPT ); Sat, 15 Oct 2022 10:05:23 -0400 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21AAB2CDEB for ; Sat, 15 Oct 2022 07:05:22 -0700 (PDT) Received: by mail-qk1-x730.google.com with SMTP id x13so4200025qkg.11 for ; Sat, 15 Oct 2022 07:05:22 -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=EYgNOPB2ou2QU09N065JCjsFs4GUgDaOF6Ag64S/wVc=; b=Ud/w3bMWnByY+ubVBteDK8+NuzzWFrNAMvoeQTFka+kW068kMHwt16riEPTZwjz2Yd Qb7XPXqLamRfrc5ra6AuhRYROt34DAkztH3jp9lRjUNuHadeikIj+pLRsXZTLLBsklXH SQ/Wbfp2gdCLzixYOWDHc9YUqZPP1QUnf9oIyAPAQ1U5ZAGQM3SpzQA63R0u++Z1MbJn +fec0HaXmt5VvK+m3HgFOyj0lGtPZHmZkxmS/km4KMbRfwcmdKNw7hVAIW25v9cHoA/2 JYmFtEys8Vv5vgRoZee4OBlEIIMSBBL9dJKIxPwYR3T/FUxXMo6gIaJdWfSiRdoU7HTq ojBA== 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=EYgNOPB2ou2QU09N065JCjsFs4GUgDaOF6Ag64S/wVc=; b=1WDHjqdwc288Mw1kLkwBmGAEmYhjIkhvWv+EmxEB33lpnhHFNjcvT52VY8s0U+R8XQ NJIQPkOEskCCKzKEJdWI+vutPSyZGDdhLZm3msdPvE5Lk0pBxdHSKHiiWmDR0vx4px37 tGtr0vEGPMs2eb4h5Xp2Z9YG+ONo9ZwcB+Y9P9p04lSiUjc9AzFrridM2XTd5AH4AAU6 jOjeoER6XmjgqETFAiSRwxQAKu6UiEp2rMa+dAQAJqoIxOeHsZfMnJ4jQOBnlkpR3mVw pQ3dGYFU3kAzSccKpwQx7dS75va7GfnC+dAnMgTR4h6uJBvmIDkUYa0wpvJQ3f+5MH6O Na4A== X-Gm-Message-State: ACrzQf0IXszPj6dsnM0yhcv0d8QJrS0/JpW7cg+GIPgJFByMkXduIQmf KRF10f5wuWqUBiTP+ZoQ4UUcIQ== X-Received: by 2002:a05:620a:298a:b0:6ce:7aa7:f01f with SMTP id r10-20020a05620a298a00b006ce7aa7f01fmr1834266qkp.611.1665842721806; Sat, 15 Oct 2022 07:05:21 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:161:5720:79e9:9739]) by smtp.gmail.com with ESMTPSA id s21-20020a05620a29d500b006bb78d095c5sm4958022qkp.79.2022.10.15.07.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 07:05:20 -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: Richard Acayan , Melody Olvera , Krzysztof Kozlowski Subject: [PATCH 2/5] dmaengine: qcom: gpi: document preferred SM6350 binding Date: Sat, 15 Oct 2022 10:04:44 -0400 Message-Id: <20221015140447.55221-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015140447.55221-1-krzysztof.kozlowski@linaro.org> References: <20221015140447.55221-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?1746762979258510373?= X-GMAIL-MSGID: =?utf-8?q?1746762979258510373?= 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 Sat Oct 15 14:04:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 2940 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp656757wrs; Sat, 15 Oct 2022 07:09:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5yVY7dS1+k5XwvWdawNuQDdR+sFOm0no6Le158UrzaiW4x6nhNMp1Pv5skVb3meAdme/Q9 X-Received: by 2002:a17:90b:4d90:b0:20d:7f17:5983 with SMTP id oj16-20020a17090b4d9000b0020d7f175983mr23609851pjb.197.1665842978243; Sat, 15 Oct 2022 07:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665842978; cv=none; d=google.com; s=arc-20160816; b=kj6rL3kSKFwCSl8hd9g+E5j7iCWtTRj1FCvK0dRH5d1P2asP4CE2rERYR3C2/SHE0u JrOeewbO5ulNFAQQA/ffmiwKtvQ7p79ZepJdiPsW5ScAGZtYr4KbMCMSkCtYwG33ihtp PLlxaHv9ho+L+K3dlUHFc0eMGqJlBA2n2epg89HvZ4d/JijSpvi+tLZ9Gk9eovYqEDK+ 2fKi63FVlZsQjIIhoGQB83nj5XdWcbGK4JwYqxOKlhxjq3G6CmJIOJMiG92nwyf8y69e EZfYDAAT2nigQzLB2dFwqCP/jFN5A0grYxzGxDgzn6IENHx2fv85iQoNNvNW5jensAbx OAyw== 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=G4zWvzs68p5BPYM5JKflvb3VPjPI+2iS6MVDVGF9yhQ=; b=fHOIZdUiUpKElCAPfYqHADUaptAeKqVsJD8TzyYCT169O9ZfbsZGUJEvlU6bx2VlMT yGM2Z2W4QrvdBkMjpQlW46Wb9Ktq+v8IEbQCeu7KzLEoCJZIpuJjQAWC6pByIHJCxdfC 55uTM5zyfr0O9tWYrg2/6zYBX6NmZA8DHOdODu2LLMHLDHAmnnRQ3rfY5Ds5iurPXFBy OvFk0E8aWjCe+m8j5JEAeBvV/dLNn/qlPLhCitbG2GMjeat8U8QtwRu8oJXUoXJFTMlx HcR05+d2Vgg11VulPQltERCfwml8n9o5UuD7SBT41Y4QwjybBOwJHclM/ijlykor0/xh y5pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nkF0utl/"; 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 202-20020a6214d3000000b005634e5369bdsi5594947pfu.209.2022.10.15.07.09.23; Sat, 15 Oct 2022 07:09:38 -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="nkF0utl/"; 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 S229792AbiJOOFf (ORCPT + 99 others); Sat, 15 Oct 2022 10:05:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbiJOOFZ (ORCPT ); Sat, 15 Oct 2022 10:05:25 -0400 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E580C2F027 for ; Sat, 15 Oct 2022 07:05:23 -0700 (PDT) Received: by mail-qk1-x730.google.com with SMTP id x13so4200056qkg.11 for ; Sat, 15 Oct 2022 07:05:23 -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=G4zWvzs68p5BPYM5JKflvb3VPjPI+2iS6MVDVGF9yhQ=; b=nkF0utl/VFDBh+6j5eD2vwQCw4MIV8HaFqd6zYNTfxdSXTHMmcnb9tJsxzXkjcBU/W ErhrrvdCEsOWEsQRD+IaVtmukjI+NZ68rDhzS9bzFc3grls6h2qXqCZoXzptSJvEA5IH zCG5fL3Yd8+QVdNUuOCzuV3/JDpq1VldwXVEYq8VK5Jh52UnuvvVIV9Ut3rQBZzj5SEo UDkF8Yqs12+5RIT1znLmbuXVbiNlqUORIgbk5pgFTmKC7iFgYRbDfAKj0+huveMP6tdQ xE5D50zh1M3z83CLZWtpVOzl84H6vL/Lv6BPFsBWDbEoesGkspuEniNZwsgfK/qimowl G/yQ== 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=G4zWvzs68p5BPYM5JKflvb3VPjPI+2iS6MVDVGF9yhQ=; b=iW20kthiDf5LyqCQHpMfaUNivGhDeW7wwAvadGtQhkNBYdMZTthL6YUoZyLJKPuXsF HykcQwXGHHCYmKIVbpOyRnumJvPSSpJgVimIi7ZupnHqKGVxk6Rg+/g2XMl0Xmb3/UU8 r7az+UTkf9GixsQWA7r3/xurIHDW0iS93OcEfdLfxR97aYz9SCf6vinHdUpR8IfqJXTM S43ZDcGmKUMjOLw1/zzGyfATmZ8S4nWtndOuQO8uDSvAEvTW8/lH/SLns6iMmkuaMcmF 1kXriO+65jDQDtqPGSAKDJ/KDFxX0vZkud+5uZ2qPjwB/7xLkS4IG8vN48v0WHqLIyUc oxsA== X-Gm-Message-State: ACrzQf1xWRJ9jvJs0YNtJMYu/HXLWgoNpaDFJ5yARa/xTmSMuxzI49X3 PkbiXferQYw+gf+sDep3YWRPCg== X-Received: by 2002:a05:620a:f15:b0:6cf:2130:88e3 with SMTP id v21-20020a05620a0f1500b006cf213088e3mr1861019qkl.519.1665842723580; Sat, 15 Oct 2022 07:05:23 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:161:5720:79e9:9739]) by smtp.gmail.com with ESMTPSA id s21-20020a05620a29d500b006bb78d095c5sm4958022qkp.79.2022.10.15.07.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 07:05:22 -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: Richard Acayan , Melody Olvera , Krzysztof Kozlowski Subject: [PATCH 3/5] arm64: dts: qcom: sc7280: Add GPI DMA compatible fallback Date: Sat, 15 Oct 2022 10:04:45 -0400 Message-Id: <20221015140447.55221-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015140447.55221-1-krzysztof.kozlowski@linaro.org> References: <20221015140447.55221-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?1746762966719671487?= X-GMAIL-MSGID: =?utf-8?q?1746762966719671487?= 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 Sat Oct 15 14:04:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 2942 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp658144wrs; Sat, 15 Oct 2022 07:12:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5otau6VU+qnnTyp5O0ZxPnaBiH+OHSioKV9k+8XfoHHfyhtgIKnJL4FdozhM3y7OBQCRnj X-Received: by 2002:a63:f709:0:b0:44f:6cba:3a4f with SMTP id x9-20020a63f709000000b0044f6cba3a4fmr2668181pgh.428.1665843179090; Sat, 15 Oct 2022 07:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665843179; cv=none; d=google.com; s=arc-20160816; b=MRtFkD2IN8r7gBnbagT9hSUqQErGbO4pZrTWjToxATpHYIOUnNCPiyCfkG41esh3bf q3scfvc/Up8PykBB9egLrC89fxdhbuGgJWoe6+eALWS/DskEJr1GN5zKgrHLn74DexTQ 6IKAcsWpH+Ni/upkGHG554CSXMZJH4eZhgk/aV8VUQrgryQOx5Re898N41/MfQTmkU/B NYrt8ZiUJXA3f5JF1V52l+UjqUTSsqo8JJY3OEj87PXb6vs7rWgR8dg0rmLInrGFgi3J 5ztFZec3U353b1gLDXFMCwuVMLN12RZls8trN6C4ugBTLtlxvAqqdHH/IcgUuc+o8bSm 5E4w== 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=PwTSZl4FjA5X+MSkGnECBxix0aF1j2kA0PRX2dyY1HI=; b=EvMGsgoIDcCdkPMfAH0/jqvmNLXqRQgIyP4LGxqUdzPi77bWBLQVh/RHvtxFDxzhko 4PuqXbXEP0F27uuO9lgP7xKfrw9RGzKJAiKecnxU0sKqvIcQKB0b3p6JYTAF3NBDkxhF qZ+/HR5dVm/NLyDSLgy3KOsDMINV9JsJO0bGiBMr5RcEIq9n3qCq+jmaEcga738Be1VH wdiuJLaGNUevz2g7s15ERPOUPoTCWkK2PjAVAysqxiAHefdA5CvP4eSzYztqK8iuLlfY 4qSNBNcf+qmbidoskBKO7MLafNUXMeySxLEUii7ZeQVb02mTwOoNmoKcuzexEqJa+u8r 033A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="S/INp6HI"; 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 i4-20020a170902c94400b0017a0c197f3fsi7043381pla.335.2022.10.15.07.12.45; Sat, 15 Oct 2022 07:12:59 -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="S/INp6HI"; 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 S229830AbiJOOFq (ORCPT + 99 others); Sat, 15 Oct 2022 10:05:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbiJOOFe (ORCPT ); Sat, 15 Oct 2022 10:05:34 -0400 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6127B2F66B for ; Sat, 15 Oct 2022 07:05:26 -0700 (PDT) Received: by mail-qk1-x72f.google.com with SMTP id b25so4207712qkk.7 for ; Sat, 15 Oct 2022 07:05:26 -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=PwTSZl4FjA5X+MSkGnECBxix0aF1j2kA0PRX2dyY1HI=; b=S/INp6HIrd1DZNj+papXumYFuxq/i+BmQX4h4o9ArX9GxjUr5NUIZGSD6ONYtpq198 1w4O6ffGyAAfOEWTViXfAX6B96NbtuUGQd9zEDeB3FsgMbqyHsPRbbeunn3EPI9ctMWL GykRdzGAZM30RqwfNJwsop4/O7L8YR+91VuX65RFd0FGBfBCZ532IPdYEwpMEQXZ5NA8 7bnEmLAURryyTOJP+9jZLJZOCdqzIr2+wYt1EEx8Cmm3p20JCcZPi8WH+kO5PGYZzbKq TN+fCxOd3jGpRjm4L8UHHAWELVeT9s7KtffgYQnijhXx9TJuJ7bKJzMGKRuHi5snZhfT 2iiw== 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=PwTSZl4FjA5X+MSkGnECBxix0aF1j2kA0PRX2dyY1HI=; b=KRvd6Llj8NZ0c87/ryHI4PLEsX4uFmfomWlwcwjdcZxJb+DrJitK5Ip59j/r+kk8+G H4YGbF9oapxE2k8g6yWyd8Ya7ETn4tm97sMQFNVYiO/E1yhNO3ljA9kBenesaPgggHR1 FhfgK169jzxxlkSF/bfbJp6nozFPK3Wmuds2o1BFn8/BXpKRtsgP6Q5e20mXaknC1LeM YXZvQCcxZfr7yemvQspXVV5Jf5Lztqwz8pI8RQWd0d1OK5AfqyhOqQmsy0a6MswMknNb F7uKUEbXX0PNmfyigpbn4vmDwfBSWld4+uiFDeFfL+8QldI3pmzqPKm5tl1cbUFBWtWh tmxQ== X-Gm-Message-State: ACrzQf2fQkJAGaoS1+DhHOTuIR3NeHyDSf3CaRYVErLvxEipANMLH1+X fHfP0Zs7Y99SZGFfObwcbBAwhw== X-Received: by 2002:a05:620a:1133:b0:6ed:72d9:dbf1 with SMTP id p19-20020a05620a113300b006ed72d9dbf1mr1874846qkk.752.1665842725177; Sat, 15 Oct 2022 07:05:25 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:161:5720:79e9:9739]) by smtp.gmail.com with ESMTPSA id s21-20020a05620a29d500b006bb78d095c5sm4958022qkp.79.2022.10.15.07.05.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 07:05:24 -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: Richard Acayan , Melody Olvera , Krzysztof Kozlowski Subject: [PATCH 4/5] arm64: dts: qcom: sm8350: Add GPI DMA compatible fallback Date: Sat, 15 Oct 2022 10:04:46 -0400 Message-Id: <20221015140447.55221-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015140447.55221-1-krzysztof.kozlowski@linaro.org> References: <20221015140447.55221-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?1746763177336178571?= X-GMAIL-MSGID: =?utf-8?q?1746763177336178571?= 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 Sat Oct 15 14:04:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 2943 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp659019wrs; Sat, 15 Oct 2022 07:15:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7mwOwibrKZaMXcjhBlXOTW6cERr/ZD0ojTS+bhkXVbs75bFi4qBp58lIt4TvEtGl8jdomG X-Received: by 2002:a17:90a:b118:b0:20d:65f4:fde9 with SMTP id z24-20020a17090ab11800b0020d65f4fde9mr22523880pjq.184.1665843291202; Sat, 15 Oct 2022 07:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665843291; cv=none; d=google.com; s=arc-20160816; b=NQWyBC4B4ZgzYTea3Q9KvnkRWqoCkO7weYw/nHTj0HP/zg+CgIpBdUtVH0aqV9IyLr eF3K5NClFnLpFK9t3Z6iSLIyi+vSk8I1KUSELO93SDJEDpB0R/FpMP5qD2AM/LPeEbZ5 rzrZOOWbhP7QU2uneEy+w30KLkXC1LYbzucyNp8S7iz2zgWCHEw8S72goSrgi7Gu3w+b 7wiQkHe3rovUMFajGYZxA/e/oixS6kfYlg2AqFn9RXadyMS1ezM7eqcOCOwgRaNSs1kH bs18a4wiSdbkGzR/qG6b0GnQqWImB+mRFrCC9l3sxRQvRzIh6rO4axoraT7YZWlJ/pDr B8HA== 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=wRQiXvhJZIJmjGHaRfJj0NmdABZ2+jRov1EykwXk/aY=; b=VoFIc4bax1FPEnYgaSyDY4IMhymfAqj/uRq0yFqetvNGuKxteLowpI69TtlDlJx+CE fhr+pLdw0FlFZJIVS8tmeemSH7LKsGoUBIzGsIw9vLLT6S3bgkdQbBVu0d4DiGnKheZ7 zFTElbO/Ht7s6N/6G+5JZ/Y4rI9Vzax4TlFvzInthWNhWi2AnqaN8JCj4f51uQQECZG0 yvhWU5oyT0eoYCdJTji9rDvHOyE+mNmdyxaFXQ9bEuKTSDUcolvaSboxpP+XOF1N+QUB gnPC+NIl6ZP7J2lIypmB8Iy7y6kdwoROz3rt9UjbVUuHeW0gUXiLnGjTsw5cCKWWfV7u JPPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bgACONZ9; 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 i4-20020a170902c94400b0017a0c197f3fsi7043381pla.335.2022.10.15.07.14.37; Sat, 15 Oct 2022 07:14:51 -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=bgACONZ9; 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 S229790AbiJOOFu (ORCPT + 99 others); Sat, 15 Oct 2022 10:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbiJOOFf (ORCPT ); Sat, 15 Oct 2022 10:05:35 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29CB532DB3 for ; Sat, 15 Oct 2022 07:05:27 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id i9so4973403qvu.1 for ; Sat, 15 Oct 2022 07:05:27 -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=wRQiXvhJZIJmjGHaRfJj0NmdABZ2+jRov1EykwXk/aY=; b=bgACONZ9H602AmqtfdwdaoOLeTQDeDloXCevf6CzGeghcBsSvzSV0FS1AuDHN8PlPu yKMRvfc6SrG8hfjXCNzcGnv2OV6F89hskxh8qDSkILB4EodwCdoEmsCZkoqyk1Rb+aJD e6LOLtjEClATYkyQmRoVHlFJJFJfCUNU5R71J9y6J4jZ7PLE0JT6b1bwdz8JYAnByg+r /tmPZwn0dSSIMN/e8TqXbkThgvboCn+zs2qR8lijRFjLB/WhOJJloM2+jnAC8vIHJRM0 IPRqXQwYLUBGg2OGQKE8QIRoDhdBnT9ggzbbtAshIr4JWwHc2byUuqgmDRQA+hzZNOAK 4pIQ== 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=wRQiXvhJZIJmjGHaRfJj0NmdABZ2+jRov1EykwXk/aY=; b=I23WXWLfHyq8G2zBVr55Pq0yhUdzZ4Uay8uEqBiK1DOqzgWmAr/p/JBaP1ckfQG2ck 7RgcSAC0NdDN1jql70+gh43TrdessoWLXyXtoznxHIN6gZFUyKYVzblxyhIrpmuUOpaW i/xSb58wS+UcybBm3vx3vvQyCDnoSiFRFR7gvGHtHICoBb/3YaHobFJwBQalt63D6AAP P3nXfNdaV1e5BTsrb0vylHNR+FuGCE2Fwury89kVkXNbEy3cJevoH6hfOEuJ1/A/nTl6 Lhuk2XQ2KCbRdfjjT+PnGEQGDD5H0OqjfQgczSSHGoH1w4NOn56s4j7uwB1X8XoxcRS2 kaiw== X-Gm-Message-State: ACrzQf2wlcSCv+vV6/khzBgqKhOE8mXFy9Vs8CvS9SmnodHTJgPCHkuN dHe0P4qDRuLwdSwvVtOADdfO6w== X-Received: by 2002:a05:6214:21cc:b0:4b3:ee7d:e9ab with SMTP id d12-20020a05621421cc00b004b3ee7de9abmr1852222qvh.60.1665842726776; Sat, 15 Oct 2022 07:05:26 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:161:5720:79e9:9739]) by smtp.gmail.com with ESMTPSA id s21-20020a05620a29d500b006bb78d095c5sm4958022qkp.79.2022.10.15.07.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 07:05:26 -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: Richard Acayan , Melody Olvera , Krzysztof Kozlowski Subject: [PATCH 5/5] arm64: dts: qcom: sm8450: Add GPI DMA compatible fallback Date: Sat, 15 Oct 2022 10:04:47 -0400 Message-Id: <20221015140447.55221-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015140447.55221-1-krzysztof.kozlowski@linaro.org> References: <20221015140447.55221-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?1746763295328281567?= X-GMAIL-MSGID: =?utf-8?q?1746763295328281567?= 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 = ,