lkml.org 
[lkml]   [2012]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/4] clk: add DT clock binding support
    On Mon, Apr 09, 2012 at 03:25:00PM -0500, Rob Herring wrote:
    ...
    > --- /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.
    ^^^^^^^^^^^^^^^^^^^^^^^
    > +
    > +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

    > +
    > +Example:
    > + clock {
    > + compatible = "fixed-clock";
    > + #clock-cells = <0>;
    > + clock-frequency = <1000000000>;
    > + };


    \
     
     \ /
      Last update: 2012-04-10 04:21    [W:0.023 / U:30.268 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site