samsung,exynos4210-combiner.txt 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. * Samsung Exynos Interrupt Combiner Controller
  2. Samsung's Exynos4 architecture includes a interrupt combiner controller which
  3. can combine interrupt sources as a group and provide a single interrupt request
  4. for the group. The interrupt request from each group are connected to a parent
  5. interrupt controller, such as GIC in case of Exynos4210.
  6. The interrupt combiner controller consists of multiple combiners. Up to eight
  7. interrupt sources can be connected to a combiner. The combiner outputs one
  8. combined interrupt for its eight interrupt sources. The combined interrupt
  9. is usually connected to a parent interrupt controller.
  10. A single node in the device tree is used to describe the interrupt combiner
  11. controller module (which includes multiple combiners). A combiner in the
  12. interrupt controller module shares config/control registers with other
  13. combiners. For example, a 32-bit interrupt enable/disable config register
  14. can accommodate up to 4 interrupt combiners (with each combiner supporting
  15. up to 8 interrupt sources).
  16. Required properties:
  17. - compatible: should be "samsung,exynos4210-combiner".
  18. - interrupt-controller: Identifies the node as an interrupt controller.
  19. - #interrupt-cells: should be <2>. The meaning of the cells are
  20. * First Cell: Combiner Group Number.
  21. * Second Cell: Interrupt number within the group.
  22. - reg: Base address and size of interrupt combiner registers.
  23. - interrupts: The list of interrupts generated by the combiners which are then
  24. connected to a parent interrupt controller. The format of the interrupt
  25. specifier depends in the interrupt parent controller.
  26. Optional properties:
  27. - samsung,combiner-nr: The number of interrupt combiners supported. If this
  28. property is not specified, the default number of combiners is assumed
  29. to be 16.
  30. - interrupt-parent: pHandle of the parent interrupt controller, if not
  31. inherited from the parent node.
  32. Example:
  33. The following is a an example from the Exynos4210 SoC dtsi file.
  34. combiner:interrupt-controller@10440000 {
  35. compatible = "samsung,exynos4210-combiner";
  36. interrupt-controller;
  37. #interrupt-cells = <2>;
  38. reg = <0x10440000 0x1000>;
  39. interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
  40. <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
  41. <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
  42. <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
  43. };