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 = ,