mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-29 06:27:12 +08:00
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>
37 lines
957 B
C
37 lines
957 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2023 Loongson Technology Corporation Limited
|
|
*/
|
|
|
|
#include <linux/pci.h>
|
|
#include <linux/platform_device.h>
|
|
|
|
#include <video/nomodeset.h>
|
|
|
|
#include "loongson_module.h"
|
|
|
|
static int loongson_modeset = -1;
|
|
MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
|
|
module_param_named(modeset, loongson_modeset, int, 0400);
|
|
|
|
int loongson_vblank = 1;
|
|
MODULE_PARM_DESC(vblank, "Disable/Enable hw vblank support");
|
|
module_param_named(vblank, loongson_vblank, int, 0400);
|
|
extern struct platform_driver lsdc_platform_driver;
|
|
|
|
static int __init loongson_module_init(void)
|
|
{
|
|
if (!loongson_modeset || video_firmware_drivers_only())
|
|
return -ENODEV;
|
|
|
|
platform_driver_register(&lsdc_platform_driver);
|
|
return pci_register_driver(&lsdc_pci_driver);
|
|
}
|
|
module_init(loongson_module_init);
|
|
|
|
static void __exit loongson_module_exit(void)
|
|
{
|
|
pci_unregister_driver(&lsdc_pci_driver);
|
|
}
|
|
module_exit(loongson_module_exit);
|