]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: gpio: loongson: Document GPIO controller of LS2K0300 SoC
authorYao Zi <ziyao@disroot.org>
Thu, 4 Sep 2025 01:34:36 +0000 (01:34 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 8 Sep 2025 07:36:00 +0000 (09:36 +0200)
commit084d01a173f5f41afd326b1dfe73085972530ca7
treec5e137ad5aa2d2f52b4a9ef47002a649bd566598
parentd3e7efad8fbaf0c2d6f039ae074a20c3aa89bd12
dt-bindings: gpio: loongson: Document GPIO controller of LS2K0300 SoC

Loongson-2K0300 ships a GPIO controller whose input/output control logic
is similar to previous generation of SoCs. Additionally, it acts as an
interrupt-controller supporting both level and edge interrupts and has a
distinct reset signal.

Describe its compatible in devicetree. We enlarge the maximum value of
ngpios to 128, since the controller technically supports at most 128
pins, although only 106 are routed out of the package. Properties for
interrupt-controllers and resets are introduced and limited as LS2K0300
only.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250904013438.2405-2-ziyao@disroot.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml