From patchwork Thu Jan 21 01:40:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 367802 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp226899jam; Wed, 20 Jan 2021 21:00:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHrkrhW8EF1IwiDnLmXT5JnVqvA06rPkeNsD1GtgkbROl2KARuD98Njz2hRYXlIlL0SQWf X-Received: by 2002:aa7:c849:: with SMTP id g9mr9574397edt.48.1611205255145; Wed, 20 Jan 2021 21:00:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611205255; cv=none; d=google.com; s=arc-20160816; b=wlZqoFWfTpg8jwP58zLx42lHfcQ7QLYCq4Z4w5oGNlhDqzlTUO+ketla1Fr3t0azI1 oLCaHBXdufwN9ewrHXK6MlGuCXzc8ALFdIqoKxPpJRIoiiqzkfaHeT+AykYPwQ49Hibp 0hYrgTUAZ63yR2T3QSDjue/KRrKDPezAlSSdHwX9yYYr9EDl/I356tztO65gRfbvds2e J7viddriweWQS2DgX2X68j9TU1m3F20TCkEL7KGECpQ9DCbHirHFoFubSX80/5d2cJ0d FgaUuAnmHv/Aa7c4MDXbTEhu9OwTLp95jbTZpww7att7HFJVs1F6n8i+SMRvUhy+vGmb RFbg== 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=OzybDX/Xt3GwRPQyEqB7XUFKbLslFfqKE8yCIx/zRK0=; b=sjJ5eN/fmdxjPWGLsIAq9863HbxhpQzpwlGrEJD+Vthht8izw+pHI+Iub1P3N3MWVb 9nBgvr/nyVmmpT7nSPjl/0rVlgI0dL+77YbztyhvHlE8IJ/bNI3QryFXUmX9PWoQ8/k0 KkVCACePbvY3Ktd1ZvaoK/Ie4YMaeXLG2BV0BggCQcUBXxDj8eMIZA/LRY2UU4eT+Yfs W0ngU2xUnHK3TdWKZcOX1t2UChS5W8SJ/66+Fsca14oGHQlhThOU/oKAHdKDgLk9w19I +VhpQsOG9ho4uhXgavTMatwdu0yhqgqpSb7d6JhXOicsR/SLYjWvub9xCEtlOOpK+ya2 HaTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ic4hbBuN; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si1761687edw.550.2021.01.20.21.00.54; Wed, 20 Jan 2021 21:00:55 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=Ic4hbBuN; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727908AbhAUDvv (ORCPT + 6 others); Wed, 20 Jan 2021 22:51:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727385AbhAUBlk (ORCPT ); Wed, 20 Jan 2021 20:41:40 -0500 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A337EC0613ED for ; Wed, 20 Jan 2021 17:39:59 -0800 (PST) Received: by mail-ot1-x32d.google.com with SMTP id i20so163239otl.7 for ; Wed, 20 Jan 2021 17:39:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OzybDX/Xt3GwRPQyEqB7XUFKbLslFfqKE8yCIx/zRK0=; b=Ic4hbBuNyAhH77UympHAdRhVtmjkRRK7AuwrbOo083hrfT222pag7ZdAcjU+coGOBG SegTBROdZyDXrIHKHPpD7OKNSP+S2Bp8aEu3r2C5bIpaSoi3+BbvZqAgaTsA/nHcFFxD hGqfU772nEHnlswa5nwbY1oEB7toAR0dr3ZS9LQDqFVqehrYakJD18wdgS7RmbiBmo6n 3VmR8dzHxAkcx5IqcyKmmutDJnRDm8A3fV4luzraAFmRJGNrE4B5OhpfhEbsw/7atDVd O5evtHnFyC8CjcgSrcdi7mEtyHgvThZxqzHvTpSx1VAAjl/9QRQ1Xcgd+gg0T/JjUX8F A+yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OzybDX/Xt3GwRPQyEqB7XUFKbLslFfqKE8yCIx/zRK0=; b=TMra6RgUEZEtDvipAdFMjayowSr6Iy5CxhHtdlDj1h5XcAp8cHar2fvOX+OSq3k62Q eA915KFVHzzLHYziGzrzgQMsK7AB9KaI2sIUZW6SA8OwvvunoXh6BQMxivsjMKsuWhRw +6H5h6J6QlDblCqXWXqaIumPxAsFeTQfFp5xzaVXFoaj6ZQkKyroC85EfqamjlnFXX9I yy+UZVB8H+wXnq9/0Ngu9bO3NlImyWX5yMwFZ0OYvtbKjXe98mGZBhPvHhUjX1nWU8t3 3kIYy4HIA4aSS/VxoL1ZGXgYoH+TdXkimPfuA8zagMCZAJQ2I6AYXCDZ8xcW5R6dPQ/q xLbg== X-Gm-Message-State: AOAM530t17x+PZze//R7wco0kcPwVVaubkgv7RWQfsoJId5JEKdaLfOs WHAsIQSwV8lUKjXMDT5bM6mggw== X-Received: by 2002:a9d:84d:: with SMTP id 71mr8916828oty.338.1611193199082; Wed, 20 Jan 2021 17:39:59 -0800 (PST) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id s2sm729597oov.35.2021.01.20.17.39.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 17:39:58 -0800 (PST) From: Bjorn Andersson To: Will Deacon , Robin Murphy , Joerg Roedel Cc: 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-qcom: Add Qualcomm SC8180X impl Date: Wed, 20 Jan 2021 17:40:05 -0800 Message-Id: <20210121014005.1612382-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121014005.1612382-1-bjorn.andersson@linaro.org> References: <20210121014005.1612382-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The primary SMMU found in Qualcomm SC8180X platform needs to use the Qualcomm implementation, so add a specific compatible for this. Signed-off-by: Bjorn Andersson --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.29.2 diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index bcda17012aee..82c7edc6e025 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -166,6 +166,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,mdss" }, { .compatible = "qcom,sc7180-mdss" }, { .compatible = "qcom,sc7180-mss-pil" }, + { .compatible = "qcom,sc8180x-mdss" }, { .compatible = "qcom,sdm845-mdss" }, { .compatible = "qcom,sdm845-mss-pil" }, { } @@ -327,6 +328,7 @@ static struct arm_smmu_device *qcom_smmu_create(struct arm_smmu_device *smmu, static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,msm8998-smmu-v2" }, { .compatible = "qcom,sc7180-smmu-500" }, + { .compatible = "qcom,sc8180x-smmu-500" }, { .compatible = "qcom,sdm630-smmu-v2" }, { .compatible = "qcom,sdm845-smmu-500" }, { .compatible = "qcom,sm8150-smmu-500" },