Message ID | 20230308-topic-cpufreq_bindings-v1-1-3368473ec52d@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp67941wrd; Tue, 7 Mar 2023 17:28:32 -0800 (PST) X-Google-Smtp-Source: AK7set9UPd3bSNLEWJdoAHXUGm0RBgYLhWWS/CUtajbKd2iIzaw0mg6UPiIt+ZN6IiVu2xlmBlrm X-Received: by 2002:aa7:cf0d:0:b0:4bc:ab52:ac70 with SMTP id a13-20020aa7cf0d000000b004bcab52ac70mr15112550edy.8.1678238912649; Tue, 07 Mar 2023 17:28:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678238912; cv=none; d=google.com; s=arc-20160816; b=Yd/F6Tf3RErDYz0JVmHW1CFzjhWM/qTdTaU3unw92s8z/ccWaDtNhsd7Zuz94SLRrA 96Kscyu+scIeRKRQtFgUvexMN8o8rQz06TQbQMW52b3fr6GtTiycac5sBqS3u3fm+K6S LKWu2ETjtsRkPdZ3/0/Lgqe813nD0mkQwNPkOSeSL/CR+zwnMvyLwqN8DzMLq+F+Q9ZR L8bzkyUPnvd/J7wTmhnNTNHbDGFWgcjFg3kbF5e6MWAnHzDmbjckjdqU0ztoOT9WN968 /sXe5pALFffl93M4ipGo+reTWmn+5RwTrXI+fNhag8tXP4ToeNAShOl37WlPoUYNlZkb v+xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=rSKkpNbYMdizlF1Hcg/N2ARWz4QldZWXYT/s2rK2tJA=; b=mwNf/agZUcS1qJfhZWwh2DkXJpMJeg1GPgF8iNPiKAJSfHvAiGRSRZK5R4F84nXAig XszZasK31rKleQabjZ/xrmQN/sZXtKmkHWsoCakwz0cjWwNVW9Xeex8yUg/L/wniVCod oDulQJzIYzRytoiFAqRYXowPtPZ9+xPx6jVlziH7ir/3Pahn4lkevZ2gQdqYrx6YBVGN e75DaBCVXd1yEbEVJlDyQjJPeISkiQ4NXJxa/BDYBwrneCVRsDcWV5Dr0H7cQKCE4bki SN7rcY3DLIlj6crb42H62QDmNN8YlIBcostw/BHpZM6173Kfq9voUwlkvlZZL9y7V2FI yeqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NS72HA7x; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be4-20020a1709070a4400b008c660960fa5si4664295ejc.336.2023.03.07.17.28.09; Tue, 07 Mar 2023 17:28:32 -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=@linaro.org header.s=google header.b=NS72HA7x; 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 S230074AbjCHB1a (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 20:27:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbjCHB11 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 20:27:27 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C420B8535A for <linux-kernel@vger.kernel.org>; Tue, 7 Mar 2023 17:27:19 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id d36so16327792lfv.8 for <linux-kernel@vger.kernel.org>; Tue, 07 Mar 2023 17:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678238838; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rSKkpNbYMdizlF1Hcg/N2ARWz4QldZWXYT/s2rK2tJA=; b=NS72HA7x6azq8Oo6p63K66wCgwAP1l9vaFl65JhYFn5YgA/PNDBFBDfyfB/lVr8Gp5 olZ/GFjlDCVsMko3PodpMhX+ORH83KenOIT0KdH03scpm7fXbJ36lksg3MFKoRfzTgBC CHd7UFVBYvvZdMPWG1xY9uGAVXOL+Y+XjhhpWIvAcKvAS50BJk7t3yR7lgFNGp02ym3X be2RiMPNu/hwtZjiA23ps3jX7AwzXEadCbRCUsMabyAn4+3PUmD+NWrx9RkwGj62om50 2vPgn1v/QdNAmxlA6hrOXpc60oebE7jUQb27rih5zBsDCHiEx13O3/7M/cY/b3IMjbc/ sR9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678238838; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rSKkpNbYMdizlF1Hcg/N2ARWz4QldZWXYT/s2rK2tJA=; b=34v4m9OUsksJkRCLQs/5I8OOpFlvLJPFLB5jOl42d9qhB0FzNTF2HewbDE1kMfEvcP V9DlJ1D99TUVuHz0khZ19ROYpo+xuATPyd/gCCKYFwog1afCUeg9Pgl+bcDUJVYPWrKZ UyF5UUvxOM/NLcHuK8mOVYC01TmAIfhxXwiAA7bW52rtoYv1KEgHiWaLgPzF9SE8ggfC jQhqTkEpnVAExer1ttT6xMq83IvPebCxb3kzHSoGNxLFQvjBa0I/LZjrLQwV4MFxht6Y nsktJ7LZ2tr6QD7b+xONQd6CmRdGVL0ULIc08JouxKpyVGWwlylEutgFMV4YV1ORQc4i oQQg== X-Gm-Message-State: AO0yUKXUhnsduy7F3NUnt5FHIbKz/66yCa/jSK+RM59i/dXbabvmhuE5 PNdi7QoouWNmTGgpghvVgIMitw== X-Received: by 2002:ac2:5108:0:b0:4d8:4f53:37ad with SMTP id q8-20020ac25108000000b004d84f5337admr3760704lfb.7.1678238838009; Tue, 07 Mar 2023 17:27:18 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o24-20020a056512051800b004a2c447598fsm2182944lfb.159.2023.03.07.17.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 17:27:17 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 08 Mar 2023 02:26:58 +0100 Subject: [PATCH 1/8] dt-bindings: cpufreq: cpufreq-qcom-hw: Allow just 1 frequency domain MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230308-topic-cpufreq_bindings-v1-1-3368473ec52d@linaro.org> References: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> In-Reply-To: <20230308-topic-cpufreq_bindings-v1-0-3368473ec52d@linaro.org> To: "Rafael J. Wysocki" <rafael@kernel.org>, Viresh Kumar <viresh.kumar@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Manivannan Sadhasivam <mani@kernel.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org> Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678238834; l=1052; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=VcREQrZ3O5Tg8/LdkaQG+SHph0xK/tPAY49fNyeIAmM=; b=w1hqviMRcVjC9G7LJ9pEuGt+mq9CPwQIKjKYXYgZPAgVAmceGhUW4EhZSj3xPf7hfLSHA+a402/n uOgK8/ADDz+Gj3Y5bC+2mROcGn4+VpGVGfhl+TFisk63HriZP+dY X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759761046350774198?= X-GMAIL-MSGID: =?utf-8?q?1759761046350774198?= |
Series |
qcom-cpufreq-hw binding improvements
|
|
Commit Message
Konrad Dybcio
March 8, 2023, 1:26 a.m. UTC
Some SoCs implementing CPUFREQ-HW only have a single frequency domain.
Allow such case.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Wed, 08 Mar 2023 02:26:58 +0100, Konrad Dybcio wrote: > Some SoCs implementing CPUFREQ-HW only have a single frequency domain. > Allow such case. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml index e4aa8c67d532..aebf2254e45a 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml @@ -36,14 +36,14 @@ properties: - const: qcom,cpufreq-epss reg: - minItems: 2 + minItems: 1 items: - description: Frequency domain 0 register region - description: Frequency domain 1 register region - description: Frequency domain 2 register region reg-names: - minItems: 2 + minItems: 1 items: - const: freq-domain0 - const: freq-domain1