Commit Graph

87 Commits

Author SHA1 Message Date
Liqiang Jin 335b683bbd REE Watermark driver: add REE Watermark driver [1/1]
PD#SWPL-162669

Problem:
1) if Verimatrix Watermark enable, OSD flicker when the TV station changes
2) if screen resolution changes, NexGuard Watermark display is abnormal

Solution:
add Watermark flush mechanism

Verify:
Android U + S7D

Change-Id: I09f0b2473a2dbcb5646bfa3cd59178c7d04afeb2
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
2024-07-11 00:45:15 -07:00
Feng Chen cf7c866d33 spinor: update spi-nor layer [1/1]
PD#SWPL-164866

Problem:
update spi-nor layer.

Solution:
update spi-nor layer.

Verify:
C3_AW409

Change-Id: Ic93021b04cc0721d57c9c5c88e5f9e0abcdd090e
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-05-30 06:02:50 -07:00
Liming Xue 816c9d52aa host driver: m4 reconstruction [1/1]
PD#SWPL-163428

Problem:
1.kernel5.15 M4 reconstruction
2.bl40/mfh start smc uses different cmd
3.dsp start/suspend/remap smc uses different cmd
but there are dsp functions, so need to use the same cmd together

Solution:
1.kernel5.15 M4 reconstruction
2.bl40 and mfh smc cmd uses the same
3.dsp start/suspend/remap smc cmd uses the same

Verify:
a1/a5/c1/c2/sc2/sm1/g12a/t3/t3x/t7/t7c/

Change-Id: I103e6c8d1df824188dfa8e1d4ba443551ce1265c
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-05-27 07:32:42 -07:00
Tao Zeng c2ce371c4a amfc: add amfc driver support [1/1]
PD#SWPL-137614
PD#SWPL-163213

Problem:
No amfc driver

Solution:
add it:
1, basic driver for AMFC
2, EROFS support
3, kernel compressed by ZSTD support

Verify:
pxp

Change-Id: I45d2e308d209e35edba626619072aae93c4d0f56
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-05-15 02:28:22 -07:00
haotian.qu f76dbc1a97 fdtoverlay: kernel add fdtoverlay delete dts node config [5/6]
PD#SWPL-150301

Problem:
Kernel add fdtoverlay delete dts node config.

Solution:
1.Add CONFIG_AMLOGIC_FDTO_REMOVE_NODE to support
enable fdtoverlay delete dts node.
2.Delete redundant dts files.

Verify:
local

Signed-off-by: haotian.qu <haotian.qu@amlogic.com>
Change-Id: Iabbbdb699e457c13124308eb0cb0e38356a66764
2024-03-22 00:12:21 -07:00
guoqing.sun 073e8a7480 usbcam: CB2 USBCAM Driver in kernel5.15. [1/1]
PD#SWPL-134049

Problem:
USB CAM Driver

Solution:
usb cam Driver

Verify:
android-u T5m

Change-Id: I9897ab68d35e0d9db337c1703101505f2e57c668
Signed-off-by: guoqing.sun <guoqing.sun@amlogic.com>
2023-11-28 02:15:26 -07:00
Liming Xue d70741d666 host driver: reconstruct dsp host driver [1/1]
PD#SWPL-99041

Problem:
reconstruct dsp host driver

Solution:
config CONFIG_AMLOGIC_MCU_DRIVER to enable mcu driver
the new driver support multiple dsp/m4 cores

Verify:
a1/c1/c2/sc2/t3/t3x/t7/t7c

Change-Id: Ib1e666e615260bb5b7377a18eeaaf8daa65de86f
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2023-09-25 00:13:42 -07:00
qinglin.li 9f54c42bbd break_gki: adjust break gki config [2/2]
PD#SWPL-137861

Problem:
adjust break gki config

Solution:
CONFIG_AMLOGIC_BREAK_GKI_20 only break gki2.0
CONFIG_AMLOGIC_BREAK_GKI break gki 1.0 and 2.0

Verify:
local

Change-Id: Ic86c771027980aa24c638d5f89c014240d65ec91
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-30 20:13:49 -07:00
Mingyen Hung 536bc754e2 FBE: add aml_trusted_key for kernel 5.15 [1/1]
PD#SWPL-130061

Problem:
Need to poring FBE from kernel 5.4 to 5.15

