From patchwork Fri Feb 17 11:16:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58519 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp833820wrn; Fri, 17 Feb 2023 03:31:55 -0800 (PST) X-Google-Smtp-Source: AK7set9Xe7LjtCvkIhupR6dE7nxr8zQRbxrItTwbUv0fEajXk2xwgm8f+moO/yaTHpPwjsFMwNRo X-Received: by 2002:a62:6442:0:b0:5a8:b2c1:97c7 with SMTP id y63-20020a626442000000b005a8b2c197c7mr180639pfb.34.1676633514821; Fri, 17 Feb 2023 03:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633514; cv=none; d=google.com; s=arc-20160816; b=GjIWfmXpJHDpoUIIZwzEzbFlRNw3T3OJ6w3QrIEZ4HRQBpfjuV9/YmZ5BGOP8wq2jd pd+OGztlBsZECLxpv7CAHGtyH5P+Q7Z/1elemn//I1YSJHkSaieEfsR7XOOft5+lFzk4 2rIjONHOywllYLD2Qv9vjGb7mUu1M0GSEZV0sA1FqtcuImuRuXFkE/sGUX0LCsli66nF i7hlZ+Z5xGXh6AOJkFarDwnCgglvU3tl35xnmPvsWDyqKq2x7Sq2e8g2KSZc5WbL9P+m jhr+VTrdAJXBQTjJCL5bs8h7lHCqSo2CHeSpgg8XdCEF5pxLluelCAz8OZNqDSCy41NK ykbw== 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=QUKqOclF/IMyzXt4+fGb5sDCuf0d8h/lEm7jg21Dcd4=; b=qAEktJih/gZTJoG1WrJPkPrRKkZTiLUmEeHW+kXe7UAvOk9nvm8EUnBQXI73IJPqOw xzZfEzYKYdjF7Y7td2Nqz5x3Defr5/d1ZP9FzTlT6q7wi4VDc3zF4iYz9UsBZKTuMcJV waMayuQvsFuyFgSm9WOMNiymkAmosmBl6THBZOKOZBljJkc2ekPEO/hwNY+m4z6gddv9 3zzrYLW6donwsRIORgJGRTpz2GszYF7P5wuj4tQz6COkyd3VUmauq7AERTXICV63rzuw uXh/ZVY4mV01PRZkIWKqG9MDm5LEm0TI6WXWk1mlug/xHTsdiEYXSa2kZQpbFL2BDeYS fCtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OdYgHszF; 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.31.42; Fri, 17 Feb 2023 03:31:54 -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=OdYgHszF; 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 S229811AbjBQLRE (ORCPT + 99 others); Fri, 17 Feb 2023 06:17:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbjBQLQu (ORCPT ); Fri, 17 Feb 2023 06:16:50 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4E6064B04 for ; Fri, 17 Feb 2023 03:16:29 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id i14so2459881ljn.5 for ; Fri, 17 Feb 2023 03:16:29 -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=QUKqOclF/IMyzXt4+fGb5sDCuf0d8h/lEm7jg21Dcd4=; b=OdYgHszFs9+rIVPcJOczB0ZfI8VdZWLiDLg9OcOB+M9zQ/5l+OPW9aLKeHqi+EeAQh GsI6FAjY+62326gpU6sdJpBSNvCy9HXEGm5eJCS5r/gkha7f0nIkG21hw4nlyQYZ2Rri O90Sw/94xumrs+/347ePGrg+Sr1qX0wZ84T4jlb2lkaY+Yp5d4SiuX6nGFTKzw1Ff3Ai Tw3MIAQ4CZXGaj6zNNyU/HtmrWnjSSbFrWUHe8xVt6fM3Akp1Pxu6UA8CAtThlcFo7ib yrUibwSC7YCHr/HHDsLQ7c5yLs1n3Pkb8DK2YwmZkLZ3th9/Do6Z6kYP2LKghrD97IEA X0Ww== 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=QUKqOclF/IMyzXt4+fGb5sDCuf0d8h/lEm7jg21Dcd4=; b=1J/KjVIvVVx79MIhuYkMF5DsOqCVAe/vrCjOV/vQrLMf8K3T41zxzWbCLE7q9pE74M 2reZjkuHlwRbTH7ZKFjG8KJRiFai5RjYTuivewkMo0SHY3STKn1tdC1+EJa+hkBRRUNX S7b59hVc2+OLj1WYUMVxeK5aYNMUG0v2ByFRXsPjWc7A1DY/UQnQ9NqV2Mdt3MJnWlYB AKPOxeYx3d/SRWtUsYHo7NJYaVk1qRAljl4LOrzkiCGQJdAE0SEOxvVOALJAswj5EYH0 7V/0APbmo3wj+XFMbXBU4I0woUYwVS37BDvh5FIYNz3Bus4qD0x+5+2yzHLSwpcaWSxb JqtA== X-Gm-Message-State: AO0yUKW6B549OvoaVFCFke9qXy7cjbomBoqDEEzHyC1ffTNEN45jfBjj RkIY3McTQEwrm4fD1m6vkwuKDw== X-Received: by 2002:a05:651c:323:b0:293:4a87:1790 with SMTP id b3-20020a05651c032300b002934a871790mr183307ljp.9.1676632588245; Fri, 17 Feb 2023 03:16:28 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:27 -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 6/6] arm64: dts: qcom: sm8350: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:13 +0100 Message-Id: <20230217111613.306978-6-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?1758077664265415379?= X-GMAIL-MSGID: =?utf-8?q?1758077664265415379?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes arch/arm64/boot/dts/qcom/sm8350.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f9822afedd89..07349d37f852 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1932,7 +1932,8 @@ gpucc: clock-controller@3d90000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sm8350-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8350-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x20000>; #iommu-cells = <2>; #global-interrupts = <2>;