From patchwork Wed May 31 15:04:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13262425 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 F3AC6C77B7A for ; Wed, 31 May 2023 15:05:06 +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=yw7QENpEHaFozy7MPTF/SXalvuy8RqUrGSQi78K73N4=; b=UJ25YMVgN1knsG EWYJhQgINv9oUibc+dhfz7bexzbXOrOhRxTADVml5Ltwp4roi6lGnAhDXp33lMqMuPmyFtgZZ0XSV BO0Qu1fLUJmWGSUm6Mwxf/XxHhqVxryKrVQ8HE3sfYIZSCAdPa+Iba45NX3TFBTTBUniWQQJBrP3C 4J/1NDmbaBc+9MhTCpObffM/rho/7wwozYwFuiA0/ZKzsNn0LkzLLR218IXCo1/ahB8bJAfEpq50I jlqMx0jff0CKDDgWziuAl0V7rWNIEMfhl0y5J8om80wNHyt4gXxtaheA2+CMxbqp34guoXIAvkq5P ac4c4Rh1hm2CJEKx5z6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4NNV-000EGW-2Y; Wed, 31 May 2023 15:04:45 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4NNK-000ECc-30 for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2023 15:04:36 +0000 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4f3b5881734so6974859e87.0 for ; Wed, 31 May 2023 08:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685545471; x=1688137471; 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=RNLO4nYhnPqhn1ZR80So3i5u5QMBlsTPDRXJyuHPHdo=; b=IW4qp84ak6aVsS6ws9/7Pp8DqyEOrs+9UEeJvZNDjHNkRJK7ylKhyn9B4KH/8xtUuk cE91OGaDJx6+Zzq41GBxXXGz8LKhN80qTfwnbdmUIkeQ1bQKkcygFTXPriAqbveV9b+p a8hQWDqfha7UI+8c9SlmnWuMwoDlVmvIXxYbIzcNEnpyEED93dcAE7Wm+DTrplwjgKIr H6TKdN3632fu3RZGqhO8jPLMl37Th/dVXL07/DBVmJhHhH9YQ33k8I8iIWNj1GsTmDq8 q/jX+UzpY7Vob0ZUDOuS02PYbsKl490VO7GuET7mNmgbeU1rF10H4mCApe0jB///9/27 QuJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685545471; x=1688137471; 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=RNLO4nYhnPqhn1ZR80So3i5u5QMBlsTPDRXJyuHPHdo=; b=YqzvDWFf3gy87b9d4Frtq+CfhFbr7aS+mR6Qutm1cmBFPzjeBCwU6L1IWt3GYUiDQl Kkvv5ZCV8ug/mG+KEq8lprG/krv6FFJfnzP6iA5vEcyMKvZG0RsN0HPoc+K6NDZlkiIX Ci8RHP3bA9tKs0KpsKmWwNYSffS7Zjiq3ul+OpKECPY7rlPCTKQ/0JTgTld+E2N/Tj7C 3scmeEWBzGbZNHo43R1acKmDUVjLH6LgXH6MV+GNWc25Yn8c16BSEmidtNF9XCkNiTb9 YEWfp68M3LNNoqJWjNISqvEI7uIVWAlvlxkZnwCU45fqVCR99qZ938xdGdkFJ4bhTSoM TqxA== X-Gm-Message-State: AC+VfDwRWzuX0XD4RuZkacUictVtmBKPSO/XEGevNyPCELTBANXKiR1z AstzSWYiJOfEncJBKBAE67CK6w== X-Google-Smtp-Source: ACHHUZ6isPAGGyNErW2TVjyf8oGAklK5h/wCFAwLXiR8DWB6O0Ru3p8wOQXRM0yqKVFYFrkgCrZ/ug== X-Received: by 2002:a05:6512:3743:b0:4f2:7ce7:dcf3 with SMTP id a3-20020a056512374300b004f27ce7dcf3mr2862793lfs.17.1685545471043; Wed, 31 May 2023 08:04:31 -0700 (PDT) Received: from [192.168.1.101] (abyj77.neoplus.adsl.tpnet.pl. [83.9.29.77]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004f019d3eab4sm756325lfe.23.2023.05.31.08.04.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 08:04:30 -0700 (PDT) From: Konrad Dybcio Date: Wed, 31 May 2023 17:04:23 +0200 Subject: [PATCH 1/2] dt-bindings: arm-smmu: Add SM6375 GPU SMMU MIME-Version: 1.0 Message-Id: <20230531-topic-sm6375_gpusmmu-v1-1-860943894c71@linaro.org> References: <20230531-topic-sm6375_gpusmmu-v1-0-860943894c71@linaro.org> In-Reply-To: <20230531-topic-sm6375_gpusmmu-v1-0-860943894c71@linaro.org> To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson Cc: Marijn Suijten , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1685545468; l=1196; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=gJOlh+EMoLh8KOQ53iJ7hyFLc362lflmhqV5kwupSas=; b=XwOLMmcbcNw6AK7Mgvhj4n75W9cOGfnCWczMCWaASiSS8xGuTRrID/XD8y6uvnCtSaElXVUmf 0Guxw3Bd1nKAZP1Fh2z0QLkXI0IovjimDCL6++lgmi08X6H+GDD2kU7 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-20230531_080434_968349_A255014D X-CRM114-Status: GOOD ( 10.52 ) 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 SM6375 has a "Qualcomm SMMU V2" implementation for its GPU SMMU. It does not however qualify for the qcom,adreno-smmu compatible, as it can not do split pagetables. It consumes a single clock and a single genpd. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index ba677d401e24..aec9137713c9 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -29,6 +29,7 @@ properties: - qcom,msm8996-smmu-v2 - qcom,msm8998-smmu-v2 - qcom,sdm630-smmu-v2 + - qcom,sm6375-smmu-v2 - const: qcom,smmu-v2 - description: Qcom SoCs implementing "qcom,smmu-500" and "arm,mmu-500" @@ -267,6 +268,7 @@ allOf: enum: - qcom,msm8998-smmu-v2 - qcom,sdm630-smmu-v2 + - qcom,sm6375-smmu-v2 then: anyOf: - properties: