From patchwork Wed Nov 29 14:44:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13472954 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 6C7EDC4167B for ; Wed, 29 Nov 2023 14:45: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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C2FMC9p0OLRz1i+J/aC5IcV7w3lhuX3ZV6UhW3Wexvg=; b=B4Bhg+PqIH4/ak 1XnjJmQVisAnErD9nCAwojSUuI9OrZK6MYe1N2s4FuDFPrAyhL6kVZvwRyg7W5Eg8igKKeSGEOx3D za4iwjQgzV2u9d27eT1X0bbKh6g1k7/2DaPURBLzJIlrF+EeNW6k4M33gI/tH5F9dMsvtC1x5WR8/ DT1akSo4VY/f4AyMtbL9cF1UyOgNh1Il3RcNBN0xpTti0iuA8oOQnGoSdFsPjHeRcf6+WYXvcr+YU DAB5cfDOg2LdQl1TR3Gkrf2fDPJ8KkKme+JBn6dZ8VVKez80+g9q6t693lTRvcp8BCn9AeO3PyimL DHr2qZPF2bkjwOW3K7Nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8Lnp-008f1a-0a; Wed, 29 Nov 2023 14:44:37 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8Lne-008esr-27 for linux-arm-kernel@lists.infradead.org; Wed, 29 Nov 2023 14:44:27 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50bc4fe8158so1088768e87.0 for ; Wed, 29 Nov 2023 06:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701269064; x=1701873864; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=wo1sJJZHw7KBTaKmEN30ScvrIwX30d4f2jOhkPUqxBM=; b=pVRdSE/cPS7G7GItqjHO3eTWNxHCscklrg4hGyllGBLcqudY7DxO4OuzcsU2MQbZeP jxSFU6LjOmsa36FTBK6Wz0dYcU71z0kC/Vd1E0RX2WQITLXl0RXmjvS5S4uZzguUf0UX 256q0/F7z8QUnTsrCKY1MklQim7pxd+gYCZT9Zksz2J9eRLJkrxbURop7wuH2jawms6K 0iDSdQgWrX0wMoyE11//IidhcZmlO4HbbEPqWcDsAp+HslQAc/REn8lQgtIzw5n7ek4e /+qLaXMQZpDmRJKaNJrXAp2UAiryS1dvEk4xsJEhghe4DgOiro8YgW0yduo8cuHgo5B+ ophA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701269065; x=1701873865; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wo1sJJZHw7KBTaKmEN30ScvrIwX30d4f2jOhkPUqxBM=; b=obXA5MRiv5iU1oYltUw4jl6fkGT3uTU4LUNj8YJPFnl9r7gxafC/VGPrXOAjwAmvsn ZWGVCp5e0i1rRTpBl0Hx8nK4lpdbpNF9Urlc5NIAudpvhVlV/0DqA6ayLnY90XvTj8uu psWa8Z+kayjvcuH1Pf8VqD5k9VtAYJEu338gVKlz8N6TuCVh3zYtQiCBwU1nz+N80nDz vd/F27GL7YxrZ/rgkyULmjjd0DKbARgQFF1L00u8aaSVTOdeXiBt/bE73bG8qkQa3j4a cVHpyrlh2PPaPsB5U6nVyRIl0a6oteqjMhaQCQTlx7aUvEH+8fBi2Za2fdvBSQHy+FGj TuIA== X-Gm-Message-State: AOJu0YwzxTIgf9AJYi2qCta1xJSc7piOE7kYHbSWvxQve8NPe6/5rj4W 1RjFCWvCkLOzFFp3nvdg3SxmMg== X-Google-Smtp-Source: AGHT+IHIFF7EvttkvKqxTdo7EUCkiD1rO8UjhJ/NykBDp9vXAQKIDUWYvgiQY1lP0nrgP7lsgpW8vw== X-Received: by 2002:a05:6512:3d94:b0:507:9a66:3577 with SMTP id k20-20020a0565123d9400b005079a663577mr11819960lfv.5.1701269064766; Wed, 29 Nov 2023 06:44:24 -0800 (PST) Received: from [10.167.154.1] (178235187166.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.166]) by smtp.gmail.com with ESMTPSA id e27-20020a1709062c1b00b009fda627abd9sm7913738ejh.79.2023.11.29.06.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:44:24 -0800 (PST) From: Konrad Dybcio Date: Wed, 29 Nov 2023 15:44:02 +0100 Subject: [PATCH v3 05/12] iommu/arm-smmu-qcom: Add QCM2290 MDSS compatible MIME-Version: 1.0 Message-Id: <20231125-topic-rb1_feat-v3-5-4cbb567743bb@linaro.org> References: <20231125-topic-rb1_feat-v3-0-4cbb567743bb@linaro.org> In-Reply-To: <20231125-topic-rb1_feat-v3-0-4cbb567743bb@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Krishna Manikandan , Robert Marko , Das Srinagesh , cros-qcom-dts-watchers@chromium.org Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701269042; l=938; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ZKnU1eVaZSjTBiyHSPh2Tjy7o0Kv51jXq1kQ7e4q0JU=; b=0+UJnE/UFmA357lPZt/AVpOt+TH32uQu3LcDEhl3VCvws5BJst6hotge8OV/5/cQmoLRQIEVm h3sFcW4Ar/GDlhsMpOlDPsgg2azmr+u1A/lG/dy/MwcPNnwfEdJT2bg X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231129_064426_696242_EEFF04AC X-CRM114-Status: GOOD ( 10.48 ) 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 Add the QCM2290 MDSS compatible to clients compatible list, as it also needs the workarounds. Reviewed-by: Dmitry Baryshkov 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 549ae4dba3a6..aea5e85b20ff 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -245,6 +245,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,adreno" }, { .compatible = "qcom,mdp4" }, { .compatible = "qcom,mdss" }, + { .compatible = "qcom,qcm2290-mdss" }, { .compatible = "qcom,sc7180-mdss" }, { .compatible = "qcom,sc7180-mss-pil" }, { .compatible = "qcom,sc7280-mdss" },