From patchwork Fri Jan 15 09:03:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12021935 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DBB9C433E0 for ; Fri, 15 Jan 2021 09:05:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BC39223128 for ; Fri, 15 Jan 2021 09:05:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC39223128 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=0CWvhi2dVlmGPPIZRYGkrcrcvJBjRFgTxeHV74sxGNI=; b=1/AWbeILtoH1iKtvVqRLK0P8Cy RuC3JHP9XeDEK191Ve6Ktb0CnRA2ERjVTp3qmLc0q698q3J9DXebZfTycE83dRF7ruBeS0hppdy20 Hlvlt/AP7X6uwlYqtBE2kwcJwKwPY0LcFQvShxoKYT/2KEwlLEZO5n5QtA3yt4Fq5uciLpvBsbQmK vHh+FTM9Zo2cuHjaa36Szh4mtWMdg8cBHIFPQ48s0FtDkXB2rJpPSeDdkjbcDPcZy6eemqkwQ5Uz4 PGgVAdK219qpEsu9hcypEULQylWOGFP/RwzUkB1X3C/AhH1BEbBekIrvZQUnDJLkO9DN3wnAWRRB4 JXtm/FPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0L1E-0000MM-Jw; Fri, 15 Jan 2021 09:03:44 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0L1B-0000Le-W5 for linux-arm-kernel@lists.infradead.org; Fri, 15 Jan 2021 09:03:42 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id E4456207C4; Fri, 15 Jan 2021 09:03:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610701420; bh=uJhyVV4SVJoHx8fWIPl5o7ANEKCUgWUsewnTvhAof9U=; h=From:To:Cc:Subject:Date:From; b=EUSNT7TXVa3THjMLvJ+xFW45BgCuydAqAFcI7I2rr3J1kswQdXWflyzp5Da55SYNH p+wP2hX66nSWhvmrlb1qP9plAMQv9A04X/gHYVZNAXNebLEt20jiztjvsRQoad5cNP kVOSPtEFBoyyf8l8fuMp3ECQt173K+DlfGOohHFL3NrgnQf3sJp63IQdSh+74eNnWy uFnvuZsQulHsEq+AXiXUnykoBcABIT89GNDXSS401avmqyUSpJlkRWn6nc6lGm9wGv PJUtD9/jB3re2sPQijfaQX143UWmENvDwFcPoNPeTqnaHh1aNCs36sbYK6ZHVPeJgL Y1i0KpMs9Jk3w== From: Vinod Koul To: Will Deacon Subject: [PATCH 1/2] dt-bindings: arm-smmu: Add sm8350 compatible string Date: Fri, 15 Jan 2021 14:33:21 +0530 Message-Id: <20210115090322.2287538-1-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_040342_111496_81E4289C X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Joerg Roedel , iommu@lists.linux-foundation.org, Bjorn Andersson , Vinod Koul , Rob Herring , Robin Murphy , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible string for sm8350 iommu to documentation. Signed-off-by: Vinod Koul --- 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 3b63f2ae24db..161a5d389808 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -37,6 +37,7 @@ properties: - qcom,sdm845-smmu-500 - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 + - qcom,sm8350-smmu-500 - const: arm,mmu-500 - description: Qcom Adreno GPUs implementing "arm,smmu-v2" items: From patchwork Fri Jan 15 09:03:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12021933 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85340C433DB for ; Fri, 15 Jan 2021 09:05:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F48523128 for ; Fri, 15 Jan 2021 09:05:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F48523128 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8Xx0L5fvII5SO1evGlK+oaJPqORoUejlKq1KTfP/jrc=; b=Z8R3XSL6bm97GGsR9bCiRunBI VOPDoQzLt0fH+iTqnrBwXPDU7Q15VEIZpmuStlUwC/I6sBLvmiKh2PW92k0vaIQzIe5YWt7rcp2nK LaT9HRaHb3fCDBpKTEXXeHhr+ozv9qPbzs4KKPyxa7DkZqAvxiuyFFQDiCYma6ooCEMgSB02pypgN +1fnUpsUJihuNPhJQPxOFjdFUhP1LKjMJfoW1L2vJQvjhw0Oswc4iT8mt6NrY5LDMINQ/jyLvM3+i +1ynabTPHpn1qIOtqoZvc1XC0d3d4n5eVpRY3OvULUcxTz49pKYEIJdFRXf9Xsk+Cp4leaiy57gmo dVaYeZIUg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0L1J-0000Na-H2; Fri, 15 Jan 2021 09:03:49 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0L1G-0000Mg-9i for linux-arm-kernel@lists.infradead.org; Fri, 15 Jan 2021 09:03:47 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 339302339D; Fri, 15 Jan 2021 09:03:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610701425; bh=7la6AOF22duM8nJdUP2TkacYvkWl00x0WTDSlkJJ08Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ilM8UPVTtCs0av85SpQYZFCxrPLSFrVCyYJJsEyhSzUncpZAXQkyzYW6Ku8KfCB+b zfS0Ky5uGtAsxu6ufVQZILJwqRHc94+QfSejF0URKcVZbVbvWMuwkYXPE1F+IAY0R5 YfZucUpv2mEJyszNkt9TwNZrIOL3zOcMaP1jz2aJpNX4rP+yXW9Spy+pjhtBa6UqGv WUrLRZ7rB6WIKe9eMiET+QTH1V/zlRL1FrpwAuCKfznd4pb7IEEGgnvXtBlelI0Poq wxPZY63YZjsRD3tIPYGsUNGC3b0+DQrApSN09tEa8v9aZThBNcVQ7JXLdb6X7VH7oL z/les4wrPZugQ== From: Vinod Koul To: Will Deacon Subject: [PATCH 2/2] iommu: arm-smmu-impl: Add SM8350 qcom iommu implementation Date: Fri, 15 Jan 2021 14:33:22 +0530 Message-Id: <20210115090322.2287538-2-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210115090322.2287538-1-vkoul@kernel.org> References: <20210115090322.2287538-1-vkoul@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_040346_504568_D9DF103B X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Joerg Roedel , iommu@lists.linux-foundation.org, Bjorn Andersson , Vinod Koul , Rob Herring , Robin Murphy , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add SM8350 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8350 SoC Signed-off-by: Vinod Koul --- 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 5dff7ffbef11..8044a9bfca66 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -327,6 +327,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sdm845-smmu-500" }, { .compatible = "qcom,sm8150-smmu-500" }, { .compatible = "qcom,sm8250-smmu-500" }, + { .compatible = "qcom,sm8350-smmu-500" }, { } };