PD#SWPL-194662
Problem:
USB host mode work abnormal in the abnormal USB mode switching.
Solution:
Call dwc_otg.ko in the usb_main.
Verify:
sc2
Change-Id: Ia6cef0fed214c279edbf4c5ab70b6e4901ecb709
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-190195
Problem:
Lock system infers dwc_otg deadlock
Solution:
This inference is unreasonable, and ignore it.
Verify:
sc2
Change-Id: Iae8505d4ff38e230d725e9d86e5783d7c1f766c5
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-188184
Problem:
upgrade kernel from 6.11 to 6.12
Solution:
AML_KERNEL_VERSION 3
UPSTREAM_VERSION "5a81cc3248a2"
AML_PATCH_VERSION "5a81cc3248a2"
MERGE_DATE "2024-10-09"
1. modify build script
2. port auto patch and move common-mainline to common16-6.12
3. modify the code due to the change of
the remove output_poll_changed in struct drm_mode_config_funcs
4. modify the code due to the change of the remove GPIOF_DIR_OUT
5. modify the code due to the change of the remove no_llseek
6. modify the code due to the change of the struct fd
7. modify the code due to the change of the struct mem_cgroup_reclaim_iter
8. modify the code due to the change of the file unaligned.h
Verify:
local
Test:
bootup to console in fatload mode
Change-Id: I98629ea9e68fca121176682d31dc73b8a8c936f8
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-183292
Problem:
upgrade kernel from 6.6.10 to 6.6.11
Solution:
1. modify auto patches
2. modify the code due to the change of
the remove function in struct platform_driver
3. modify the code due to the change of
the match function in struct bus_type
4. modify some page function to folio function
5. modify spi module due to some functions changed
Verify:
local
Change-Id: I92c266b6a1bbae363abd0ff50d7f3037e90bc624
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-183292
Problem:
porting usb and wireless modules
Solution:
1. porting usb and wireless modules
2. setting the default value of CONFIG_AMLOGIC_KERNEL_VERSION as 16612
3. modify the reset Makefile
Verify:
local
Change-Id: Ie3c99a75a1f3f439ebaa8d5cc852a654465fb379
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-160521
Problem:
The dwc3 meson is not default to xhci-meson
Solution:
Default it to xhci-menson
Verify:
Sm1&sc2.
Change-Id: Ib0034e968b1d27c5824c828d766c4e13c66275de
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-151245
Problem:
kernel6.6 will not distinguish different versions of kernel.
so we do not make compatibility code in 6.6.
Solution:
revert compatibility code for kernel 6.6.
Verify:
local
Test:
local
Change-Id: I24b8acac62cec05ffb2f637a86f91789f1d0b905
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-149504
Problem:
support USB for a4/a5
Solution:
support USB for a4/a5
Verify:
A4
Change-Id: I0510166908b6d9094269cb72f632348ab13a03b8
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-146713
Problem:
data read from udisk on otg usb port is error
Solution:
set u2drd wr_outstanding as 0
Verify:
be311
Change-Id: I12a5e155f73526f31afd0f4ae48b9ee031fe2450
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-141703
Problem:
The dwc pcd dma unmap direction is wrong for
control transfer.
Solution:
Fix the direction.
Verify:
Local.
Change-Id: I47516c69ef9f42600baa986b1852f4ca5b7f7672
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-140857
Problem:
linux-meson compile warning while use gcc > 7.5
Solution:
Fixed some code styles
Verify:
local build server
Change-Id: Ia1f47cfa32291602747d7c0788a6362cf48af023
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
PD#SWPL-139422
Problem:
IDT test failed with replacing GKI
Solution:
using kprobe method to solve problem
Verify:
oppen
Change-Id: Iccdbb2d0a8529a43b2df638b2423ce21580319be
Signed-off-by: qi duan <qi.duan@amlogic.com>
This reverts commit 16e98f321b.
SWPL-139422: USB owner submits these patches themselves
Change-Id: I1128ff5da7f97165925dd5fd1bad056e8d3ab010
Signed-off-by: Qinglin Li <qinglin.li@amlogic.com>
PD#SWPL-139422
Problem:
IDT test failed with replacing gki
Solution:
using the kprobe method to solve this problem
Verify:
oppen
Change-Id: I0d640fd1d171f1303a34265a54fd790444a21c90
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-136723
Problem:
The cts test reports crg udc related panics originated from recent
regression. The new version of the crg_udc_alloc_request() is not
serialized, when concurrently called, the race condition occurs thus
the used flag is damaged.
Solution:
Protect used flag by atomic operations.
Verify:
a31d2_an400
Change-Id: Iab1e55c60247776a5d7a6b9ac3feb5e5ff4a845c
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-125412
Problem:
Don't disconnect USB according the U3,
when USB suspend, otherwise will cause disconnect.
Solution:
CRG_UDC: add a module parameter:
eltest_flag for suspend and resume test
Verify:
t3x
Change-Id: Ifc86db9c9cb704c37c9618feac68a2959b152c25
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#SWPL-123725
Problem:
set_usb_phy_trim_tuning cause system stuck,
since the PHY has been shutdown
Solution:
if PHY has been shutdown, set_usb_phy_trim_tuning
need do nothing.
Verify:
t7c
Change-Id: Ibe277b87f30cdcab35e87e18785c6600e01f87e9
Signed-off-by: he.he <he.he@amlogic.com>