Commit Graph

68 Commits

Author SHA1 Message Date
Zelong Dong 18480009c6 ir: support freeze suspend [1/1]
PD#SWPL-242049

Problem:
irq was disabled when system freeze suspend

Solution:
enable irq when system freeze suspend

Verify:
t6d_br301

Change-Id: I64de4bfb86f045340ec809450f77311eac6013cc
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-12-15 04:17:17 -08:00
Zelong Dong be2554a1c5 ir: support the num of wakeup key from 16 to 32 [1/1]
PD#SWPL-237205

Problem:
support the num of wakeup key from 16 to 32

Solution:
support the num of wakeup key from 16 to 32

Verify:
t6d_br301

Change-Id: I19a4f1b1789b7756c6b90f3f9a3cb8c76f00205b
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-11-19 06:21:56 -08:00
Huqiang Qin 7b8a84b2a4 input: Fix null pointer exception during ioctrl operation [1/1]
PD#SWPL-233259

Problem:
[3 T24990 d.] Hardware name: Generic DT based system
[3 T24990 d.] PC is at input_default_getkeycode+0x88/0xb4
[3 T24990 d.] LR is at 0xffffffea
[3 T24990 d.] pc : [<c0ace8c0>]    lr : [<ffffffea>]    psr: 60000093
[3 T24990 d.] sp : bc493c30  ip : 00000069  fp : bbd093dc
[3 T24990 d.] r10: fffffff2  r9 : c2222438  r8 : c2222400
[3 T24990 d.] r7 : 60000013  r6 : c2222170  r5 : c2222000  r4 : bc493cc0
[3 T24990 d.] r3 : 00000002  r2 : 000001ff  r1 : bc493cc0  r0 : 000000d2
[3 T24990 d.] R1  : bc493cc0, PFN:5fed4 .

Solution:
Remove invalid configurations.

Verify:
S7D/BM201

Change-Id: Idb8448bb646362087655204a5bcc1fe85d0432b8
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-10-23 07:48:48 -07:00
yao zhang1 88ea1e31f2 license: Fix amlogic drivers license. [1/1]
PD#SWPL-217731

Problem:
Fix amlogic license.

Solution:
Fix amlogic license.

Verify:
all chip

Change-Id: I36cc711e44a201ec944c6b0b54c0d21ab671b068
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-09-25 03:48:58 -07:00
Zelong Dong c797f04e04 ir: support get framecode by sysfs [1/1]
PD#SWPL-222989

Problem:
support get framecode by sysfs

Solution:
support get framecode by sysfs

Verify:
s7d

Change-Id: I7a5dd6eb7863b592eaeeaedf32c45ebdcf2bfa2a
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-09-23 01:20:28 -07:00
Zelong Dong 2118bcfa9d ir: support mbox for switch bl30 ir protocol [1/1]
PD#SWPL-207221

Problem:
support mbox for switch bl30 ir protocol

Solution:
support mbox for switch bl30 ir protocol

Verify:
t6d_br301

Change-Id: I30c9a94940ac5ca8862b8e905e464013c153f2ba
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-09-23 01:20:22 -07:00
Zelong Dong 743b9dbd90 ir: support multi keymap in same custom code [1/1]
PD#SWPL-209768

Problem:
support multi keymap in same custom code

Solution:
support multi keymap in same custom code

Verify:
t6d_br301

Change-Id: I58df4f5e2dec2cca33eb4203ea5316feeb96e729
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-09-23 01:20:16 -07:00
Zelong Dong 19b48fed23 ir: t6w: support software decode in fifo mode [1/1]
PD#SWPL-207459

Problem:
support software decode in fifo mode

Solution:
support software decode in fifo mode

Verify:
t6w_bs311

Change-Id: I02fce4ea75322b7560b0280b50294719367dee9a
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-09-23 01:20:11 -07:00
Huqiang Qin bffc138277 keypad: Supports recording the number of times pressed and the last key [1/1]
PD#SWPL-221673

