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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interrupt-controller/marvell,icu.txt

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/interrupt-controller/marvell,icu.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/interrupt-controller/marvell,icu.txt (Version linux-4.17.19)


  1 Marvell ICU Interrupt Controller                    1 Marvell ICU Interrupt Controller
  2 --------------------------------                    2 --------------------------------
  3                                                     3 
  4 The Marvell ICU (Interrupt Consolidation Unit)      4 The Marvell ICU (Interrupt Consolidation Unit) controller is
  5 responsible for collecting all wired-interrupt      5 responsible for collecting all wired-interrupt sources in the CP and
  6 communicating them to the GIC in the AP, the u      6 communicating them to the GIC in the AP, the unit translates interrupt
  7 requests on input wires to MSG memory mapped t      7 requests on input wires to MSG memory mapped transactions to the GIC.
  8 These messages will access a different GIC mem << 
  9 their type (NSR, SR, SEI, REI, etc).           << 
 10                                                     8 
 11 Required properties:                                9 Required properties:
 12                                                    10 
 13 - compatible: Should be "marvell,cp110-icu"        11 - compatible: Should be "marvell,cp110-icu"
 14                                                    12 
 15 - reg: Should contain ICU registers location a     13 - reg: Should contain ICU registers location and length.
 16                                                    14 
 17 Subnodes: Each group of interrupt is declared  !!  15 - #interrupt-cells: Specifies the number of cells needed to encode an
 18 with their own compatible.                     !!  16   interrupt source. The value shall be 3.
 19                                                << 
 20 Required properties for the icu_nsr/icu_sei su << 
 21                                                    17 
 22 - compatible: Should be one of:                !!  18   The 1st cell is the group type of the ICU interrupt. Possible group
 23               * "marvell,cp110-icu-nsr"        !!  19   types are:
 24               * "marvell,cp110-icu-sr"         << 
 25               * "marvell,cp110-icu-sei"        << 
 26               * "marvell,cp110-icu-rei"        << 
 27                                                    20 
 28 - #interrupt-cells: Specifies the number of ce !!  21    ICU_GRP_NSR (0x0) : Shared peripheral interrupt, non-secure
 29   interrupt source. The value shall be 2.      !!  22    ICU_GRP_SR  (0x1) : Shared peripheral interrupt, secure
                                                   >>  23    ICU_GRP_SEI (0x4) : System error interrupt
                                                   >>  24    ICU_GRP_REI (0x5) : RAM error interrupt
 30                                                    25 
 31   The 1st cell is the index of the interrupt i !!  26   The 2nd cell is the index of the interrupt in the ICU unit.
 32                                                    27 
 33   The 2nd cell is the type of the interrupt. S !!  28   The 3rd cell is the type of the interrupt. See arm,gic.txt for
 34   details.                                         29   details.
 35                                                    30 
 36 - interrupt-controller: Identifies the node as     31 - interrupt-controller: Identifies the node as an interrupt
 37   controller.                                      32   controller.
 38                                                    33 
 39 - msi-parent: Should point to the GICP control     34 - msi-parent: Should point to the GICP controller, the GIC extension
 40   that allows to trigger interrupts using MSG      35   that allows to trigger interrupts using MSG memory mapped
 41   transactions.                                    36   transactions.
 42                                                    37 
 43 Note: each 'interrupts' property referring to  << 
 44       have a different number within [0:206].  << 
 45                                                << 
 46 Example:                                       << 
 47                                                << 
 48 icu: interrupt-controller@1e0000 {             << 
 49         compatible = "marvell,cp110-icu";      << 
 50         reg = <0x1e0000 0x440>;                << 
 51                                                << 
 52         CP110_LABEL(icu_nsr): interrupt-contro << 
 53                 compatible = "marvell,cp110-ic << 
 54                 reg = <0x10 0x20>;             << 
 55                 #interrupt-cells = <2>;        << 
 56                 interrupt-controller;          << 
 57                 msi-parent = <&gicp>;          << 
 58         };                                     << 
 59                                                << 
 60         CP110_LABEL(icu_sei): interrupt-contro << 
 61                 compatible = "marvell,cp110-ic << 
 62                 reg = <0x50 0x10>;             << 
 63                 #interrupt-cells = <2>;        << 
 64                 interrupt-controller;          << 
 65                 msi-parent = <&sei>;           << 
 66         };                                     << 
 67 };                                             << 
 68                                                << 
 69 node1 {                                        << 
 70         interrupt-parent = <&icu_nsr>;         << 
 71         interrupts = <106 IRQ_TYPE_LEVEL_HIGH> << 
 72 };                                             << 
 73                                                << 
 74 node2 {                                        << 
 75         interrupt-parent = <&icu_sei>;         << 
 76         interrupts = <107 IRQ_TYPE_LEVEL_HIGH> << 
 77 };                                             << 
 78                                                << 
 79 /* Would not work with the above nodes */      << 
 80 node3 {                                        << 
 81         interrupt-parent = <&icu_nsr>;         << 
 82         interrupts = <107 IRQ_TYPE_LEVEL_HIGH> << 
 83 };                                             << 
 84                                                << 
 85 The legacy bindings were different in this way << 
 86                                                << 
 87 - #interrupt-cells: The value was 3.           << 
 88         The 1st cell was the group type of the << 
 89         group types were:                      << 
 90         ICU_GRP_NSR (0x0) : Shared peripheral  << 
 91         ICU_GRP_SR  (0x1) : Shared peripheral  << 
 92         ICU_GRP_SEI (0x4) : System error inter << 
 93         ICU_GRP_REI (0x5) : RAM error interrup << 
 94         The 2nd cell was the index of the inte << 
 95         The 3rd cell was the type of the inter << 
 96         details.                               << 
 97                                                << 
 98 Example:                                           38 Example:
 99                                                    39 
100 icu: interrupt-controller@1e0000 {                 40 icu: interrupt-controller@1e0000 {
101         compatible = "marvell,cp110-icu";          41         compatible = "marvell,cp110-icu";
102         reg = <0x1e0000 0x440>;                !!  42         reg = <0x1e0000 0x10>;
103                                                << 
104         #interrupt-cells = <3>;                    43         #interrupt-cells = <3>;
105         interrupt-controller;                      44         interrupt-controller;
106         msi-parent = <&gicp>;                      45         msi-parent = <&gicp>;
107 };                                                 46 };
108                                                    47 
109 node1 {                                        !!  48 usb3h0: usb3@500000 {
110         interrupt-parent = <&icu>;                 49         interrupt-parent = <&icu>;
111         interrupts = <ICU_GRP_NSR 106 IRQ_TYPE     50         interrupts = <ICU_GRP_NSR 106 IRQ_TYPE_LEVEL_HIGH>;
112 };                                                 51 };
                                                      

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