From patchwork Thu Jan 21 01:40:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 367803 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp226907jam; Wed, 20 Jan 2021 21:00:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7TNSF2dqBUmPyjQVNxYQbZ2WgEK23wr0MY3/UfcLYBGLwjBPNNiWeREjbt4ZxrnvKGw+m X-Received: by 2002:a17:906:e84:: with SMTP id p4mr8317445ejf.141.1611205255485; 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=OAhM6F5F/tllU7v5o57+xrVtd4E/B7d311x5aep0UrmwtOfMJWxc7L/HoP5XW+46Hc hG6821HCWdHz8/nzbWEYRbjytFgKFykx0qNCqQPUC3FtPhOULwl2UlecZKELJXx3poNC QzhSi2lCbYZWsIYjK24/EMDAdRcpIzfpzqYvMrUtLyfrrgk7GV3eaGKZDxNWhc8OamKE nHF0CkHfNd5kRpk7hXxx84NkY4VB8ipA/oGabGL6F80AtumDyKPBRRW46snGkBRXP7xh 4Fe387wAnoeaIBIstzLHVFqg3fjMlQMVQguYyqZiVH9SU0XfRaZWUdT7UJzdOw6+6cb1 T9hw== 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=mTIkLf8P7rQ1csosNj9MYUkt9q/vHpvdvB2piAeWYvg=; b=K5n1pMOf9cfbqE1J9kqBDjY4NlsO4+bcPkIYeSdgyNpy35wC3WYQlbFIIA05t/LKSs pUcKZsmjs6tOebk3Y1+OSjYySGmFsownlZ7XY+fRlYXK81HzWHI3iUwli/wQwIchHPqm 3Wmhupv23FqKgg21dx+PrQu5z+xLdU5LgkFFcef8Va2GGWWcsViWJKj7Sc/KIodLb0zR 3jLUjf9RITNUoJzn1Wqa5KrOWlFcvk93uFLBXCImEvKtqSVGB8S2d/sl1XNb3Jx2upYT TtbqUCuZyitQW25L3vTX08SgiVuTSrzIhZR4Yp229mEYX1zjdtGR60jpndAgdaD9S7dn Aq6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vhLT4V2H; 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.55; 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=vhLT4V2H; 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 S1727443AbhAUDvt (ORCPT + 6 others); Wed, 20 Jan 2021 22:51:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392230AbhAUBkj (ORCPT ); Wed, 20 Jan 2021 20:40:39 -0500 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3A0AC0613CF for ; Wed, 20 Jan 2021 17:39:58 -0800 (PST) Received: by mail-ot1-x330.google.com with SMTP id v1so151918ott.10 for ; Wed, 20 Jan 2021 17:39:58 -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:mime-version :content-transfer-encoding; bh=mTIkLf8P7rQ1csosNj9MYUkt9q/vHpvdvB2piAeWYvg=; b=vhLT4V2HYiuaF9zhU4e6fcDxilz0aj429uzh1g2Z6NkymbGcO+tJxJ861jlAOraYgr DCBG0R+yHMznzEVyIEe5pJpX6Yf1qSAK4BMdj2ZE0FzGXeo+UVxwF7yxjyRpBb8V2BaD n1IuRU/tqoyintLDZsJJyqM4jXlSuScmngjD3uBy6lTfI/V+8gHCi+fI+BsM983KXLcx DT9Z/NIAjkD/GgVuLNFd91mwNaQFxD4B2fSqm+kPbwMrDvdspRZn4vvhyz3kCvALApYz Nv06cvwlyydo5TqGIAXlEWo/ENmJY/xfEfHhlPcInADzxx4OsHkxPsWqgpOxzQYCDj8y l+ng== 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:mime-version :content-transfer-encoding; bh=mTIkLf8P7rQ1csosNj9MYUkt9q/vHpvdvB2piAeWYvg=; b=MVMKHQnyPcvzm34l0Q6V5DX5jeY4xciZFqKPo916deF7VGtvuy1HffERbLayLV7S+W hqz1Ul4TPNuYbRJX9zZqiw2yWDq5OPHvLqWoz24q37UTf/oJKfA0XtpBDfVvVq7QwCES 3xU4uipMsXKd9JudqCMUqImjz59R+DtDUS2D+4tV1EHwISnNpByKDjTWIB0jE4lyn10o YMYJuRSH/8Q0FEr45PBBXkcgCV89+pQTkCByU0YHv+UrFo+p0fDn5TECHJSA3ZRLVr89 7ifW/AvsX3hWnfsF/TvaSVGddoZz0jbVhJu+rNQ03lK/IGzPpSUzJhuAzO9x9YZxGHuP /NOA== X-Gm-Message-State: AOAM5317IK5/TYcbzoDXElMMoKm8GgiW8E/4/XlwbSGBr/SZgSNaokI6 hzjg2b9N2Ff4qxjhwvPWg9N0tF6WGhdwJg== X-Received: by 2002:a9d:688:: with SMTP id 8mr2431369otx.22.1611193198020; Wed, 20 Jan 2021 17:39:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 17:39:57 -0800 (PST) From: Bjorn Andersson To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring Cc: 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-qcom: Add Qualcomm SC8180X compatible Date: Wed, 20 Jan 2021 17:40:04 -0800 Message-Id: <20210121014005.1612382-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add compatible for the ARM SMMU found in the Qualcomm SC8180x platform. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 3b63f2ae24db..c50198e17d52 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -34,6 +34,7 @@ properties: items: - enum: - qcom,sc7180-smmu-500 + - qcom,sc8180x-smmu-500 - qcom,sdm845-smmu-500 - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 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" },