Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12559884rwl; Tue, 3 Jan 2023 16:49:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXt56xSuHeqxpLn5nubYdjntJU9wlp0/DnTZRMaslD0es99iRqpX8GA/CjzvPiBvbVkuhe7i X-Received: by 2002:a17:902:6bc6:b0:192:c36c:f115 with SMTP id m6-20020a1709026bc600b00192c36cf115mr9808301plt.66.1672793388825; Tue, 03 Jan 2023 16:49:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672793388; cv=none; d=google.com; s=arc-20160816; b=OjXqOfxwBf6yZU/mQNAH99Uuo7/zoaWCiViXk2F/HG/C59nwKJhedAREiUICFMn1Wk p0IsGeID4HIn85zPKN3SLWp3rxjocVuNBgjWg2kLElrjwjLjzYjg+vmpYrS48K+OCVJv RmVTLfJl+V6Hl18yMTROQlsxgXQXQujjjNN3/kSZ2snLACqUfGzXxhLJFyqvw2tRxV3x F2mFIdae5XoFPH4lvVbEnhFnyVqSX4D16ArZdsc54OdaPbLqScZJQGePDZ9lQEI73HoB lbxZNJgqZIOnNYoTz4ZBhyeg1L5oY8YK35RSRHnJMwUsU3NGp8fz/GzBzV6J2hYLFTBF ycCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=V83unu/dgWIOer+77hb9Z8kEGKWwgriIpRWxhsjKe3Y=; b=LvE7FNq6PGHDqzgLFBhAddXPTzOyr3QCbuBENip4jGCLDK+6khcXbCit6snqiFfEjn 4dO4FpkR2XaVpU7a28f233A5H161AlHW+CaHaJvMzR+WKSerZ9Zsl62BgJ3A2o0+UHYe zj2U8BLdfpqi8GS2gGrdhWs28EZXYl9MupaHhyww0dnmsSimvi1pNilhH94V5CcwubVm YBTmde22/fRGp//ZKPb7FEj4yuGHH9BSiEVflBJjaFAZmBCzhvOP6xvYWcJbicdIK1g7 jDZhg73jn4+QcgnRxbhUj/mJeNBdSUK0QXfySiLT0czUTPf2a9Dg2I2aIkiUv+rG7UFA deKA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j4-20020a170902c3c400b001867ea919bdsi31790150plj.25.2023.01.03.16.49.41; Tue, 03 Jan 2023 16:49:48 -0800 (PST) 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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233860AbjADAUc (ORCPT + 57 others); Tue, 3 Jan 2023 19:20:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbjADAU2 (ORCPT ); Tue, 3 Jan 2023 19:20:28 -0500 Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3DE2FD30; Tue, 3 Jan 2023 16:20:27 -0800 (PST) Received: by mail-io1-f41.google.com with SMTP id q190so17408823iod.10; Tue, 03 Jan 2023 16:20:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=V83unu/dgWIOer+77hb9Z8kEGKWwgriIpRWxhsjKe3Y=; b=KJV6oyUKFr4fvwiJ6boDWd6Q8ezh0m9VgyDuEmL5e4QYVZ+cxwFjOE+SuWBTVqeqEM QT+uxw0XyCA5HnSBzAIucbHG38PPMymhklcvm8UUjmlWmOy+hzCsLaZJbaJnavwP6wm4 3E395wWx5KNy5yE3eGi6dXBnvm95t6N0ziw51OTa3thtRlNchQ8J98K7cqRuNece4F/4 NYl5gzXmL8pZAowtnSBDeo41Vhh//Y/bcWXKPXEHWkJwM0XjHhj2jbWB7u6cwKq30zAc WzewTAkkw1a4Gpi4wLN1HuHl+28SJzyBBeqQZD10sRhLusvar7S6AAC8VZYRZKBPF7YG i8mQ== X-Gm-Message-State: AFqh2kpWGsxNBUWfokargWfW615IRvskX8yM4kSCmEyeooQlMpL8Ei7d VIASLzq2kSoUz5WJEwzqmg== X-Received: by 2002:a5e:9204:0:b0:6e0:27a2:1768 with SMTP id y4-20020a5e9204000000b006e027a21768mr30210378iop.18.1672791627051; Tue, 03 Jan 2023 16:20:27 -0800 (PST) Received: from robh_at_kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id r5-20020a0566022b8500b006e01740c3b6sm12154582iov.2.2023.01.03.16.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 16:20:26 -0800 (PST) Received: (nullmailer pid 131563 invoked by uid 1000); Wed, 04 Jan 2023 00:20:24 -0000 Date: Tue, 3 Jan 2023 18:20:24 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, Joerg Roedel , Robin Murphy , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , iommu@lists.linux.dev, Marijn Suijten , Konrad Dybcio , devicetree@vger.kernel.org, Dmitry Baryshkov , Rob Herring , Will Deacon Subject: Re: [PATCH] dt-bindings: arm-smmu: disallow clocks when not used Message-ID: <167279162395.131504.15364556098341067594.robh@kernel.org> References: <20221222092355.74586-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221222092355.74586-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Thu, 22 Dec 2022 10:23:55 +0100, Krzysztof Kozlowski wrote: > Disallow clocks for variants other than: > 1. SMMUs with platform-specific compatibles which list explicit clocks > and clock-names, > 2. SMMUs using only generic compatibles, e.g. arm,mmu-500, which have a > variable clocks on different implementations. > > This requires such variants with platform-specific compatible, to > explicitly list the clocks or omit them, making the binding more > constraint. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Cc: Marijn Suijten > Cc: Dmitry Baryshkov > Cc: Konrad Dybcio > --- > .../devicetree/bindings/iommu/arm,smmu.yaml | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > Acked-by: Rob Herring