Solution:
1. Poring FBE from kernel 5.4 to 5.15
2. Use allocate shm as a workaround, since register shm
sometimes fails.

Verify:
1. SC2 + ah212 + RDK kernel 5.15

Change-Id: I69b2723bafca0cbe8cc9e26010a20dc33860fc54
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2023-07-09 15:08:00 -07:00
Doosan Baek a88ffafa68 KL/KT: Add a new seckey driver [1/1]
PD#SWPL-124965

Problem:
Need key ladder/table driver for kernel5.15
The KT driver needs to be separated from the descrambler.
New APIs are needed for the KT driver.

Solution:
Create a seckey driver.

Verify:
S5 KT/KL with DMA
T3 METACAS with Descramble
T5W

Change-Id: Id058e64f99918b66e79d24647880f999f55ca13a
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2023-05-31 20:54:04 -07:00
Huqiang Qin 2718a1b7e4 timestamp: porting timestamp driver to kernel 5.15 [1/1]
PD#SWPL-85472

Problem:
Project used timestamp driver on kernel 4.19,
but kernel 5.15 can't find this driver.

Solution:
Porting from: amlogic-4.19-dev

Verify:
A1/C2

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Change-Id: I6c03e1bbf0406b430cb0cf51b0bf09dd51abd31a
2023-05-11 01:54:46 -07:00
chengbing.wu 29655631ae pmic: a1 k5.15 pmic and sub driver porting [1/1]
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>
2023-04-16 22:32:09 -07:00
Yao Jie 2c5349ae4c m4: bringup m4 on sm1 [1/1]
PD#SWPL-104282

Problem:
bringup m4 on sm1

Solution:
add bl40 module driver and configuration to
bringup m4

Verify:
SM1-AC200-S905D3

Change-Id: I39afd0f91a49bd187e23cb29111f06e8c404419d
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-04-04 19:37:02 +08:00
jinbing.zhu 3da7363ac1 updata: 5.15 algorithm path [1/1]
PD#SWPL-115900

Problem:
updata

Solution:
updata

Verify:
ohm

Change-Id: Iddb8b53a9de4d1b326d398a3d749cdbe52ffa856
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-03-30 22:15:21 -07:00
wenlong.zhu aa19568bc4 AduioBridge: porting from 4.19 to 5.15 [1/1]
PD#SWPL-114902

Problem:
1.AudioBridge module needs to be added to kernel 5.15.

Solution:
1.Makefiles, Kconfig, and code need to be adjusted in AudioBridge.

Verify:
A113L AD403 Board

Change-Id: I47ef1f7c50836c6617969dc2c37d8d340fc15f19
Signed-off-by: wenlong.zhu <wenlong.zhu@amlogic.com>
2023-03-23 22:10:18 -07:00
jinbing.zhu 4deafd2566 revert: 5.15 algorithm makefile and kconfig new paths [1/1]
PD#SWPL-96505

Problem:
fix path

Solution:
fix path

Verify:
A311D2-AN400

Change-Id: I2b167a0cefb9582fd4e7078e9db663a60e939789
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-03-15 05:30:55 -07:00
Jiucheng Xu e9d1b749fa Revert "md: dm bow for kernel 5.15 [2/2]"
This reverts commit f4ba55d9f3.

PD#SWPL-114099

Problem:
bow code has been integrated in kernel/common

Solution:
revert common_driver bow driver.

Verify:
sc2

Change-Id: I1380897831c2753601c97767ca4ace0c23f2d8ba
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-03-13 03:15:20 -08:00
Hangyu Li 02322b8dc5 tee: integrate tee linux driver 3.18 [1/1]
PD#SWPL-100078
PD#SWPL-100278

Problem:
need to change tdk_linuxdriver to linux kernel

Solution:
update tee driver from linaro-swg/linux upstream
https://github.com/linaro-swg/linux
upstream tag: optee-3.19.0
upstream commit: 29aee39cfa
optee-3.19.0 is almost same with optee-3.18.0

Verify:
Android T + ohm + Kernel 5.15

Change-Id: Ib58f53f50e7b4be3fb87f120a9eceaea0c5803f4
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-02-24 03:56:26 -08:00
Jiucheng Xu ab34a18fda fs: port yaffs2 from 5.4 [1/1]
PD#SWPL-110877

