devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] dt-bindings: cpufreq-dt: Remove redundant cpufreq-dt.txt
@ 2025-08-27 20:44 Frank Li
  2025-08-28  5:46 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Li @ 2025-08-27 20:44 UTC (permalink / raw)
  To: Rafael J. Wysocki, Viresh Kumar, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, open list:CPU FREQUENCY SCALING FRAMEWORK,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list
  Cc: imx

The information is already documented in
Documentation/devicetree/bindings/arm/cpus.yaml.
Documentation/devicetree/bindings/opp/opp-v1.yaml

Remove the redundant file.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 .../bindings/cpufreq/cpufreq-dt.txt           | 61 -------------------
 1 file changed, 61 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt

diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt
deleted file mode 100644
index 1d7e49167666e..0000000000000
--- a/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-Generic cpufreq driver
-
-It is a generic DT based cpufreq driver for frequency management.  It supports
-both uniprocessor (UP) and symmetric multiprocessor (SMP) systems which share
-clock and voltage across all CPUs.
-
-Both required and optional properties listed below must be defined
-under node /cpus/cpu@0.
-
-Required properties:
-- None
-
-Optional properties:
-- operating-points: Refer to Documentation/devicetree/bindings/opp/opp-v1.yaml for
-  details. OPPs *must* be supplied either via DT, i.e. this property, or
-  populated at runtime.
-- clock-latency: Specify the possible maximum transition latency for clock,
-  in unit of nanoseconds.
-- voltage-tolerance: Specify the CPU voltage tolerance in percentage.
-- #cooling-cells:
-     Please refer to
-     Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml.
-
-Examples:
-
-cpus {
-	#address-cells = <1>;
-	#size-cells = <0>;
-
-	cpu@0 {
-		compatible = "arm,cortex-a9";
-		reg = <0>;
-		next-level-cache = <&L2>;
-		operating-points = <
-			/* kHz    uV */
-			792000  1100000
-			396000  950000
-			198000  850000
-		>;
-		clock-latency = <61036>; /* two CLK32 periods */
-		#cooling-cells = <2>;
-	};
-
-	cpu@1 {
-		compatible = "arm,cortex-a9";
-		reg = <1>;
-		next-level-cache = <&L2>;
-	};
-
-	cpu@2 {
-		compatible = "arm,cortex-a9";
-		reg = <2>;
-		next-level-cache = <&L2>;
-	};
-
-	cpu@3 {
-		compatible = "arm,cortex-a9";
-		reg = <3>;
-		next-level-cache = <&L2>;
-	};
-};
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] dt-bindings: cpufreq-dt: Remove redundant cpufreq-dt.txt
  2025-08-27 20:44 [PATCH 1/1] dt-bindings: cpufreq-dt: Remove redundant cpufreq-dt.txt Frank Li
@ 2025-08-28  5:46 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2025-08-28  5:46 UTC (permalink / raw)
  To: Frank Li
  Cc: Rafael J. Wysocki, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	open list:CPU FREQUENCY SCALING FRAMEWORK,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx

On 27-08-25, 16:44, Frank Li wrote:
> The information is already documented in
> Documentation/devicetree/bindings/arm/cpus.yaml.
> Documentation/devicetree/bindings/opp/opp-v1.yaml

Even then, we can document what driver expects. So duplication isn't
an issue I think.

But this file is outdated and hasn't received an update in years.

> Remove the redundant file.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  .../bindings/cpufreq/cpufreq-dt.txt           | 61 -------------------
>  1 file changed, 61 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt

Merged with this commit log instead.

commit b238cd833e3d62a76c53d540ed663b314ad179f0 (HEAD -> opp/linux-next)
Author: Frank Li <Frank.Li@nxp.com>
Date:   Wed Aug 27 16:44:01 2025 -0400

    dt-bindings: Remove outdated cpufreq-dt.txt

    The information present in this file is outdated and doesn't serve any
    purpose with the current design of the driver.

    Remove the outdated file.

    Signed-off-by: Frank Li <Frank.Li@nxp.com>
    [ Viresh: Rewrite commit log ]
    Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-28  5:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 20:44 [PATCH 1/1] dt-bindings: cpufreq-dt: Remove redundant cpufreq-dt.txt Frank Li
2025-08-28  5:46 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).