Binbin Zhou
a1e65a25c5
dt-bindings: interrupt-controller: loongson,pch-pic: Document address-cells
...
The Loongson PCH interrupt controller can be referenced in interrupt-map
properties (e.g. in arch/loongarch/boot/dts/loongson-2k2000.dtsi), thus
the nodes should have address-cells property.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Link: https://patch.msgid.link/e531084ee65a695ec08d0f559caec067877fb9a5.1767505859.git.zhoubinbin@loongson.cn
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-08-24 14:17:19 +08:00
Binbin Zhou
44d5884d05
dt-bindings: interrupt-controller: loongson,eiointc: Document address-cells
...
The Loongson Extend I/O interrupt controller can be referenced in
interrupt-map properties (e.g. in
arch/loongarch/boot/dts/loongson-2k0500.dtsi), thus the nodes should
have address-cells property.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Link: https://patch.msgid.link/3e903541d37432c88c27272094420b03418a607d.1767505859.git.zhoubinbin@loongson.cn
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-08-24 14:17:19 +08:00
Binbin Zhou
b846085eed
dt-bindings: interrupt-controller: loongson,liointc: Document address-cells
...
The Loongson local I/O interrupt controller can be referenced in
interrupt-map properties (e.g. in
arch/loongarch/boot/dts/loongson-2k1000.dtsi), thus the nodes should
have address-cells property.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Link: https://patch.msgid.link/fb3811b6bc387aa23adfc0aaf9a0a31c2d468e79.1767505859.git.zhoubinbin@loongson.cn
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-08-24 14:17:19 +08:00
Binbin Zhou
5f88366873
dt-bindings: rtc: loongson: Document Loongson-2K0300 compatible
...
Add "loongson,ls2k0300-rtc" dedicated compatible to represent the RTC
interface of the Loongson-2K0300 chip.
Its hardware design is similar to that of the Loongson-1B, but it does
not support the alarm feature.
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn >
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://patch.msgid.link/0c6a4fd221b5bf05f06cae9bb543a5bf7ea59f57.1768616276.git.zhoubinbin@loongson.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-08-24 14:17:19 +08:00
Binbin Zhou
d6ddf0dfe0
dt-bindings: rtc: loongson: Correct Loongson-1C interrupts property
...
The `interrupts` property indicates an RTC alarm interrupt, which is
required for RTCs that support the alarm feature, which is not supported
by the Loongson-1C RTC. We exclude it for a more accurate description.
Changing the `allowed` property is ABI-breaking behavior, but
throughout the existing Loongson DTS{i}, the description of the RTC
nodes conforms to the modified bingding rules.
Thus, the existing Loongson DTS{i} will not be affected.
Fixes: 487ef32caebe ("dt-bindings: rtc: Split loongson,ls2x-rtc into SoC-based compatibles")
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn >
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://patch.msgid.link/b6295c907410f6708115cba4df0959ee6629f8a5.1768616276.git.zhoubinbin@loongson.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-08-24 14:17:18 +08:00
maoxiaochuan
d9c34db496
dt-bindings: clock: loongson2: Add Loongson-2K0300
...
compatible
Document the clock controller shipped in Loongson-2K0300 SoC, which
generates various clock signals for SoC peripherals. Differing from
previous generations of SoCs, LS2K0300 requires a 120MHz external clock
input.
Signed-off-by: Yao Zi <ziyao@disroot.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Yanteng Si <siyanteng@cqsoftware.com.cn >
Signed-off-by: Stephen Boyd <sboyd@kernel.org >
2026-02-04 19:13:11 +08:00
Binbin Zhou
1188eb89cb
dt-bindings: serial: 8250: Add Loongson uart compatible
...
The Loongson family have a mostly NS16550A-compatible UART and
High-Speed UART hardware with the exception of custom frequency divider
latch settings register.
Co-developed-by: Haowei Zheng <zhenghaowei@loongson.cn >
Signed-off-by: Haowei Zheng <zhenghaowei@loongson.cn >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn >
Link: https://patch.msgid.link/2d858e9303d95a3e4909aa9c1379d4abbdc52cc2.1760166651.git.zhoubinbin@loongson.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-02-04 16:41:28 +08:00
Binbin Zhou
a4673108f0
dt-bindings: watchdog: loongson,ls1x-wdt: Add ls2k0300-wdt compatible
...
Add "loongson,ls2k0300-wdt" compatible to the dt-schema document, which
is similar to Loongson-1 watchdog, but with differences in some register
offsets and bit definitions.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
pw-bot: not-applicable
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-02-04 16:41:27 +08:00
maoxiaochuan
2816a1afc5
dt-bindings: mtd: loongson,ls1b-nand-controller: Document the Loongson-2K0500 NAND controller
...
Add new compatible for the Loongson-2K NAND controller used for
Loongson-2K0500 SoC.
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-02-04 16:41:12 +08:00
Yao Zi
f149265740
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 >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-02-04 16:41:10 +08:00
Keguang Zhang
179b80d983
dt-bindings: mips: loongson: Add LS1B-DEMO and CQ-T300B
...
Document two Loongson-1 boards:
- loongson,ls1b-demo: a board based on Loongson-1B
- loongson,cq-t300b: a board based on Loongson-1C
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com >
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-02-04 16:41:08 +08:00
Aaron Kling
70cf437038
dt-bindings: thermal: tegra: Document Tegra210B01
...
Add the compatible string for Tegra210B01 SOC_THERM
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: Aaron Kling <webgeek1234@gmail.com >
Link: https://lore.kernel.org/r/20250720-t210b01-v2-5-9cb209f1edfc@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-02-04 16:41:07 +08:00
Binbin Zhou
f7c078c1a9
dt-bindings: mmc: loongson,ls2k0500-mmc: Add compatible for Loongson-2K2000
...
Add the devicetree compatible for Loongson-2K2000 EMMC/SD/SDIO controller.
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn >
Link: https://lore.kernel.org/r/2274fcccd27d7c03bc026fd2a43727bdf5af1ef5.1750765495.git.zhoubinbin@loongson.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-02-04 16:41:04 +08:00
Binbin Zhou
6fd17968ae
dt-bindings: mmc: Add Loongson-2K SD/SDIO/eMMC controller binding
...
Add the Loongson-2K SoC's SD/SDIO/eMMC controller binding with DT schema
format using json-schema.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn >
Link: https://lore.kernel.org/r/949c55be120a806ea3d74b47fa2cc96ced2905fc.1750765495.git.zhoubinbin@loongson.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2025-08-19 11:29:16 +08:00
Keguang Zhang
fa3fc71fe3
ASoC: dt-bindings: Add Realtek ALC203 Codec
...
Add devicetree binding document for Realtek ALC203 codec.
Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com >
Link: https://patch.msgid.link/20250409-loongson1-ac97-v2-2-65d5db96a046@gmail.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Mark Brown <broonie@kernel.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2025-05-30 15:52:36 +08:00
Keguang Zhang
87ae342df6
ASoC: dt-bindings: Add Loongson-1 AC97 Controller
...
Add devicetree binding document for Loongson-1 AC97 controller.
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org >
Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com >
Link: https://patch.msgid.link/20250409-loongson1-ac97-v2-1-65d5db96a046@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2025-05-30 15:52:36 +08:00
Binbin Zhou
347afc58d3
dt-bindings: pwm: Add Loongson PWM controller
...
Add Loongson PWM controller binding with DT schema format using
json-schema.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Huacai Chen <chenhuacai@loongson.cn >
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2025-02-13 14:30:09 +08:00
maoxiaochuan
8b074cffbf
init src (linux-6.12.0)
2025-02-13 14:11:16 +08:00