From patchwork Wed Nov 16 11:40:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 625586 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 885E9C433FE for ; Wed, 16 Nov 2022 11:52:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231622AbiKPLwZ (ORCPT ); Wed, 16 Nov 2022 06:52:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbiKPLvg (ORCPT ); Wed, 16 Nov 2022 06:51:36 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33FA4450A6 for ; Wed, 16 Nov 2022 03:40:11 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id y16so29445775wrt.12 for ; Wed, 16 Nov 2022 03:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0twtcFq82JD2b+ezlYjBACGVc7CdSbTyIYzuJzztLoE=; b=slREbBr+UAB1pCLXZp36yMTYwltieCZ/UlN3y+IMLQRIgpojo4ptxsBMN5NOr7+rhs 2FM1d4vUXKam3pkgvGLYoMHCm0uzndXvxsGOY7cX6bH1PQaupWmj0Gnj1CfzUGvPPnp0 7IXRDk+jgL5sNU3DAkPt+LaHKxcAtTMuDTwzJIkFeFKrogQtZmsfj106Dd9AEIFPJSq2 qagjWyrhajz5oLr0hgQbDgDQd90Awx3zz+qPQ+r2L7tB2jHTGwQvOU+Vge/ZCXhUm4AZ SBZFRwW4KU9wCGwR1j/zsyjdbY1BpRLi/RhkKOLgZiwaiaHquWL5MpJlqPZ1K2G93X02 T+AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0twtcFq82JD2b+ezlYjBACGVc7CdSbTyIYzuJzztLoE=; b=Qv+xovdIS3zZLoJ6WpQT8ar9Q1pmKopX9Y8SQFEDierINVCTE20AlPYsno30mQtvsy p88zGPAnqak5pn6KoG0Q24CqIP3EpxE3OuDmlEOgVFmfqyEkuCHSeTf+ttv+ntKR7EwD vuMdfRDi4XyS/XO/G1gZFUEITsXEqA+pG2xGfpThOM3Lb4Fv4leXB9GSqtaiok0NQc8P xC9WQdYH+ID2HjOfCzYoY73kHb36laZ/siXsMIX1zf5OCgOyGm9m55v96ovVRr5zlVjs S+E0qcWGZd6/NCqDq6Eu6Szp+Bb8GOWHt8yXU9KLjelCd6bFWqq/AKetAn3p7UAFnLez CisQ== X-Gm-Message-State: ANoB5pmyOkcmaHU+wiwuvL/m1UIs6GpCPGFDYHSWGJ9RBcRmyKOyu/uJ cBg97T/2DBtzF76+b05+kVqHdw== X-Google-Smtp-Source: AA0mqf78gNufDESI63xBT0OXkgK5q+oIHRL5k5sezvkAYFPs+9LRyevwa/SwNxXW4zade/BLrVoacg== X-Received: by 2002:adf:f94a:0:b0:236:6b51:73bc with SMTP id q10-20020adff94a000000b002366b5173bcmr13668630wrr.707.1668598809971; Wed, 16 Nov 2022 03:40:09 -0800 (PST) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id s3-20020adfecc3000000b0022e653f5abbsm14853105wro.69.2022.11.16.03.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 03:40:09 -0800 (PST) From: Abel Vesa To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski Cc: Bjorn Andersson , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: arm-smmu: Add compatible for SM8550 SoC Date: Wed, 16 Nov 2022 13:40:00 +0200 Message-Id: <20221116114001.2669003-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the SoC specific compatible for SM8550 implementing arm,mmu-500. Signed-off-by: Abel Vesa --- 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 9066e6df1ba1..9dea3686520b 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -47,6 +47,7 @@ properties: - qcom,sm8250-smmu-500 - qcom,sm8350-smmu-500 - qcom,sm8450-smmu-500 + - qcom,sm8550-smmu-500 - const: arm,mmu-500 - description: Qcom Adreno GPUs implementing "arm,smmu-v2" items: From patchwork Wed Nov 16 11:40:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 625183 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E23C5C4332F for ; Wed, 16 Nov 2022 11:52:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232764AbiKPLw2 (ORCPT ); Wed, 16 Nov 2022 06:52:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233109AbiKPLvi (ORCPT ); Wed, 16 Nov 2022 06:51:38 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95E5B450B2 for ; Wed, 16 Nov 2022 03:40:12 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id k8so29486598wrh.1 for ; Wed, 16 Nov 2022 03:40:12 -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=bagD2wG/tEqVv+fwLrRFVQIXkhW+1dP8Dy7b0v4+yP4=; b=GSfXcovFxxmq48049VENKozMm1XRH1dXYc7qwWXEuYEGDBJSF9XXUWCXlYUn5sSC/M cVKvCpE9qm5KzpRvWGLraOSzS9YOyqTgJWM5EtYfwlGYpWT+T95RcXO0K5Jjy1tqfpAl PY7A3UibDLIKCVoBQnOQjXdLY6kfaR36HVJ+jTShPbfqZDGIinCP29MIgXV0Nbhf17Sa kkkxQWXtgyPkZ3WMaB6vWLfM5I12Ule9IMWOt1cM37OwtWnMVFpaXJi8ZWkiCRQpYeqR sXVwNgI4n2ryknTfprg9KxRmWepN6JvuvkbN/nPhkfX7Tp14H9/kX5sFEMQjorJBHK+n evbg== 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=bagD2wG/tEqVv+fwLrRFVQIXkhW+1dP8Dy7b0v4+yP4=; b=KgsXbq2VBvb3iG1GLdvk4wuzv7/Nz9hB4NpC2ogo5AkOX3tXIOVqK3xScgqWqcihF2 GDBi6iTvOzkpYYk1G1Wjkejg94flaWWB1VMZoPye7I/b+x3NXrN/edOlfbacmeA7z9eG uLQXtNpzGGuNv7zveC5akblOSpg8stZI/qVrkedgIWGkzxo4szDtK2y+1V2+oSswDwP6 Eezw1w+ztSdNyCTl0kZpWlN53HBR1G2sVJKW8OgVoXwSSTPxaeNZwml/8XhbQAc8C/6j Q9I/5vfrQunOxPLdAcw8Xw8rCmmA4Mo31/VXiu7oDC+u+J/e96yLgEWsSXM+d/FGwOZ4 6qzw== X-Gm-Message-State: ANoB5pnuAEn2r+gFtsbO4Hhw1lHqnVAEaSXB3wRjjycGi91apgx0TNNn +7SSRg7LHUVV7j1xavliTYPt/A== X-Google-Smtp-Source: AA0mqf65x4qGluoqkqzEYj3Q+Z79ZsL6+koYZV0rIJ4jPW57+SBXB4lwo0hgXIIu12b7C1W2mTmcAg== X-Received: by 2002:a5d:4107:0:b0:22e:3e28:f8db with SMTP id l7-20020a5d4107000000b0022e3e28f8dbmr13864751wrp.380.1668598811092; Wed, 16 Nov 2022 03:40:11 -0800 (PST) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id s3-20020adfecc3000000b0022e653f5abbsm14853105wro.69.2022.11.16.03.40.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 03:40:10 -0800 (PST) From: Abel Vesa To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski Cc: Bjorn Andersson , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] iommu: arm-smmu-impl: Add SM8550 qcom iommu implementation Date: Wed, 16 Nov 2022 13:40:01 +0200 Message-Id: <20221116114001.2669003-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221116114001.2669003-1-abel.vesa@linaro.org> References: <20221116114001.2669003-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add SM8550 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8550 SoC Signed-off-by: Abel Vesa --- 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 b2708de25ea3..3a029f26642d 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -439,6 +439,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sm8250-smmu-500" }, { .compatible = "qcom,sm8350-smmu-500" }, { .compatible = "qcom,sm8450-smmu-500" }, + { .compatible = "qcom,sm8550-smmu-500" }, { } };