From patchwork Mon Mar 13 16:44:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13172910 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 26568C61DA4 for ; Mon, 13 Mar 2023 16:57:51 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f2cQhOrqT2rCts/k3del0J3TmcqA6zrhbr4nDA3eKqI=; b=XuHNdwa1c+Ttmc TEFUrkMaeP3gCELk6FXiTs83nFl+MWfauzmPdhIqVQsGzgT9wMHB+38xjTOQmVHfUg2qV6loy+HZs TpzzPzPIfU4Nlx6EHr4KlsS2KJ7nSE2k4MBCcQgYH9It2MFSh/SB12H2Wi9yjhHG+Uh9qtPeqhkQ5 gO8ACsimCQu92ehHdPWP8xv+3mUzlI6svUOPMELRMrHnd2xGih4EvbSOEbO5SMBTZ8mncd5DmIBMM 3hxtOpXNjRB8n6/NLG4thh87PSV71fA7FWuSeljtPwRI685pKpAU/J6r/pFR9Mrtgqk5hPph9ZDWa x0XS5bIsS/d4mVTvxIog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pblTO-006txQ-85; Mon, 13 Mar 2023 16:56:34 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pblL1-006qyp-8P for linux-arm-kernel@lists.infradead.org; Mon, 13 Mar 2023 16:47:56 +0000 Received: by mail-lf1-x129.google.com with SMTP id n2so16489649lfb.12 for ; Mon, 13 Mar 2023 09:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678726073; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=VW1M70yoKw3ke0qEOUQPfLGKsoDrv1fmhxabJtB89iA=; b=wwUQVnHhbc3049K71aadXxOGKQz2vf+KAAqaYJJoYFRJR9BA012g2i59rRuIUA2pLS kS6wElwmsI1XMLYXxf3rqg7P8a+r0p0FpU1D90sCKTpfVDFVUB73eCiaobQTTnlmedG0 yXOdv6I4MJhAF2iQv5Yut22IWJVsCj7+yi8JniCu9MHfRXWP93GaggCG4rEcqx5gWGZE 08xA3H6aU8gmcNGZJWhkklr6n8ax95DY8XaZFKmR6WDwMWtyiDn6cV/YKYECJvjCd6xT BIK7Bb7cszhUQ0SWL6L2qLhks4q2AkGI+B4e+5oLFWiIgGkY+3EHUlXZRpRirJ/6bL+z sTtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678726073; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VW1M70yoKw3ke0qEOUQPfLGKsoDrv1fmhxabJtB89iA=; b=mtkweTej1iOOOdgUpa2bKx6YShDJjJAvkhc41Q/m9qa0/Q+y2TAHfzKyycBJxgRmbz scjeOPIbEChkZyFpfbF1CYNe6lQGQs2A/YxDl1CcuJb8sJUoONLdthaB52nQQDFjUZ/c cIYXYyDWkP7LVGQnd11HKvMdfpDKgtQSVZpYch5R3ASCerYxkQlAPPDg7xcbWT30AWrT fU4PWw/n7wYvAJwT+Q/Fj8L16Kz7hopVw3HipyEOaUrpWfMaHqPxolSLbdTMTjS+R6IK rGjau097824HcbzawSeBCmXuepDmuW6Ae8kIqQdvXHS2nfv+nQDbBwqYDfSkdSfPrEJ3 jFgg== X-Gm-Message-State: AO0yUKXN23M0datehrP9bnXMt3DqlB+yuDsxBSrBQXp6kGsdE8kxEHuI rQXkH8E2fX9TWAo2VrcdprB+pA== X-Google-Smtp-Source: AK7set/79RAqTXgUcyo0/9OVGLI8K8Ozm5tldsnWuZhqzbGDycoXPGIAuPL7eQvUpyrZgCYgdPU/xw== X-Received: by 2002:ac2:43d0:0:b0:4e0:ee54:fa23 with SMTP id u16-20020ac243d0000000b004e0ee54fa23mr10052308lfl.8.1678726072993; Mon, 13 Mar 2023 09:47:52 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o9-20020a05651238a900b004db48ae69cbsm18134lft.206.2023.03.13.09.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:47:52 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:44:18 +0100 Subject: [PATCH v3 3/6] arm64: dts: qcom: sc7280: Add qcom,smmu-500 to Adreno SMMU MIME-Version: 1.0 Message-Id: <20230313-topic-gpu_smmu_bindings-v3-3-66ab655fbfd5@linaro.org> References: <20230313-topic-gpu_smmu_bindings-v3-0-66ab655fbfd5@linaro.org> In-Reply-To: <20230313-topic-gpu_smmu_bindings-v3-0-66ab655fbfd5@linaro.org> To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678726067; l=817; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Zh+jEUOMmT9/VT4x0QSgHjBYntMVapKrbrD9iYrPORA=; b=SOL8f54zRgke4vKcoczqjI0hOupoIyo4vGDDVMQNALFlXOnHRldhV7kcBbl4QhKY9Q4HwveBJGUu IFi31BsJBl3SEGVQRdXI2wu6E25Mzzy7Uq62RPAEkKG4CH1SXmG2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230313_094755_385130_CDA67BCC X-CRM114-Status: GOOD ( 10.62 ) 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/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 8f4ab6bd2886..5b1f26d433b9 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2679,7 +2679,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>;