Problem:
Need to support recording the number of times pressed and the last key.

Solution:
Supports recording the number of times pressed and the last key.

Verify:
T6W/BR301 S7D/BM201

Change-Id: I46f891f65e8cb746034fe0a4810fa231bdc81b72
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-08-25 19:55:20 -07:00
Huqiang Qin 750688d779 adc_keypad: optimize the suspend/resume process [1/1]
PD#SWPL-184201

Problem:
mod_delayed_work in adc_keypad needs to be canceled
during suspend, otherwise the saradc mutex may be held
by adc_keypad for a long time (up to 100 milliseconds)
when saradc resumes.

Solution:
Cancel mod_delayed_work when suspending.

Verify:
S6/BL201

Change-Id: If4404bc8a952eb552dc2a7492f2bebf3da1fc007
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit b0d3ac80a735f2291d51b6efa00aa3df20060960)
2025-08-22 08:10:03 -07:00
Huqiang Qin 8034cbf120 keypad: support hibernate [1/1]
PD#SWPL-145761

Problem:
Kernel 5.15 STD for keypad.

Solution:
1. suspend/resume changed to standard pm interface.
2. re-request GPIO on restore.

Verify:
S5/AX208 T7/AN400

Change-Id: I71a1dde2f3a436f480ea9c728a010b8705d8e976
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit 6b08567df2)
(cherry picked from commit 525573beeb31a0ff7a4b6dca59cebbbfb97107d7)
2025-08-21 19:32:03 -07:00
Huqiang Qin d37a165406 gpio_keypad: Fixed the bug that could not report UP events [1/1]
PD#SWPL-226889

Problem:
When a button is pressed and released quickly, the event state
may remain in the DOWN state.

Solution:
Fixed a bug in button debounce.

Verify:
S7D/BM201

Change-Id: If6d1ffc1656a9834e25ab95b1344d5e2330146c1
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-08-16 21:07:12 -07:00
Zelong Dong 5b2453e3f7 ir: fix kasan invalid free error [1/1]
PD#SWPL-226209

Problem:
kasan invalid free error while free wakeup_tab

Solution:
use kzalloc() to alloc mem for wakeup_tab

Verify:
t6d

Change-Id: I42fb3a806915141c6c28744ffa0d8591fbe1e427
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-08-09 14:05:08 -07:00
Huqiang Qin 39b2fec9c2 keypad: Fixed the issue that the dynamically added keys cannot be used [1/1]
PD#SWPL-224567

Problem:
Dynamically added keys cannot be used.

Solution:
Add missing type value.

Verify:
TXHD2

Change-Id: Ia241ef6b13df40d14a452939527919f869487cea
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-07-29 05:23:55 -07:00
Huqiang Qin 0c82518ebd watchkey: t5m/t6d: Support Watch-Key function [1/1]
PD#SWPL-222162

Problem:
After power on, key need to be continuously detected.

Solution:
Disable the watchkey function in BL30 before using
the controller in the kernel.

Verify:
T5M/AY301 T6D/BR301

Change-Id: If12bb7d543ac98db90ec78d384b2dffff2990dad
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-07-16 05:58:27 -07:00
Huqiang Qin c5d8293675 watchkey: Add Watch-Key driver [1/1]
PD#SWPL-222162

Problem:
After power on, key need to be continuously detected.

Solution:
Add Watch-Key driver unified management.

Verify:
T5M/AY301 T6D/BR301

Change-Id: Ifb46bbb3b9b077c94341e2f70bdd934bcd6ec4b4
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-07-16 05:58:21 -07:00
Zelong Dong cea4d78836 ir: fix coverity issue [1/1]
PD#SWPL-217369

Problem:
fix coverity issue

Solution:
fix coverity issue

Verify:
t6w

Change-Id: I24483646f94073e15fc634ebfcc588e98d6d4c5d
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-06-24 05:14:06 -07:00
Wanwei Jiang 0ebbe91209 build: supports direct compilation using tools/bazel [1/4]
PD#SWPL-211590

