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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.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 OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/interrupt-controller/qcom,pdc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: PDC interrupt controller
  8 
  9 maintainers:
 10   - Bjorn Andersson <bjorn.andersson@linaro.org>
 11 
 12 description: |
 13   Qualcomm Technologies Inc. SoCs based on the RPM Hardened architecture have a
 14   Power Domain Controller (PDC) that is on always-on domain. In addition to
 15   providing power control for the power domains, the hardware also has an
 16   interrupt controller that can be used to help detect edge low interrupts as
 17   well detect interrupts when the GIC is non-operational.
 18 
 19   GIC is parent interrupt controller at the highest level. Platform interrupt
 20   controller PDC is next in hierarchy, followed by others. Drivers requiring
 21   wakeup capabilities of their device interrupts routed through the PDC, must
 22   specify PDC as their interrupt controller and request the PDC port associated
 23   with the GIC interrupt. See example below.
 24 
 25 properties:
 26   compatible:
 27     items:
 28       - enum:
 29           - qcom,qdu1000-pdc
 30           - qcom,sa8255p-pdc
 31           - qcom,sa8775p-pdc
 32           - qcom,sc7180-pdc
 33           - qcom,sc7280-pdc
 34           - qcom,sc8180x-pdc
 35           - qcom,sc8280xp-pdc
 36           - qcom,sdm670-pdc
 37           - qcom,sdm845-pdc
 38           - qcom,sdx55-pdc
 39           - qcom,sdx65-pdc
 40           - qcom,sdx75-pdc
 41           - qcom,sm4450-pdc
 42           - qcom,sm6350-pdc
 43           - qcom,sm8150-pdc
 44           - qcom,sm8250-pdc
 45           - qcom,sm8350-pdc
 46           - qcom,sm8450-pdc
 47           - qcom,sm8550-pdc
 48           - qcom,sm8650-pdc
 49           - qcom,x1e80100-pdc
 50       - const: qcom,pdc
 51 
 52   reg:
 53     minItems: 1
 54     items:
 55       - description: PDC base register region
 56       - description: Edge or Level config register for SPI interrupts
 57 
 58   '#interrupt-cells':
 59     const: 2
 60 
 61   interrupt-controller: true
 62 
 63   qcom,pdc-ranges:
 64     $ref: /schemas/types.yaml#/definitions/uint32-matrix
 65     minItems: 1
 66     maxItems: 128 # no hard limit
 67     items:
 68       items:
 69         - description: starting PDC port
 70         - description: GIC hwirq number for the PDC port
 71         - description: number of interrupts in sequence
 72     description: |
 73       Specifies the PDC pin offset and the number of PDC ports.
 74       The tuples indicates the valid mapping of valid PDC ports
 75       and their hwirq mapping.
 76 
 77 required:
 78   - compatible
 79   - reg
 80   - '#interrupt-cells'
 81   - interrupt-controller
 82   - qcom,pdc-ranges
 83 
 84 additionalProperties: false
 85 
 86 examples:
 87   - |
 88     #include <dt-bindings/interrupt-controller/irq.h>
 89 
 90     pdc: interrupt-controller@b220000 {
 91         compatible = "qcom,sdm845-pdc", "qcom,pdc";
 92         reg = <0xb220000 0x30000>;
 93         qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>;
 94         #interrupt-cells = <2>;
 95         interrupt-parent = <&intc>;
 96         interrupt-controller;
 97     };
 98 
 99     wake-device {
100         interrupts-extended = <&pdc 2 IRQ_TYPE_LEVEL_HIGH>;
101     };

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