Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp24396pxb; Tue, 12 Apr 2022 15:45:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7/3fL8x7Qu/RUscdED7jB6Jb7WBiFYSOLaophOIE2Ke2a0HAXAfs6V8fNr1DuOPIcNB7Q X-Received: by 2002:a17:902:7447:b0:158:2662:b8e2 with SMTP id e7-20020a170902744700b001582662b8e2mr22473207plt.54.1649803509518; Tue, 12 Apr 2022 15:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649803509; cv=none; d=google.com; s=arc-20160816; b=dmck8tM6xWxcq0KzpiRGsQYLYYdAdrb0mQunTM1W0Y0WSLi+mOX+AsciMklgvJeUWN 8yi1jF+yY1xWRnP9LboIAxdzKNpWUEP249L+XuMYXYl5Mv1L7A13u5LZ+Q4YorBiPHK3 O/L0+4gDyUksUbMJJj2Ey7Kuqn3kXb4q6ttyl/fZhfHLdEjSvMUSyU1coCOycu6iCKKS 2AE47qn+ZtbTptLXY0880kWcCOkmmObEkFQp6kb3q/Z8V5qx8APfCDtnZmzREgBupXr0 RmfObKGAgKLkzjN18m/GK2UlcKyx5BDREmxbDFNQcLPHFwpTBTFdR7RdFLbjzKW88+QV igGQ== 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:dkim-signature; bh=Qu3x8sdL450TLQDqbPVZSB+mpayh/+CyyZ7ypbjcaSU=; b=pJKBQ8mqG1wUFkQKySwKvUvSz4lCQ2bY3J22VfZQMbsWwPau2y1FYBbOPtOVdrBvp2 YWS06Jzk9G26pedtxuzjGApcIuZVA3EU59evMm4t7iYGkvLeHLJ1GLrE0SMY9Z8dCEEb hfxuCRSGODLGXAhIF/HfR068IZ4HajB4BTd8IKIvr5CXhWu8R5u3Mtj3GZgWBlW3uM6P B4aBUGVqA5jGfmtd5TKsItGaPeRTSAsPAlgW7ayujygn5Xzrue351CC8WUQ8+6QwgMJb UGnf4Jw8cYOubmXlYgoM3mxDLKz/6dYNO0HPrzrCGvLCcmzZtS0mDOe/3i/4Me8EVDNI C7WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r6cizZbL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k4-20020aa788c4000000b00505cdd19af1si6260733pff.51.2022.04.12.15.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:45:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r6cizZbL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9E9671B48D6; Tue, 12 Apr 2022 14:26:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357163AbiDLPYA (ORCPT + 99 others); Tue, 12 Apr 2022 11:24:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357051AbiDLPXt (ORCPT ); Tue, 12 Apr 2022 11:23:49 -0400 Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77D0F1CB16 for ; Tue, 12 Apr 2022 08:21:29 -0700 (PDT) Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-e2afb80550so9176344fac.1 for ; Tue, 12 Apr 2022 08:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Qu3x8sdL450TLQDqbPVZSB+mpayh/+CyyZ7ypbjcaSU=; b=r6cizZbLbT+19O9rXJANpT82cGCsvqn2fYt+NJUHZ8fWAx5bqrlJO1ag9v+NDtvUQF dgcyRF7V4pQ6a7huSydcAB2zpQZk8DNUK/w6mGMoFUUeotYHOYeGBOucp9BP+KopXz7r O2xrj9ulrpRv7XGAdFDjVmdcUgtCQQcxy92strzrfd68YVAGjofGmylhBoURLQjuD1D/ K7QretzqMAeumMbaAmOMG+age3q4DNJBSPh2Bu6J5lH3ChfrXR4DOZ+++4Pe2na04YJH dBjXX23PBn5/Kn3szYQOVTT+nCDJDBhpcIY4LO/cj9sRSW2GeCTIVQK95Qb2s8YHhm4i 7Tpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Qu3x8sdL450TLQDqbPVZSB+mpayh/+CyyZ7ypbjcaSU=; b=Zf/QZdF8oMJNmbfMAhRrCMVysoMB14ST4OD1QUdUhYj2F4d+QWV0fPuGLNQJqvffKh 1FprH0qqjdhrXkuxS/nFsKqCe41k0Fveld5PkL3fa01yfd7/j5Oek5tPHTj41yIaBI7y sUekx9PD1TmolyFi3rvFXXTxTfWBm20yUDjCBDutAuc+kcmWWCZk6gwHnCB0BsBlc7Pm 0xaKwoqJpeywwz34sZAvGk3BtHUA5cuQ1IdJ6FC/dz1id2BcCFn9omj6pgvKCsJYzOds loOv227G7aQd6+cc2rf5kGwqzQbQr7vCTZB9PktZ2DHPrySsNfJGlZU2Hf488dh/FdSn RU9A== X-Gm-Message-State: AOAM533QS0BaZQdMLeE1lwk5NUdewYZxdyHuNofd9ob2IELOBA3EZoOT We8FjVwFKuQarhaMxFNbN25EHw== X-Received: by 2002:a05:6870:e893:b0:e2:ecbc:e581 with SMTP id q19-20020a056870e89300b000e2ecbce581mr2203328oan.193.1649776888814; Tue, 12 Apr 2022 08:21:28 -0700 (PDT) Received: from ripper ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id n6-20020a9d6f06000000b005b266e43c92sm13460871otq.73.2022.04.12.08.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 08:21:27 -0700 (PDT) Date: Tue, 12 Apr 2022 08:23:42 -0700 From: Bjorn Andersson To: Krzysztof Kozlowski Cc: Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Viresh Kumar , Nishanth Menon , Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , "Rafael J. Wysocki" , Taniya Das , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [RFC PATCH v2 2/6] dt-bindings: opp: accept array of frequencies Message-ID: References: <20220411154347.491396-1-krzysztof.kozlowski@linaro.org> <20220411154347.491396-3-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220411154347.491396-3-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Mon 11 Apr 08:43 PDT 2022, Krzysztof Kozlowski wrote: > Devices might need to control several clocks when scaling the frequency > and voltage. Allow passing array of clock frequencies, similarly to the > voltages. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml > index 76c8acd981b3..1d7216008f95 100644 > --- a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml > +++ b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml > @@ -50,6 +50,14 @@ patternProperties: > property to uniquely identify the OPP nodes exists. Devices like power > domains must have another (implementation dependent) property. > > + This can be also an array of frequencies for each clock provided to the > + device. In such case value of 0 means the clock frequency should not > + be configured for given clock. > + minItems: 1 > + maxItems: 16 > + items: > + maxItems: 1 > + > opp-microvolt: > description: | > Voltage for the OPP > -- > 2.32.0 >