From: Chen Wang <unicornxw@gmail.com>
To: u.kleine-koenig@baylibre.com, aou@eecs.berkeley.edu,
unicorn_wang@outlook.com, conor+dt@kernel.org,
inochiama@gmail.com, krzk+dt@kernel.org, looong.bin@gmail.com,
palmer@dabbelt.com, paul.walmsley@sifive.com, robh@kernel.org,
tglx@linutronix.de, sycamoremoon376@gmail.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org, sophgo@lists.linux.dev
Subject: [PATCH v3 0/3] irqchip/sg2042-msi: Set irq type according to DT configuration
Date: Thu, 4 Sep 2025 11:00:06 +0800 [thread overview]
Message-ID: <cover.1756953919.git.unicorn_wang@outlook.com> (raw)
From: Chen Wang <unicorn_wang@outlook.com>
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].
Link: https://lore.kernel.org/linux-riscv/cover.1756103516.git.unicorn_wang@outlook.com/ [1]
Link: https://lore.kernel.org/linux-riscv/cover.1756169460.git.unicorn_wang@outlook.com/ [2]
---
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
--
2.34.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: Chen Wang <unicornxw@gmail.com>
To: u.kleine-koenig@baylibre.com, aou@eecs.berkeley.edu,
unicorn_wang@outlook.com, conor+dt@kernel.org,
inochiama@gmail.com, krzk+dt@kernel.org, looong.bin@gmail.com,
palmer@dabbelt.com, paul.walmsley@sifive.com, robh@kernel.org,
tglx@linutronix.de, sycamoremoon376@gmail.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org, sophgo@lists.linux.dev
Subject: [PATCH v3 0/3] irqchip/sg2042-msi: Set irq type according to DT configuration
Date: Thu, 4 Sep 2025 11:00:06 +0800 [thread overview]
Message-ID: <cover.1756953919.git.unicorn_wang@outlook.com> (raw)
From: Chen Wang <unicorn_wang@outlook.com>
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].
Link: https://lore.kernel.org/linux-riscv/cover.1756103516.git.unicorn_wang@outlook.com/ [1]
Link: https://lore.kernel.org/linux-riscv/cover.1756169460.git.unicorn_wang@outlook.com/ [2]
---
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
--
2.34.1
next reply other threads:[~2025-09-04 3:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-04 3:00 Chen Wang [this message]
2025-09-04 3:00 ` [PATCH v3 0/3] irqchip/sg2042-msi: Set irq type according to DT configuration Chen Wang
2025-09-04 3:00 ` [PATCH v3 1/3] riscv: sophgo: dts: sg2042: change msi irq type to IRQ_TYPE_EDGE_RISING Chen Wang
2025-09-04 3:00 ` Chen Wang
2025-09-04 3:00 ` [PATCH v3 2/3] riscv: sophgo: dts: sg2044: " Chen Wang
2025-09-04 3:00 ` Chen Wang
2025-09-04 3:01 ` [PATCH v3 3/3] irqchip/sg2042-msi: Set irq type according to DT configuration Chen Wang
2025-09-04 3:01 ` Chen Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1756953919.git.unicorn_wang@outlook.com \
--to=unicornxw@gmail.com \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=inochiama@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=looong.bin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=sophgo@lists.linux.dev \
--cc=sycamoremoon376@gmail.com \
--cc=tglx@linutronix.de \
--cc=u.kleine-koenig@baylibre.com \
--cc=unicorn_wang@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.