Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp647174rwb; Fri, 13 Jan 2023 02:24:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXvCX0lxEIhxG1khCMvdLpqFk1Lp0QPyqF5Bpkq2omIHsBw/FvCgD+/W/YjjISRZq/CeV/bi X-Received: by 2002:a17:907:6f17:b0:7c1:5019:50c6 with SMTP id sy23-20020a1709076f1700b007c1501950c6mr5474930ejc.72.1673605446593; Fri, 13 Jan 2023 02:24:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673605446; cv=none; d=google.com; s=arc-20160816; b=wNUPHIF1JwhfgEK7WOowOq02N8/K3Zl6oOZaKUQDluaK1/KfOtj4RDf9uDO4jM2HsU ny7EoVWrVNlrNpcCM3a0pt1r35YZMVA3Vjsb653GgqlIIH0YrJShXFzOM5NgcQCiWypp WsO9Ep5m/5DgSbrj65q/4DGQMGlpLbK+BciuvV/lRR0n0koOZWc9ZP9aBU0CSS99lWee bic67absV9BlTNqTt3My0GsbPQQrHjb65zbCUMRyEKGhoSyi8SE8CIEdmYrlLxRG/D42 85cwHLnwae+a/O+em4PHLq1+2zVSTyzsGoWgxEZcDXXrcM41eadpFjnwfnaTgkefhHTg wfzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=l18GNelmIX4xxA1qgaZ1IyzBR18FTT3+0mMjQPOz8cE=; b=o2aMcdq3p5O/+aLvEkoWviqJAet+sHlaEcOJE7OnqXEgk32QMaUWoDu6dqmEn0aNr8 1cBXryiM0D+p4xRk/760qlBVl4mG7KL682cu5UfJD6h8G9IGPwt285SGu9m8mF5QVgrQ 45F3CwJc91+l4KuPBYsmpLBAOkIJfWaxgWzPwUrybQOinUqzp7ZV3btMpIgE+n44ctUn J+qAbZKISUrXrE0r5Cl5txDL1v848tAlATmQSieJXR+molJuIWeLDiASnEpT7zSuX0DL zcJMj3lgtpabpxF1SipbqNtMmF5eUPTVbPrlRQSDPXWVSH8/+wDTjWo/Rpj0XMrG5xnP oFlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MclVWFbX; 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 xi5-20020a170906dac500b007ae1874c142si20901138ejb.446.2023.01.13.02.23.53; Fri, 13 Jan 2023 02:24:06 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MclVWFbX; 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 S241130AbjAMJzY (ORCPT + 51 others); Fri, 13 Jan 2023 04:55:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240834AbjAMJy5 (ORCPT ); Fri, 13 Jan 2023 04:54:57 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D735BBE; Fri, 13 Jan 2023 01:50:54 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9932061136; Fri, 13 Jan 2023 09:50:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4509C433D2; Fri, 13 Jan 2023 09:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673603453; bh=NYX/34PPDvETDVkL0+RT3Jnvul+RxVMdywKfKz+QCKQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MclVWFbXvTmpZ0EstEsimrOPF2g0T52j4hpbGpu9LICWLKXHpXv/BokGXhfvZB2rs uaIfD3+YecOr2Sk/3ioTBf6xvVEdfAb2kpnEQ8lFpUcVlwaxyHA4wJmwDJ//sM0Yxm +xyKWo/albG2N9OOux+Y+w8yGELShyEhFIXP+nH9e0QtwTOspqs5HFC5bXZpAMMcw3 k5+ZUZOstIsBj7mKTn71fSE17R0TfS0yPY38Y+7uLWvZ4ydqp3IiP5RAlfZ15A8nzF 3yC8IOS7iKsauiXZKRDTXWxrwQUSjZ8tAfLG50Lcv+f2pqLq0OYNd5axoU140OTSXY aIesdkWCsTBuA== Date: Fri, 13 Jan 2023 09:50:47 +0000 From: Will Deacon To: Krzysztof Kozlowski Cc: Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , Dmitry Baryshkov , Konrad Dybcio Subject: Re: [PATCH] dt-bindings: arm-smmu: disallow clocks when not used Message-ID: <20230113095046.GB12235@willie-the-truck> 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: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Thu, Jan 12, 2023 at 02:53:20PM +0100, Krzysztof Kozlowski wrote: > On 22/12/2022 10:23, 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 > > > > --- > > Will, Robin, Joerg, > > Anyone willing to pick up this patch? Sure, I'll do an SMMU bindings pass shortly for 6.3 Will