Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3947803rwe; Mon, 17 Apr 2023 06:04:30 -0700 (PDT) X-Google-Smtp-Source: AKy350aaxroPnTFfCPFRtFablGy4GPn49jhziajnDlAiQq+x3/BI2s0SV9KHgY9rzSAUXxnoVymY X-Received: by 2002:a05:6a00:8013:b0:63b:7489:f77 with SMTP id eg19-20020a056a00801300b0063b74890f77mr12832789pfb.0.1681736670619; Mon, 17 Apr 2023 06:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681736670; cv=none; d=google.com; s=arc-20160816; b=VlSsHkI22oCmS9AtQzwluZZz5G+4RqIfgspHZquUwtxhUvPJIKYfM+si9ZyDs/9wgM 47f4FnDLxEETFFhnM6mOPg2F0o1XCX09DPsxP/d2D5K1NUETMFcOADaaGEI4mF7BecOx mITQhDNvpOCS7Eu5MmnaS7y6qA6T4DnBz1LOwaDOdqKJTJpiGVE6aRwtmjgBaTxGOMDZ kP7OhEqQ0FUr9wtbucYmfydX7v8rAfN/EX1dlc86z3/VZqOc3QkDbwfkor5Q+XcfZEGB /PSfjCBT6/du5Q9vSVU5PHmNjFHZzASptAEFZM3Hn6ORInftvb3aB6lyxPRz3kovdCrU pNOg== 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=V6xOM6kW9d1XemumKm9ThuZAahqdk8FAknM6sfO+HnQ=; b=zDT1h57oZwh0qf84xWccnOTx6J5FAIW5L87aK9N2GqTpoZ1Il3H/3crlCCNO44NGAA XRNorObuRzpo7AjrqojA0cP45TVB7kwok2/Ns9ZeM8yIXkhWD1fOMOudCTKLgwkuipkN CaYiY0w2XWwwbk3ZxrclgpceCUj5LGjVQuuRdF76EoIOnd+BtwN1sxkEV/6c/Hni9NrW +wv+LXyJFVFYn7iVjwuGa52pBaXZ1GtEjsR5hK2UWCG3Uzzuo6KMism69+5RtU6SVgDN oYlfflOXzt4sAhiLi92MaTmInP+D7/RyF5x5xD9AXp6jdq515MRPVdh8wL6gJoN4Cbmu 99+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=G600gfdt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a634a53000000b0051b48085aaasi12032450pgl.858.2023.04.17.06.04.14; Mon, 17 Apr 2023 06:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=G600gfdt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231391AbjDQNDo (ORCPT + 99 others); Mon, 17 Apr 2023 09:03:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbjDQNDU (ORCPT ); Mon, 17 Apr 2023 09:03:20 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CD1033A53 for ; Mon, 17 Apr 2023 06:00:17 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f09b9ac51dso40240075e9.0 for ; Mon, 17 Apr 2023 06:00:17 -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=A/+jesoT4JC0KQdbu+Nk0Veohg6DZJacTf82Y2gzuL3Sa+2J7nYiQ/1CYQpBMck4Tp wstFw9eFqy+sFT+K3+yCkiLxkIXi9OGgx1h78YPWpcaNfwrSpPCO8H8p6VHLmoqaYwiO H2Zt9PDKDwKAtbt40RrXm7pCFFJdBlO/+8wsetiSZaeZz4wTta1xCWPfYEAAInbt7/Gm 5P8iUgc3T3HM8yABcYPvwpHbY1rHL8Vjl3eJQr6UUDnhe/wil29tl6KqL/GoKlWruWsB Erag0zRiwU36i6nkIDxUyd7xBmJo6+Wc67+q3yvfS9uwWTwyNsVyWIT+FRvc0lUHECJC C0Jg== X-Gm-Message-State: AAQBX9ffHP9SYcLjmeRndxd0BKJyf20kglgZueZHAzOyWO3A+KUJTuXP uLDX24PEoV5F1yqqKFg6BstD4g== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- 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 -- 2.37.2