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: 68936 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1293920wrd; Mon, 13 Mar 2023 09:53:07 -0700 (PDT) X-Google-Smtp-Source: AK7set995MLCMPrzduP7W3EyNOj/ZBXEGaYPLm2ZSOzElpnL9lPiiGa9+vzp5GdUhG/zmyL2xskz X-Received: by 2002:a62:58c3:0:b0:622:5be5:2136 with SMTP id m186-20020a6258c3000000b006225be52136mr6938912pfb.33.1678726387192; Mon, 13 Mar 2023 09:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678726387; cv=none; d=google.com; s=arc-20160816; b=a8JyJthnWuqqnOUErzN2VkPhDr42vmg36rPMbiY6le+OBmfwyOz6pXni8W0HmDyFcQ O0WBV1jaeXSZh8UogqRglWRd5VibrhSDeHwn1OYYdfIfGtjDZlfP9FQmHuo/N5E/ybc6 el0u+RV54uFuWJZD99WN2mO2yXl4F+MmCjyfPL080AMHTqpa0QOsD5v7034idJwJcbJt QgNM1cZMcAiGvZWfhL75aFq5GoeTA47XbiRXaTk4TGiEqxcKqYzlK2vN4HfagedotuSp TluKnCyTZ7qy2y1Shw8D9zDtFu9lNUb8VdgYWRvWNM2Lh2dtwgorTd4FQjl5onIjBcTU xwhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=VW1M70yoKw3ke0qEOUQPfLGKsoDrv1fmhxabJtB89iA=; b=AIKOXmMOsyNUm13ika+6kcJ7i8hX9uTmbzeEUsXL4Egp0lJ9sZbIU52E2iJY/76E3c 4itNbwZ3S44cYNcn6+UonUjND6RX4IaCNbiQ4XlDkGswrUb0yuWnWkVb68Oe/Zn08s4G nJk3SzvYK4jUHHFnSUsiNF0/wszIPpwbP4BtsEOp04aVXnNMOlqfTS0n1ZJ3QHFRfzyr s6hqoBb5n8kn+1p78Po6ko2VG578zKO8QHdo1KWuU5/7c7u1c0WmFzqgB328Yz9c+WeG lw8N+aTQ7GIBS4X8ekqAniG9y7bnTDLilMAwPjLXipgrVENwKQl1F2S7a+QUKZOu2fk/ a3IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wwUQVnHh; 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 p125-20020a622983000000b0059258b3c5cbsi6673112pfp.358.2023.03.13.09.52.54; Mon, 13 Mar 2023 09:53:07 -0700 (PDT) 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=wwUQVnHh; 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 S231254AbjCMQsG (ORCPT + 99 others); Mon, 13 Mar 2023 12:48:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231175AbjCMQr5 (ORCPT ); Mon, 13 Mar 2023 12:47:57 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD8235DC8F for ; Mon, 13 Mar 2023 09:47:54 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id j11so16496248lfg.13 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=QmlnpIpl7UkC7s9MzvJMJvhY6nVLjfByfrFVR0bQrBBukrB79QVUOw2obAu1Ly6kKE RUjRsdL3+zPlHyPyNfmXZttYK09xisfopiGCh9YubGkG0IcuV+8es3jzeHxQF0jSDXtL NnbF2mQX4Fhi8UiFeRW3ZyKsY5iHRWk+dS8tW8GBywwsVuBaXUP2NKhicSPM1MLxLNGp xZwjet7ilPuzl4NMKtQsgBDLO6u3+iA6R+rQQYlWW5Q5uB7T8Vr96z+hDo2ksk/2MFcv 2SxATXGxZo/MIHdUQGK0Lb9Gx/km6GM86RC0m7fe3FWdwPK7WNl5mpFReIdK+JKGS0HM tPtg== X-Gm-Message-State: AO0yUKVa6dXbdnF1gGUoMeiVYwxQvXe+oZmjoAD+7I0CkjaGtht7SRWm +BHYkuObMhz7EycowuIZ8A9ng7Ef4NqElOv/rf0= 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-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1760272199748458848?= X-GMAIL-MSGID: =?utf-8?q?1760272199748458848?= 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>;