Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp948893imw; Tue, 5 Jul 2022 00:44:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u/Uz9Fw6L77fUGTm5ma49W+CWL1zDuCP3wD24DjXWYhv30nUPcXMJ75kwxNdUcMrddto0Q X-Received: by 2002:a17:907:7ea7:b0:72a:b641:d38 with SMTP id qb39-20020a1709077ea700b0072ab6410d38mr12889447ejc.187.1657007049817; Tue, 05 Jul 2022 00:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657007049; cv=none; d=google.com; s=arc-20160816; b=n1w9miaGvg/wTSCD0QnLlOnQGrEvaRoOlebGNCekP3ohSSAyE96Ak/7pZGhP8hVotv mDtp0zGnZicBVxXrWAU13FJuaFzWSGha0PwFIZaoVX5Rfee1LklgiMQFxFqskdnyqZUv 84zaexFug8VO+HnwaDydfv7tWqkvoLJQA7xQGrr1N8ytobYwvY0Z5DRL90ZFfdCbg8mI Pt8t4jw7zABSIaj+W+jPu+ZiDx5x0kz+ndfmDSLFPaz9C9Qd+tIT7pL9BY2uhW6Qbx1E zJ95rAH/H8QM2RtxEXD9RZNc5omhhUcp39HIuD/8ipzzAlAr5ze0CHiHJEQm9ZJ+jYBF ZH2w== 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=KsUvRKQT2AVjAK3kpk9fo+2UaVrAIK8kVr0Wn3bLJKA=; b=CAdJWL7MDxggejTU/WcD6z6YL4g/zhNZZGXR2rtvc1mIdAkTOsybLRlH9LOk4g6hGV cCGLpM3n0jZM4cii+0Ak2LWNcblBNTHx4TdDWStAdD5SYVrDc5DsUT0Z+vjtb4K51/Ot ElLts8H5WEncNYA0IU5ZNT5TTcn69WqyT/FRY62ePiDnvbsKI4kHQ0ctc1PwFfuKRb0B t8WxmHHc4iq/sR7sjWlsHu36uog4hKeG2TXn82sYrFomX3VExu7mtYW7nHZGWS5rYZ5+ 6jJSeVWpsHupySsnKxrLwtCAJwwrXUn7v/gdXzhiU2iQHhh/azD9SGS2+kzbuASKktbH IFRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MSmkFr2M; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a1709061f1000b0070f153ebd89si21277077ejj.7.2022.07.05.00.43.45; Tue, 05 Jul 2022 00:44:09 -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=@linaro.org header.s=google header.b=MSmkFr2M; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230391AbiGEHBF (ORCPT + 99 others); Tue, 5 Jul 2022 03:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230336AbiGEHAr (ORCPT ); Tue, 5 Jul 2022 03:00:47 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12113101C3 for ; Tue, 5 Jul 2022 00:00:46 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id w24so11300707pjg.5 for ; Tue, 05 Jul 2022 00:00:46 -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=KsUvRKQT2AVjAK3kpk9fo+2UaVrAIK8kVr0Wn3bLJKA=; b=MSmkFr2MbDp5neqjTTRVl9ePxtJmXZpJnGWXYkKRc5mtP/iOAQ5tO0q7/Synoc45Dm OGa+ZL77JdySobbPneyI7oAkKi4SblebELgliQFm+fa7ZXrvKWhhJ1BwQdw9tKgT793E RAhU16nhWeKY/11XlaCIWG35iV+ApkgmZYooSQPaQHGmyHj7z9kq2D4UjgBhCNW4FeAx BRVSz02voZHE7yjzkzURmFxjZFq/nJyyLLFbH8+7Lna1AljiPOraWt7Z4QRqN4kCzI5F INKOBi/OWJ2R26aI0viah49+w0fZWc02BADwVFPX+kvRoILNe6L0DIpdpVPaIaveZXSd FV/A== 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=KsUvRKQT2AVjAK3kpk9fo+2UaVrAIK8kVr0Wn3bLJKA=; b=yyZUVMWnmP8pDBCEPCXqBIYe3dDh9N9zMhB2zaM3Fsve/lt4y7myk9+D9M+217zK5j D3XV9phNGh5kEEQuutvIVeLyekJaqsB6ssDS/+r5xLVaM+K8AG6ol77YYCo102hJkhYX Mu7h9voeKp4blQwCB2c6up50vyE+VxHnJuXkAFqGshnVvBORveIJCIm6i5GMEWJsPWjO 3+pqXbfZyovAsl6oXum/txd8eAdGMtBvwDZ1k2T4o5XtVKRTztN+CvZEbg3+xJkpaxOL NFh6bp7s1IXOChF6qxQY66DvhykM32+veQh60RwBiMRTrc3yGNAHtMNkh4Jh+Nvcaoeo uMIA== X-Gm-Message-State: AJIora89UQCwIKnwN9ur46+gz3hsgvE+zWycXqtfjHmynSoyX6ePCnrz s2i7OLCn6LCJ3wXCbDGd2nDgtw== X-Received: by 2002:a17:90b:3802:b0:1ed:2434:eb44 with SMTP id mq2-20020a17090b380200b001ed2434eb44mr42223751pjb.85.1657004445571; Tue, 05 Jul 2022 00:00:45 -0700 (PDT) Received: from localhost ([122.171.18.80]) by smtp.gmail.com with ESMTPSA id s1-20020a170902988100b0016a4a57a25asm22412596plp.152.2022.07.05.00.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 00:00:45 -0700 (PDT) From: Viresh Kumar To: Viresh Kumar , Nishanth Menon , Stephen Boyd Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , "Rafael J. Wysocki" , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Manivannan Sadhasivam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 05/13] dt-bindings: opp: accept array of frequencies Date: Tue, 5 Jul 2022 12:30:08 +0530 Message-Id: <1110ceeb20c2e50573b0e208f52238d280f10845.1657003420.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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: Krzysztof Kozlowski 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 Acked-by: Rob Herring Reviewed-by: Manivannan Sadhasivam Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml index 76c8acd981b3..66d0ec763f0b 100644 --- a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml +++ b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml @@ -50,6 +50,16 @@ select: false property to uniquely identify the OPP nodes exists. Devices like power domains must have another (implementation dependent) property. + Entries for multiple clocks shall be provided in the same field, as + array of frequencies. The OPP binding doesn't provide any provisions + to relate the values to their clocks or the order in which the clocks + need to be configured and that is left for the implementation + specific binding. + minItems: 1 + maxItems: 16 + items: + maxItems: 1 + opp-microvolt: description: | Voltage for the OPP -- 2.31.1.272.g89b43f80a514