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: 13143424 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 AD4CDC636CC for ; Thu, 16 Feb 2023 16:05:35 +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=qRRNAwvvS1K/BITMMPmTLf3R/exQFWAv3fISC+/ihAA=; b=cFFpuTuRZn9jQ5 cdbS3iUXSzyaOjoCp8TZggMCrkZVxGN2geyVenlAY77wH2R5PVJypdCRdzeYPEmfQoQFRYvEimWrK zAcFHyTR5OZSNRM8plas7ZWKPPU9q+Isn06xLQiQeAPoiOOvcCd+Cv7C2QVSjZnI4/D1hPJgwpY/n A/U70YLCwz86PlIexsG393t9gI6wy8HOjwPvg69/8/OaThNVz/nt+GJX/DCALAhT9cQgiZ9hmNJPq 7Jol6AeGgjsk0fE7e1P3kwp4XSZoj13AJOp9bXmozyMuiVCEIzNm8ZN5jc8Q7tKtXupmh9vTcW9SP UAWneAG+P7mqLY8nFNhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSgkE-00B2VS-OZ; Thu, 16 Feb 2023 16:04:26 +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 1pSgiX-00B1NZ-7U for linux-arm-kernel@bombadil.infradead.org; Thu, 16 Feb 2023 16:02:41 +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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=BS+i6Kyv5qdxmWvZgimzHEbQBd aHYR4090zjrKMN3qA4eieGBg4+EXRQfZ42yJiBTKiqyQHGvEfFFrgjozKlRPCba56BpAKId1tZlqk lskVwjerHu2z5eotSrDsgaHV8MnBrTHMMShAm8tgBlSLVmMO+uQ22Qw+tvZ1FQsHH4NdZHNSRSpvq 8ByIfQTvjO/q9MDLUmUQiC8MbqOUdoANiiHSYZCreIV4fgn7z+FhejHG/jdbwH6ecqKvDEOO32eKM R+T2cYb5M04sfgaacPukNibr9YzWLkYP84P95JXiaDM1HJRbacpIWZXANUj6waw8BT9vuTUjQyzZs ELO+VAuA==; Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pSfgF-00AJbZ-0z for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 14:56:59 +0000 Received: by mail-lj1-x22b.google.com with SMTP id x29so2277261ljq.0 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=qYK7+9KtsG6wjJexMBiOUq54J8YOm6ZH3fMNs/ftyUy7dMXVAErS6ZhaLJZdXHYIcf Myh1cJO32WLgzrBrCMgUQQb+WfwH9AImba3dglhaZlhHmEfHhG924cqY2hL7xbF9rEcK ZXDGh+qHV0I16905D4c+WZ1SIvKMD5SDGfEYyheY5hD2C3uPiB2J6P0XFy5kqmpvIJM4 nV3I7ZtnS27GBfpJl/XESdWI/6NE+ZGR1Rf9G7X9JB5b5kDSShzmD7ut/SFEqPuzOqSc EmoCeS4w1ks93wxuFRG5/ELc/9Si3AHExZvcDMrl+uRRlyAYs0W+mdh18L2vckWBSWQr d8GQ== X-Gm-Message-State: AO0yUKWju3pRFJaSJXmIdf/AfL32/T4zYp94QwtHNi8d/UcMNcudxJ2n umd2a0gCz9JaW9nHIu9YsQt0AQ== X-Google-Smtp-Source: AK7set8FaLeTWAr/SL89TL2fRxvrlq8DSwMxLi2hP41yr3ZatnqIYGddBt7KxaV9SV/egp5Ryjb5uw== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_145657_954471_E1C84F80 X-CRM114-Status: GOOD ( 11.42 ) 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/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>;