arm64: imx8-ss-lsio: Add PWM interrupts
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 arm64: imx8-ss-lsio: Add PWM interrupts
From: Fabio Estevam <[email protected]>
The PWM interrupt is mandatory per imx-pwm.yaml.
Add them.
This also fixes the followig schema warning:
imx8qm-apalis-v1.1-ixora-v1.2.dtb: pwm@5d000000: 'oneOf' conditional failed, one must be fixed:
'interrupts' is a required property
'interrupts-extended' is a required property
from schema $id: http://devicetree.org/schemas/pwm/imx-pwm.yaml#
--- arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi +4 -0
@@ -30,6 +30,7 @@ lsio_pwm0: pwm@5d000000 { assigned-clocks = <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; #pwm-cells = <2>; + interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
@@ -42,6 +43,7 @@ lsio_pwm1: pwm@5d010000 { assigned-clocks = <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; #pwm-cells = <2>; + interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
@@ -54,6 +56,7 @@ lsio_pwm2: pwm@5d020000 { assigned-clocks = <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; #pwm-cells = <2>; + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
@@ -66,6 +69,7 @@ lsio_pwm3: pwm@5d030000 { assigned-clocks = <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; #pwm-cells = <2>; + interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
Signature · 1 line
2.34.1
Shawn Guo
AppliedQuoted 6 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PWM interrupt is mandatory per
imx-pwm.yaml.Add them.
Quoted 8 lines
This also fixes the followig schema warning:
imx8qm-apalis-v1.1-ixora-v1.2.dtb: pwm@5d000000: 'oneOf' conditional failed, one must be fixed:
'interrupts' is a required property
'interrupts-extended' is a required property
from schema $id: http://devicetree.org/schemas/pwm/imx-pwm.yaml#Signed-off-by Fabio Estevam <[email protected]>
Applied, thanks!