From patchwork Mon Jan 16 09:38:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 643214 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA554C63797 for ; Mon, 16 Jan 2023 09:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232182AbjAPJjU (ORCPT ); Mon, 16 Jan 2023 04:39:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232087AbjAPJjK (ORCPT ); Mon, 16 Jan 2023 04:39:10 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 813F918B3D for ; Mon, 16 Jan 2023 01:39:06 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id o20so9935623lfk.5 for ; Mon, 16 Jan 2023 01:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=saz9hpoZgo7u5MG5Pq91afbON+uRh8poYrgYzXbRk6A=; b=bAEIh88vIcEBYhLrEAG7qCjHIaG/IyJ80MVbdJgmQCnt2Zk0m1IAMucB42yylxMQ4G Pa5Izbkh1WXY/kZ/b9Rb+IIUlD6Wykndx+yF8gg5CXYpulMwnEoIFTHvKaKTNQBEVTj6 wqbOwYFtoIHp4k3kHSJpoIOPUIMj1i4LpQ54kx5s2r9+n7tkiAWsvaNX7voqbQORn1O8 y6HF40Pg6uWsRG3UjjUCy0dd23i1REkdtcFK6GSZXgzCBD/pMp0CyJryFQAC7pkLmy4R eam11nCpanBd7uM9CoFf0RsYv9T0WP+VtamD4F+fdueYocFTuQI0zGKXKVOpWQnpZYzd MY6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=saz9hpoZgo7u5MG5Pq91afbON+uRh8poYrgYzXbRk6A=; b=apm+Rzl0sAj+lDq2ojCZY7dSOYb6njXQPtMrX79isI18Zw+5jkrNb86L/YCHqtGRt+ mL8PIJmWmeBMsLTBatMRghznW/fFKqNRbONnC3vp8EOZXh6lUTYg9JFf4/CaA2BCQ0Hf KxwC2FAgLvsNZ0XTO5MR8YF+Q5e8joofbxk3b07kZwZSnTO8EwVUnkzD/KU1K/C3F7JO agXSEVhLDbsYwixo3AK9jlIhynBMRp/iug+KVVxWtUVC9k6PRBOyI3xDXNU37Q5aoxug MAqHPNfF0OpLDm6YsBhYNp6MZVND5HWcGrRgVj1FDxcXKtgJ9l4Vx+woAhc4wYv6kdkO PK3g== X-Gm-Message-State: AFqh2kozsdxWeaK3FttWZkT3a+YbdeR4AqyAi3l/79DeH/KvUmV76HWZ dKrdfxpmWf8n094u51hNNEap1g== X-Google-Smtp-Source: AMrXdXvPDL0tFy4gOYBbq+lByuyrqmsVr+fuR/ikhvfhI6LdZEd1gwoefJARABkXEyp5OstZN7t1iQ== X-Received: by 2002:a05:6512:b9c:b0:4cc:5909:8360 with SMTP id b28-20020a0565120b9c00b004cc59098360mr15222106lfv.46.1673861944811; Mon, 16 Jan 2023 01:39:04 -0800 (PST) Received: from localhost.localdomain (abym53.neoplus.adsl.tpnet.pl. [83.9.32.53]) by smtp.gmail.com with ESMTPSA id c5-20020a056512074500b004b53eb60e3csm316985lfs.256.2023.01.16.01.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 01:39:04 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, AngeloGioacchino Del Regno , Konrad Dybcio , Rob Herring , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Niklas Cassel , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v9 3/6] dt-bindings: opp: v2-qcom-level: Let qcom,opp-fuse-level be a 2-long array Date: Mon, 16 Jan 2023 10:38:42 +0100 Message-Id: <20230116093845.72621-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230116093845.72621-1-konrad.dybcio@linaro.org> References: <20230116093845.72621-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In some instances (particularly with CPRh) we might want to specifiy more than one qcom,opp-fuse-level, as the same OPP subnodes may be used by different "CPR threads". We need to make sure that n = num_threads entries is legal and so far nobody seems to use more than two, so let's allow that. Acked-by: Rob Herring Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml index b9ce2e099ce9..a30ef93213c0 100644 --- a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml +++ b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml @@ -30,7 +30,9 @@ patternProperties: this OPP node. Sometimes several corners/levels shares a certain fuse corner/level. A fuse corner/level contains e.g. ref uV, min uV, and max uV. - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 2 required: - opp-level