Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4629001rwd; Tue, 30 May 2023 07:54:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4YPz6hPYmVcGtkPRH99Oq0LU7Tmt08C4lAV6vn8VU0JLjalDIOjK/hkI3wJXK+7A+c6ysv X-Received: by 2002:a05:6a20:3d81:b0:10c:b1b0:3ee3 with SMTP id s1-20020a056a203d8100b0010cb1b03ee3mr2688855pzi.21.1685458485159; Tue, 30 May 2023 07:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458485; cv=none; d=google.com; s=arc-20160816; b=McbAws9w/hqUAMMCr785kECOEez2keGVBJXyGE6TZVLOnr4s3oxtHi+KyeFLbWZF4O x6VBXWI2ZiErHA0+fjn4tS9X+hZFHx7sPrdQWrQ1qUuBbymIiZqh8d0XNzngLkHr0Bbd p/vp6GaMLA1bIvna0gRAY9ywpLqCslsMmpX5G3xBVGn2XWgm567cr2PxuqhKZhHvn5r4 oMmcyLvzlvRRWWKE0pecJEMzvao5Ja+ae0T8+hajhUdo/gdmJq6RkcKzlSyocyXN2x4i 9pg4HY5HKVJPPLVUSbuBgs3KlU2mn8t+iBAoSTFWH/3QIKEmkXwwCfHHF/0ST6/YL0au jIsw== 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=udNghephkvKhPZuJBjEix+UuL920fK/8W/QzTCO5Pcg=; b=e03GMY8ZJSGV9hnEuqa+mcUHEwrGLgEWcLSfWzdsBd7A7+LpYBZUA1M3LiOYzpwn5R R1CKsKg7exqWKAkvzR8y2dUeHgd22UOzxaIHksD4v3khRtI8HSENZJrXrU2NFMATvAhV QtV8FI2d2wxkUf80LPQsQDeOoHwmkczwiABhiC+4ndR4X89OGFIVycI1aIpuzDeSoWUp 3Y64BVsopwOyEc+EfTmxM2zDkEPEqR5EavpOpEFZcyf8O4LW3cFRHmW0R9gPzXQpJF12 ZUuxXeLGKYpSbc7omtueXz2fiG05P+3ww4zbOmepCz0ql6lBTVRBf9WCcvmIuyIFViCd aS2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=W+7ofkdd; 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 w2-20020aa79a02000000b0064d5f8d8434si1817494pfj.290.2023.05.30.07.54.32; Tue, 30 May 2023 07:54:45 -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=W+7ofkdd; 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 S231264AbjE3OuM (ORCPT + 99 others); Tue, 30 May 2023 10:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232806AbjE3OuI (ORCPT ); Tue, 30 May 2023 10:50:08 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E3BB8F for ; Tue, 30 May 2023 07:49:45 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f6042d610fso46958005e9.1 for ; Tue, 30 May 2023 07:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1685458181; x=1688050181; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=udNghephkvKhPZuJBjEix+UuL920fK/8W/QzTCO5Pcg=; b=W+7ofkddfcWJ06zeU0Da9XAhr+E4Vfz4rR3jL63NhJI+86PbNPD1NqbIUy2FS+9h4p jbzV2VPtF3LhpyKSiJWN5UqkQmx5LK2/wCHSuLL5wy2qILsQ4nDcgQkrmCwY9n1rrOIr GlDCNJ6jgx3+e7ql8RJFM9G1LgUfgjr4Io1MCLTwjyBw+1ngsJy1uKqsGnkhcZR9GmWr zEU8kIuY6sMgHKNnu7tYrkVtm3OlR9kxLlWmtLGGb2X4v9nNMQ1Gv1BCp0H9b/nDi0EH 4eY/QLB97/Jo6DF4CjJ/AToKbqAsAuxeydt6ifJBMflL9KnCYnQfLLB2LGwrvc2ZaVdG JLew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458181; x=1688050181; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=udNghephkvKhPZuJBjEix+UuL920fK/8W/QzTCO5Pcg=; b=EVKFYLybZ7PHn27eyq/jQ4wESjw5yp2UTpsampKqWMOwBEy7TRcyqcQG82lWmB6nkt F5nq4nVgFG5/uhsvzO78yByoBWtMzlUW6QlXnrDvdbTteXl4J+wmJg62k83qtllPl4RA 7rHOUWnWkpOScdGjh7N9QHu+gcJhIeTtozElTxGzq7Yyjyav7tF5I5af3G7ZGIpFkrWT PVdUcp/9AvA/0r6TLMD2vY9BXYsdDR1dKGIZJnWL5QHWtogPjPHypyw6sfXJt6XwEJHm 1pMs1YIY6qA4+Xtn/KLdpAL8Im8POygHjOIdmBdfE3Lb71F+ylB/vJhpJ8uACiw1c61m Ak7w== X-Gm-Message-State: AC+VfDwF9HlED1/8IF/1kjhn3EgSehtQ/5fGwFRkjF+LKdMEZJqCW9Pf 6/oefvawQPrJObJyHKP01e8/bSjgLuxV+xo0Gwo= X-Received: by 2002:a1c:790e:0:b0:3f6:72ec:5fc3 with SMTP id l14-20020a1c790e000000b003f672ec5fc3mr2087614wme.12.1685458181458; Tue, 30 May 2023 07:49:41 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:5bdd:98ce:604e:9cf0]) by smtp.gmail.com with ESMTPSA id t19-20020a7bc3d3000000b003f423508c6bsm17323488wmj.44.2023.05.30.07.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:49:41 -0700 (PDT) From: Bartosz Golaszewski To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Krzysztof Kozlowski Subject: [RESEND PATCH] dt-bindings: iommu: arm,smmu: enable clocks for sa8775p Adreno SMMU Date: Tue, 30 May 2023 16:49:31 +0200 Message-Id: <20230530144931.188900-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 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=ham 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 Acked-by: Krzysztof Kozlowski --- Resending with all IOMMU maintainers in CC. 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.39.2