[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190621082838.12630-1-Anson.Huang@nxp.com>
Date: Fri, 21 Jun 2019 16:28:36 +0800
From: Anson.Huang@....com
To: daniel.lezcano@...aro.org, tglx@...utronix.de, robh+dt@...nel.org,
mark.rutland@....com, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, l.stach@...gutronix.de,
abel.vesa@....com, ccaione@...libre.com, angus@...ea.ca,
andrew.smirnov@...il.com, agx@...xcpu.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: Linux-imx@....com
Subject: [PATCH 1/3] clocksource/drivers/sysctr: Add an optional property
From: Anson Huang <Anson.Huang@....com>
This patch adds an optional property "clock-frequency" to pass
the system counter frequency value to kernel system counter
driver and indicate the driver to skip of_clk operations, this
is to support those platforms using platform driver model for
clock driver.
Signed-off-by: Anson Huang <Anson.Huang@....com>
---
Documentation/devicetree/bindings/timer/nxp,sysctr-timer.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.txt b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.txt
index d576599..c9907a0 100644
--- a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.txt
+++ b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.txt
@@ -14,6 +14,11 @@ Required properties:
- clocks : Specifies the counter clock.
- clock-names: Specifies the clock's name of this module
+Optional properties:
+
+- clock-frequency : Specifies system counter clock frequency and indicates system
+ counter driver to skip clock operations.
+
Example:
system_counter: timer@...a0000 {
@@ -22,4 +27,5 @@ Example:
clocks = <&clk_8m>;
clock-names = "per";
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+ clock-frequency = <8333333>;
};
--
2.7.4
Powered by blists - more mailing lists