Problem:
yaffs2 is needed by low-end platform.

Solution:
port it from 5.4

Verify:
SD4

Change-Id: I78336ab8ef94ea20e845149db59a42cf6a746bb2
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-02-21 19:48:52 -08:00
yanmei.yang ef591da407 yocto: CF2 add logger in kernel 5.15 [1/1]
PD#SWPL-105337

Problem:
android logger not support in kernel 5.15

Solution:
add logger into kernel 515

Verify:
Local

Signed-off-by: yanmei.yang <yanmei.yang@amlogic.com>
Change-Id: I2445c494eaae3c74f8053bb6caeea3e98825a901
2023-02-17 02:16:17 -08:00
jinbing.zhu 25cdf9fca1 kernel: 5.15 algorithm makefile and kconfig new paths [1/1]
PD#SWPL-96505

Problem:
fix path

Solution:
fix path

Verify:
A311D2-AN400

Change-Id: I61c72c28ea165d6e91c5105d72c1a7593ca09a1e
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-01-12 22:37:13 -08:00
hongyu.chen1 ced68011a7 T5M: add hwspinlock. [3/3]
PD#SWPL-104753

Problem:
add hwspinlock driver

Solution:
add hwspinlock driver

Verify:
ay301

Change-Id: I00fe24c4e1557efbe9357f0c88c8aded28d9d7f9
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-01-04 01:07:19 -08:00
Jiucheng Xu f4ba55d9f3 md: dm bow for kernel 5.15 [2/2]
PD#SWPL-102756

Problem:
Upgrade project need dm bow for ota

Solution:
Port it from 5.4 code

Verify:
sc2

Change-Id: I5ec3f30840fe61b9e002477b00d111853bb48ef8
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2022-12-19 22:30:12 -08:00
hongyu.chen 5345c0f037 dvbci: add kconfig file and default do not compile dvbci driver. [1/1]
PD#SWPL-104336

Problem:
no kconfig file.

Solution:
add kconfig file and default do not compile dvbci driver.

Verify:
AR321/T965D4

Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
Change-Id: Ie741451b8578581b938cb9e3af007e1b3eae3680
2022-12-07 02:08:02 -07:00
qinglin.li d42ffc9882 dvb: combine dvb module [1/1]
PD#SWPL-95684

Problem:
combine dvb module

Solution:
result:
	amlogic-dvb.ko
	amlogic-dvb-demux.ko
original:
	aml_dvb_extern.ko
	amlogic-aucpu.ko
	amlogic-dvb-demux.ko
	aml_dsm.ko
	amlogic-smartcard-sc2.ko

Verify:
sc2

Change-Id: I293381ecad230dc821a94f8d2440df1f2c24582a
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-11-05 12:32:02 +08:00
Wanwei Jiang c780df0b08 memory: combine memory_ext addr_tool and reg_access modules [1/1]
PD#SWPL-95684

Problem:
combine memory_ext addr_tool and reg_access modules

Solution:
result: amlogic-memory-debug.ko
original:
	file_cache.ko
	watch_point.ko
	amlogic-reg.ko
	amlogic-ddr.ko

Verify:
sc2/s4d

Change-Id: Id143e085dd26c0b57631dbab4c003534905d0661
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-11-05 12:31:14 +08:00
qinglin.li 55312c58ed wireless: combine wifi and bluetooth modules [1/1]
PD#SWPL-95684

Problem:
combine wifi and bluetooth modules

Solution:
result: amlogic-wireless.ko
original: amlogic-wifi.ko bt_device.ko

Verify:
sc2

Change-Id: I2b8ff4c2471407e419772e22920434c5c74b843e
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-11-05 12:30:53 +08:00
qinglin.li 32645d804f gpio: combine gpiolib irqchip and pinctrl modules [1/1]
PD#SWPL-95684

Problem:
combine gpiolib irqchip and pinctrl modules

Solution:
result:
	amlogic-gpio.ko
original:
	amlogic-irqchip.ko
	amlogic-pinctrl.ko
	amlogic-gpiolib.ko

Verify:
sc2

Change-Id: I6d47bb5a0007c26b8ebc922b1cdd31863d9e6454
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-11-05 12:07:34 +08:00
Wanwei Jiang 24ec321ee7 secmon: combine secmon and dolbyfw modules [1/1]
PD#SWPL-95684

