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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/timer/arm,arch_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/arm,arch_timer.yaml (Architecture i386) and /Documentation/devicetree/bindings/timer/arm,arch_timer.yaml (Architecture mips)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/timer/arm,a      4 $id: http://devicetree.org/schemas/timer/arm,arch_timer.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: ARM architected timer                        7 title: ARM architected timer
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Marc Zyngier <marc.zyngier@arm.com>             10   - Marc Zyngier <marc.zyngier@arm.com>
 11   - Mark Rutland <mark.rutland@arm.com>             11   - Mark Rutland <mark.rutland@arm.com>
 12 description: |+                                    12 description: |+
 13   ARM cores may have a per-core architected ti     13   ARM cores may have a per-core architected timer, which provides per-cpu timers,
 14   or a memory mapped architected timer, which      14   or a memory mapped architected timer, which provides up to 8 frames with a
 15   physical and optional virtual timer per fram     15   physical and optional virtual timer per frame.
 16                                                    16 
 17   The per-core architected timer is attached t     17   The per-core architected timer is attached to a GIC to deliver its
 18   per-processor interrupts via PPIs. The memor     18   per-processor interrupts via PPIs. The memory mapped timer is attached to a GIC
 19   to deliver its interrupts via SPIs.              19   to deliver its interrupts via SPIs.
 20                                                    20 
 21 properties:                                        21 properties:
 22   compatible:                                      22   compatible:
 23     oneOf:                                         23     oneOf:
 24       - items:                                     24       - items:
 25           - const: arm,cortex-a15-timer            25           - const: arm,cortex-a15-timer
 26           - const: arm,armv7-timer                 26           - const: arm,armv7-timer
 27       - items:                                     27       - items:
 28           - enum:                                  28           - enum:
 29               - arm,armv7-timer                    29               - arm,armv7-timer
 30               - arm,armv8-timer                    30               - arm,armv8-timer
 31       - items:                                     31       - items:
 32           - const: arm,armv8-timer                 32           - const: arm,armv8-timer
 33           - const: arm,armv7-timer                 33           - const: arm,armv7-timer
 34                                                    34 
 35   interrupts:                                      35   interrupts:
 36     minItems: 1                                    36     minItems: 1
 37     items:                                         37     items:
 38       - description: secure timer irq              38       - description: secure timer irq
 39       - description: non-secure timer irq          39       - description: non-secure timer irq
 40       - description: virtual timer irq             40       - description: virtual timer irq
 41       - description: hypervisor timer irq          41       - description: hypervisor timer irq
 42       - description: hypervisor virtual timer      42       - description: hypervisor virtual timer irq
 43                                                    43 
 44   interrupt-names:                                 44   interrupt-names:
 45     oneOf:                                         45     oneOf:
 46       - minItems: 2                                46       - minItems: 2
 47         items:                                     47         items:
 48           - const: phys                            48           - const: phys
 49           - const: virt                            49           - const: virt
 50           - const: hyp-phys                        50           - const: hyp-phys
 51           - const: hyp-virt                        51           - const: hyp-virt
 52       - minItems: 3                                52       - minItems: 3
 53         items:                                     53         items:
 54           - const: sec-phys                        54           - const: sec-phys
 55           - const: phys                            55           - const: phys
 56           - const: virt                            56           - const: virt
 57           - const: hyp-phys                        57           - const: hyp-phys
 58           - const: hyp-virt                        58           - const: hyp-virt
 59                                                    59 
 60   clock-frequency:                                 60   clock-frequency:
 61     description: The frequency of the main cou     61     description: The frequency of the main counter, in Hz. Should be present
 62       only where necessary to work around brok     62       only where necessary to work around broken firmware which does not configure
 63       CNTFRQ on all CPUs to a uniform correct      63       CNTFRQ on all CPUs to a uniform correct value. Use of this property is
 64       strongly discouraged; fix your firmware      64       strongly discouraged; fix your firmware unless absolutely impossible.
 65                                                    65 
 66   always-on:                                       66   always-on:
 67     type: boolean                                  67     type: boolean
 68     description: If present, the timer is powe     68     description: If present, the timer is powered through an always-on power
 69       domain, therefore it never loses context     69       domain, therefore it never loses context.
 70                                                    70 
 71   allwinner,erratum-unknown1:                      71   allwinner,erratum-unknown1:
 72     type: boolean                                  72     type: boolean
 73     description: Indicates the presence of an      73     description: Indicates the presence of an erratum found in Allwinner SoCs,
 74       where reading certain values from the co     74       where reading certain values from the counter is unreliable. This also
 75       affects writes to the tval register, due     75       affects writes to the tval register, due to the implicit counter read.
 76                                                    76 
 77   fsl,erratum-a008585:                             77   fsl,erratum-a008585:
 78     type: boolean                                  78     type: boolean
 79     description: Indicates the presence of Qor     79     description: Indicates the presence of QorIQ erratum A-008585, which says
 80       that reading the counter is unreliable u     80       that reading the counter is unreliable unless the same value is returned
 81       by back-to-back reads. This also affects     81       by back-to-back reads. This also affects writes to the tval register, due
 82       to the implicit counter read.                82       to the implicit counter read.
 83                                                    83 
 84   hisilicon,erratum-161010101:                     84   hisilicon,erratum-161010101:
 85     type: boolean                                  85     type: boolean
 86     description: Indicates the presence of His     86     description: Indicates the presence of Hisilicon erratum 161010101, which
 87       says that reading the counters is unreli     87       says that reading the counters is unreliable in some cases, and reads may
 88       return a value 32 beyond the correct val     88       return a value 32 beyond the correct value. This also affects writes to
 89       the tval registers, due to the implicit      89       the tval registers, due to the implicit counter read.
 90                                                    90 
 91   arm,cpu-registers-not-fw-configured:             91   arm,cpu-registers-not-fw-configured:
 92     type: boolean                                  92     type: boolean
 93     description: Firmware does not initialize      93     description: Firmware does not initialize any of the generic timer CPU
 94       registers, which contain their architect     94       registers, which contain their architecturally-defined reset values. Only
 95       supported for 32-bit systems which follo     95       supported for 32-bit systems which follow the ARMv7 architected reset
 96       values.                                      96       values.
 97                                                    97 
 98   arm,no-tick-in-suspend:                          98   arm,no-tick-in-suspend:
 99     type: boolean                                  99     type: boolean
