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: 363531 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp104576jap; Fri, 15 Jan 2021 01:04:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqsv5fYZTa+RHuXD+3nseMjNe7lmZJzcj0SJ31Jr5HxrQ8k+vNw54T7awpxC8pIjEggmyY X-Received: by 2002:a17:906:f9da:: with SMTP id lj26mr7797443ejb.467.1610701462765; Fri, 15 Jan 2021 01:04:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610701462; cv=none; d=google.com; s=arc-20160816; b=rFK9sM/DibFh3+ke8amU+hws244vl2MI+RY2TTNjcX50KnjP18pI6zJMvRM5QzGWoX z5I2/beaakt+hZG4EmuvO3tz6X+D/AvR/62Y87fMmTY+q5E6jWOb307HRLG9Otikf1w/ bnMmUE6eSUAxVsxg1tE6s9q/wVkqfFWJRsIfBFZkzNYwAvwEBiPsX7Al2zbBDt8i0dRh pivp456FrYYo8te/ke3ETigyIy7jP2E6/OHRkkb+HBk84OI2qgQNG9zcoVT5pydNJMck /aEFDiOlkONjNSZ5fGH5SOyxzXCZTt5ETbFRFw8fN+V2OCZ6y5jLjuq+kelIFH/ubnkP jp8A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nLscpdwQPHrwQgMv6o+AnRVJ2ONU0Mn7A+VJUPEahio=; b=OF2cPB4ZND/6GdJ2RuWgouZls0TwkK9ec9wiul4o2ua7J0jL4zwmWiTtPvI0DRj+ub yKYFcnol8y8LWadqTGaQ87gmLUiquA2VUmxnqAXHlta/GAEh8EjFDYBwIx/1zHk9rSd4 B/4HYnLM3zZxf55P8vVku3whTm0O6BHKNAQ3JZx3U1bmf1iiugqvbgVZKkAwTg+4nWhw LHHFq9tJV2V94WumLsiev2spsM/o5kesD9F4/ltPQ1obOBKDRBO7oW7gdZLM82eSIf8U 1WMn/+majmUTkA+RRFLar8DZAeXkOlyalOhYQ2CYybW4zLFQ8LJ6sH5TDlCbr1zxFzbC HZCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EUSNT7TX; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si3890808ejd.570.2021.01.15.01.04.22; Fri, 15 Jan 2021 01:04:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EUSNT7TX; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725950AbhAOJEV (ORCPT + 15 others); Fri, 15 Jan 2021 04:04:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:34328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbhAOJEV (ORCPT ); Fri, 15 Jan 2021 04:04:21 -0500 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 Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Robin Murphy , 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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(+) -- 2.26.2 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: 363532 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp105472jap; Fri, 15 Jan 2021 01:05:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJy059tfzzybMfXkClF1n9RNUVoMfpFl0SaYKO3fguZzxnfpr8p90qOD6vxLtd6c+mA+WymJ X-Received: by 2002:a05:6402:1c8b:: with SMTP id cy11mr9133649edb.256.1610701540045; Fri, 15 Jan 2021 01:05:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610701540; cv=none; d=google.com; s=arc-20160816; b=Q+oGSuFcLBJfN/o6hmPSNMBah6xyTgdg+hSzYgXBO7jVskSHG2LT4BS4AHIJtAKOBp P5cwBYWY1kYb/OD8yHzG2ctYLgyWnYvmr2oBIc1qAzs++7M7G6ISh+8xWrnsGjxMAun6 BNsOMPA8U6MSYEG6QBNHrK+r0qUdsX5Zox9vMPgu6OmC54kVBOTip6EVMzEzwz21A+5K WKf576z3PlmwhUPNcFAsLSjY+VYXiRhrxE17QRfjv9HXI+Ilp/oJokug3gGuKZoUMBTA naSj5zBIxoFd4CdGh4mhQqPIvGp7IEdHbabliLV3CsZG70qqMNNGCJxZngsTYzYXg+7l 0big== 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=EvZg7mQIKf6vNfcFxmp24exWj8qHuCcQm3uRzqmvxSI=; b=vSDT5PHx6UCUsUr78q+k5njnlpnTy9YI0w1RP1mg9MXB4t1VGU9GnUlhtFe4EX4YaU ReTkl7GFLmRMcKdtMrOLx0ggH3uvX1IZu1GDPVgYuj4h2DQIxD5cjaknJkUBeARqzWWf iEYTJ7omrodcJVoG/5/7q2IjKL4PnZe63N3rCSKAZfyHtXledBhM8zsPsEBcq6Tsf7uk u5szH7T5+5khxMqDH/mBuaDVBxa0XJ3Z4TkPBKae6gpAp7OwX32yGuKxR7txJoQ7SnXZ /UtCEM8DaYODZr4zVF+OzfYbNeVWvl0qbajOO4g2OOM4Gb7yQjB8ZuYaD5Yb0ey8ML4E 6gcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ilM8UPVT; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si1659541ejc.126.2021.01.15.01.05.39; Fri, 15 Jan 2021 01:05:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ilM8UPVT; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727885AbhAOJE1 (ORCPT + 15 others); Fri, 15 Jan 2021 04:04:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:34372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbhAOJE0 (ORCPT ); Fri, 15 Jan 2021 04:04:26 -0500 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 Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Robin Murphy , 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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(+) -- 2.26.2 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" }, { } };