Problem:
combine secmon and dolbyfw modules

Solution:
result: amlogic-secmon.ko
original:
	amlogic-secmon.ko
	amlogic-dolbyfw.ko

Verify:
sc2

Change-Id: Ibc809a6f9ec1850b050a2aca0660f0607afbd5b4
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-11-05 12:06:46 +08:00
Wanwei Jiang 812361a4e9 pm: combine pm and reboot modules [1/1]
PD#SWPL-95684

Problem:
combine pm and reboot modules

Solution:
result: amlogic-pm.ko
original: amlogic-pm.ko amlogic-reboot.ko

Verify:
sc2

Change-Id: I25366f4413a7e7ec84131321e9b686b337358d70
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-11-05 12:06:33 +08:00
song.han 5c1df2adb9 scrambler: enable scrambler func in normal reboot [2/2]
PD#SWPL-94581

Problem:
need disable ddr scrambler func for debug

Solution:
only enable scrambler func in normal reboot

Verify:
SC2_AH212

Signed-off-by: song.han <song.han@amlogic.com>
Change-Id: I17fcfcc4b0ef0df195c6464bd742b23758422dfc
2022-09-26 19:47:22 -07:00
junyi.zhao 82e39409d1 leds: add tlc and aw driver [1/1]
PD#SWPL-91800

Problem:
there is no ledIc driver

Solution:
porting driver

Verify:
s4 ah212

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: Id7e22d21b3378c56bdf2d0f00e55083f0830d94b
2022-09-07 20:06:45 +08:00
song.han b44f186fcc ddr_scrambler: build ddr_scrambler func in module [2/2]
PD#SWPL-89148

Problem:
ddr scrambler key refresh that cause lastk miss

Solution:
enable ddr scrambler key preserve when pstore init
build this function as module

Verify:
SC2_AH212

Signed-off-by: song.han <song.han@amlogic.com>
Change-Id: Iae0848df26de4387075edcdcb7652173c89d2468
2022-09-07 20:06:43 +08:00
Yu Tu d4e08c3c15 pcie: add pcie driver [1/1]
PD#SWPL-83304

Problem:
need pcie driver for sc2

Solution:
add pcie driver

Verify:
sc2

Signed-off-by: Yu Tu <yu.tu@amlogic.com>
Change-Id: Ie2b31847791904ce03e81af8992b0ddcd77b1042
2022-09-07 20:06:42 +08:00
Bichao Zheng 7b68997a51 spinand: C3 add spinand support [1/1]
PD#SWPL-83836

Problem:
need add spinand support

Solution:
1. enabled spinand default
2. disabled emmc
3. add new partition
4. enabled ubifs support

Verify:
c3_aw419

Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Change-Id: Ic1e679d30f5bd23cb30115fe380b9a08e60b18f3
2022-06-30 18:09:28 +08:00
yujun.zhang 54bd40dae9 drm: add drm driver support [1/1]
PD#SWPL-82197

Problem:
no drm driver support

Solution:
add drm driver support

Verify:
ap222

Change-Id: I331a75afe6087278ebf9de27ae36a346539d09a8
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2022-06-07 04:47:30 -07:00
qinglin.li c24734d1d4 cpuidle: crash with sc2 start kernel [2/2]
PD#SWPL-82955

Problem:
crash with sc2 start kernel

Solution:
add config control sleep.S modify

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I15cd3dc388299dee76979672b9984683b83dc407
2022-05-27 02:18:05 -07:00
wanwei.jiang 3eab75fcab script: compatible android kernel build [2/2]
PD#SWPL-80766

Problem:
compatible android kernel build

Solution:
1. modify the Kconfig and Makefile of sound to avoid the "../" directory,
which leads to failure in building the ramdisk.
2. support build dtbo
3. support build system_dlkm and vendor_dlkm, and import rootfs's modules loading sequence

Verify:
s4d and a1

Change-Id: I98e6852e2603bb259839567316a0ba53a87f696e
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-05-25 01:14:27 +08:00
Bichao Zheng 6b2572b772 nand: support driver for s4d [1/1]
PD#SWPL-79112

Problem:
need support nand driver for s4d

Solution:
add s4d support

Verify:
s4d

