From patchwork Thu Nov 17 09:44:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13046489 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 089F7C4332F for ; Thu, 17 Nov 2022 09:59:02 +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=kmOSsANCVKEbEc0p6UGCQvzXaWt/uiGW7lAxH5C0xhI=; b=eqdCgM79or7wT1 zfgWgfdrcFwiGowaHbU4NnD11dp3kx+/lMe5jW4CVlHQv0mvedp+tqs96svuOiMI/+XLbiXlvzu71 OeCYh7Y1Kvro/o91S74J5B6STFuTnDC2trS9fttdHAcDF7Jx5DEJafpjYaRfhFIvlPPZjamRtcADb Yt6nZf48aQI2eXMhUB9qgUoMn+FtYHV9WsSGIjfzId0JdbaAiD4quT07N6FE5ldDCff1zTAFwRyIC +vbg1esdGlUI0hKgTGSQYzaJvMWiMHvulHBZe1G41Tlx3NsaDFO12iKISghc7Zus8NzdKK0x66nK+ n9Xe9T/Kvn6ePyQXOUiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovbeL-00CKlm-Kg; Thu, 17 Nov 2022 09:57:38 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovbRj-00CCxA-P5 for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2022 09:44:37 +0000 Received: by mail-lf1-x131.google.com with SMTP id be13so1936067lfb.4 for ; Thu, 17 Nov 2022 01:44:34 -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=07jxP8RcYFdE+SSC8KiN//xkr0d7SR0+oxWGO499peQ=; b=LSZF9vPxP9SRCCRRlugy9ekXBT9pLaqSLEk4FXkTueoXWwiDMw19beV0kmm08vw7kR bwFK8Thq5hj8JJOUhxvARAOmaBPC6M5adxr3RPiQOQi080uZYk36NZ1j/Jl8dfD+DKDz qVYcDwazmdvFKb9sJjUuc/krbW8lWq61lMD6YxBmDTs7nO1eOzkJiWBJLgkzeJMfZDt0 7ll36P26rnm5q86x2O0TU67grttZJ1H1jkd71HOkir4oQq+tdXaNz6mfVIzmv3hVWKtB I+Giz3NUME+0SGNGMPx3WM/1Gez/T1gup38sDDvLb2Gt6HWiIOkjlzvAOUiLZMbxPno5 6JQg== 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=07jxP8RcYFdE+SSC8KiN//xkr0d7SR0+oxWGO499peQ=; b=A7v+ed6ei6xMMDcw2qBl2HJosFXF1/0x3GFp2p7lx7ypmAM6z4oYhHlrLwqcd2y+uK Vbm644ab1MPJj1uuXCYRJ3oqButlnB35kUx17KB8XQUR5kR0zLj8ILi5/vBJBb/ZuonH hP6COjUsXASdXncHNnF4QHycNprfumEqX+himNdDwH2Yyqzug7Pp2ySn+tbeXYkzE9Uq KcSKqBa8foFgmC4i0hKh9Lrj0rc5m7hHd4o/F8ZvVO9e6SKbwGga+X2Sz/aEIZqlG+wi MaVMSEVnEfozi65N6MQmna7MatAd1Nd45SOQ6XpxVZjUK2uanoyO4cF76X7hKTWaZD+S SvtA== X-Gm-Message-State: ANoB5plf1JothtdgKGJnTUETkrliVEPz707ZNBXxFqJVSyh12BTuqmRs 0pwZmJw7HrPbvSO5GYJ5IL4w2w== X-Google-Smtp-Source: AA0mqf7sxxHmLU3xjf1JZJdrXwApfX2dW3Xq6Qp0TygXefNSEF471QrQQDVzmNSY/KnTae89FV4c5Q== X-Received: by 2002:a19:e048:0:b0:499:af06:a77b with SMTP id g8-20020a19e048000000b00499af06a77bmr581604lfj.202.1668678273353; Thu, 17 Nov 2022 01:44:33 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id a23-20020a2eb557000000b002770f0a742bsm105312ljn.41.2022.11.17.01.44.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 17 Nov 2022 01:44:32 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Konrad Dybcio , Rob Clark , Emma Anholt , Vinod Koul , Sai Prakash Ranjan , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] iommu/arm-smmu-qcom: Add SM6350 SMMUv2 Date: Thu, 17 Nov 2022 10:44:22 +0100 Message-Id: <20221117094422.11000-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221117094422.11000-1-konrad.dybcio@linaro.org> References: <20221117094422.11000-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-20221117_014435_862169_5C26EEB9 X-CRM114-Status: GOOD ( 10.27 ) 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 SM6350 uses a qcom,smmu-v2-style SMMU just for Adreno and friends. Add a compatible for it. Signed-off-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 fd97db178696..fa84a69b9439 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -513,6 +513,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sdm845-smmu-500", .data = &sdm845_smmu_500_data }, { .compatible = "qcom,sm6115-smmu-500", .data = &qcom_smmu_500_impl0_data}, { .compatible = "qcom,sm6125-smmu-500", .data = &qcom_smmu_500_impl0_data }, + { .compatible = "qcom,sm6350-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,sm6350-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sm6375-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sm8150-smmu-500", .data = &qcom_smmu_500_impl0_data },