diff options
author | Marc Zyngier <Marc.Zyngier@arm.com> | 2016-08-11 13:50:50 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-08-23 23:57:35 -0400 |
commit | 0f6625fd00a534b47add4134c1fc760c9ef2cb58 (patch) | |
tree | 7f1e060fba1298e79d739e9a9049a970b9336722 | |
parent | e95c08f45a8ecf9fa2e106f7e8243b7c850bde7f (diff) |
arm64: dts: qcom: Fix broken interrupt trigger settings
When a device uses the GIC as its interrupt controller and generates
SPIs, only the values 1 (edge rising) and 4 (level high) are legal.
Anything else is just plain wrong (can't be programmed into the HW),
and leads to aborted driver probes (USB doesn't work with 4.8-rc1
on a Dragonboard 410C).
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916.dtsi | 10 | ||||
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 64f85f82602c..d07b2dd61bc6 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi | |||
@@ -494,7 +494,7 @@ | |||
494 | compatible = "qcom,ci-hdrc"; | 494 | compatible = "qcom,ci-hdrc"; |
495 | reg = <0x78d9000 0x400>; | 495 | reg = <0x78d9000 0x400>; |
496 | dr_mode = "peripheral"; | 496 | dr_mode = "peripheral"; |
497 | interrupts = <GIC_SPI 134 IRQ_TYPE_NONE>; | 497 | interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; |
498 | usb-phy = <&usb_otg>; | 498 | usb-phy = <&usb_otg>; |
499 | status = "disabled"; | 499 | status = "disabled"; |
500 | }; | 500 | }; |
@@ -502,7 +502,7 @@ | |||
502 | usb_host: ehci@78d9000 { | 502 | usb_host: ehci@78d9000 { |
503 | compatible = "qcom,ehci-host"; | 503 | compatible = "qcom,ehci-host"; |
504 | reg = <0x78d9000 0x400>; | 504 | reg = <0x78d9000 0x400>; |
505 | interrupts = <GIC_SPI 134 IRQ_TYPE_NONE>; | 505 | interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; |
506 | usb-phy = <&usb_otg>; | 506 | usb-phy = <&usb_otg>; |
507 | status = "disabled"; | 507 | status = "disabled"; |
508 | }; | 508 | }; |
@@ -510,8 +510,8 @@ | |||
510 | usb_otg: phy@78d9000 { | 510 | usb_otg: phy@78d9000 { |
511 | compatible = "qcom,usb-otg-snps"; | 511 | compatible = "qcom,usb-otg-snps"; |
512 | reg = <0x78d9000 0x400>; | 512 | reg = <0x78d9000 0x400>; |
513 | interrupts = <GIC_SPI 134 IRQ_TYPE_EDGE_BOTH>, | 513 | interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, |
514 | <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>; | 514 | <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
515 | 515 | ||
516 | qcom,vdd-levels = <500000 1000000 1320000>; | 516 | qcom,vdd-levels = <500000 1000000 1320000>; |
517 | qcom,phy-init-sequence = <0x44 0x6B 0x24 0x13>; | 517 | qcom,phy-init-sequence = <0x44 0x6B 0x24 0x13>; |
@@ -605,7 +605,7 @@ | |||
605 | <0x200a000 0x002100>; | 605 | <0x200a000 0x002100>; |
606 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; | 606 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
607 | interrupt-names = "periph_irq"; | 607 | interrupt-names = "periph_irq"; |
608 | interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>; | 608 | interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; |
609 | qcom,ee = <0>; | 609 | qcom,ee = <0>; |
610 | qcom,channel = <0>; | 610 | qcom,channel = <0>; |
611 | #address-cells = <2>; | 611 | #address-cells = <2>; |
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 55ec3e8326b7..69ed6e18b875 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi | |||
@@ -339,7 +339,7 @@ | |||
339 | <0x400a000 0x002100>; | 339 | <0x400a000 0x002100>; |
340 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; | 340 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
341 | interrupt-names = "periph_irq"; | 341 | interrupt-names = "periph_irq"; |
342 | interrupts = <GIC_SPI 326 IRQ_TYPE_NONE>; | 342 | interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>; |
343 | qcom,ee = <0>; | 343 | qcom,ee = <0>; |
344 | qcom,channel = <0>; | 344 | qcom,channel = <0>; |
345 | #address-cells = <2>; | 345 | #address-cells = <2>; |