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/mediatek,pwm-disp.yaml

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 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: MediaTek DISP_PWM Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Jitao Shi <jitao.shi@mediatek.com>
   11   - Xinlei Lee <xinlei.lee@mediatek.com>
   12 
   13 allOf:
   14   - $ref: pwm.yaml#
   15 
   16 properties:
   17   compatible:
   18     oneOf:
   19       - enum:
   20           - mediatek,mt2701-disp-pwm
   21           - mediatek,mt6595-disp-pwm
   22           - mediatek,mt8173-disp-pwm
   23           - mediatek,mt8183-disp-pwm
   24       - items:
   25           - const: mediatek,mt8167-disp-pwm
   26           - const: mediatek,mt8173-disp-pwm
   27       - items:
   28           - enum:
   29               - mediatek,mt8186-disp-pwm
   30               - mediatek,mt8192-disp-pwm
   31               - mediatek,mt8195-disp-pwm
   32           - const: mediatek,mt8183-disp-pwm
   33 
   34   reg:
   35     maxItems: 1
   36 
   37   "#pwm-cells":
   38     const: 2
   39 
   40   interrupts:
   41     maxItems: 1
   42 
   43   clocks:
   44     items:
   45       - description: Main Clock
   46       - description: Mm Clock
   47 
   48   clock-names:
   49     items:
   50       - const: main
   51       - const: mm
   52 
   53 required:
   54   - compatible
   55   - reg
   56   - "#pwm-cells"
   57   - clocks
   58   - clock-names
   59 
   60 additionalProperties: false
   61 
   62 examples:
   63   - |
   64     #include <dt-bindings/interrupt-controller/arm-gic.h>
   65     #include <dt-bindings/clock/mt8173-clk.h>
   66     #include <dt-bindings/interrupt-controller/irq.h>
   67 
   68     pwm0: pwm@1401e000 {
   69         compatible = "mediatek,mt8173-disp-pwm";
   70         reg = <0x1401e000 0x1000>;
   71         #pwm-cells = <2>;
   72         clocks = <&mmsys CLK_MM_DISP_PWM026M>,
   73                  <&mmsys CLK_MM_DISP_PWM0MM>;
   74         clock-names = "main", "mm";
   75     };

Cache object: 57cd75ba46a13e6ee68ade321c47ca59


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