From patchwork Thu Feb 16 14:56:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58123 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352681wrn; Thu, 16 Feb 2023 07:09:58 -0800 (PST) X-Google-Smtp-Source: AK7set/8IB59eQohP7s+WJchvG9cYgs+35zft+cSpcPP8QrtjufcGCh0/cBfsRrU5JOrhjvmbQ4x X-Received: by 2002:a62:2547:0:b0:5a8:380d:db85 with SMTP id l68-20020a622547000000b005a8380ddb85mr4518736pfl.24.1676560198095; Thu, 16 Feb 2023 07:09:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560198; cv=none; d=google.com; s=arc-20160816; b=gYXvh3/0VMYiisrl2gjW/0h3oDlSiUHPmctUFwkpfp7gKLWvL6FbRchUFQrWIE4fzk VIh8H5gWI7njcRcSKSqE3A6efJD7i1d3IJHWnXTUjgftL+0KD65Q2NeSK6pGSi/yh+ax OHRph3tDay2Hq/YgHZMUhg5FsWnBxvjI8W4zZlgl+G75UG/XB+IVldzuVUvPhoC7UiMf i6r7tQOPAJzcp2CCIl7QxJ4Jy/76GoKVSyY79Hw+lxusSxXk5f6QetXe+lWf0OfcBYv3 pz4f+yAaTpt/FlL+ZLzRbirgaRcJVj2t9tjvBhBEQsW/QnL7cy4JiLNh+iddfJXy9+5y Zu8w== 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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=P8qjscIzIwuHB3vmV4tn8saa2ys4RErmOOqoBIL/CuaWnp303UmD1oCuFLdpI+VyGC 7HFKKwGJbnv0rbENogNWD1M1x7h1xQOXZCToxTyRgKKFP72ZXbKp4wkGpCcG0/Yi3zlo vVpbocuybMmH3hEwGBTm8XGslvELCUd8PqPF1e8l7LqzoIsdJQfTg4NlznA9Itl2REoF TcXDtzDu9Gu/oRqgz9uJrKIUeS7Qw5rqUj/VYSARPZVPYX8IglpJZHzZrDSjxYx9XtUl 0XbWg9m41WWZnRPVhG7G8qVMccauTNw1OjbM0XvF5s8dfeYPHZcI3j1pILSj81aLvoft 5JsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=odBtyRbd; 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 u134-20020a63798c000000b004fbba866a62si1916359pgc.488.2023.02.16.07.09.45; Thu, 16 Feb 2023 07:09:58 -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=odBtyRbd; 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 S230385AbjBPO5N (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjBPO5G (ORCPT ); Thu, 16 Feb 2023 09:57:06 -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 ED19C4D627 for ; Thu, 16 Feb 2023 06:56:56 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id u27so2205796ljo.12 for ; Thu, 16 Feb 2023 06:56:56 -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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=odBtyRbdU9e/VNYr//7YW4Mc/4+x6j5dMtcALVOVFF9QTGuXaxlEGRgccSqD6wYwnx m/GFsZY0IZOlN5khck2Bi5GkcikpdtKamOW0AwagkHnDgiRqMdsQWIoBHFmDCAYFCwbw xT9PbU99YZh81KjBqwxtJrS4KZIZgT1kXaiB2oqWeLWSnQoWRTHO7VGJypgPVjscEQE9 uSfqeGO3uaJ/49BnkjkQ0qSWw/JIag+uIdh2ceCPB7RDyi8HMOqtGoC5nLJjdBFREE2z dBOAtYykR8YyVsYClU5UlGN5uSxKekIQjZDGaYoUO3o3Flp52SFfGw5qINxXNQ+qKLGV onGQ== 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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=H6p9ko+3jfFxjrJkXF40e+xXmJleVCS2basPsFlPyh9bqYI3Or1G2O7Yw7nD5B6Wpg rTek9lkQChV1OfVtaz0jAyrUw5xRKiq0OoVOznY1G4Ysr08RyxsWPXxYcxrQBVM1HmTP 86QSJUUUqDcKQi2SASaVJ09Yr5s9HMWjCHemcWt3CO0Bo2r4Lbt08sP50F7rYVx+gaCf 8ydP0gX3D42gKqKTJ9sq8TflCDGTSWvRwzUK4uv9zoRPruThfhhchEyfm8Bdp0Lnyb3F W3wFmdTk6gF0vMJLw/QRs2TYx0bXrBXAYqBKlDj7604sGOQTcf8CJrp79FWARoFcnqPA aUBg== X-Gm-Message-State: AO0yUKWomD2Gca06Yyw1paH3q6lI6DQxPYvGlOJRDh5ch5vrtNmGzoST HD5pwLilID9dKChCICL/K6JPjkfVgZ6Iqlzs X-Received: by 2002:a2e:550:0:b0:294:6d2d:c18c with SMTP id 77-20020a2e0550000000b002946d2dc18cmr331046ljf.36.1676559415327; Thu, 16 Feb 2023 06:56:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:55 -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 4/5] arm64: dts: qcom: sm8250: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:45 +0100 Message-Id: <20230216145646.4095336-4-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-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?1758000786048243592?= X-GMAIL-MSGID: =?utf-8?q?1758000786048243592?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 6a0100822d3d..13f5526d97b4 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2701,7 +2701,8 @@ gpucc: clock-controller@3d90000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x10000>; #iommu-cells = <2>; #global-interrupts = <2>;