Fix Cygnus, NS2, Stingray interrupt type
Subsystems (2)
cover Fix Cygnus, NS2, Stingray interrupt type
This patch series fixes incorrect interrupt types for I2C and PCIe in DT for Broadcom Cygnus, NS2, and Stingray SoCs
This patch series is based off v4.17 and is available on GIHUB:
repo: https://github.com/Broadcom/arm64-linux.git
branch: cygnus-ns2-dt-irq-type-fix-v1
Ray Jui (5):
ARM: dts: cygnus: Fix I2C controller interrupt type
ARM: dts: cygnus: Fix PCIe controller interrupt type
ARM64: dts: ns2: Fix I2C controller interrupt type
ARM64: dts: ns2: Fix PCIe controller interrupt type
ARM64: dts: Stingray: Fix I2C controller interrupt type
arch/arm/boot/dts/bcm-cygnus.dtsi | 24 +++++++++++----------- arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 8 ++++---- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-)
Signature · 1 line
2.1.4
PATCH 1/5 ARM: dts: cygnus: Fix I2C controller interrupt type
Fix I2C controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom Cygnus SoC
--- arch/arm/boot/dts/bcm-cygnus.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/bcm-cygnus.dtsi +2 -2
@@ -216,7 +216,7 @@ reg = <0x18008000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };
@@ -245,7 +245,7 @@ reg = <0x1800b000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };
Signature · 1 line
2.1.4
Re: [PATCH 1/5] ARM: dts: cygnus: Fix I2C controller interrupt type
Quoted 4 lines · Ray Jui
Fix I2C controller interrupt to use
IRQ_TYPE_LEVEL_HIGHfor Broadcom Cygnus SoCFixes b51c05a331ff ("ARM: dts: add I2C device nodes for Broadcom Cygnus")
This appears to be the only one that is truly needed here, the two others below probably just moved things around but the offending commit was already introduced in the above commit.
Quoted 3 lines
Fixes 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axi bus")Fixes 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals")
There is no need for an extra line between the last Fixes: tag and your Signed-off-by tag.
Quoted 28 lines
Signed-off-by Ray Jui <[email protected]>--- arch/arm/boot/dts/bcm-cygnus.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/boot/dts/bcm-cygnus.dtsi +2
-2@@ -216,7 +216,7 @@ reg = <0x18008000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };@@ -245,7 +245,7 @@ reg = <0x1800b000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };
Signature · 1 line
Florian
Re: [PATCH 1/5] ARM: dts: cygnus: Fix I2C controller interrupt type
Quoted 10 lines · Florian Fainelli
Quoted 4 lines · Ray Jui
Fix I2C controller interrupt to use
IRQ_TYPE_LEVEL_HIGHfor Broadcom Cygnus SoCFixes b51c05a331ff ("ARM: dts: add I2C device nodes for Broadcom Cygnus")This appears to be the only one that is truly needed here, the two others below probably just moved things around but the offending commit was already introduced in the above commit.
Okay thanks. Will remove the other two "Fixes" below.
Quoted 7 lines
Quoted 3 lines
Fixes 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axi bus")Fixes 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals")There is no need for an extra line between the last Fixes: tag and your Signed-off-by tag.
Got it, thanks!
Ray
Re: [PATCH 1/5] ARM: dts: cygnus: Fix I2C controller interrupt type
Quoted 10 lines · Ray Jui
Quoted 7 lines · Florian Fainelli
Quoted 5 lines · Ray Jui
Fix I2C controller interrupt to use
IRQ_TYPE_LEVEL_HIGHfor Broadcom Cygnus SoCFixes b51c05a331ff ("ARM: dts: add I2C device nodes for BroadcomCygnus")
Quoted 6 lines
Quoted 4 lines
This appears to be the only one that is truly needed here, the two others below probably just moved things around but the offending commit was already introduced in the above commit.
Okay thanks. Will remove the other two "Fixes" below.
I can take care of that while applying the patches, no need for you to resubmit, for the whole series I mean.
Quoted 11 lines
Quoted 9 lines
Quoted 5 lines
Fixes 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axibus")
Fixes 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals")There is no need for an extra line between the last Fixes: tag and your Signed-off-by tag.
Got it, thanks!
And that as well.
Signature · 1 line
Florian
Re: [PATCH 1/5] ARM: dts: cygnus: Fix I2C controller interrupt type
Quoted 16 lines · Florian Fainelli
Quoted 15 lines · Ray Jui
Quoted 11 lines · Florian Fainelli
Quoted 5 lines · Ray Jui
Fix I2C controller interrupt to use
IRQ_TYPE_LEVEL_HIGHfor Broadcom Cygnus SoCFixes b51c05a331ff ("ARM: dts: add I2C device nodes for BroadcomCygnus")
This appears to be the only one that is truly needed here, the two others below probably just moved things around but the offending commit was already introduced in the above commit.
Quoted 5 lines
Quoted 1 line
Okay thanks. Will remove the other two "Fixes" below.
I can take care of that while applying the patches, no need for you to resubmit, for the whole series I mean.
Excellent! Much appreciated!
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Fixes 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axibus")
Fixes 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals")
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
There is no need for an extra line between the last Fixes: tag and your Signed-off-by tag.
Got it, thanks!
And that as well.
Thanks again!
Ray
PATCH 2/5 ARM: dts: cygnus: Fix PCIe controller interrupt type
In reply to Ray JuiFix PCIe controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom Cygnus SoC
bus")
--- arch/arm/boot/dts/bcm-cygnus.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
arch/arm/boot/dts/bcm-cygnus.dtsi +10 -10
@@ -256,7 +256,7 @@ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; linux,pci-domain = <0>;
@@ -278,10 +278,10 @@ compatible = "brcm,iproc-msi"; msi-controller; interrupt-parent = <&gic>; - interrupts = <GIC_SPI 96 IRQ_TYPE_NONE>, - <GIC_SPI 97 IRQ_TYPE_NONE>, - <GIC_SPI 98 IRQ_TYPE_NONE>, - <GIC_SPI 99 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; }; };
@@ -291,7 +291,7 @@ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; linux,pci-domain = <1>;
@@ -313,10 +313,10 @@ compatible = "brcm,iproc-msi"; msi-controller; interrupt-parent = <&gic>; - interrupts = <GIC_SPI 102 IRQ_TYPE_NONE>, - <GIC_SPI 103 IRQ_TYPE_NONE>, - <GIC_SPI 104 IRQ_TYPE_NONE>, - <GIC_SPI 105 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; }; };
Signature · 1 line
2.1.4
Re: [PATCH 2/5] ARM: dts: cygnus: Fix PCIe controller interrupt type
Quoted 4 lines · Ray Jui
Fix PCIe controller interrupt to use
IRQ_TYPE_LEVEL_HIGHfor Broadcom Cygnus SoCFixes cd590b50a936 ("ARM: dts: enable PCIe support for Cygnus")
This one is valid
Quoted 4 lines
Fixes 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axibus")
Fixes 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals")Fixes f6b889358a82 ("ARM: dts: Enable MSI support for Broadcom Cygnus")
And this one too, but the two others, I would probably drop them so we can get the backports to be possibly applicable as far as when these two commits can be resolved, does that work?
Quoted 59 lines
Signed-off-by Ray Jui <[email protected]>--- arch/arm/boot/dts/bcm-cygnus.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)arch/arm/boot/dts/bcm-cygnus.dtsi +10
-10@@ -256,7 +256,7 @@ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; linux,pci-domain = <0>;@@ -278,10 +278,10 @@ compatible = "brcm,iproc-msi"; msi-controller; interrupt-parent = <&gic>; - interrupts = <GIC_SPI 96 IRQ_TYPE_NONE>, - <GIC_SPI 97 IRQ_TYPE_NONE>, - <GIC_SPI 98 IRQ_TYPE_NONE>, - <GIC_SPI 99 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; }; };@@ -291,7 +291,7 @@ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; linux,pci-domain = <1>;@@ -313,10 +313,10 @@ compatible = "brcm,iproc-msi"; msi-controller; interrupt-parent = <&gic>; - interrupts = <GIC_SPI 102 IRQ_TYPE_NONE>, - <GIC_SPI 103 IRQ_TYPE_NONE>, - <GIC_SPI 104 IRQ_TYPE_NONE>, - <GIC_SPI 105 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; }; };
Signature · 1 line
Florian
Re: [PATCH 2/5] ARM: dts: cygnus: Fix PCIe controller interrupt type
Quoted 8 lines · Florian Fainelli
Quoted 4 lines · Ray Jui
Fix PCIe controller interrupt to use
IRQ_TYPE_LEVEL_HIGHfor Broadcom Cygnus SoCFixes cd590b50a936 ("ARM: dts: enable PCIe support for Cygnus")This one is valid
Quoted 9 lines
Quoted 4 lines
Fixes 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axibus")
Fixes 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals")Fixes f6b889358a82 ("ARM: dts: Enable MSI support for Broadcom Cygnus")And this one too, but the two others, I would probably drop them so we can get the backports to be possibly applicable as far as when these two commits can be resolved, does that work?
Yah that will work. Will make the change. Thanks.
PATCH 3/5 ARM64: dts: ns2: Fix I2C controller interrupt type
In reply to Ray JuiFix I2C controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom NS2 SoC
--- arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi +2 -2
@@ -566,7 +566,7 @@ reg = <0x66080000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 394 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };
@@ -594,7 +594,7 @@ reg = <0x660b0000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 395 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };
Signature · 1 line
2.1.4
PATCH 4/5 ARM64: dts: ns2: Fix PCIe controller interrupt type
In reply to Ray JuiFix PCIe controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom NS2 SoC
--- arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi +2 -2
@@ -118,7 +118,7 @@ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 281 IRQ_TYPE_NONE>; + interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>; linux,pci-domain = <0>;
@@ -149,7 +149,7 @@ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 305 IRQ_TYPE_NONE>; + interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; linux,pci-domain = <4>;
Signature · 1 line
2.1.4
PATCH 5/5 ARM64: dts: Stingray: Fix I2C controller interrupt type
In reply to Ray JuiFix I2C controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom Stingray SoC
--- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +2 -2
@@ -409,7 +409,7 @@ reg = <0x000b0000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 177 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };
@@ -453,7 +453,7 @@ reg = <0x000e0000 0x100>; #address-cells = <1>; #size-cells = <0>; - interrupts = <GIC_SPI 178 IRQ_TYPE_NONE>; + interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <100000>; status = "disabled"; };
Signature · 1 line
2.1.4
Quoted 6 lines · Ray Jui
This patch series fixes incorrect interrupt types for I2C and PCIe in DT for Broadcom Cygnus, NS2, and Stingray SoCs
This patch series is based off v4.17 and is available on GIHUB:
repo: https://github.com/Broadcom/arm64-linux.git
branch: cygnus-ns2-dt-irq-type-fix-v1
Series applied to:
- 1&2: devicetree/fixes
- 3-5: devicetree-arm64/fixes
Thanks Ray.
Signature · 1 line
Florian