Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp794059pxb; Tue, 12 Apr 2022 13:38:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYnU4/GIBxtdc6+oqFXji1zaAmN82haUzSTCo3p6o4JKI88LCbwBKHctei9UziGipTrR5A X-Received: by 2002:a05:6a00:1796:b0:505:c04a:999f with SMTP id s22-20020a056a00179600b00505c04a999fmr12294255pfg.10.1649795923344; Tue, 12 Apr 2022 13:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649795923; cv=none; d=google.com; s=arc-20160816; b=NQLog5HKTsse42e2SUIOqnXwnNOixbcMuNz3chXccEjKzdv6VXMLudF9GmOifv7TGu 9qIiXUWNGV9xoQLTbD6y9gi6aXbzIeYIjbrhC/x9MfWmNwxBWFreXs8IuAFErQ4nhf1u Vun9fCF2UNrJ7gvIUeeJek5JyzizJataInf9l8gxkaAIakXqb9lMylhBIPWwfs5ENktP XzFJxttrJXZH0NK/An9qWrufcw0t1Z7JbOi33n/y5NK4kXg8nIfspCwE1FMl0z7uY2h0 fsM0hMJ39JmDEGavuxIsF3HBkBKGrzad55kz8mPZ0ueYB7soV8iZaLF3bUCK15cEs++3 emFw== 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=K/VH4iXX/HSvKxY6FnWRf9tFEMBnPZdBMAJ6em5xnqg=; b=hj1H7Tpd5Jz6Q/WWP56bOgsTkYi80orn5FJ8DfV0qU/U6zQK3J5v2OQHW5bm5T+8hK g6K70g4sYicmfIA3VL81QxWIitEhH5o7mMRIRSHgXg4NvEi5KPGUMtzMcXtzXY2NsVbk In426Cz3+VvCXZWKSaeNIFE4Era5r5Kdyu9bK44zr1x3+/dQ3dh00dYnX6j8Kv8cH25r t5cteahUVgkM7TX/p8pIZ5HRyLDo1Q06K07UF4aSoUeRrY36mY8yvxfouWEGoSQdz19p /VgIOGPvQ6Jmy81rWOKobs8lwYtBJ8Klc+67Ud+FQk+Ym3KUD3b+H+183K7n9lFsKFkN mewA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UGGTSUjS; 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 h2-20020a056a001a4200b004fa8f507068si13220132pfv.96.2022.04.12.13.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 13:38:43 -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=UGGTSUjS; 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2DD35B1ABE; Tue, 12 Apr 2022 13:12:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347773AbiDKPqk (ORCPT + 99 others); Mon, 11 Apr 2022 11:46:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348169AbiDKPqY (ORCPT ); Mon, 11 Apr 2022 11:46:24 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33900272D for ; Mon, 11 Apr 2022 08:44:08 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id g18so6797701ejc.10 for ; Mon, 11 Apr 2022 08:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K/VH4iXX/HSvKxY6FnWRf9tFEMBnPZdBMAJ6em5xnqg=; b=UGGTSUjSAL9NJgQLtybygrDJb4vXO3cNduQvPayzRK+bZW0CJAg/czgJYYpwUkCkz/ g2sVarYA4gjU4dM3pX/7gZQJJV0Rf3mP673DCCsOSXT2a5wv0OR+lDBY9UIbgVk5fPEj Hmj11yCdw1n7nlh2Iptx3Bjw3oUf27qh5v2nVFKVdT/bcBzwz9jxxJMW1goeUwzgyVa6 y8+HnYKi19tDgn18Vk6ieukuQVPeLbijXrNeTGVZNoCKcKPqFQbTUD3bGT/6AxqcrEyj n/nv/lqpTOcTxkcfHs6oaiA3R65VSov7sb/iBdypQzoO4eb+tGYdvmQt4gF5v0KXsvjD Grbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K/VH4iXX/HSvKxY6FnWRf9tFEMBnPZdBMAJ6em5xnqg=; b=Dwh92ZcZ5CTglfwl2aR/KywE8r82LNumwSjzlSZtWRzASUv0kjEtw6A2wcNTjiXDnE ksQvkKC9gfZ5hM2QLWiBQhjDtFRG8Z0u/0wgJ/eiMvzDykvPBVqxSvgwmzkHoYZMXoD+ 1hInN9JoUf+Gx7v1Dhi+plnNnkGNdzgk3SXoRTMNE58jJDvXdgNfv7i5REMhRUcj+ncQ 6xIsQWdDd7klhplqMpHl4hT6QSyh9Nn9+OrJxvuCma32zLcMtOghgsNxTpaTskKWxm3C URfx489ijcKQ03T10T2OuOdvB1M821Yb+a8WRqJhcVkhpc821Cn7XbeUAqmFEFz06psN 5e1w== X-Gm-Message-State: AOAM532C7Rx6fGV/p6u3bGbMIvtBsKZ7tEH5bRzEhnkvF5weLnpw0k5u B1m/twksZT1j0/hiy6xEns0INA== X-Received: by 2002:a17:907:7ea3:b0:6e8:92eb:3dcc with SMTP id qb35-20020a1709077ea300b006e892eb3dccmr5019092ejc.75.1649691846674; Mon, 11 Apr 2022 08:44:06 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id t14-20020a170906608e00b006d1455acc62sm12173177ejj.74.2022.04.11.08.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 08:44:06 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , 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 Cc: Krzysztof Kozlowski Subject: [RFC PATCH v2 2/6] dt-bindings: opp: accept array of frequencies Date: Mon, 11 Apr 2022 17:43:43 +0200 Message-Id: <20220411154347.491396-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220411154347.491396-1-krzysztof.kozlowski@linaro.org> References: <20220411154347.491396-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 --- 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