]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: STiH407-family: Add missing pwm irq
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 27 Jan 2017 16:34:03 +0000 (17:34 +0100)
committerPatrice Chotard <patrice.chotard@st.com>
Fri, 27 Jan 2017 16:34:03 +0000 (17:34 +0100)
Add the missing interrupt node to properly probe
the pwm device.

This fix following error log :
[    0.208119] sti-pwm 9510000.pwm: Failed to obtain IRQ
[    0.222352] pwm-regulator pwm-regulator: Failed to get PWM: -517

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-aff-by: Patrice CHOTARD <patrice.chotard@st.com>
arch/arm/boot/dts/stih407-family.dtsi

index 508895f3ef09d9c124d2099c2583dbd5f3fb343b..d771f006e1ed51989c2241fa05bbc86fd84bd38a 100644 (file)
@@ -688,6 +688,7 @@ pwm1: pwm@9510000 {
                        compatible      = "st,sti-pwm";
                        #pwm-cells      = <2>;
                        reg             = <0x9510000 0x68>;
+                       interrupts      = <GIC_SPI 131 IRQ_TYPE_NONE>;
                        pinctrl-names   = "default";
                        pinctrl-0       = <&pinctrl_pwm1_chan0_default
                                        &pinctrl_pwm1_chan1_default