PD#SWPL-188937
Problem:
support iotm function on t6w
Solution:
support iotm funciotn on t6w
Verify:
t6w,t6d
Change-Id: I89c835ea502bfe13612f270e095307cc0bdb898b
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-181495
Problem:
s7 need support freeze/restore
Solution:
1.clk tree clk: provide save_context/restore_context ops to
save and restore clk parameters in syscore_ops;
2. scmi clk: store rate at freeze, set it back at restore
Verify:
s7
Change-Id: I8b3ffdb05ea0d6b7fcadb6401823130a1ad4ae4e
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-152890
Problem:
Some one may need to config pins via user space
Solution:
export some debugfs nodes from driver
usage:
1. echo gpiox_y input/output-low/high > gpio
2. echo gpiox_y bias-disable/up/down > bias
3. echo gpiox_y 500/2500/3000/4000 > drive_strength
Verify:
t7_an400 & sc2
Change-Id: Ic380ee98609c897463f3db5be3c4c941633537fa
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-176918
Problem:
some customers may use some apis which are not exported
to write their drivers
Solution:
Add three apis which are required by customers
Verify:
local build
Change-Id: Ia934a497e6de4522ae4bab62bb7db34d6e941594
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-169074
Problem:
Add a new power down detection driver.
Solution:
1. A new amlogic_saradc_common driver has been added for register mapping.
2. A new independent power-down detection driver has been added.
Verify:
S7D/BM201
Change-Id: I2b72e24da9e7dc288e6df7351c65a50980df3748
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-173836
Problem:
amfc not enabled on S6
Solution:
add it
Verify:
s6
Change-Id: Id92962b11292a02b67f6ab185f23837fe0f62ede
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-171726
Problem:
WARN api print so many messages, it will lead to system
high latency occasionally
Solution:
remove wait vblank warning messages print
Verify:
s7d
Test:
DRM-OSD-24, DRM-OSD-54
Change-Id: I03b22d692edf78dc116cd50f74f5a7d52ad398e0
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-173093
Problem:
build in erofs do not support amfc hardware
Solution:
add aml erofs ko to support it
Verify:
s7d bm201
Change-Id: I89ef060fabaca2f4d7cbaf26b552ba147c73f539
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-171423
Problem:
change s7&s7d to gki_20
Solution:
change s7&s7d to gki_20
Verify:
Detail info
Change-Id: I4f5e2e2ce5e486d5632c7acb4b2159f9e7ad2e3c
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-169074
Problem:
Add a new power down detection driver.
Solution:
1. A new amlogic_saradc_common driver has been added for register mapping.
2. A new independent power-down detection driver has been added.
Verify:
S7D/BM201
Change-Id: I2b72e24da9e7dc288e6df7351c65a50980df3748
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-170755
Problem:
No speaker output for sy6026
Solution:
1. use the sy6026 i2c original api
2. update symbol, it was included in stg already
3. issue from SWPL-169746
Verify:
ross
Change-Id: I525ace5ebfdc5beb4afea40a0c80fb0a5808b6d5
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-170472
Problem:
scmi macro configuration is improper. For 64-bit only
need to configure CONFIG_COMMON_CLK_SCMI and for 32-bit
need to configure CONFIG_ARM_SCMI_PROTOCOL=y to
a32_base_defconfig
Solution:
fix it
Verify:
s7
Change-Id: I2cd9750fc59a85b1fba1b561569400c812e2cd3d
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-166758
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: I72f60644fa383abe05409bfe0bf978c7ea901d92
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-151292
Problem:
Some tasks have been running in apu before isolating cpu.
Solution:
when tasks were scheduled,if tasks shouldn't be run
on the apu, they will be migrated to other cpus.
Verify:
T5M
Change-Id: I97a91f1a40425a3ab26801de9a6bcb4b19c33019
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-147355
Problem:
due to lockup when dmc irq ratio is too high
Solution:
use dmc irq thread when irq ratio is too high
Verify:
local
Change-Id: Ie13d584f81563e3c2e111fb5d6033f0e2aa0d337
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-148385
Problem:
video and ui disappear when ui quit after playing video
Solution:
make mif and video write reg in the same time
Verify:
t7
Test:
DRM-OSD-11
Change-Id: I9d16bac1c2da30e908d849b41f1865e441d70a74
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-141593
Problem:
/sys/class/display/mode is not used anymore
need add a new sysfs node to do modesetting
Solution:
add sysfs node to set display mode
Verify:
ohm/t7c
Test:
DRM-OSD-122
Change-Id: Ie897a1cfdf1a0f2574fd14f6576b2bc1fb377c1a
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-147959
Problem:
5.15 exphy not work
Solution:
tuning exphy mode with s5
Verify:
QA
Change-Id: Idfa123543d85a6070e7186b34e435e15d9580f36
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-142854
Problem:
move xhci and dwc3 code to common_drivers
Solution:
move xhci and dwc3 code to common_drivers
Verify:
all
Change-Id: I9351b3cb5bf515b89c8e9c62a7070947a6a18968
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-146932
Problem:
power led off when device is running
Solution:
set this gpio when device is running
Verify:
sc2 ah212
Change-Id: Ib31e3ff674c061e560f8bb1035250e57bb9ea332
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-145646
Problem:
Adds debugfs for codec status management.
Solution:
Add codec state module, mainly collect and
manage codec status information, and facilitate
the management of the configuration of each module.
Verify:
ohm
Change-Id: I8f877a954f9873c4aa4d632e007a67c0a41ff2b1
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-139378
Problem:
playback not smooth when startup
Solution:
CMA used up when startup and cause cma alloc slow
delay enable CMA until swap free ratio less than 70%
Verify:
sc2
Change-Id: I42ddcaa281cae1c13128d028dbcf1128bede43b6
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-143984
Problem:
crtc and osd blank not immediate
Solution:
duplicate state and commit to fix
Verify:
t7
Test:
DRM-OSD-115
Change-Id: I98bdd779cfa43456f4f23936629860eaf70bdcf4
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-143590
Problem:
Added sampling detail information for dmabuf dumping
Solution:
Currently supported, the point at which fd was installed
and operated by that thread, In addition, supported shows
the total holding time of FD from the beginning of
allocation to the current time.
Verify:
ohm
Change-Id: I80c658ddc311320b45a966e830bb17118376f040
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-143050
Problem:
no drm state sysfs node
Solution:
use drm_print to add state in drm sysfs
Verify:
ohm
Test:
DRM-OSD-112
Change-Id: Iafbaa10dd7c17b9a244654948478f588c63caae9
Signed-off-by: Ao Xu <ao.xu@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>
PD#SWPL-136207
Problem:
use kprobe to forbid free module init text
Solution:
record module base and use offset to parse
this module symbol
Verify:
SC2_AH212
Change-Id: I43bd306e94e9a6a5afe6411a9cd9e93db0342b7a
Signed-off-by: song.han <song.han@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-136432
Problem:
Native code will perform the 'BUG_ON' process,
and the log isn't favorable for debug.
Solution:
add the vendor hook function to perform the
'show_regs' and 'panic'.
Verify:
T3
Change-Id: I7a0f2c10b5db8ed10207d1fcbc7cc214054c7ae3
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-132538
Problem:
The core-dump file cannot be saved to /data in Android.
Solution:
a. Fix BUG for bad page state when lazy_clear_work is running.
b. Print the parameter infor required for the crash tools.
c. Support for storing crashdump files in Android /data/vender/ramdump/
1) When a kernel panic occurs, flush cache all.
2) Restart to uboot stage and compress the full DDR.
3) Set kernel dts rsv mem based on compressed infor.
4) Crop reserved memory sub nodes to reduce mem usage.
5) Kernel stage parsing dts to configure rsv mem.
6) Android init.rc read sysnode, and generate crash file.
Verify:
sc2_ah212
Change-Id: Ic6fba2c305f9e3171445f3b89afa02c75c27a080
Signed-off-by: dongqing.li <dongqing.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-138629
Problem:
modules out remove need fix conflict
update include/linux/upstream_version.h
Solution:
modules out remove function fix
update include/linux/upstream_version.h
Verify:
local
Change-Id: Id2481bd3e13f07f4986db4390e6e02d340872e9e
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>