From patchwork Thu Feb 16 14:56:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13143306 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 73C46C636D6 for ; Thu, 16 Feb 2023 14:58:18 +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=TzVnc9oNlN1lQBVlxn790mB4s73Puw85y4SVS3Ffn3I=; b=bbyOUwh8E0sCT5 q4Ki8xvWo4TYjWRBa4cHzQlaegcJAh7YEnAftKhemXefZbSbn2yj86fmeQwYqzZJNunnN/GBOtQiA G1SEbwV9uClX/GW+Caaw1gEc7YBGPbTpgN9l2Ypf2hs67j61kjycxae75UTGYtuBVw9LlqTmin9v0 7pWO3h+4Vz5JiqCCK0rNxO0oz6u7jaV7JNwN6NeIrMp24b3/ynFtE/ypfE6PkBZJNLmHjWhN1ZvW1 I6Q+JTSiwACRisMJiYZEt62g0UTuXpNkjgOGiyN2zdqK71VryDzuNYVx85gFl+1mfCZrkTLiYxvRy nBwPRFvgZj7gkPcRzn7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSfhA-00AlTJ-JS; Thu, 16 Feb 2023 14:57:12 +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 1pSfgy-00AlOx-CW for linux-arm-kernel@bombadil.infradead.org; Thu, 16 Feb 2023 14:57:00 +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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=SQi19v7YEWTOPKnFc/dBO7/Cjv ZDWUBrL/iIUk9kCw0DtcvAy1RDjECbUaovptimu7664wDBy2nLHTVAJEB69Ih4P74z9QyFF7DT8XR KqPbd6JOWO19P9loiiaymoKd4vuQ+Uf5FBkrV2CjBG2ApfZJhZuW4ue/JQRvhyJ7QV38JspmMl6N8 S/2PWQAvZ/TnK6NUSGM88X/QlHwLg7KRHkjEb4HoSmOI1wWNr/BsOTm8a2pFWxyQlQdHriTqV2cfE 4ikZimAfrvgVfeqTgF4/djGG13HHKA9nwPgyRwfT6URuH1ZYdPJdspFRmq8f0OeQVjseIS32uRFTG vuMyWN9Q==; Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pSfgD-00AJb6-18 for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 14:56:57 +0000 Received: by mail-lj1-x22a.google.com with SMTP id a13so2226092ljq.6 for ; Thu, 16 Feb 2023 06:56:53 -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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=ud3t/DRE6nToVd1mFfxMCc6ZnBTJhm+5E49w3+Wd6fAP1x3kIW/YoRm6IBQP3sj8M0 rFkdEVsROi9pudYxdoIMTqL5Shncf57fkILgjqbKY+LFttQJFNT4ghldjCVIYA6vCvMC 23LI5vUzCoFB6Hxq0EeMx7ANobgZ+4oYaB7uafYr5edOgUAWNM9ZjChwWq2pvsfquWDO RnzlLylNeFXvOZ7HisHJJzsmJpgdwCs+GzLBG+sOaIX1nwsi909aMXSOlwyYiIoiPWNS QvMMsIB1n226cXbdH7MtKUKkbFEO4hGsXXRlRLh9nOyl1e9x355WiI+qRUhHp+bUPfRI wVHQ== 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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=RqI4JGwPBSZqMsYtcNiyL04N99yHhE5EbPkRJNa5UdmjMmB1cy2nrnN9A/zYAbcxIs mmmQ46IkffZK2tBuY0LFPFEaCP7cqyWDRBvsV76oAUsLhPAAtNyYaB44cQHrUQtxDgbU FEA/Z28TJ4HzHKZLDhLlGWWBRCOMubozwPf/NW7FHfl8Hh208inFOj/mXy/VfwRaDbD/ jasrlDJ+QU2/+0mM6E2Zm53UF4b3eRFAJDKG9YApb1b8E91Y3+FTbWWmwOLU6V6hT4Rk +P24LpU8At5OZwPEzfP8gfh/10hDYHp9NF2KWFls8jJ5E1RK80fkZPKySbN48tLvY4vV 1KYg== X-Gm-Message-State: AO0yUKWhzRMEYwAVVyKFy7hNfWQ+4JCjdZBa3F9v382CfzZKd5xGyaqx Epts3qTo2O4c5X8IabnH/GCsNQ== X-Google-Smtp-Source: AK7set/Fipmuu7N68aDIu5iNxlr0lOhtbQnXNgbheUnyJukms92JZ5kKwONFGBqzp7T7B/gzoigPvQ== X-Received: by 2002:a2e:2a43:0:b0:293:4b6b:914e with SMTP id q64-20020a2e2a43000000b002934b6b914emr1835066ljq.26.1676559412360; Thu, 16 Feb 2023 06:56:52 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:51 -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 2/5] arm64: dts: qcom: sc7280: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:43 +0100 Message-Id: <20230216145646.4095336-2-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_145655_856147_460B4BB1 X-CRM114-Status: GOOD ( 11.23 ) 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 bdcb74925313..a8227bb6b336 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2677,7 +2677,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>;