From patchwork Thu Jan 26 15:00:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 48739 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp321026wrn; Thu, 26 Jan 2023 07:11:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXuJPh1jVvQWCgLPwtwHneDd8mDZV9nIIOIfD+6AUcxuIFflAVyLVPjw4tAer17Q1nc7Gzn/ X-Received: by 2002:a17:90a:4e4c:b0:228:cf57:32c1 with SMTP id t12-20020a17090a4e4c00b00228cf5732c1mr38793575pjl.0.1674745911465; Thu, 26 Jan 2023 07:11:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674745911; cv=none; d=google.com; s=arc-20160816; b=Q17utxCV9+NrPzk0uZOLUjNlT2naSQIk7oudHbkZC+SxdhjTW9ugexMWBuhPD0XERy +OnkW/8lcbX8A061yMQeFf0T10m1C1Q+q7eQC2Y8ivY1WQnwBCakjkZzveEeu2iNgRfm SKRrBEoQquMMclTbbNM7vQoteMEVkEQJ8XUjXcklhQNA+RsmCZ90J3skHAhm8SxVSu3x PsC5m6KzQT2Jx/iv0h0E4B1VqMrnmPJsLYN3D8szX5FGypco46WA6nVNJwMcGDHmzjaq 0JxvUnySqOkcQTLauDtETU6JbALsvQeeXMrwbulMdD5F/ArPedILJRSylAq1Acx1HXTF qpVw== 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=xqSdR9F/4qrsb/DJV5LDlpU6ymTD8vEIbDj/jR3v5UU=; b=ZkgplxVGeWeq0x42QEA+IT32t68tNaXpjqVZmbko8JxI/4CNYXGy8bfK4bTTMBmZQl QO0NP0GXx09TWMfxKDBEbXqe022DHFRD9YDCAv55rU+Odzw8jNCcpAZwbd0BsgAl/pk/ F78A85k3UKUnQskj+bf0fdvUxTpXkwOe6zkadkp1scxtEbw3uNsrGEVTx3Bsx/hL+9oN fyedU76Bwi0uxTjyhqEiC42QyhQxvT6ez69gU5G+6HKQ45g5Xurl5otBh52xTrQp+bhP ReLW/TYC5Ut2HqQT/KhCfvNWkMKk1XG+FuF11lCjxrHWHy5ek+DIup4bD58acZS0CEFr vbcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Pwo8OUMi; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l62-20020a638841000000b00478ed620d12si1303534pgd.777.2023.01.26.07.11.36; Thu, 26 Jan 2023 07:11:51 -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=@gmail.com header.s=20210112 header.b=Pwo8OUMi; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232057AbjAZPAl (ORCPT + 99 others); Thu, 26 Jan 2023 10:00:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbjAZPAh (ORCPT ); Thu, 26 Jan 2023 10:00:37 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5FAA6225F; Thu, 26 Jan 2023 07:00:36 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id e19-20020a05600c439300b003db1cac0c1fso3396967wmn.5; Thu, 26 Jan 2023 07:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=xqSdR9F/4qrsb/DJV5LDlpU6ymTD8vEIbDj/jR3v5UU=; b=Pwo8OUMiwZ6XoU7HhKrZAzp9QAXXeqHz68ZvLGWvbLCcTNLhmdrdTBGVL49XdMlB5B hilykyGdPc7OP+st9RqwaVY30pcj72pXqg50LNKQpBZdX7BOCh0Na05+8wQxDwP1yzgZ 1XRV6LUMwL/Vov/12b7LNqWrv4IuJ5aiFuovUfZKhRLTxRkWviU++iqMhXmUBdSapvLY STwX0h8zM89gb/CLDXOnDqB1o4/hE64G0qolBFPggbgVixMztR33ddyDgSAbCz5mAmwd rrKX9kokoanbhzf5jHpciuQHqTF72RyOgBxWndJWdddabqQurO07x8/aa9QyMBeZH1SJ BCkg== 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=xqSdR9F/4qrsb/DJV5LDlpU6ymTD8vEIbDj/jR3v5UU=; b=bAxYHNFwkUlNhE7tLFMxogUpRmuWS6m3xp1QjnCYA9SHGoiX3mnAERubwG7xj+cFDh XmSo5BRJODd7xgsn8X8+2V0guBHqrrZu/CzLo5f2zGRikx1Kl3tOOyDMrtJYv+VPn+9T 5YGzJBm0b/TwIwJcbiKTURldHYu/xDF/UC211TVwsjIKbzDExwuS51i4QeZxVP9HbpJn Wxz1RB9zVS0Cwl/4g85oWklR1weamlhLBGwT2JW2HrJ03zDjFNgn6813eUNhog61hK6m 91Q3dYBgjkzpflqtllrkkHwiF4WpY1cbQ0IPLG/wLap3E/rrDuuEFz7Fv4+NRwH+3t/+ txyg== X-Gm-Message-State: AFqh2kpSpB7IxddxpE5CXrz3vFbnwf+9l6FDZdTU3SXKGRteAEZQ8EwX /jnSqpYdQ5FXWeP0N0AalrM= X-Received: by 2002:a05:600c:4928:b0:3da:909f:1f6b with SMTP id f40-20020a05600c492800b003da909f1f6bmr36859843wmp.1.1674745235221; Thu, 26 Jan 2023 07:00:35 -0800 (PST) Received: from localhost.localdomain (93-34-89-61.ip49.fastwebnet.it. [93.34.89.61]) by smtp.googlemail.com with ESMTPSA id g12-20020a05600c310c00b003db012d49b7sm11353115wmo.2.2023.01.26.07.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 07:00:34 -0800 (PST) From: Christian Marangi To: Ilia Lin , Andy Gross , Bjorn Andersson , Konrad Dybcio , "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Nishanth Menon , Stephen Boyd , Yassine Oudjana , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Marangi Subject: [PATCH v4 2/3] dt-bindings: cpufreq: qcom-cpufreq-nvmem: specify supported opp tables Date: Thu, 26 Jan 2023 16:00:25 +0100 Message-Id: <20230126150026.14590-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230126150026.14590-1-ansuelsmth@gmail.com> References: <20230126150026.14590-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756098368752094117?= X-GMAIL-MSGID: =?utf-8?q?1756098368752094117?= Add info on what opp tables the defined devices in this schema supports (operating-points-v2-kryo-cpu and operating-points-v2-qcom-level) and reference them. Signed-off-by: Christian Marangi --- Changes v4: - Add patch split from patch 1 .../bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml index 89e99a198281..6f5e7904181f 100644 --- a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml +++ b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml @@ -36,6 +36,25 @@ select: required: - compatible +patternProperties: + '^opp-table(-[a-z0-9]+)?$': + allOf: + - if: + properties: + compatible: + const: operating-points-v2-kryo-cpu + then: + $ref: /schemas/opp/opp-v2-kryo-cpu.yaml# + + - if: + properties: + compatible: + const: operating-points-v2-qcom-level + then: + $ref: /schemas/opp/opp-v2-qcom-level.yaml# + + unevaluatedProperties: false + allOf: - if: properties: