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: 58120 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352083wrn; Thu, 16 Feb 2023 07:09:03 -0800 (PST) X-Google-Smtp-Source: AK7set9wMChCJTgfQVTQfHNRd4ufd7kL9ug3AO+FgebSDo5Dlx5fp/Uf4szuX0CYckDfRuY0pA6O X-Received: by 2002:a17:902:d4c8:b0:198:e4a2:f88c with SMTP id o8-20020a170902d4c800b00198e4a2f88cmr2492558plg.11.1676560143090; Thu, 16 Feb 2023 07:09:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560143; cv=none; d=google.com; s=arc-20160816; b=kEDSAyi0csRX7afxF7y5TcL+0b0UjLknRQBDxkgpgM9WuSJjk0kXNYdZhOZaKk2nAb 7+miuF6DEfcjqaecDreWM517Kslz/A/d+6SMFYza4xWY4w3aWIP/5xclYjXqIIvX6OEt BOKV9qtiphXHs3wcEHm753Kcm9XuQdd2Do438JXO+446MtxJqLVE5D8t4ggVowCbY2iP qq4V1BTFslkSLJqq1En+CSedz20PipbV1UUnRFx/JhngyVRoLf9+KWD22RMqEi+tJZ8q IgbYuaI4VkJJ+yRyrMB1JbdlwhdKlje00XiSmxYL3fZCDK5/7FsH3uSGkuEOiiA/8GiI eZNQ== 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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=06AxGHF1w8ARMHpRTKe3zUEuqE9EWUKFOSRrD3hsU2O07h0sBI10oIPE6BOrFPby5w l1sTVfqOV+8Nqbu6rVjpEETaXjGR/zjvfFHyERCW2GAjM3QMGOHOXFa7lrVJFBisouJR IvyrQV2mr+tMsRjLfX1xnqsb7p9YlZ9+S3YVDWFAQWKlW2Jqyf3TdfcNhbXZekJ3dVck vOlVXj+fn2EACqG1RH3botieq2DTPN2XfS3srcgpHnGvNYw7MsL68W0/sh9CBXX4A55d gHmMSHVKldUESkHvvEDyhbGuChJB17GATFNgSgoK4gEH1OPrG+Gl9G1fmoSWrI/rk2A2 hBEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ud3t/DRE"; 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 x5-20020a655385000000b004fb1c44a4d1si2069034pgq.212.2023.02.16.07.08.49; Thu, 16 Feb 2023 07:09:03 -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="ud3t/DRE"; 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 S230339AbjBPO5I (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbjBPO46 (ORCPT ); Thu, 16 Feb 2023 09:56:58 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EF04552AC for ; Thu, 16 Feb 2023 06:56:54 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id a9so2200936ljr.13 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=aEfM4n4TeXjDgSop1dFaPv8zLCOk8ZW4Y4cVHuAT0dDxZxho5qxEbbt7yX1Qdc9qa1 jVkgtqIyCVuWmLo0z+6QRE0yFpvEbO9hxy0JLLPJBm/0wGWUUZDDvkr6LyYxx6vfWEQ6 ro8dTU0PNzUAugI16IDI+ZXztTRqRqB0H72XZ/C/AsSnm1o/4j9LFDNXo7n7YJ5Idqhp RJzwdVjTNBetnAM8e0thswLZAgDFNseBlnps6r9ZtqfRqodiaYmgOMlwSl8b72wo/5At gh4YB1+4KAzzCzPD5mndySzr3IQnSPUhfMmenaOL3WgyuUQ/LeNHjyd2rcxSQna1CX68 nbbQ== X-Gm-Message-State: AO0yUKVsgmvG9eUdOWU3hbGMAZZo95GXoKKgwhrM1UyR6AU2fDubXJN+ aSUQ2ur2NJ04rTt/JuRpO3rJFg== 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-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=unavailable 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?1758000728573256517?= X-GMAIL-MSGID: =?utf-8?q?1758000728573256517?= 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>;