Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 470b0852 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: irqchip: pdc: setup all edge interrupts as rising edge at GIC"

parents 410988e6 1556f95b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 {
+1 −0
Original line number Diff line number Diff line
@@ -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;