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/pwm/pwm-tiehrpwm.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 TI SOC EHRPWM based PWM controller
    2 
    3 Required properties:
    4 - compatible: Must be "ti,<soc>-ehrpwm".
    5   for am33xx  - compatible = "ti,am3352-ehrpwm", "ti,am33xx-ehrpwm";
    6   for am4372  - compatible = "ti,am4372-ehrpwm", "ti-am3352-ehrpwm", "ti,am33xx-ehrpwm";
    7   for am654   - compatible = "ti,am654-ehrpwm", "ti-am3352-ehrpwm";
    8   for da850   - compatible = "ti,da850-ehrpwm", "ti-am3352-ehrpwm", "ti,am33xx-ehrpwm";
    9   for dra746 - compatible = "ti,dra746-ehrpwm", "ti-am3352-ehrpwm";
   10 - #pwm-cells: should be 3. See pwm.yaml in this directory for a description of
   11   the cells format. The only third cell flag supported by this binding is
   12   PWM_POLARITY_INVERTED.
   13 - reg: physical base address and size of the registers map.
   14 
   15 Optional properties:
   16 - clocks: Handle to the PWM's time-base and functional clock.
   17 - clock-names: Must be set to "tbclk" and "fck".
   18 
   19 Example:
   20 
   21 ehrpwm0: pwm@48300200 { /* EHRPWM on am33xx */
   22         compatible = "ti,am3352-ehrpwm", "ti,am33xx-ehrpwm";
   23         #pwm-cells = <3>;
   24         reg = <0x48300200 0x100>;
   25         clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
   26         clock-names = "tbclk", "fck";
   27 };
   28 
   29 ehrpwm0: pwm@48300200 { /* EHRPWM on am4372 */
   30         compatible = "ti,am4372-ehrpwm", "ti,am3352-ehrpwm", "ti,am33xx-ehrpwm";
   31         #pwm-cells = <3>;
   32         reg = <0x48300200 0x80>;
   33         clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
   34         clock-names = "tbclk", "fck";
   35         ti,hwmods = "ehrpwm0";
   36 };
   37 
   38 ehrpwm0: pwm@1f00000 { /* EHRPWM on da850 */
   39         compatible = "ti,da850-ehrpwm", "ti,am3352-ehrpwm", "ti,am33xx-ehrpwm";
   40         #pwm-cells = <3>;
   41         reg = <0x1f00000 0x2000>;
   42 };
   43 
   44 ehrpwm0: pwm@4843e200 { /* EHRPWM on dra746 */
   45         compatible = "ti,dra746-ehrpwm", "ti,am3352-ehrpwm";
   46         #pwm-cells = <3>;
   47         reg = <0x4843e200 0x80>;
   48         clocks = <&ehrpwm0_tbclk>, <&l4_root_clk_div>;
   49         clock-names = "tbclk", "fck";
   50 };

Cache object: e5bf61d4ab93bc64dec0efabd1b95c4f


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