Problem:
supports direct compilation using tools/bazel

Solution:
1. Default is the trunk's kernel, and can also be configured to
use the project kernel.
2. Default is the trunk's build.config.project, and can also be configured to
use the project's build.config.project.
3. Default is the trunk's Kconfig.ext_modules, and can also be configured to
use the project's Kconfig.ext_modules.
4. Default is the trunk's project.bzl, and can also be configured to
use the project's project.bzl. For other drivers' BUILD.bazel,
currently the corresponding GKI_CONFIG is automatically selected
based on the project. Other members are not distinguished at present.
5. Package all variables in project.bzl into a struct called project_configs,
which facilitates accessing the corresponding variables on a per-project basis.
6. Remove the DDK dependency check mechanism. However,
since it is protected by the configuration of the config, the impact is
not significant.
7. Change kernel_build to kernel_select in ddk_module.
8. support build command:
tools/bazel run --config=adt4 //project/sei/adt4:adt4_dist
./mk.sh --package adt4
9. Optimize the Bazel configure settings.
10. Optimize the copying of ko sources.
11. Optimize the copying of ko sources with debugging symbols.
12. Optimize the paths of some temporary files, so that the files are located
in the out directory instead of the /tmp directory.

Verify:
local

Test:
PB

Change-Id: I38f631215a41156910ae378c34c92de5a255309f
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-05-12 18:25:48 -07:00
Huqiang Qin c0dff143ef keypad: support event ignore [1/1]
PD#SWPL-212576

Problem:
Need to support event ignore.

Solution:
Support event ignore.

Verify:
SC2/AH212

Change-Id: I83d26c53e90eb2d774b2a91500ed035f37f1a8b4
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-05-08 01:28:21 -07:00
qinglin.li 9294f0bbf9 scripts: use kernel build ddk_module_headers [1/1]
PD#SWPL-208157

Problem:
use kernel build ddk_module_headers

Solution:
use kernel build ddk_module_headers

Verify:
local

Test:
local

Change-Id: I68cb33366c826fcd58fdb0a040229011ea669064
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-04-15 04:35:40 -07:00
Dezhen Wang 054039b58e scripts: add Kconfig and Makefile to common kernel source [1/1]
PD#SWPL-206164

Problem:
ddk_module cannot find Kconfig and Makefile in sub package

Solution:
add Kconfig and Makefile srcs to common kernel srcs

Verify:
local

Test:
local

Change-Id: I3e71b7e1ddea15e9d32efc0e6cb7e8e81b95b793
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2025-03-26 02:30:24 -08:00
Wanwei Jiang 22a093e819 ddk: optimize ddk build [1/1]
PD#SWPL-195997

Problem:
optimize ddk build

Solution:
optimize ddk build

Verify:
sc2

Test:
PB

Change-Id: I662f1e2a33ae0e5bdae97a70deb624964c5e1c5a
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-03-03 22:25:19 -08:00
Wanwei Jiang cadab66c37 build: support ddk [1/1]
PD#SWPL-195997

Problem:
the drivers in the common_drivers directory can be built using DDK
with gki_20 mode, it is also compatible with the original build.

Solution:
add BUILD.bazel and modify build script

Verify:
sc2

Test:
PB

Change-Id: Ie138e63f4eec8715d976d421dc8a431bcfadd859
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2025-02-25 07:17:36 -08:00
Zelong Dong cbbd668333 ir: re-register input device if enable IR mouse [1/1]
PD#SWPL-195993

Problem:
android would not refresh input devices while events
support was update, need to unregister input device.

Solution:
re-register input driver if enable IR mouse

Verify:
sc2

Change-Id: I4e4ce31f9fbfdbd1985db01b9d12ee74418dbfba
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-17 02:49:58 -08:00
Zelong Dong 5db8d03b19 ir: update IOCTL cmds [1/1]
PD#SWPL-195993

Problem:
move ir header file to include/uapi/ & update IOCTL cmds

Solution:
move ir header file to include/uapi/ & update IOCTL cmds

Verify:
sc2

Change-Id: Ib98ccb26746a67d6bc040666101193bd104eee6a
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-17 02:49:51 -08:00
Zelong Dong 6aa263159c ir: support more IOCTL cmds for cdev [1/1]
PD#SWPL-195993

Problem:
need to update cdev

Solution:
1. get/set wakeup key
2. get keymap

Verify:
s7d

Change-Id: Id35809484b154f6f02f0fe3908e6deff096ff8db
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-17 02:49:45 -08:00
Zelong Dong fb83bdc0f8 ir: update input capability for common input driver [1/1]
PD#SWPL-195976

Problem:
android will show mouse icon while boot up because
common input driver supports REL event

Solution:
update input capability for common input driver
according to keymap

Verify:
s7d

Change-Id: I6148684b1c8e56716cf68cf117107a6149bbc118
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-14 18:59:38 -08:00
Zelong Dong ff57203ef0 ir: back up and restore current keymap [1/1]
PD#SWPL-198026

Problem:
ir driver would not report key up event if the last
repeat frame got the wrong custom code

Solution:
back up and restore current keymap if the last repeat
frame got the wrong custom code

Verify:
s7d_bm209

Change-Id: I3a47f32505a157f2f958dd41e92eb11ba1f260da
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-14 18:59:30 -08:00
Zelong Dong 4cd90e5e5a ir: configure keymap pid/vid by cdev [1/1]
PD#SWPL-193372

Problem:
keymap is add by cdev which isn't work,
keymap pid/vid is default value

Solution:
configure keymap pid/vid

Verify:
t5m

Change-Id: Ic5323615a718640d1952d2d8ddc38082d6902cf3
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-14 18:59:22 -08:00
Zelong Dong ec73213d71 ir: fix cur_tab is NULL [1/1]
PD#SWPL-189489

Problem:
cur_tab could be NULL when the wakeup key isn't
include in kernel ir keymap

Solution:
check cur_tab, use input 0 as default if cur_tab is NULL

Verify:
t6d

Change-Id: Ifb2f0760b823a50faf822976845b553e111ed72a
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-14 18:59:14 -08:00
Jian Hu 68bc14b23e drivers: correct __setup return value. [1/1]
PD#SWPL-185687

