PD#SWPL-188894
Problem:
common_drivers dir is not normal position. move it out of common dir.
Solution:
move it out of common dir
Verify:
local
Change-Id: I949688e2e86d687ef205030a646975065860950a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-188372
Problem:
need to support meson reset
Solution:
support meson reset
Verify:
sc2_ah212
Change-Id: I702960b88d45c0c827f890b61b4fee22c2dc4392
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-187929
Problem:
bringup android16-6.12
Solution:
1. modify script for external driver build on arm version
2. modify script for dtbo build
Verify:
local
Change-Id: I301f0c317a1d7a0325d4adf55ab419e79fb6cd5c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-188330
Problem:
6.12 remove dtc tool path in build.config.common so dtc use server
tool by default.
Solution:
6.12 add dtc tool path.
fix menuconfig function
fix building can not stop after error
Verify:
local
Change-Id: I431711d85a4a70060b7eed44cf9acffd3ccbe55b
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-188508
Problem:
pagetrace can not find symbol.
Solution:
init the file struct.
Verify:
sc2.
Change-Id: I478343fcc864be1fccf6f0f162077a8d37ef4805
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-188373
Problem:
Some one need to debug pin function quickly
Solution:
1. remove debufs node for it need to mount debufs
2. create class node for this function
3. optimize code structure
4. add show_reg to dump register address and value
Verify:
txhd2 & sc2 & t7c
Change-Id: I510accd593ffb32394e5da2cc7f57ed994d182b5
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-188367
Problem:
fixedpll and hifipll get rate error in 32bit
Solution:
add od bit for fixedpll and hifipll support 32bit
Verify:
sc2_ah212
Change-Id: I3803457e101c70d52bbcd07a0b4943bc7a5cf865
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-188205
Problem:
after add build parameter --config=fast, there will create extra
amlogic_gki_defconfig in common drivers dir
Solution:
delete extra file
Verify:
local
Change-Id: I29506df7d784553fddc9e59fda59d2030bbdcda7
Signed-off-by: Dezhen Wang <dezhen.wang@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:
porting media dvb and audio modules
Solution:
1. porting dvb auto patches
2. modify strlcpy() to strscpy()
3. remove the flag DRM_UNLOCKED, need owner to check
4. modify the code due to the change of
the remove function in struct platform_driver
5. add the header file of linux/vmalloc.h for vmalloc() and vfree()
6. modify files_lookup_fd_rcu() to task_lookup_next_fdget_rcu()
7. use shrinker_alloc() to alloc memory and initialize
8. modify __assign_str(dst, src) to __assign_str(dst)
9. modify asoc_rtd_to_cpu() to snd_soc_rtd_to_cpu()
10. modify pwm_apply_state() to pwm_apply_might_sleep()
Verify:
local
Test:
probe success
Change-Id: I6105f65f79ee4a2c197fd6305f59fa064b583d6b
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-172042
Problem:
dev_configs files is delete in a wrong place
Solution:
remove copy_dev_configs_files
Verify:
local
Change-Id: I7f640950efd158f945a57156ada3fa343c17a695
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
(cherry picked from commit 6201e98111)
PD#SWPL-181936
Problem:
When input size is large and link mode is enabled, we failed to get
corret result.
The reason is if link mode is enabled, the buffers are scattered
around and the size could be either large or small.
We have to use byte mode to move the data.
However, the maximum supported length for byte mode is 2^17.
If over, the data will not be processed.
Solution:
Disable link mode if data size overflow happens.
Verify:
S6
Change-Id: I22d5d09d2a3f256f769303749364ddbeb46a5f89
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-177709
Problem:
dsuopp table contains dsu voltage even cluster has no dsureg
Solution:
1.do not config and parse dsu voltage when cluster has no dsureg
2.configure one dsu opp table if cluster has no dsureg
Verify:
A4
Change-Id: I546b572793ffa8ef715346881d6129d75308cafa
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-182281
Problem:
video_composer need support dec set screen mode.
Solution:
1.while dec set screen mode, vpp using this 1st priority.
Verify:
T982
Change-Id: I71d9cdb4d7b7ed452427f55e6e8767709d35b052
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-167340
Problem:
led should be active in early suspend
led should be power off in suspend
Solution:
add config
Verify:
sc2 ah212
s5 ax201
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
Change-Id: I0d9d7d5bec5817ceae272efe3e86f06e71560924
(cherry picked from commit 6df7330410)