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: 58121 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352104wrn; Thu, 16 Feb 2023 07:09:05 -0800 (PST) X-Google-Smtp-Source: AK7set+YmO7u8hOfUp7kzWJmk6QTTI3pOoqAK7b4VKnRAnw3HvCqKoIAehEP7O7agRJ1CUQ2HSMh X-Received: by 2002:a05:6a00:1390:b0:5a8:b6ec:3aac with SMTP id t16-20020a056a00139000b005a8b6ec3aacmr2580282pfg.15.1676560145181; Thu, 16 Feb 2023 07:09:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560145; cv=none; d=google.com; s=arc-20160816; b=cf6iTEljOTEFd19ZeWRR1LqxGREH5H/Xn3szGmfFldA/fQ57JUk2Z1DeUiWS2+6k/Y 7HIXbIC5tK5ImY0qjqbUq1Yz2rxK+E3JvwAQYQfTBqj6SvCUnQhqYuOsr6uxnXmwnsp0 XPKwSK9v+//bjGti0g9i8QmIYI6+m/Ru69qyuPkxnwsaOn4FKw8Z3FVTQdvwiLemawxF KizCNm/6fJouHrM4kagT1fFALHcpBlv4hTaVdBtqnL3Riz/76puVFumPXc4Ij+7hJDh3 6fRi405LY/n+OF12T1r0O5k6KAGl+bSt/UK7xp61w2MnJpcjnCBaMTRPU4MJNXRxqg8D oZNg== 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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=WU1SudB02KuSlrhfDzmCkWEy7u6t51UXiGS242Y6qmtlhjfpwf6/nO/dBog7hX4dJn SBVbFNLef43qyQoSNmLVUHQ1H45P31ie9onvCwQDNb6EmramDBRjJOgM7e3KezD+gX0Z RcFFeavMCXrqU6KGD30sDeCcEGAiadHv9wQbf1JtJI8Gd8HclP19vj5vZqVHTAMFmK3I pRqS/Lsy6dmnmvErzj7pT6ECpMoLgukGd9KIgxoYokZ/4lUYRbdRRtBvKOTf3dcK2TV2 KawPmTL+aY8rMECYL+h76zxEn8vSeXp71jJdYGzuNdIxaC3qnhTik9IAkapk5wALgsv5 DwAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yyZAspCK; 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 x17-20020a056a00189100b005a8b3c6b5c1si2107492pfh.245.2023.02.16.07.08.52; Thu, 16 Feb 2023 07:09:05 -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=yyZAspCK; 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 S230351AbjBPO5K (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjBPO5A (ORCPT ); Thu, 16 Feb 2023 09:57:00 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE77854544 for ; Thu, 16 Feb 2023 06:56:55 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id g14so2212137ljh.10 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=OwEBzE9B/LiX3dc9ooAB5TMp3mnsq5XAWEzo3A2+2IPe0nynHyFZD8E/mMLvQKjhah dkszFV5XhCCIeqmsqYKvim0jjWr3JhFISunC/C7VgaXfctRHI/z7AfJSOsVJoRol8I5J ua52/5u4qSozh5ih0QCHVQEtFWtK20bPr22RZVaETlhy8dRHL0xqhARn9VNFY/Isoekh sASQxYO16pNN45CFPXDdJCjbCqNdY8BRd5V2kQQKV4iy6lEU/6A45mFjvHIxfBPVxJK8 DBnij13EPfxYfwz4mthcRIImcVCExBEEzgNzM602DQJ4y4RpsUe0vhoYuElbocEPwNwm 3bsg== X-Gm-Message-State: AO0yUKUmBfN1Lnl/4dViBgjSRoqrjnvtZ/5vYYsfhOVzrwEWrsJlkMm2 OPkR0J0nfyGvX6OOgnfvdvGfzw== 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-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?1758000730878246133?= X-GMAIL-MSGID: =?utf-8?q?1758000730878246133?= 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>;