From patchwork Wed Dec 1 07:39:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12694274 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 6CF2FC433EF for ; Wed, 1 Dec 2021 07:41:37 +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=kWVQ7RG2L9X2x6QtbdGUfQmOYuWZLzyDorI5vkJbmdI=; b=r/Ed/6vixi7gPc F+sMxGBJuaWw12vZgdzUYnMtVttTSypsc2HpBY2hta2DEBtQ6KbQ0qsRzrW10dGtMQVjXfUo2/akc ODL5q8mr1ODnoDL+Vk3a9AZVcvFuH4+xsY0a7b5K7DbpAY7CTs7NMVaMmbv5W29ZYUhXPD98AdEeR MTOUnYGQywwrPhoHoADpIJwBNS5mFS1zK8z8cuiYhdgwWvGifUYky+xu9sfiEm850LPLDZUsXTkKt tWtW4pLweDHb2OnKYHJoajcCPgqj8hHJb6ikr/rYEgwPWaYgLIZP9DoiA8nghDKzqp0yeJbUAr/qz iUOpeQqdlu7EWu7MQORw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msKDt-007hjn-Go; Wed, 01 Dec 2021 07:40:13 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msKDg-007hgC-WF for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 07:40:02 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 95C96B81691; Wed, 1 Dec 2021 07:39:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FDC8C53FD2; Wed, 1 Dec 2021 07:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638344398; bh=hR6uODSSw97kZgq/T1oJExxGLZlH/ku0xAQ6Ys0Dbf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IvP6WIbUXo5u5nfVooLIjWp03lxeC1ftv1hpmNGNjYMv7CwpCEJQ4JfXP1NVTqj9H TqDnKGrhRT9yfOVz/AV7i2MSAryp2xKsSNjhdIMr3RHrEug47s88MyTxpFBXnB85+Z mrLVQofA4ucmk1ln14euWdU7OCS3mnv7G2qB2SvwsGo0ImVr8QiY8Ro8axhkFp0tai ygbJCODloVb19I7RTkG4LwnuQ93oSORBtTLE4GjgsmBEggWbAhK1up4kjV0AT51RA7 FEfpZLfb37FgF26Vley4ck8aiw3h+w5riIeWSwX2Snt8HuUbrn/kZeQTvQ/a9IxTQ4 jSuDpYKRm92IQ== From: Vinod Koul To: Will Deacon , Robin Murphy Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Joerg Roedel , Rob Herring , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: arm-smmu: Add compatible for SM8450 SoC Date: Wed, 1 Dec 2021 13:09:42 +0530 Message-Id: <20211201073943.3969549-2-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211201073943.3969549-1-vkoul@kernel.org> References: <20211201073943.3969549-1-vkoul@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211130_234001_203573_06D271AA X-CRM114-Status: GOOD ( 10.84 ) 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 SoC specific compatible for SM8450 implementing arm,mmu-500. Signed-off-by: Vinod Koul Acked-by: Rob Herring --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index f66a3effba73..8d15b281b0ac 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -42,6 +42,7 @@ properties: - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 - qcom,sm8350-smmu-500 + - qcom,sm8450-smmu-500 - const: arm,mmu-500 - description: Qcom Adreno GPUs implementing "arm,smmu-v2" items: From patchwork Wed Dec 1 07:39:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12694275 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 1C31CC433EF for ; Wed, 1 Dec 2021 07:41:45 +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=BuYB9CmY1kvA/soejqmAI8RHGh3t/VZzi0sK94RZQws=; b=BkDOWaDB3oWy+s s3NINsL0I5P8hrBNNdY1F43A3lx2sXTKmNCyYgwckaOAWX9Q4ewrTIY62r0aXEnMYD3X1yixJ403R k+fzibKnM28Ik4PW+/myG3LhrNgK+8xInO7VqNbFENfK9Ya6vMFlQ+/ebYI25aIBog3d4OGr0YnEA It+2qE94fXgdF5tA+GHPiDp9AJdZG8YVN19K1XKh9t7kCOJLXhnrIc7T0Lv2pQJXf4IeZcmdjpHSO wOGdVS0eYCuO+IZqgVHXHBx8nRW7lGz32l6h7cD7/VjOJ09wBoHw23vBss9z0hi0G4r3LQVmU1WU0 btuBbIe4MG1zuFTKxnjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msKE5-007hmB-0O; Wed, 01 Dec 2021 07:40:25 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msKDn-007hht-51 for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 07:40:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 4B212CE1D68; Wed, 1 Dec 2021 07:40:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF780C53FD0; Wed, 1 Dec 2021 07:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638344402; bh=rd1g/Mg+d9q8eRsVNqe7GRL0cp3tKq24b0vxwmqSUco=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F6oBf04UDEjljSy3K4IoRij8DRgqgaPN7pu8QAHzXBy9o2Jz805NI7NBGItU3Y8bs C7oIKxidj3F0X/dVGCcdcLA5ukRAs+r1qiANANpgBHurSzX40X9DS0bpT+AvVPt4OH RwjLZGYVFV9WEMcRxSh2JZ+I2rdHzVV5kMqJgMEpOxwIPwqxWZFwJbIbdfV3d7Kufb aCi+WbisGz5ZX+8YogLI5xx3OsECBcH4gTB8QTxoNjmmMSTm6yqCVnViKopFSO/5eg 5iTGy6nuFBRK99d7hMcmq0tUP+1r4JLc2y1CblLNNUWsPUYOKKpAOZdNPrMo5V3XmG j9Rp6ZKDKiUVg== From: Vinod Koul To: Will Deacon , Robin Murphy Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Joerg Roedel , Rob Herring , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation Date: Wed, 1 Dec 2021 13:09:43 +0530 Message-Id: <20211201073943.3969549-3-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211201073943.3969549-1-vkoul@kernel.org> References: <20211201073943.3969549-1-vkoul@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211130_234007_441987_4997BC2C X-CRM114-Status: GOOD ( 12.04 ) 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 SM8450 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8450 SoC Signed-off-by: Vinod Koul Tested-by: Dmitry Baryshkov Acked-by: Konrad Dybcio --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index ca736b065dd0..4aee83330629 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -415,6 +415,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sm8150-smmu-500" }, { .compatible = "qcom,sm8250-smmu-500" }, { .compatible = "qcom,sm8350-smmu-500" }, + { .compatible = "qcom,sm8450-smmu-500" }, { } };