Support GPIO controller of Loongson-2K0300 SoC
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 3 repliesApplied
- v23 patches 4 repliesSuperseded
- v13 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Adjust SoC naming style
- Fold some multi-line calls to dev_err_probe() in the driver into a single line
- Collect review tags
- Link to v2: https://lore.kernel.org/all/[email protected]/
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: gpio: loongson: Document GPIO controller of LS2K0300 SoCDocumentation/ | +27 | 1 reply | |
| 2/3 | gpio: loongson-64bit: Add support for Loongson-2K0300 SoCdrivers/ drivers/ | +183 | 1 reply | |
| 3/3 | LoongArch: dts: Add GPIO controller for Loongson-2K0300arch/ | +20 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Huacai Chen | Linus Walleij |
|---|---|---|---|
| 1/3 | R-b | R-b | R-b |
| 2/3 | R-b | R-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/3] Support GPIO controller of Loongson-2K0300 SoC
This series adds support for Loongson-2K0300's GPIO controller. While being mostly identical to previous implementation, its interrupt functionality hasn't been implemented in gpio-loongson-64bit.c. PATCH 2 implements its interrupt support with an IRQCHIP, and the code could be reused for other Loongson SoCs with similar interrupt functionality like LS2K1500 and LS2K2000.
Tested on CTCISZ Forever Pi, reading/writing GPIOs works correctly, and both level and edge interrupts could be triggered.
The devicetree patch depends on series "Support reset controller of Loongson 2K0300 SoC"[1] for a clean apply. Thanks for your time and review.
Changed from v2:
- Adjust SoC naming style
- Fold some multi-line calls to dev_err_probe() in the driver into a single line
- Collect review tags
- Link to v2: https://lore.kernel.org/all/[email protected]/
Changed from v1:
- Rebase on top of gpio/for-next, adapt changes that convert gpio-loongson-64bit.c to use generic gpiochip.
- Collect review tags
- Link to v1: https://lore.kernel.org/all/[email protected]/
[1]: https://lore.kernel.org/all/[email protected]/
Yao Zi (3):
dt-bindings: gpio: loongson: Document GPIO controller of LS2K0300 SoC
gpio: loongson-64bit: Add support for Loongson-2K0300 SoC
LoongArch: dts: Add GPIO controller for Loongson-2K0300
.../bindings/gpio/loongson,ls-gpio.yaml | 28 ++- arch/loongarch/boot/dts/loongson-2k0300.dtsi | 20 ++ drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-loongson-64bit.c | 189 +++++++++++++++++- 4 files changed, 230 insertions(+), 8 deletions(-)
Signature · 1 line
2.50.1