Skip to content

irqchip/sg2042-msi: Set irq type according to DT configuration

Chen Wang linux-devicetree linux-riscv lkml sophgo 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 5 repliesSuperseded
  3. v14 patches 3 repliesSuperseded

Changes in v3 from the cover letter

Thers is no major change in this version. Just adjust the order of the patches to change the DTs first. Thanks to Thomas for the suggestion.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: sophgo: dts: sg2042: change msi irq type to IRQ_TYPE_EDGE_RISINGarch/riscv/boot/dts/sophgo/sg2042.dtsi+1 -10 replies
2/3riscv: sophgo: dts: sg2044: change msi irq type to IRQ_TYPE_EDGE_RISINGarch/riscv/boot/dts/sophgo/sg2044.dtsi+1 -10 replies
3/3irqchip/sg2042-msi: Set irq type according to DT configurationdrivers/irqchip/irq-sg2042-msi.c+5 -20 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchInochi Amaoto
1/3
2/3T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] irqchip/sg2042-msi: Set irq type according to DT configuration

From: Chen Wang <[email protected]>

Read the device tree configuration and then use it to set the interrupt type.

This patchset is based on irq/drivers branch of tip.

---

Changes in v3:
Thers is no major change in this version. Just adjust the order of the patches to change the DTs first. Thanks to Thomas for the suggestion.

Changes in v2:
The patch series is based on irq/drivers branch of tip. You can simply review or test the patches at the link [2].

Reverted the change to obtain params of "msi-ranges"; it's better not to assume the value of "#interrupt-cells" is 2, even though it's known to be the case. Thanks to Inochi for the comments.

Changes in v1:
The patch series is based on irq/drivers branch of tip. You can simply review or test the patches at the link [1].

---

Chen Wang (3):
riscv: sophgo: dts: sg2042: change msi irq type to
IRQ_TYPE_EDGE_RISING
riscv: sophgo: dts: sg2044: change msi irq type to
IRQ_TYPE_EDGE_RISING
irqchip/sg2042-msi: Set irq type according to DT configuration

 arch/riscv/boot/dts/sophgo/sg2042.dtsi | 2 +-
 arch/riscv/boot/dts/sophgo/sg2044.dtsi | 2 +-
 drivers/irqchip/irq-sg2042-msi.c       | 7 +++++--
 3 files changed, 7 insertions(+), 4 deletions(-)

base-commit: d36bf356068cdb5499b9bc458db9149c0fd938a2

Signature · 1 line
2.34.1