From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3FDC8C001B0 for ; Wed, 9 Aug 2023 04:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Jr5If19rUSo4PtjtLr3f74zhbxoeI7f1W+wxFeGestw=; b=TubYS4rghcNtBS ByBZMRqZxmd9VC6GkZBYNEPbpXomW7/G9zbQh1yopK5bRQY5znAuEOF6ibDMWjz0LHIP4kSiFbIml 0dW24rX0JKEnK3dJ4gTXb3MF02WOuL59SX6/xCsuENyB75ZJEvaRG1nn1WPqnSAGiYhW+f/r56z+a EXaAAb0auY7kSXntqU3vPMyYNkws6ueaqhRnMJUgjjH4vNPbXNARTjjEKYmf3X0tUMkxc0IxFkgl3 /4SfWNFMUuG34n8Ta4WGdgyhfuhVIR3cjVdYWzOeiX9NA3hV0X0ROn8PRHtJDmevZzK7qHAXMRf2K bS8YcxVsXqbWHFp9hl0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTaq4-0041Bq-22; Wed, 09 Aug 2023 04:30:28 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTaq0-0041BP-2M for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 04:30:26 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3794UEKf067963; Tue, 8 Aug 2023 23:30:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691555414; bh=J3vaPqXrnLSOx9r2ta23Q24WycaG6AOs5979+peStBY=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=X68666kRLaI6t8/TXf6RW9i5220K79/+SiMQrhvYcDvdkVe6f6qxPNA/yjF2cdw5f VIdX/mem4v2TJmnvRCwungezOLDKM3fqSVWww0041adt+ha1JP/UAYDqEXawXTwgpA nz5+wUArdt0j+nscSZmvjqk70QEHplVFugsFAjFw= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3794UE53040119 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Aug 2023 23:30:14 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 8 Aug 2023 23:30:13 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE103.ent.ti.com (157.170.170.33) 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; Tue, 8 Aug 2023 23:30:13 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3794UDTq115759; Tue, 8 Aug 2023 23:30:13 -0500 Date: Wed, 9 Aug 2023 10:00:12 +0530 From: Dhruva Gole To: Nishanth Menon CC: Rob Herring , Stephen Boyd , Conor Dooley , Krzysztof Kozlowski , Viresh Kumar , Tony Lindgren , =?utf-8?Q?Beno=C3=AEt?= Cousson , "Rafael J. Wysocki" , Vibhore Vardhan , , , , , Subject: Re: [PATCH V3 2/2] dt-bindings: cpufreq: Convert ti-cpufreq to json schema Message-ID: <20230809043012.gcsnn5bfr7j25ow7@dhruva> References: <20230809023045.1870410-1-nm@ti.com> <20230809023045.1870410-3-nm@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230809023045.1870410-3-nm@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230808_213024_922027_562D78FC X-CRM114-Status: GOOD ( 20.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Aug 08, 2023 at 21:30:45 -0500, Nishanth Menon wrote: > Move the ti-cpufreq binding over to opp and convert the free text > binding to json-schema. > > Reviewed-by: Dhruva Gole > Signed-off-by: Nishanth Menon > --- > Changes since V2: > * Just fixup for commit message and picked up Reviewed-by from Dhruva. > > V2: https://lore.kernel.org/r/20230801233341.1416552-3-nm@ti.com > V1: https://lore.kernel.org/all/20230724153911.1376830-6-nm@ti.com/ > > Side note: Cleanups in dt is picked up on Tony's tree: > https://lore.kernel.org/all/20230731062551.GH5194@atomide.com/ > > .../bindings/cpufreq/ti-cpufreq.txt | 132 ------------------ > .../opp/operating-points-v2-ti-cpu.yaml | 88 ++++++++++++ > 2 files changed, 88 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 > [...] > new file mode 100644 > index 000000000000..ada57bfc1da9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/opp/operating-points-v2-ti-cpu.yaml > @@ -0,0 +1,88 @@ > +# 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: > + Certain TI SoCs, like those in the am335x, am437x, am57xx, am62x and dra7xx > + families support different OPPs depending on the silicon variant in use. > + The ti-cpufreq driver can use revision and an efuse value from the SoC to Just learned about this yesterday, hence missed it in my earlier review. Looks like the kernel docs [0] say that we DON'T refer to Linux or "device driver" in bindings. Bindings should be based on what the hardware has, not what an OS and driver currently support. > + provide the OPP framework with supported hardware information. This is > + used to determine which OPPs from the operating-points-v2 table get enabled > + when it is parsed by the OPP framework. > + [...] [0] https://docs.kernel.org/devicetree/bindings/writing-bindings.html -- Best regards, Dhruva Gole _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel