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-180331
Problem:
there are 2 IR controllers (2x2 multi-format) in T6D
Solution:
support all IR devices in one common input device
Verify:
t6d_br301
Change-Id: Ib01291b4b3e399ae4b1d15df5aa055339b6ece6c
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-180331
Problem:
there are 2 IR controllers (2x2 multi-format) in T6D
Solution:
support multi IR devices
Verify:
t6d_br301
Change-Id: I597bea15e9b919279f8267344221d5721f9559df
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-180331
Problem:
the number of input devices are fixed, up to 3.
Fixes: Ie8c857e0761 ("remote: supports ir functions of various ID")
Solution:
alloc input device dynamically
Verify:
t6d
Change-Id: Ic519000f4a8e6faf0020711ddecb56fd50aa8d80
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-168630
Problem:
driver was crash when probeing
Solution:
1. allow one irq_no was declare in ir dts node
2. check raw decoder thread before wakeup
Verify:
s7d_bm201
Change-Id: If11ebe6edf84322e953c5189dfcc9594bff8ab62
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-145760
Problem:
support hibernate mode for ir
Solution:
support hibernate mode for ir
Verify:
s4
Change-Id: Ied8d29fc620b6650583b10b7bb30b309e697fcc3
Signed-off-by: Zelong Dong <zelong.dong@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-167411
Problem:
Optimize code to reduce invalid calls to mbox.
Solution:
Only the old version of bl30 (arm core) needs to configure mbox.
Verify:
SC2/AH212
Change-Id: If6cd5aab0f21a410e19d5a77a10c2214aa8bd88f
Signed-off-by: Huqiang Qin <huqiang.qin@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-113695
Problem:
the length of uevent env string was exceed
because of too many keybits.
Solution:
optimize ir input driver keybit.
Verify:
t7_an400
Change-Id: Ib1292c65fdd7444d4158d46dbd3b36fefdeffebb
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-112358
Problem:
ad403 is missing pmic6b driver in kernel5.15.
Solution:
base Yu Tu 76117 and 78726;
base Jian yi 189702 and 192916,216774;
and yao jie 216898;
Verify:
A113L-AD401 #1 +Battery.
all driver use ko;
Change-Id: I911ca92dbe6f8c0f623e32fd14bdcf23a6318861
Signed-off-by: chengbing wu <chengbing.wu@amlogic.com>
PD#SWPL-115519
Problem:
support custom vendor and product id
Solution:
support custom vendor and product id
Verify:
t7_an400
Change-Id: I916ef9e0bc3f8a2e21f02e92d9dd31f1319a8e0d
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-108487
Problem:
not allow to support EV_REL in CTS test
Solution:
support EV_REL only when enable ir mouse mode
Verify:
t7_an400
Change-Id: Ia1228038e48dc04fa0a02a94bee9edc711b3fdf2
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-72631
Problem:
common, build and common_drivers directories are not under the same directory
Solution:
common, build and common_drivers directories customization
Verify:
s4d and C2 AF400
Change-Id: I8e29737a0a791d58454691e922dda949098595bb
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-70486
Problem:
use common tag in driver when printf
Solution:
set common pr_fmt in driver
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2
PD#SWPL-71098
Problem:
support adc key and gpio key driver
Solution:
support adc key and gpio key driver
Verify:
on C2 AF400
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: Ibd3c7d706f4abe62fc293ffab2d4a16ab394b9df