100     description: The main counter does not tic    100     description: The main counter does not tick when the system is in
101       low-power system suspend on some SoCs. T    101       low-power system suspend on some SoCs. This behavior does not match the
102       Architecture Reference Manual's specific    102       Architecture Reference Manual's specification that the system counter "must
103       be implemented in an always-on power dom    103       be implemented in an always-on power domain."
104                                                   104 
105 required:                                         105 required:
106   - compatible                                    106   - compatible
107                                                   107 
108 additionalProperties: false                       108 additionalProperties: false
109                                                   109 
110 oneOf:                                            110 oneOf:
111   - required:                                     111   - required:
112       - interrupts                                112       - interrupts
113   - required:                                     113   - required:
114       - interrupts-extended                       114       - interrupts-extended
115                                                   115 
116 examples:                                         116 examples:
117   - |                                             117   - |
118     timer {                                       118     timer {
119       compatible = "arm,cortex-a15-timer",        119       compatible = "arm,cortex-a15-timer",
120              "arm,armv7-timer";                   120              "arm,armv7-timer";
121       interrupts = <1 13 0xf08>,                  121       interrupts = <1 13 0xf08>,
122              <1 14 0xf08>,                        122              <1 14 0xf08>,
123              <1 11 0xf08>,                        123              <1 11 0xf08>,
124              <1 10 0xf08>;                        124              <1 10 0xf08>;
125       clock-frequency = <100000000>;              125       clock-frequency = <100000000>;
126     };                                            126     };
127                                                   127 
128 ...                                               128 ...
                                                      

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