On Mon, Apr 09, 2012 at 03:25:00PM -0500, Rob Herring wrote:
...
quoted hunk ↗ jump to hunk
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/fixed-clock.txt
@@ -0,0 +1,22 @@
+Binding for simple fixed-rate clock sources.
+
+This binding uses the common clock binding[1].
+
+[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Required properties:
+- compatible : shall be "fixed-clock".
+- #clock-cells : from common clock binding; shall be set to 0.
+- clock-frequency : frequency of clock in Hz. Should be a single cell.
^^^^^^^^^^^^^^^^^^^^^^^
quoted hunk ↗ jump to hunk
+
+Optional properties:
+- gpios : From common gpio binding; gpio connection to clock enable pin.
I haven't seen this support in the code yet.
+- clock-output-names : From common clock binding. Required for nodes with
+ multiple outputs.
This seems inconsistent with above "Should be a single cell."
Regards,
Shawn
quoted hunk ↗ jump to hunk
+
+Example:
+ clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <1000000000>;
+ };