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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/watchdog/qcom-wdt.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/watchdog/qcom-wdt.yaml (Architecture m68k) and /Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml (Architecture alpha)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/watchdog/qc      4 $id: http://devicetree.org/schemas/watchdog/qcom-wdt.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm Krait Processor Sub-system (KP      7 title: Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Rajendra Nayak <quic_rjendra@quicinc.com>       10   - Rajendra Nayak <quic_rjendra@quicinc.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   $nodename:                                       13   $nodename:
 14     pattern: "^(watchdog|timer)@[0-9a-f]+$"        14     pattern: "^(watchdog|timer)@[0-9a-f]+$"
 15                                                    15 
 16   compatible:                                      16   compatible:
 17     oneOf:                                         17     oneOf:
 18       - items:                                     18       - items:
 19           - enum:                                  19           - enum:
 20               - qcom,kpss-wdt-ipq4019              20               - qcom,kpss-wdt-ipq4019
 21               - qcom,apss-wdt-ipq5018              21               - qcom,apss-wdt-ipq5018
 22               - qcom,apss-wdt-ipq5332              22               - qcom,apss-wdt-ipq5332
 23               - qcom,apss-wdt-ipq9574              23               - qcom,apss-wdt-ipq9574
 24               - qcom,apss-wdt-msm8226              24               - qcom,apss-wdt-msm8226
 25               - qcom,apss-wdt-msm8974              25               - qcom,apss-wdt-msm8974
 26               - qcom,apss-wdt-msm8994              26               - qcom,apss-wdt-msm8994
 27               - qcom,apss-wdt-qcm2290              27               - qcom,apss-wdt-qcm2290
 28               - qcom,apss-wdt-qcs404               28               - qcom,apss-wdt-qcs404
 29               - qcom,apss-wdt-sa8255p              29               - qcom,apss-wdt-sa8255p
 30               - qcom,apss-wdt-sa8775p              30               - qcom,apss-wdt-sa8775p
 31               - qcom,apss-wdt-sc7180               31               - qcom,apss-wdt-sc7180
 32               - qcom,apss-wdt-sc7280               32               - qcom,apss-wdt-sc7280
 33               - qcom,apss-wdt-sc8180x              33               - qcom,apss-wdt-sc8180x
 34               - qcom,apss-wdt-sc8280xp             34               - qcom,apss-wdt-sc8280xp
 35               - qcom,apss-wdt-sdm845               35               - qcom,apss-wdt-sdm845
 36               - qcom,apss-wdt-sdx55                36               - qcom,apss-wdt-sdx55
 37               - qcom,apss-wdt-sdx65                37               - qcom,apss-wdt-sdx65
 38               - qcom,apss-wdt-sm6115               38               - qcom,apss-wdt-sm6115
 39               - qcom,apss-wdt-sm6350               39               - qcom,apss-wdt-sm6350
 40               - qcom,apss-wdt-sm8150               40               - qcom,apss-wdt-sm8150
 41               - qcom,apss-wdt-sm8250               41               - qcom,apss-wdt-sm8250
 42           - const: qcom,kpss-wdt                   42           - const: qcom,kpss-wdt
 43       - const: qcom,kpss-wdt                       43       - const: qcom,kpss-wdt
 44         deprecated: true                           44         deprecated: true
 45       - items:                                     45       - items:
 46           - const: qcom,scss-timer                 46           - const: qcom,scss-timer
 47           - const: qcom,msm-timer                  47           - const: qcom,msm-timer
 48       - items:                                     48       - items:
 49           - enum:                                  49           - enum:
 50               - qcom,kpss-wdt-apq8064              50               - qcom,kpss-wdt-apq8064
 51               - qcom,kpss-wdt-ipq8064              51               - qcom,kpss-wdt-ipq8064
 52               - qcom,kpss-wdt-mdm9615              52               - qcom,kpss-wdt-mdm9615
 53               - qcom,kpss-wdt-msm8960              53               - qcom,kpss-wdt-msm8960
 54           - const: qcom,kpss-timer                 54           - const: qcom,kpss-timer
 55           - const: qcom,msm-timer                  55           - const: qcom,msm-timer
 56                                                    56 
 57   reg:                                             57   reg:
 58     maxItems: 1                                    58     maxItems: 1
 59                                                    59 
 60   clocks:                                          60   clocks:
 61     maxItems: 1                                    61     maxItems: 1
 62                                                    62 
 63   clock-names:                                     63   clock-names:
 64     items:                                         64     items:
 65       - const: sleep                               65       - const: sleep
 66                                                    66 
 67   clock-frequency:                                 67   clock-frequency:
 68     description:                                   68     description:
 69       The frequency of the general purpose tim     69       The frequency of the general purpose timer in Hz.
 70                                                    70 
 71   cpu-offset:                                      71   cpu-offset:
 72     $ref: /schemas/types.yaml#/definitions/uin     72     $ref: /schemas/types.yaml#/definitions/uint32
 73     description:                                   73     description:
 74       Per-CPU offset used when the timer is ac     74       Per-CPU offset used when the timer is accessed without the CPU remapping
 75       facilities. The offset is cpu-offset + (     75       facilities. The offset is cpu-offset + (0x10000 * cpu-nr).
 76                                                    76 
 77   interrupts:                                      77   interrupts:
 78     minItems: 1                                    78     minItems: 1
 79     maxItems: 5                                    79     maxItems: 5
 80                                                    80 
 81 required:                                          81 required:
 82   - compatible                                     82   - compatible
 83   - reg                                            83   - reg
 84   - clocks                                         84   - clocks
 85                                                    85 
 86 allOf:                                             86 allOf:
 87   - $ref: watchdog.yaml#                           87   - $ref: watchdog.yaml#
 88                                                    88 
 89   - if:                                            89   - if:
 90       properties:                                  90       properties:
 91         compatible:                                91         compatible:
 92           contains:                                92           contains:
 93             const: qcom,kpss-wdt                   93             const: qcom,kpss-wdt
 94     then:                                          94     then:
 95       properties:                                  95       properties:
 96         clock-frequency: false                     96         clock-frequency: false
 97         cpu-offset: false                          97         cpu-offset: false
 98         interrupts:                                98         interrupts:
 99           minItems: 1                              99           minItems: 1
100           items:                                  100           items:
101             - description: Bark                   101             - description: Bark
102             - description: Bite                   102             - description: Bite
103                                                   103 
104     else:                                         104     else:
105       properties:                                 105       properties:
106         interrupts:                               106         interrupts:
107           minItems: 3                             107           minItems: 3
108           items:                                  108           items:
109             - description: Debug                  109             - description: Debug
110             - description: First general purpo    110             - description: First general purpose timer
111             - description: Second general purp    111             - description: Second general purpose timer
112             - description: First watchdog         112             - description: First watchdog
113             - description: Second watchdog        113             - description: Second watchdog
114       required:                                   114       required:
115         - clock-frequency                         115         - clock-frequency
116                                                   116 
117 unevaluatedProperties: false                      117 unevaluatedProperties: false
118                                                   118 
119 examples:                                         119 examples:
120   - |                                             120   - |
121     #include <dt-bindings/interrupt-controller    121     #include <dt-bindings/interrupt-controller/arm-gic.h>
122                                                   122 
123     watchdog@17c10000 {                           123     watchdog@17c10000 {
124         compatible = "qcom,apss-wdt-sm8150", "    124         compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
125         reg = <0x17c10000 0x1000>;                125         reg = <0x17c10000 0x1000>;
126         clocks = <&sleep_clk>;                    126         clocks = <&sleep_clk>;
127         interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_    127         interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
128         timeout-sec = <10>;                       128         timeout-sec = <10>;
129     };                                            129     };
130                                                   130 
131   - |                                             131   - |
132     #include <dt-bindings/interrupt-controller    132     #include <dt-bindings/interrupt-controller/arm-gic.h>
133                                                   133 
134     watchdog@200a000 {                            134     watchdog@200a000 {
135         compatible = "qcom,kpss-wdt-ipq8064",     135         compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer", "qcom,msm-timer";
136         interrupts = <GIC_PPI 1 (GIC_CPU_MASK_    136         interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
137                      <GIC_PPI 2 (GIC_CPU_MASK_    137                      <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
138                      <GIC_PPI 3 (GIC_CPU_MASK_    138                      <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
139                      <GIC_PPI 4 (GIC_CPU_MASK_    139                      <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
140                      <GIC_PPI 5 (GIC_CPU_MASK_    140                      <GIC_PPI 5 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
141         reg = <0x0200a000 0x100>;                 141         reg = <0x0200a000 0x100>;
142         clock-frequency = <25000000>;             142         clock-frequency = <25000000>;
143         clocks = <&sleep_clk>;                    143         clocks = <&sleep_clk>;
144         clock-names = "sleep";                    144         clock-names = "sleep";
145         cpu-offset = <0x80000>;                   145         cpu-offset = <0x80000>;
146     };                                            146     };
                                                      

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