From patchwork Fri Feb 17 11:16:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58515 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp830064wrn; Fri, 17 Feb 2023 03:21:56 -0800 (PST) X-Google-Smtp-Source: AK7set9CYEeZ6jLzB36WGF49CyC2BVMiK3FtqaLY2Kx03VmJO7ESMSnioIDeTaH+/iMyVXETYwfb X-Received: by 2002:a62:1753:0:b0:5a8:d364:62ab with SMTP id 80-20020a621753000000b005a8d36462abmr666204pfx.17.1676632915752; Fri, 17 Feb 2023 03:21:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676632915; cv=none; d=google.com; s=arc-20160816; b=RwAUAttjIYczIM7Shb7aZ8jkic4tH3B0VUVanQbtsDnGyBxMowuEXPYryTwBKSpFEv /p/gZFCNFPKXZI+YyQEI9aQt92k00TVWvKz7A8hhX9Se5Yu7fiMBS/NJSbtJdXOkOCa7 rNcrgEXlf/2zzG79BKsVbEBZbVzCjeJtHyvnG6l/C0AfWMII6doKlOKeYLabrhJleXiA eyCEAgAPPH3YQUE9xvK0lccZtjnVSX97tPjhmmCAIjl5tmLBlnvg+PslWLCnFvhK0Wnc CK2ZoVLi8Kynng/DbvGN6wzU4e3LQCy3MKxJmy7Ui1lJXEdQPWx2rGbcbuUg1JYP1Fnv 9Fzw== 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=0e01nddNNggomilaOmguOcFx036Ua8m431JWLUtouH8=; b=WU4dgRm0S4Ik5ALRoYqEOBswCH/h34+UpsBC4qYoo0plK9FzqXCHhsAkbAFsTDjpbM 76rGRBfkQKTbAp7MF1/tKfYYxT79gpdZLylzqJ43YzKHyU35SnyyDjAAdYKWTk0Z4dhJ 5632iQM/sdO6pV+AROGsvyeSaDrP09U/noIZ3bZhG/DA8Z10q022uSxVLtija1KObr2O LOIlKwiOlCHlLikk/rYiu9w0ZvoHiiM3EHTVAq9tkidgnS24QL/d35lU1WbmSGNx9oI7 TfbKMhlNdbkQalQVNnpVfd6GpeQJBf1LmEzzwmblA9DS1ym0jzp7zwDRdpBlYYpOOq7V tp6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CFjALJfn; 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 e3-20020aa79803000000b005a8b3c6b5besi4322849pfl.254.2023.02.17.03.21.42; Fri, 17 Feb 2023 03:21:55 -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=CFjALJfn; 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 S229833AbjBQLQ5 (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbjBQLQr (ORCPT ); Fri, 17 Feb 2023 06:16:47 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9B8B311D3 for ; Fri, 17 Feb 2023 03:16:26 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id k13so939813ljn.11 for ; Fri, 17 Feb 2023 03:16:26 -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=0e01nddNNggomilaOmguOcFx036Ua8m431JWLUtouH8=; b=CFjALJfnxDN/Vkk/EMv9EpN+uCLAJekJSpOmCzBM9HXaRJ1JDo7s2RCA5W9MOFiU4O LSz8x1NWXU/in4bBl5bfF+OzpMaO0it5JqnthD7bg3demWpykgfsjuLvr9zKwHciV5wm ntBwFtaAAlAt3gNjbBxObFbRG1Mw+QvPpogE+FebZvekkA1XJuhO4OwosATUot/pcB39 CdXW73vyWq+1LejmEunqRaXoQdvoAvZS653gC2SD1x+g4TwVsANDagPpvF42OqrznDVj 6TUy8oUbhmODSfsNDQLct/ogTWOGCZMbxm8pCozighMcbny1GUQ1RQQ9uf+t7CHnHjXG jNUA== 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=0e01nddNNggomilaOmguOcFx036Ua8m431JWLUtouH8=; b=NlA79c+cB4EpviuuP9rOrbmE82ZugkftsPNRp+pSMa/H2/s6iUrDDZVGy/eFTSHCrb Yaw5nb7HSo2brYtogn9BlU7ZlJOnfmJwh44za3tMX5wQt2CTXcYeNEOVLKwk1nsBGs8G Oa+eu/28kVBZiG2gCwTv9a5aMC7MDceTfuNc7hgDxo65fJ//Ks2qhs30JtLyZuIIMFfO KEcyCFGiSGW2/u2/TdB/zxWT5Okj4jll+n1TA4+3+iyS2eesbB0PSm/SagCPYHUZbNgj vnWF7WXhyk/x0sPTWsaqwunzqYyy7ntivAzCe15zRZeew878m1Fk04SexpvC5yT79eO+ ob7w== X-Gm-Message-State: AO0yUKUy4d1Li8zzL1IRrsoWrXLbbQ9I9zUcb0hvsFtn7SpR+yIY/TVr PCUCEu9qnnmB45jJ3BDA+J6xtw== X-Received: by 2002:a2e:574b:0:b0:294:712a:5190 with SMTP id r11-20020a2e574b000000b00294712a5190mr739293ljd.28.1676632584963; Fri, 17 Feb 2023 03:16:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:24 -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 4/6] arm64: dts: qcom: sm8150: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:11 +0100 Message-Id: <20230217111613.306978-4-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=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?1758077036211709808?= X-GMAIL-MSGID: =?utf-8?q?1758077036211709808?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index d94171f9b73d..3da77141a164 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2287,7 +2287,8 @@ gpucc: clock-controller@2c90000 { }; adreno_smmu: iommu@2ca0000 { - compatible = "qcom,sm8150-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8150-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x02ca0000 0 0x10000>; #iommu-cells = <2>; #global-interrupts = <1>;