Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp878544rdg; Fri, 11 Aug 2023 02:53:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIu3AjGzb7VTkDKisr7YVQ5B+y4bY79kIlyIMOl2O4OFp/Ki5py4Fqp4+8qbO91nzKEnJI X-Received: by 2002:a17:902:6ac9:b0:1a9:b8c3:c2c2 with SMTP id i9-20020a1709026ac900b001a9b8c3c2c2mr1166278plt.37.1691747617292; Fri, 11 Aug 2023 02:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691747617; cv=none; d=google.com; s=arc-20160816; b=Aj7PYCr5pLOPyIkRTnmXANfQKJ+LnoKXzuQ9HoBssJa6vcOFY21/4Mtz14kup5ufrY 49mPRrYJhw6ZUusiY0jTNofHiCOhAMydXjO9xWEOMkoYCkTZ6T4mUrc5QrHIsaORaB8a WJ2iLPlgIaFdXwOrKenjC9dNLJX3/4YpLgw2uj1BGyeL39Ue8AWvuSAme70DZRQ5g/EO NiZWlbbnZ4uSCd6Be6wD0NL8mHPQLYFmDdCcgnCCtwgMUfWlAbkBERG6wFPmSYFTMQOs eo+vataGwuIg8QwF5xHwSxcjdULey7BTSM6ZPVKvGSoUndwvqwRvVM4H7Lt2TXK0AJyi w2aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=G9OWHXsY19lEsHCXBg4q5dQSET0RUIrirgxjNztR6zo=; fh=f7k0yvQmKOPWLsXT8I0+0XDIfTxBR+BIz+07y59FLxw=; b=Qyfk4yx4BKoE+I9FPVyxte33a6uyoARzz8BR9Bk7jmtZkLj9IRr2TVIwTa3CrQ6gcj mMMU99EYVXEdFOc8uxSNn/20x+t1KxJRtf2el5jJ58W1ijiCvX1Rrg5KOQH2MxCb4r8L lYdAxyxr0fVap2Zd9qg34bkHbvMArr/AGzdXOWEXZLc69C02ATMC1jKtMEFvDTO21vL+ wMJVOf4wO2B+F+JD6KFRV8nB1Et1Ts+9pjVq2Utjq0rjGX8oIgYizjSKfXOmf5ojbNJn jDU+kd+IG8hKd/D48PLryzlKJP2G5E+e2SKotmWmfdl2SHOKwBo1fNdVg41dyQVQ7oMh iimA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=r0IUwQ7S; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a170902684700b001bdb3c09695si1326943pln.222.2023.08.11.02.53.24; Fri, 11 Aug 2023 02:53:37 -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=@ti.com header.s=ti-com-17Q1 header.b=r0IUwQ7S; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234240AbjHKHuZ (ORCPT + 99 others); Fri, 11 Aug 2023 03:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234297AbjHKHuV (ORCPT ); Fri, 11 Aug 2023 03:50:21 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9C8A30C0; Fri, 11 Aug 2023 00:50:18 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37B7o8ik046448; Fri, 11 Aug 2023 02:50:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691740208; bh=G9OWHXsY19lEsHCXBg4q5dQSET0RUIrirgxjNztR6zo=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=r0IUwQ7SyVQc39ZJ6k2ogGmvZ8/jqnrTO3EvuN7TGO65KjgI2Go1vhvYNDffHTGi7 7JD/47W8JpEB46FY9PoZkbuAO0RyOWI1IwWAsRXLvJ4rhkvNuzLPu6WqMiu7mxmznd yO6YrjxyVJycnMQNpviV5ejvkcO7vPGagdAphRWA= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37B7o8Nd128937 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Aug 2023 02:50:08 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 11 Aug 2023 02:50:07 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 11 Aug 2023 02:50:07 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37B7o6Gu003878; Fri, 11 Aug 2023 02:50:07 -0500 Date: Fri, 11 Aug 2023 13:20:06 +0530 From: Dhruva Gole To: Nishanth Menon CC: Stephen Boyd , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Viresh Kumar , "Rafael J. Wysocki" , , , , , Vibhore Vardhan Subject: Re: [PATCH V4 2/2] dt-bindings: cpufreq: Convert ti-cpufreq to json schema Message-ID: <20230811075006.wlx5qq2tkz5zn7ok@dhruva> References: <20230811031458.957624-1-nm@ti.com> <20230811031458.957624-3-nm@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230811031458.957624-3-nm@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 On Aug 10, 2023 at 22:14:58 -0500, Nishanth Menon wrote: > Move the ti-cpufreq binding over to opp and convert the free text > binding to json-schema. > > Signed-off-by: Nishanth Menon > --- > Changes since V3: > * Rewrote the description of the binding to something more relevant to > current style of documentation. > * Due to the rewrite in description, I have dropped Dhruva's > Reviewed-by. OK > > V3: https://lore.kernel.org/all/20230809023045.1870410-3-nm@ti.com/ > V2: https://lore.kernel.org/all/20230801233341.1416552-3-nm@ti.com > V1: https://lore.kernel.org/all/20230724153911.1376830-6-nm@ti.com/ > > .../bindings/cpufreq/ti-cpufreq.txt | 132 ------------------ > .../opp/operating-points-v2-ti-cpu.yaml | 92 ++++++++++++ > 2 files changed, 92 insertions(+), 132 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt > create mode 100644 Documentation/devicetree/bindings/opp/operating-points-v2-ti-cpu.yaml > [...] > diff --git a/Documentation/devicetree/bindings/opp/operating-points-v2-ti-cpu.yaml b/Documentation/devicetree/bindings/opp/operating-points-v2-ti-cpu.yaml > new file mode 100644 > index 000000000000..02d1d2c17129 > --- /dev/null > +++ b/Documentation/devicetree/bindings/opp/operating-points-v2-ti-cpu.yaml > @@ -0,0 +1,92 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/opp/operating-points-v2-ti-cpu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TI CPU OPP (Operating Performance Points) > + > +description: > + TI SoCs, like those in the AM335x, AM437x, AM57xx, AM62x, and DRA7xx > + families, the CPU frequencies subset and the voltage value of each > + OPP vary based on the silicon variant used. The data sheet sections > + corresponding to "Operating Performance Points" describe the frequency > + and voltage values based on device type and speed bin information > + blown in corresponding eFuse bits as referred to by the Technical > + Reference Manual. > + > + This document extends the operating-points-v2 binding by providing > + the hardware description for the scheme mentioned above. > + [...] Thanks for addressing my comments, Reviewed-by: Dhruva Gole -- Best regards, Dhruva Gole