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-mediatek.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 MediaTek PWM controller
    2 
    3 Required properties:
    4  - compatible: should be "mediatek,<name>-pwm":
    5    - "mediatek,mt2712-pwm": found on mt2712 SoC.
    6    - "mediatek,mt6795-pwm": found on mt6795 SoC.
    7    - "mediatek,mt7622-pwm": found on mt7622 SoC.
    8    - "mediatek,mt7623-pwm": found on mt7623 SoC.
    9    - "mediatek,mt7628-pwm": found on mt7628 SoC.
   10    - "mediatek,mt7629-pwm": found on mt7629 SoC.
   11    - "mediatek,mt8183-pwm": found on mt8183 SoC.
   12    - "mediatek,mt8195-pwm", "mediatek,mt8183-pwm": found on mt8195 SoC.
   13    - "mediatek,mt8365-pwm": found on mt8365 SoC.
   14    - "mediatek,mt8516-pwm": found on mt8516 SoC.
   15  - reg: physical base address and length of the controller's registers.
   16  - #pwm-cells: must be 2. See pwm.yaml in this directory for a description of
   17    the cell format.
   18  - clocks: phandle and clock specifier of the PWM reference clock.
   19  - clock-names: must contain the following, except for MT7628 which
   20                 has no clocks
   21    - "top": the top clock generator
   22    - "main": clock used by the PWM core
   23    - "pwm1-3": the three per PWM clocks for mt8365
   24    - "pwm1-8": the eight per PWM clocks for mt2712
   25    - "pwm1-6": the six per PWM clocks for mt7622
   26    - "pwm1-5": the five per PWM clocks for mt7623
   27    - "pwm1"  : the PWM1 clock for mt7629
   28  - pinctrl-names: Must contain a "default" entry.
   29  - pinctrl-0: One property must exist for each entry in pinctrl-names.
   30    See pinctrl/pinctrl-bindings.txt for details of the property values.
   31 
   32 Optional properties:
   33 - assigned-clocks: Reference to the PWM clock entries.
   34 - assigned-clock-parents: The phandle of the parent clock of PWM clock.
   35 
   36 Example:
   37         pwm0: pwm@11006000 {
   38                 compatible = "mediatek,mt7623-pwm";
   39                 reg = <0 0x11006000 0 0x1000>;
   40                 #pwm-cells = <2>;
   41                 clocks = <&topckgen CLK_TOP_PWM_SEL>,
   42                          <&pericfg CLK_PERI_PWM>,
   43                          <&pericfg CLK_PERI_PWM1>,
   44                          <&pericfg CLK_PERI_PWM2>,
   45                          <&pericfg CLK_PERI_PWM3>,
   46                          <&pericfg CLK_PERI_PWM4>,
   47                          <&pericfg CLK_PERI_PWM5>;
   48                 clock-names = "top", "main", "pwm1", "pwm2",
   49                               "pwm3", "pwm4", "pwm5";
   50                 pinctrl-names = "default";
   51                 pinctrl-0 = <&pwm0_pins>;
   52         };

Cache object: a68ba072f7074989446a5d85814edf3a


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