Problem:
there is panic when envp_init stores over 32 members
Kernel panic - not syncing: Too many boot env vars at `reboot_mode=normal'
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.180-rksec-1.0 #2
Hardware name: Generic DT based system
[<b020a1b8>] show_stack+0x10/0x14
[<b0cbd7b4>] dump_stack+0x8c/0xa8
[<b0cad7a4>] panic+0x104/0x304
[<b1100b84>] start_kernel+0xa4/0x42c
[<b11004a4>] _sinittext+0x44/0x48

Solution:
set __setup return value as 1 to avoid envp_init full

Verify:
t5w

Test:
t5w

Change-Id: Ie0f5ada11318ab509bf7bd914e2af53213250f00
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2025-01-07 01:47:53 -08:00
Huqiang Qin daecfd673e adc_keypad: Support configurable event types [1/1]
PD#SWPL-195605

Problem:
Need event type to be configurable.

Solution:
Support configurable event types.

Verify:
T6D/BR301

Change-Id: I17693afcb65b8897374b07c067555f5198ccd962
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-12-09 03:32:42 -08:00
Zelong Dong d490329557 ir: clean error log [1/1]
PD#SWPL-194293

Problem:
Not all ir controller got 2 irqs.

Solution:
change platform_get_irq to platform_get_irq_optional

Verify:
sc2_ah212

Change-Id: Id341e383cd26ccedc1c47bd7039d8c860b718ac5
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-11-28 17:42:46 -08:00
Huqiang Qin c95e8a3895 saradc: s7d: support saradc [1/1]
PD#SWPL-163056

Problem:
S7D Silicon Bringup.

Solution:
Add a new SARADC driver.

Verify:
S7D/BM201

Change-Id: I5049a6f741bcc72691c931bc10830b30dc53913c
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-11-18 03:56:11 -08:00
Huqiang Qin ba9fbca9b4 adc_keypad: support blink led [1/1]
PD#SWPL-152938

Problem:
When the button is pressed, the LED will flash.

Solution:
New function.

Verify:
SC2/AH212

Change-Id: I4c4ff83b4b23a138b503647b20b5af09a6fb4336
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-11-14 21:50:25 -08:00
Zelong Dong 133d7fdbdd ir: optimize wakeup event [1/1]
PD#SWPL-190167

Problem:
ir wakeup event would block suspend about 2s

Solution:
optimize wakeup event

Verify:
t6d

Change-Id: Ifebd3ce022f529eaff0259c7e24caf4fd6125ae7
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-11-06 19:51:16 -08:00
Zelong Dong faad4e8d5b ir: support mbox for some func [2/3]
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>
2024-10-28 17:06:56 +08:00
Zelong Dong b6ce03e673 ir: support all IR devices in one common input device [2/2]
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>
2024-10-28 16:56:39 +08:00
Zelong Dong 5fe58c1604 ir: support multi IR devices [1/2]
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>
2024-10-28 16:56:32 +08:00
Zelong Dong 741b67098d ir: optimize multi input device [1/1]
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>
2024-10-28 16:19:08 +08:00
Zelong Dong e4b9a5c995 ir: improve the driver stability [1/1]
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>
2024-10-28 16:15:51 +08:00
Zelong Dong a79dfe7890 ir: support 2 multi-format ir controller [1/1]
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>
2024-10-28 15:55:32 +08:00
Zelong Dong 24bfe1a19b ir: support hibernate mode for ir [1/1]
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>
2024-10-28 15:49:19 +08:00
Zelong Dong 065feaa216 ir: add BTN_* event for input device [1/1]
PD#SWPL-148643

Problem:
ir mouse mode need BTN_* event

Solution:
add BTN_* event for ir input device

Verify:
s4_ap229

Change-Id: Ic078fb2b842fc91e6b7df55f5bc184a25b696c39
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-10-28 15:48:32 +08:00
Wanwei Jiang 911eeadc02 bringup: upgrade kernel from 6.6.10 to 6.6.11 [1/1]
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>
2024-09-26 15:05:50 +08:00
Huqiang Qin ad142fff30 adc_keypad: optimize code to reduce invalid calls to mbox [1/1]
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>
2024-06-04 05:57:59 -07:00
Dezhen Wang bcfa0ee2e4 bring up: revert compatibility code for kernel 6.6 [1/1]
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>
2024-01-11 18:46:45 -07:00
Wanwei Jiang 43461aec82 kernel6.6: bring up [1/1]
PD#SWPL-145682

Problem:
bring up kernel6.6

Solution:
1. porting kernel6.6
2. compatible with different kernel versions
3. bring up kernel6.6

Verify:
sc2 c2 a4 a5

Test:
None

Change-Id: Ie22af0abc8ea96261e8a8cc7804b58565aedd904
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-12-14 16:55:55 +08:00
Jianxiong Pan 455d10eff1 zapper: disable hdmitx20 and mbox. [1/1]
PD#SWPL-126879

Problem:
s1a memory optimization.

Solution:
disable hdmitx20 and mbox.

Verify:
s1a.

Test:
s1a.

Change-Id: I317718936fdc14ec3b30faae7672fea66ac4541c
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-03 04:25:04 -07:00
Huqiang Qin 8ac449d82e input: coverity clean [1/1]
PD#SWPL-141997

Problem:
Have coverity issue.

Solution:
Modify the code based on scan results.

Verify:
Kernel 5.15

Change-Id: I15cc6077c83e8ea6b88f33e8f51f1285a9f1af2e
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-10-20 04:44:13 -07:00