linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] clocksource/drivers/sysctr: Add an optional property
@ 2019-06-21  8:28 Anson.Huang
  2019-06-21  8:28 ` [PATCH 2/3] clocksource: imx-sysctr: Add of_clk skip option Anson.Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Anson.Huang @ 2019-06-21  8:28 UTC (permalink / raw)
  To: daniel.lezcano, tglx, robh+dt, mark.rutland, shawnguo, s.hauer,
	kernel, festevam, l.stach, abel.vesa, ccaione, angus,
	andrew.smirnov, agx, linux-kernel, devicetree, linux-arm-kernel
  Cc: Linux-imx

From: Anson Huang <Anson.Huang@nxp.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@nxp.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@306a0000 {
@@ -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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-06-23 12:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21  8:28 [PATCH 1/3] clocksource/drivers/sysctr: Add an optional property Anson.Huang
2019-06-21  8:28 ` [PATCH 2/3] clocksource: imx-sysctr: Add of_clk skip option Anson.Huang
2019-06-21  8:28 ` [PATCH 3/3] arm64: dts: imx8mq: Add system counter node Anson.Huang
2019-06-22 14:16   ` Martin Kepplinger
2019-06-23 11:20     ` Martin Kepplinger
2019-06-23 11:30       ` Anson Huang
2019-06-23 11:24     ` Anson Huang
2019-06-23 10:46 ` [PATCH 1/3] clocksource/drivers/sysctr: Add an optional property Thomas Gleixner
2019-06-23 11:31   ` Anson Huang
2019-06-23 11:34     ` Thomas Gleixner
2019-06-23 12:05       ` Anson Huang

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).