mirror of
https://gitee.com/open-loongarch/linux-5.10.git
synced 2026-10-25 12:47:11 +08:00
update to 1740446fb32
1.Fix spidev delay-usec cannot work 2.Fix spi transfer failed when use gpio cs 3.Support EC200N-CN 4G model 4.Fix alert/critical temperature to 75/105 for 2k300 5.Enable ch341,pl2303 for 2k300_defconfig
This commit is contained in:
@@ -766,10 +766,20 @@
|
||||
interrupt-parent = <&icu>;
|
||||
interrupts = <48>;
|
||||
dma-mask = <0x0 0xffffffff>;
|
||||
/* Use for most devices */
|
||||
//loongson,dwc2-fix = <DWC2_LOONGSON_FIX_DMA>;
|
||||
/* Use for 4G model*/
|
||||
loongson,dwc2-fix = <DWC2_LOONGSON_FIX_DELAY>;
|
||||
/* DWC2_LOONGSON_FIX_DMA:
|
||||
Used for most devices, such as USB storage and USB touchscreens.
|
||||
However, network devices may experience packet loss. */
|
||||
loongson,dwc2-fix = <DWC2_LOONGSON_FIX_DMA>;
|
||||
/* DWC2_LOONGSON_FIX_DELAY:
|
||||
Deprecated. It causes USB to operate slowly.
|
||||
However, the 4G model can still dial up. Maybe optimize later. */
|
||||
//loongson,dwc2-fix = <DWC2_LOONGSON_FIX_DELAY>;
|
||||
/* DWC2_LOONGSON_FIX_NONE:
|
||||
Original. Some USB devices cannot initialize when first powered up.
|
||||
However, network devices do not experience packet loss.
|
||||
Therefore, if we confirm the use of a USB-network device, then select this configuration. */
|
||||
//loongson,dwc2-fix = <DWC2_LOONGSON_FIX_NONE>;
|
||||
|
||||
//dr_mode = "peripheral";
|
||||
/* Optional for that dr_mode = "host" or dr_mode = "peripheral" */
|
||||
};
|
||||
@@ -847,13 +857,13 @@
|
||||
|
||||
trips {
|
||||
cpu_alert: cpu-alert {
|
||||
temperature = <55000>;
|
||||
temperature = <75000>;
|
||||
hysteresis = <5000>;
|
||||
type = "active";
|
||||
};
|
||||
|
||||
cpu_crit: cpu-crit {
|
||||
temperature = <125000>;
|
||||
temperature = <105000>;
|
||||
hysteresis = <5000>;
|
||||
type = "critical";
|
||||
};
|
||||
|
||||
@@ -270,3 +270,7 @@
|
||||
loongson,sound-card-name = "ES8388";
|
||||
};
|
||||
|
||||
&otg {
|
||||
// PAI 板卡定死使用 wifi
|
||||
loongson,dwc2-fix = <DWC2_LOONGSON_FIX_NONE>;
|
||||
};
|
||||
|
||||
@@ -553,6 +553,8 @@ CONFIG_USB_ACM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_SERIAL=y
|
||||
CONFIG_USB_SERIAL_CH341=y
|
||||
CONFIG_USB_SERIAL_PL2303=y
|
||||
CONFIG_USB_SERIAL_OPTION=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_ETH=y
|
||||
|
||||
Reference in New Issue
Block a user