From patchwork Mon Apr 17 12:58:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 673980 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 971A7C77B76 for ; Mon, 17 Apr 2023 13:03:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230237AbjDQNDq (ORCPT ); Mon, 17 Apr 2023 09:03:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbjDQNDW (ORCPT ); Mon, 17 Apr 2023 09:03:22 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D6EB33A5F for ; Mon, 17 Apr 2023 06:00:24 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f0aabd1040so40261315e9.1 for ; Mon, 17 Apr 2023 06:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681736332; x=1684328332; 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=V6xOM6kW9d1XemumKm9ThuZAahqdk8FAknM6sfO+HnQ=; b=G600gfdtoGISreZKazkE37aq+n8EEUqdVz7LzsyES/+fkHWF1p+uAwyCSqp4go1RXe mLgSAnD7FA/vciOznmp3jJ4IDHVxm6mUO7tuyFoqdgteLc52L0mz7JR374stocYtad5a 9rtKbOFG1pz4B+ZUgSZHJVxP1Uo+esZRTlwNeREiDHRgGwuDyzI9e7fda5YpD4KhrRo+ b6Mx911aUatpwQXbpXQTLV0ugD1CHsNyDOPZqn1ExvQQv9P7N0WtwOqB6y0oT0SXchoD wrdqls4pnKetQCnQnF1djR7x6rOrhwd6ZjhbuIp9yEC0YS0XcDP+lT2aGLa45r0ch3rU ieZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681736332; x=1684328332; 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=V6xOM6kW9d1XemumKm9ThuZAahqdk8FAknM6sfO+HnQ=; b=i61BS3dwu4X+teLQqGOoroAS6CasJFVVHROG+z40GE9ReSyrTx5F56HV5Rt4C74Jo9 PaPLOIaoCShh03KzdwJKBjat1RHbRJdoEZ1ZPcifusFb1/OmwYLz7QFbOdg5bFq24Ekq g6kPDqcIVDH5rAmZfVvgUSOosa/gkauQzKovDXn9ySwDILosXp+H9P7dZBPdb0O+UL+7 c1MgUS0NUj2TAfhs0mb59ibEJbl1OXM63B4NW7jBGs72GviD1xZfXAgBfhA0Nhk5hgZy c5+qrpxrRwBrHMVQS+nvW71Nt5hQRFl4N4gGxe9YBJr7OntCu48zmhm6uu6l7JCV05Wu 0q3A== X-Gm-Message-State: AAQBX9fdkJXhTb4sDsRyRQLACk+aTLjjxj1PCu//1NhhAIHo9jckK8Fd o6WXmFNkPPheB7LRGHUBGyUPYQ== X-Google-Smtp-Source: AKy350aHV3rB33KJYxoRPuAbvtOioyLe8bzk18K+L5Pq4TM/y0gQtT6KxZ1jjnt5n9/dT0+9+jdhdQ== X-Received: by 2002:a05:6000:1b8c:b0:2f8:33bd:a170 with SMTP id r12-20020a0560001b8c00b002f833bda170mr6347571wru.32.1681736332450; Mon, 17 Apr 2023 05:58:52 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:374a:ffae:fd26:4893]) by smtp.gmail.com with ESMTPSA id v21-20020a05600c471500b003ef5bb63f13sm15557546wmo.10.2023.04.17.05.58.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 05:58:52 -0700 (PDT) From: Bartosz Golaszewski To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Arnd Bergmann Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski Subject: [PATCH v4 4/5] dt-bindings: iommu: arm,smmu: enable clocks for sa8775p Adreno SMMU Date: Mon, 17 Apr 2023 14:58:43 +0200 Message-Id: <20230417125844.400782-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230417125844.400782-1-brgl@bgdev.pl> References: <20230417125844.400782-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Bartosz Golaszewski The GPU SMMU will require the clocks property to be set so put the relevant compatible into the adreno if-then block. Signed-off-by: Bartosz Golaszewski Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index ba677d401e24..53bed0160be8 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -79,6 +79,7 @@ properties: - description: Qcom Adreno GPUs implementing "qcom,smmu-500" and "arm,mmu-500" items: - enum: + - qcom,sa8775p-smmu-500 - qcom,sc7280-smmu-500 - qcom,sm6115-smmu-500 - qcom,sm6125-smmu-500 @@ -331,7 +332,9 @@ allOf: properties: compatible: contains: - const: qcom,sc7280-smmu-500 + enum: + - qcom,sa8775p-smmu-500 + - qcom,sc7280-smmu-500 then: properties: clock-names: @@ -413,7 +416,6 @@ allOf: - nvidia,smmu-500 - qcom,qcm2290-smmu-500 - qcom,qdu1000-smmu-500 - - qcom,sa8775p-smmu-500 - qcom,sc7180-smmu-500 - qcom,sc8180x-smmu-500 - qcom,sc8280xp-smmu-500