Loading Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt +2 −2 Original line number Diff line number Diff line Loading @@ -55,13 +55,13 @@ Example: pdc: interrupt-controller@b220000 { compatible = "qcom,sdm845-pdc"; reg = <0xb220000 0x30000>; qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>; qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>; #interrupt-cells = <2>; interrupt-parent = <&intc>; interrupt-controller; }; DT binding of a device that wants to use the GIC SPI 514 as a wakeup DT binding of a device that wants to use the GIC SPI 482 as a wakeup interrupt, must do - wake-device { Loading drivers/irqchip/qcom-pdc.c +1 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,7 @@ static int qcom_pdc_gic_set_type(struct irq_data *d, unsigned int type) break; case IRQ_TYPE_EDGE_BOTH: pdc_type = PDC_EDGE_DUAL; type = IRQ_TYPE_EDGE_RISING; break; case IRQ_TYPE_LEVEL_HIGH: pdc_type = PDC_LEVEL_HIGH; Loading Loading
Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt +2 −2 Original line number Diff line number Diff line Loading @@ -55,13 +55,13 @@ Example: pdc: interrupt-controller@b220000 { compatible = "qcom,sdm845-pdc"; reg = <0xb220000 0x30000>; qcom,pdc-ranges = <0 512 94>, <94 641 15>, <115 662 7>; qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>; #interrupt-cells = <2>; interrupt-parent = <&intc>; interrupt-controller; }; DT binding of a device that wants to use the GIC SPI 514 as a wakeup DT binding of a device that wants to use the GIC SPI 482 as a wakeup interrupt, must do - wake-device { Loading
drivers/irqchip/qcom-pdc.c +1 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,7 @@ static int qcom_pdc_gic_set_type(struct irq_data *d, unsigned int type) break; case IRQ_TYPE_EDGE_BOTH: pdc_type = PDC_EDGE_DUAL; type = IRQ_TYPE_EDGE_RISING; break; case IRQ_TYPE_LEVEL_HIGH: pdc_type = PDC_LEVEL_HIGH; Loading