Change-Id: Ife2638781da946f0527ff00546ca5a8cb97b293f
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2022-05-19 07:27:20 -07:00
chuangcheng peng 455212b1b9 dvb: add dvb module [1/1]
PD#SWPL-77327

Problem:
need dvb feature

Solution:
add dvb feature

Verify:
compile pass, no verify

Change-Id: I6ae02c2685a09b31a53926ef341c1dbd65b98241
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-05-15 22:41:36 -07:00
Bichao Zheng 0d4c1967ad spinand: add spi nand support [1/1]
PD#SWPL-77466

Problem:
need to support spi nand

Solution:
1. add spi nand support
2. add spifc v2 support

Verify:
A1

Change-Id: I183e52931a3b87b7d13ce6b7d930c2e16a6e0a25
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2022-05-12 17:50:20 +08:00
chuangcheng peng 5c2db001ae smc: bringup [1/1]
PD#SWPL-77328

Problem:
bringup

Solution:
bringup

Verify:
not verified

Change-Id: I958f77eb2cd5629dd5ea2643d19e3a6344ae0cc7
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-05-10 02:11:08 -07:00
Zhuo Wang 486030f422 eth: gki bringup [2/2]
PD#SWPL-77313

Problem:
bringup eth

Solution:
bringup eth

Verify:
Verified on AP222_S905Y4#005

Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: I39ce9e905790c8a62ce8b5705a6443e0c56c81b5
2022-04-26 05:03:35 -07:00
jiabin.chen dc40ec99c3 wifi: wifi & bt bringup [1/1]
PD#SWPL-72086

Problem:
k5.15 not support wifi bt

Solution:
add wifi bt files

Verify:
c2

Change-Id: I2c003e4e1b8bbf9ea60b184c5070a90101d98eba
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
2022-03-24 20:01:34 +08:00
xia.jin 67cec1cfc8 dolbyfw: support dolby fw driver for 5.15 s4 [1/2]
PD#SWPL-74334

Problem:
none

Solution:
add dolby fw driver for 5.15 s4d

Verify:
s4d

Change-Id: Ie1950ac92d27a571e270768f15963827f9e87df0
Signed-off-by: xia.jin <xia.jin@amlogic.com>
2022-03-21 03:07:15 -07:00
wanwei.jiang daefdc103d audio: porting audio driver [1/1]
PD#SWPL-72014

Problem:
porting audio driver from kernel5.10

Solution:
porting audio driver from kernel5.10

Verify:
s4d and C2 AF400

Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
Change-Id: Ie69c274441619925df30ec20f85ae2b36e74bc6e
2022-03-04 11:13:37 +08:00
Mingyen Hung 1e8b4c307a crypto: bringup amlogic crypto driver [1/1]
PD#SWPL-71764

Problem:
Need to bringup amlogic crypto driver for
kernel 5.15.

Solution:
1. Bringup amlogic crypto driver
2. Enable SHA1, DES, and ECB if they are
disabled by default.
3. Merged from 5.4 and 5.10

Verify:
1. Built-in driver on C2_AF400
2. GKI driver on S4D AP_222

Change-Id: I62487e615930070233c3a6b4a41b66edddf6f783
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2022-03-03 04:13:47 -07:00
he.he 5e13cdd660 usb: support USB for C2 CONFIG and dts [1/1]
PD#SWPL-71865

Problem:
support USB for C2

Solution:
support USB for C2

Verify:
C2

Change-Id: Iccf6f80f7bdcde9618cf4fd609a0fa6cd8f6f6be
Signed-off-by: he.he <he.he@amlogic.com>
2022-03-03 02:31:59 -07:00
wanwei.jiang eb590ede93 freertos: add module to bring cpu1 to linux [1/2]
PD#SWPL-71741

Problem:
add module to bring cpu1 to linux

Solution:
add module to bring cpu1 to linux

Verify:
C2 AF400

Change-Id: Iac78df21a1edc46a158d78339be7bc0d394a658b
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-02-28 05:27:29 -07:00
yuhua.lin 3dba0c8c3c codec_io: add codec_io support [1/1]
PD#SWPL-72033

Problem:
add codec_io support

Solution:
add this support

Verify:
C2

Change-Id: I3addeef06e249f6c4cfa4ef026826e6368ec801f
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2022-02-27 19:50:59 -07:00