~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/timer/mediatek,timer.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/timer/mediatek,timer.yaml (Architecture i386) and /Documentation/devicetree/bindings/timer/mediatek,timer.yaml (Architecture alpha)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/timer/media      4 $id: http://devicetree.org/schemas/timer/mediatek,timer.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: MediaTek SoC timers                          7 title: MediaTek SoC timers
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Matthias Brugger <matthias.bgg@gmail.com>       10   - Matthias Brugger <matthias.bgg@gmail.com>
 11                                                    11 
 12 description:                                       12 description:
 13   MediaTek SoCs have different timers on diffe     13   MediaTek SoCs have different timers on different platforms,
 14   CPUX (ARM/ARM64 System Timer), GPT (General      14   CPUX (ARM/ARM64 System Timer), GPT (General Purpose Timer)
 15   and SYST (System Timer).                         15   and SYST (System Timer).
 16                                                    16 
 17 properties:                                        17 properties:
 18   compatible:                                      18   compatible:
 19     oneOf:                                         19     oneOf:
 20       - items:                                     20       - items:
 21           - enum:                                  21           - enum:
 22               - mediatek,mt6577-timer              22               - mediatek,mt6577-timer
 23               - mediatek,mt6765-timer              23               - mediatek,mt6765-timer
 24               - mediatek,mt6795-systimer           24               - mediatek,mt6795-systimer
 25       # GPT Timers                                 25       # GPT Timers
 26       - items:                                     26       - items:
 27           - enum:                                  27           - enum:
 28               - mediatek,mt2701-timer              28               - mediatek,mt2701-timer
 29               - mediatek,mt6580-timer              29               - mediatek,mt6580-timer
 30               - mediatek,mt6582-timer              30               - mediatek,mt6582-timer
 31               - mediatek,mt6589-timer              31               - mediatek,mt6589-timer
 32               - mediatek,mt7623-timer              32               - mediatek,mt7623-timer
 33               - mediatek,mt8127-timer              33               - mediatek,mt8127-timer
 34               - mediatek,mt8135-timer              34               - mediatek,mt8135-timer
 35               - mediatek,mt8173-timer              35               - mediatek,mt8173-timer
 36               - mediatek,mt8516-timer              36               - mediatek,mt8516-timer
 37           - const: mediatek,mt6577-timer           37           - const: mediatek,mt6577-timer
 38       # SYST Timers                                38       # SYST Timers
 39       - items:                                     39       - items:
 40           - enum:                                  40           - enum:
 41               - mediatek,mt7629-timer              41               - mediatek,mt7629-timer
 42               - mediatek,mt8183-timer              42               - mediatek,mt8183-timer
 43               - mediatek,mt8186-timer              43               - mediatek,mt8186-timer
 44               - mediatek,mt8188-timer              44               - mediatek,mt8188-timer
 45               - mediatek,mt8192-timer              45               - mediatek,mt8192-timer
 46               - mediatek,mt8195-timer              46               - mediatek,mt8195-timer
 47               - mediatek,mt8365-systimer           47               - mediatek,mt8365-systimer
 48           - const: mediatek,mt6765-timer           48           - const: mediatek,mt6765-timer
 49                                                    49 
 50   reg:                                             50   reg:
 51     maxItems: 1                                    51     maxItems: 1
 52                                                    52 
 53   interrupts:                                      53   interrupts:
 54     maxItems: 1                                    54     maxItems: 1
 55                                                    55 
 56   clocks:                                          56   clocks:
 57     minItems: 1                                    57     minItems: 1
 58     items:                                         58     items:
 59       - description: Timer clock                   59       - description: Timer clock
 60       - description: RTC or bus clock              60       - description: RTC or bus clock
 61                                                    61 
 62   clock-names:                                     62   clock-names:
 63     minItems: 1                                    63     minItems: 1
 64     maxItems: 2                                    64     maxItems: 2
 65                                                    65 
 66 required:                                          66 required:
 67   - compatible                                     67   - compatible
 68   - reg                                            68   - reg
 69   - interrupts                                     69   - interrupts
 70   - clocks                                         70   - clocks
 71                                                    71 
 72 additionalProperties: false                        72 additionalProperties: false
 73                                                    73 
 74 examples:                                          74 examples:
 75   - |                                              75   - |
 76     #include <dt-bindings/interrupt-controller     76     #include <dt-bindings/interrupt-controller/irq.h>
 77     #include <dt-bindings/interrupt-controller     77     #include <dt-bindings/interrupt-controller/arm-gic.h>
 78                                                    78 
 79     timer@10008000 {                               79     timer@10008000 {
 80       compatible = "mediatek,mt6577-timer";        80       compatible = "mediatek,mt6577-timer";
 81       reg = <0x10008000 0x80>;                     81       reg = <0x10008000 0x80>;
 82       interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL     82       interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
 83       clocks = <&system_clk>;                      83       clocks = <&system_clk>;
 84     };                                             84     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php