PD#SWPL-192254
Problem:
Need to sync code to latest 6.12
Solution:
sync 5.15u pinctrl driver to 6.12
platform: tm2/s6/s7/s7d/t6d
Verify:
sc2 local
Change-Id: I68643dc025ca9aa35c311a7fb50b154ea4f852a2
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-192199
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
T5M-AY309
Change-Id: Ibe29fc3d25e0f8b868bb3863417df88215692a93
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-192182
Problem:
The g12a mailbox dtsi configuration does not
accommodate the new mailbox driver architecture
Solution:
Change g12a mailbox dtsi to accommodate the new
mailbox driver architecture
Verify:
G12A
Change-Id: I0e6b34a2ea8529ea22aed8afcb5e8107bc7d93e3
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-186410
Problem:
need encapsulate hdcp api and remove drm callback
Solution:
1.remove drm hdcp callback
2.encapsulate drm hdcp api in hdmi common directory
3.move tx20 meson_hdcp.c code to tx20 hdmi_tx_hdcp.c
4.the differences in the HDCP process in the DRM HDCP API
are implemented in the TX20 and TX21 files respectively.
Verify:
SC2
Test:
DRM-TX-80
Change-Id: If9d995f06eb365a3fc4006be9949a83f89f8346d
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-179304
Problem:
Single-frame Bandwidth Sampling
Solution:
Chips before s6 use the DMC method to get the bandwidth
value of a single frame, chips after s6 use the decoder
internal method to get the bandwidth value of a single frame.
Verify:
s6.s7
Change-Id: I135d98a0087733c5df34c7e8f9be39f8f2c96741
Signed-off-by: xing.xu <xing.xu@amlogic.com>
PD#SWPL-177051
Problem:
1 Di module can not call proxy api for 5.15.
Solution:
1 Move MediaProxy to kernel common for 5.15.
Verify:
t5m
Change-Id: I573f51392c809b77bf6a2e8194a4a3a451f1cc35
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
PD#SWPL-179486
Problem:
In stream mode, when the decoder cannot decode the data, it
needs to pass the under input information to the upper layer.
Solution:
Pass the under input information to the upper layer.
Verify:
Ohm
Change-Id: I55530bcd0085c87dfa752ca831ee76b070c1bce4
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
(cherry picked from commit a47ac8298b)
PD#SWPL-176853
Problem:
provide API for t6d secure table function
Solution:
add API for t6d secure table
Verify:
t6d
Change-Id: If9aaf0dee3c970a5de73428b29c3f7e24f71a0b3
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
PD#SWPL-182441
Problem:
need to support mbox for some func
Solution:
1. get wakeup framecode
2. enable/disable debug log
3. set wakeup key table
4. enable/disable bl30 ir
5. get the last powerkey
Verify:
t6d_br301
Change-Id: I40e3d6eb08903533f975eba87e18a24148055b70
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-182441
Problem:
support device id & command for IR
Solution:
support device id & command for IR
Verify:
t6d
Change-Id: I42f6a0117cf8ce3891c9a97885ad3216d54a0f29
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-163059
Problem:
legacy ir controller was updated to multi-format ir controller
and each controller have a IRQ
Solution:
support 2 IRQs in ir driver
Verify:
s7d_bm201
Change-Id: I268562144440d642e4f635dbe76bb45f799d6bee
Signed-off-by: Zelong Dong <zelong.dong@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-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-177061
Problem:
Some customer neeed to support gpio sysfs in gki mode
Solution:
Porting common gpiolib-sysfs to common_driver
Verify:
T7_an400 & txhd2_be311
Change-Id: Ia27fa2ae0f9bdaf2f36104fb834e1320d011cc32
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-173264
Problem:
costing more time when insmod camera module
Solution:
1.optimize power sequence
2.optimize cam probe pipeline
3.sync code by kernel 5.15
Verify:
local
Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
Change-Id: Iebe069f57b2d3a5246b005d70dc945a1b52e2ba9
PD#SWPL-171039
PD#SWPL-166131
Problem:
scmi-clk in bl31 has been updated, and the kernel also needs to be updated.
Solution:
1 Move fixpll, sys_clk and axi_clk to bl31;
2 Add oscin, sys_pll_div16 and cpu_clk_div16.
Verify:
a4_ba400
Change-Id: I6fcfa71420fd1c3147e0a874ed91f7ffa053f3ab
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-172885
Problem:
media_modules h266 code depend on h266 format define.
Solution:
define h266 format for video decoder
Verify:
s6 pxp
Change-Id: Ia001b35292691811425de6b7e8c98e9e3e65575d
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
(cherry picked from commit 8582af4d3a)