The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/clock/pwm-clock.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Binding for an external clock signal driven by a PWM pin.
    2 
    3 This binding uses the common clock binding[1] and the common PWM binding[2].
    4 
    5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
    6 [2] Documentation/devicetree/bindings/pwm/pwm.txt
    7 
    8 Required properties:
    9 - compatible : shall be "pwm-clock".
   10 - #clock-cells : from common clock binding; shall be set to 0.
   11 - pwms : from common PWM binding; this determines the clock frequency
   12   via the period given in the PWM specifier.
   13 
   14 Optional properties:
   15 - clock-output-names : From common clock binding.
   16 - clock-frequency : Exact output frequency, in case the PWM period
   17   is not exact but was rounded to nanoseconds.
   18 
   19 Example:
   20         clock {
   21                 compatible = "pwm-clock";
   22                 #clock-cells = <0>;
   23                 clock-frequency = <25000000>;
   24                 clock-output-names = "mipi_mclk";
   25                 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */
   26         };

Cache object: 4a17b040bede8006276e8308ea02316d


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.