From patchwork Fri Feb 17 11:16:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58522 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp836269wrn; Fri, 17 Feb 2023 03:38:18 -0800 (PST) X-Google-Smtp-Source: AK7set/1HcjAFgW6x65n00cbgDto2y8bW5koYc58LmYv/BEGz4Z+vz6zsoK5fUIDPayEpxhapwns X-Received: by 2002:aa7:9434:0:b0:5a8:b6cf:1a74 with SMTP id y20-20020aa79434000000b005a8b6cf1a74mr121772pfo.18.1676633897787; Fri, 17 Feb 2023 03:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633897; cv=none; d=google.com; s=arc-20160816; b=d4R1lMIaJhx1oiP7PvAz0IyjNzlj3O6Vgkr7x+Tqbx+kyLT1joqsn07qOQLSVKcEYg 10usK7NDvApMBZ035vktgQBV8ZPDoCSWM1mRj5Z5hmLIh6FxkMyzGBH/cHsrVJ+CUn5U Rhw8W8dAd0RluSKvgwmgdm0OH9RW+8npkMIo6zrE1mQTyVg00FCz1n5XCrumwZFjeN8W hx1yDm8jLvPxwDvbZ2cezZSZmWEQBGEwF/PfmWbORzbRvHA9Lh8TxFDRPWPnKG7nBFw0 EuZgS3RVwYhElGdeAix0MzSOWeP5owcs2J0vo7wPvK3MNHOILLB9opnxS98cZWQyamYr ISeg== 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=9wJq/iqxZ5CY0MZ8/qvZLLKvRq4WEHI7wVVOEpRQbpw=; b=sszLxDIkbKqWuqke0cv6wTFJ+HCDPItjOAqsCYTgyrWgmnNsNB7pFfqGrfcm3nirDR fXjD+zuk7XfkKtcfPbh/FklGi+CBak3QXUY+MVtxE60Pl/PLffoSfYNm9hfCt5l8IeLW /gsLRk80iiWuOE9IQx80uDgwnrjOHo29ikUYiRdGoUSg6tQI5au6QdES9esnLnONn3fo VCE7pEt/zXmfI0fIdawcgwTlVL2ikNq2eawCH8PaNXD6+GLkSrYuMl65QkIoae5o0+uY 7AcR9AtzfhbGbaXPQUWkcRpW6TNBf4/ne6j8XgyqmptXTQrmgRKcPiYGXfQV/W3T8cy0 aTGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MC0poj+i; 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 u17-20020a62d451000000b00590bfd23272si4699980pfl.304.2023.02.17.03.38.04; Fri, 17 Feb 2023 03:38:17 -0800 (PST) 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=MC0poj+i; 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 S229992AbjBQLQy (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbjBQLQo (ORCPT ); Fri, 17 Feb 2023 06:16:44 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB776664A for ; Fri, 17 Feb 2023 03:16:25 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id bx13so755497ljb.3 for ; Fri, 17 Feb 2023 03:16:24 -0800 (PST) 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=9wJq/iqxZ5CY0MZ8/qvZLLKvRq4WEHI7wVVOEpRQbpw=; b=MC0poj+iXKkHo+R2YU6rbuzxgf0jQAaVXqzsfYcg40ZF3p+sobPJSFb784cEKAph2V omQrmbXAmq+e1xvIDhXtXGahku8AXRkp8Hz9BUHYS5N2NI75Ie5HsrrrN1BrptallZmn 2TwPVpLlWyflzhC3CIJhIZ1SaXKypl1Zl0Cp2u4JDIn8IGlNRUVSobKIjOAUsFJgLCn8 HhnKdH+BWhPGRNFicVt4LPpwUvJgaFW9pffXdR9uy10rZ3UDaL1Nto35bJYb/NaH5hcx +KiYim1dXAd7QtUADL/nmLwNcpU2tZuRtQJm4+FhOK/8RdcUA45ToDW7owata6sb3Ddb /jlA== 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=9wJq/iqxZ5CY0MZ8/qvZLLKvRq4WEHI7wVVOEpRQbpw=; b=vUsWLyO7wKXKSYzG7HKcKVNPgw7aMFwHZwi+VcDlgjr9DaCAG9u7/RAvhvdLaSI2NP f8l6Crc7ULghz5dYjlq4wXfbaKCEdhVmkq+Q7sYjHZdh0zaVJNe121Qw6Fx3/XjSo/yf 2DyeqnNJ0S/zRSre0yIW5Bw+O2hU/VMP3u3xUDUmTyvrG3Xd8UuJdmg9RVFulA5UUaIQ scDIGk5PYZ/1chcXq3Tjraw+F4SqZh/U7JlJTP5m2xQ4oW44o7IhoPh6P/ubL7cbZ9ck 14bLzmc5eaPpDEsbw4kbMv3+XtmdI1wMrkHM1v0JiV3GQhu6Gx6BFNkmMxyd0Q24TXUO BWHA== X-Gm-Message-State: AO0yUKUrPpY2QG0xAKNX+LeRrVxSXbCw8u3lbGUpDvAUTydvVxke/4hO xNTgCYHU5jW3DRCwMHdAzwlmDw== X-Received: by 2002:a05:651c:1031:b0:293:4b8d:daeb with SMTP id w17-20020a05651c103100b002934b8ddaebmr66584ljm.34.1676632583401; Fri, 17 Feb 2023 03:16:23 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:23 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/6] arm64: dts: qcom: sc7280: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:10 +0100 Message-Id: <20230217111613.306978-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> References: <20230217111613.306978-1-konrad.dybcio@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?1758078065909430039?= X-GMAIL-MSGID: =?utf-8?q?1758078065909430039?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index bdcb74925313..a8227bb6b336 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2677,7 +2677,8 @@ dma@117f000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sc7280-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sc7280-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x20000>; #iommu-cells = <2>; #global-interrupts = <2>;