From patchwork Thu Feb 16 14:56:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13143305 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 18510C61DA4 for ; Thu, 16 Feb 2023 14:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tnscj6eHxUn29Ixa7lDWdHwnoFyM1ekxx2CzKqmtqzA=; b=oHNesehh+YpA6q tu01e6S+PYcJRFcWQGfgHNndRzYhuxTJ1gyKcXiQxe2QSS01L9vhVQKXDAY8cgcRz+HZ4aL+ssrXE vz5JMY/Wut1AoP6E0dn+eDnW10Z08IY5UTM6dDLAgvSRvhFbKKbVCw+3pxe+LjCFXzLupRZvbcXsQ hDkjRkf5bOej8m258mfC0L07P2XxhLR+3mfZENr+LMbrzQCbTOQnTt3SZEWsFM/hDqeDFmGlVAfFG VU6Wvls4neFkiv9kbl9PNb9TjQ5Ip7x1F6MpbdSG27fGfqqDcsMa6zpQryS4fLQXAxNMU6jKuBW6Q gtricDpLwGNF8PxDv2rw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSfh2-00AlRZ-Lw; Thu, 16 Feb 2023 14:57:04 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSfgx-00AlOx-Jz for linux-arm-kernel@bombadil.infradead.org; Thu, 16 Feb 2023 14:56:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=BbWNoaYTBxW613gn93qLkCIFNF 7TlLihWVIX/QLCejl1Hnx3X9pCIaXnWQdORVJu27JViV8xd2x2XKxvzPn8snVOqo6Dp0CVpu2Iapq Ud2xX4JuD5GHy+ol/TeZ10p1MrTwrJbDhlgiYuwCU/QcuD3fOt1RVvhReH3sq17JRz6tigGDN+INb QItl4y++Lg/q41GVZGOu5a1In/xkaZmgu1rWeGwiIBjLnyed2ExsxJDP2ECldn7DkC/r4U7zpqI3h Jwh0FZHxpQL4eZNKSR7Btp/+W8HrMid1JTY13bZegQtqCyLMz7hYEGsXE5YF5NIiqwzYH1/TWpnZr hLTHtoAw==; Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pSfgD-00AJb7-2e for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 14:56:58 +0000 Received: by mail-lj1-x232.google.com with SMTP id b30so2251758ljf.1 for ; Thu, 16 Feb 2023 06:56:55 -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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=yyZAspCKa2SMMKvuJ6Dk6UjknNEziJX/g6QejPlibJDm9p5FgjAY0BdPo0yvIxkE8z mD9dmXnD9I+eazZtYYuz0TdPPdhMQvlcEbm8p1jNReD5AEF2O20WQbmTbOKjuzH0X1Fd S8Ycf9y6ewZ0jIU0pEYpZL3tPbSS4gHMcZPQF2Z2KekkfZ5Pfk6eTtRZEjHljSyXLjUB 6qt3J8m+dmFB6oeW4mQ6gebc+j/YYlXSaCa+j47vXtw5NVlZDNot72zT54sgDExVxG1E EhlfzWAcHsznN1CyDsAfHORtQYgbAWs0y9sLjpJtNj0CIsSyazCnmPBF7T8fxWP3pUmF 4Z7w== 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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=6AxFYHnNM+JP1U/4aER8v4jRdpCvysY7/tTkJfbFAP4jPyrJfSqRJt54iXtbBPQVfq PtXEOe7egu916zoq62pcsC7S6CC2h0aq3KtXUaa6ESWHlV2UzlJTKnrmTU3HPTvIvf2O kKjg5vpGL6zzL0O04aWd5H3dPaA7vGrWrIkufG8znzc+1AxbaENuOJHes3TKBW7ldwdu OqCNGHW5vTzBnl1zNlP5d36QtZx+369icnc9+YDR72WqGKaYqoyjpSnWlnJ5iImlVNIN FXyGuQBUbHwHhZ/qUGLlxD7d9+zZruHJYP9StxZMr7F0o2Tjvb3WKXBOaVuA4Oxfh4Om cojA== X-Gm-Message-State: AO0yUKWAPlMuptIe+qQYlEyTAcAsCKAF5w06fSflDeLgy5eX1sqMblAC uOlxr4BWnd9JrbiNOOUCwfVZzA== X-Google-Smtp-Source: AK7set9OYyZjiDx2+mIP4XkSuI7pXcZaVBNISJytZjYZiK1Ifi0y9a8FFA0HugJseZYi7w2yJbIIGQ== X-Received: by 2002:a05:651c:2207:b0:293:4fff:422d with SMTP id y7-20020a05651c220700b002934fff422dmr2286616ljq.13.1676559414000; Thu, 16 Feb 2023 06:56:54 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:53 -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 3/5] arm64: dts: qcom: sm8150: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:44 +0100 Message-Id: <20230216145646.4095336-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_145656_239262_DC339824 X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- 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>;