maoxiaochuan
18fd836e7c
wdt:Correct default heartbeat timeout
...
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2026-08-24 14:53:43 +08:00
maoxiaochuan
17d323e4e2
watchdog: loongson2: fix .remove callback return type mismatch
...
Since Linux 6.11 (commit 0ed03dd1f63f), the platform_driver .remove
callback returns void instead of int. ls2x_wdt_remove still returns int,
triggering an -Werror=incompatible-pointer-types build error at the
.remove = ls2x_wdt_remove assignment.
Change ls2x_wdt_remove's return type to void and drop the return 0.
2026-08-24 12:13:23 +08:00
tao89959
18294facf4
loongson:2k1000:dts:Correct desc
...
loongson: ls2kmci: fix deponds dma error option and disable redundant code about cd-gpio setup
loongson: i2c: support clock and bus freq from dts or acpi, support multi bus clock generate mode
loongson: 2k1000: dts: add aliases and clock desc and other fix
rtc: sd2078: add sd2078 rtc driver
2026-08-24 10:50:26 +08:00
maoxiaochuan
139ba8bfee
watchdog: loongson1: Add Loongson-2k0300 watchdog support
...
According to the manual, the Loongson-2K0300 watchdog is similar to the
Loongson-1, except for some register offsets and inconsistent register
bit definitions. Separate definitions via driver_data suffice.
Co-developed-by: Xiaochuang Mao <maoxiaochuan@loongson.cn >
Signed-off-by: Xiaochuang Mao <maoxiaochuan@loongson.cn >
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn >
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:39:55 +08:00
Binbin Zhou
b3b2611f26
watchdog: loongson1: Drop CONFIG_OF
...
The general recommendation is to not use of_match_ptr() or CONFIG_OF
ifdef.
Drop them.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
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:39:55 +08:00
Binbin Zhou
319de25614
watchdog: loongson1: Simplify ls1x_wdt_probe code
...
Remove meaningless output to simplify ls1x_wdt_probe().
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
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:39:54 +08:00
Binbin Zhou
d4372f3457
watchdog: loongson1: Add missing MODULE_PARM_DESC
...
Add documentation for module_param so that they're visible with
modinfo command.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
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:39:54 +08:00
maoxiaochuan
7ffd18ab9d
Update to 14fc3074cfe039
...
1. 添加带irq处理的gpio驱动
2. 龙芯2k系列添加mmc驱动支持
3. 添加看门狗驱动
4. dtb支持从command line中的board_name字段判断
5. 支持内存分布描述数据从固件传入的数据获取
6. 支持从bootcmdline获取ramdisk启动的地址和所用大小
7. 添加2k300的i2c总线驱动
8. 2k300使用新的spi 和 spi-io 驱动
9. CPU芯片温度传感器支持2k300的计算方式
10. 添加2k300的adc驱动
11. pwm: update default pwm freq to 50Mhz
12. loongson pwm 驱动支持dts使用clock-frequency形式声明频率
13. loongson pwm 确保disable时输出的电平为空闲电平
14. 2k300编译配置使能pwm leds功能
15. 2k300的gmac的phy-mode默认使用rgmii-id
16. 2k300先锋派设置YT8531的内部延迟
17. YT8531 phy 支持设置led的工作模式
18. LCD屏幕 支持cmdline的panel属性选择某一款板卡的dts配置,实现屏幕切换
19. 添加脚本用于快速选择板卡配置文件
20. 添加CAN驱动
21. 添加音频驱动
22. 优化OTG兼容性
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn >
2025-02-13 16:03:32 +08:00
maoxiaochuan
8b074cffbf
init src (linux-6.12.0)
2025-02-13 14:11:16 +08:00