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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interrupt-controller/mrvl,intc.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 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/interrupt-controller/mrvl,intc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Marvell MMP/Orion Interrupt controller
  8 
  9 maintainers:
 10   - Andrew Lunn <andrew@lunn.ch>
 11   - Gregory Clement <gregory.clement@bootlin.com>
 12 
 13 allOf:
 14   - if:
 15       properties:
 16         compatible:
 17           not:
 18             contains:
 19               const: marvell,orion-intc
 20     then:
 21       required:
 22         - mrvl,intc-nr-irqs
 23   - if:
 24       properties:
 25         compatible:
 26           contains:
 27             enum:
 28               - mrvl,mmp-intc
 29               - mrvl,mmp2-intc
 30     then:
 31       properties:
 32         reg:
 33           maxItems: 1
 34   - if:
 35       properties:
 36         compatible:
 37           contains:
 38             enum:
 39               - marvell,mmp3-intc
 40               - mrvl,mmp2-mux-intc
 41     then:
 42       properties:
 43         reg:
 44           minItems: 2
 45   - if:
 46       properties:
 47         compatible:
 48           contains:
 49             const: mrvl,mmp2-mux-intc
 50     then:
 51       properties:
 52         interrupts:
 53           maxItems: 1
 54         reg-names:
 55           items:
 56             - const: mux status
 57             - const: mux mask
 58       required:
 59         - interrupts
 60     else:
 61       properties:
 62         interrupts: false
 63 
 64 properties:
 65   '#interrupt-cells':
 66     const: 1
 67 
 68   compatible:
 69     enum:
 70       - mrvl,mmp-intc
 71       - mrvl,mmp2-intc
 72       - marvell,mmp3-intc
 73       - marvell,orion-intc
 74       - mrvl,mmp2-mux-intc
 75 
 76   reg:
 77     minItems: 1
 78     maxItems: 2
 79 
 80   reg-names: true
 81 
 82   interrupts: true
 83 
 84   interrupt-controller: true
 85 
 86   mrvl,intc-nr-irqs:
 87     description: |
 88       Specifies the number of interrupts in the interrupt controller.
 89     $ref: /schemas/types.yaml#/definitions/uint32
 90 
 91   mrvl,clr-mfp-irq:
 92     description: |
 93       Specifies the interrupt that needs to clear MFP edge detection first.
 94     $ref: /schemas/types.yaml#/definitions/uint32
 95 
 96 required:
 97   - '#interrupt-cells'
 98   - compatible
 99   - reg
100   - interrupt-controller
101 
102 additionalProperties: false
103 
104 examples:
105   - |
106     interrupt-controller@d4282000 {
107         compatible = "mrvl,mmp2-intc";
108         interrupt-controller;
109         #interrupt-cells = <1>;
110         reg = <0xd4282000 0x1000>;
111         mrvl,intc-nr-irqs = <64>;
112     };
113 
114     interrupt-controller@d4282150 {
115         compatible = "mrvl,mmp2-mux-intc";
116         interrupts = <4>;
117         interrupt-controller;
118         #interrupt-cells = <1>;
119         reg = <0x150 0x4>, <0x168 0x4>;
120         reg-names = "mux status", "mux mask";
121         mrvl,intc-nr-irqs = <2>;
122     };
123   - |
124     interrupt-controller@fed20204 {
125         compatible = "marvell,orion-intc";
126         interrupt-controller;
127         #interrupt-cells = <1>;
128         reg = <0xfed20204 0x04>,
129               <0xfed20214 0x04>;
130     };
131 
132 ...

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