Commit Graph

36 Commits

Author SHA1 Message Date
jiebing chen 2742ba13f8 Audio: t6d bringup audio driver [1/1]
PD#SWPL-180378

Problem:
need support t6d audio driver

Solution:
add t6d audio driver

Verify:
s6d

Change-Id: Ic8f57592551fcde4c936c93baf86630a6f09c80b
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-08-22 14:27:52 +08:00
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
Zhuo Wang c54cd55c08 eth: s6 exphy wol [1/2]
PD#SWPL-172929

Problem:
bringup s6 exphy wol

Solution:
bringup s6 exphy wol

Verify:
s6_bl201

Change-Id: I628698c5b0d5d5a84448fb5f4306de6ad36a1b19
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-07-09 05:11:38 -07:00
Yu Tu cc3f466fe0 pcie: s6 pcie bringup [1/1]
PD#SWPL-172979

Problem:
1.s6 pcie bringup upgrade P build error
2.follow DDR to 4G

Solution:
modified build question and dtsi

Verify:
build is ok

Change-Id: Ib148eb0779d3f3338088516061a3ff26dbf1b0af
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-07-05 10:44:46 +08:00
Yu Tu 6a27313b4c pcie: s6 pcie bringup [1/1]
PD#SWPL-172979

Problem:
need support pcie on s6

Solution:
s6 pcie silicon bringup

Verify:
s6_s905x5_bl208

Change-Id: Id806003e2c49b3af7406de2f79cd565729069cd3
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-07-05 10:44:46 +08:00
Chuan Liu d888b53768 clk: s6: clock tree bringup [2/2]
PD#SWPL-154653

Problem:
clock tree bringup

Solution:
added

Verify:
pxp

Change-Id: I421aad497bbd7d1bd46430bf5c708cede10c7301
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-05 10:40:48 +08:00
Qianggui Song 8cc02266f3 pinctrl: s6: driver bringup [1/1]
PD#SWPL-154155

Problem:
s6 pinctrl bringup

Solution:
add pinctrl driver data

Verify:
s6_pxp

Change-Id: I4e0cb65df30ba4bfa1acd6c0c81231bcda012f7b
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-07-05 10:40:48 +08: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
yiting.deng f61d85fdf5 clk: clean scmi related config [1/1]
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>
2024-05-23 08:05:54 -07:00
qing.zhang 67a1463db4 Audio: for s7d new codec sy6026 [3/3]
PD#SWPL-166106

Problem:
B201 use sy6026 instead of analog speaker

Solution:
kernel part, only ref b201 use the codec
1. integrate sdk
2. fix i2c addr from 0x54 to 0x2a
3. fix function error
4. review setting for PBTL design, reg 0x22 from
0x1 to 0x3
5. use soft unmute/mute
6. remove pdm pin GPIODV_5 for codec

Verify:
use s7d ref board 201

Change-Id: Ied29b57736c0045bd2ff98bab138f4b9fc91afcf
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-04-23 04:08:55 -07:00
Chuan Liu 1c692807f3 clk: s7d: clock tree bringup [2/2]
PD#SWPL-147273

Problem:
clock tree bringup for s7d

Solution:
added

Verify:
pxp

Change-Id: I629a0465ad61aa7935fea2d850fbd3418f7a840e
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-04-17 19:29:58 +08:00
Huqiang Qin e7b35c7fa5 gpio: s7d: support gpio and irq [1/1]
PD#SWPL-146832

Problem:
S7D PxP Bringup.

Solution:
S7D PxP Bringup.

Verify:
PxP

Change-Id: I5954932f83e4cfb1aded18c90879c27522ca550d
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-04-17 19:29:58 +08:00
pengzhao.liu 82296a7e9c kernel: s7 64bit bringup [1/1]
PD#SWPL-146371

Problem:
s7 64bit bringup

Solution:
s7 64bit bringup

Verify:
ptm

Change-Id: I3e8c93748edb6af4add91d5a470f17dd894484c1
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-01-22 12:48:43 +08:00
qi duan 7f6fba8cb2 eth: stmmac: move stmmac driver to common_driver for u [1/1]
PD#SWPL-152600

Problem:
stmmac driver move to common_driver for u

Solution:
stmmac driver move to common_driver for u

Verify:
ah212

Change-Id: I0edfb3bebbd2384d740ff6a4d3f6c162d8f5664d
Signed-off-by: qi duan <qi.duan@amlogic.com>
2024-01-05 05:05:55 -07:00
junyi.zhao 61390e7b66 clk: add clk driver for tm2 [1/1]
PD#SWPL-143585

Problem:
there is no tm2 clk driver

Solution:
add tm2 clk driver

Verify:
tm2 ab311

Change-Id: Ic7a623ec740444518e019f2424792735eefb3602
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-12-22 16:08:59 +08:00
Qianggui Song 34c7c4751d dtb: tm2: bringup to console [1/1]
PD#SWPL-143601

Problem:
Need to bringup to console

Solution:
bringup to console for ab301

Verify:
tm2_ab301

Change-Id: I8f78a322da984eafa71ee21bee330eeccc224058
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-12-22 16:08:59 +08:00
Zhuo Wang 50a12a1f8a eth: tuning exphy mode with s5 [1/2]
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>
2023-12-20 20:51:20 -07:00
Junyi Zhao c5f52b5721 led: power led: keep led on [1/1]
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>
2023-12-07 00:09:30 -07:00
Jianxiong Pan 52549b9184 mm: set pagetrace y defalut no gki20. [1/1]
PD#SWPL-146738

Problem:
pagetrace too late in suspend phase.

Solution:
set pagetrace y default no gki20.

Verify:
local.

Change-Id: I258abab43c336e3de2a4190dce365705d2860f34
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-04 04:37:18 -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 feb92b24d6 module: add modules out add and remove function [1/2]
PD#SWPL-134106

Problem:
add modules out add and remove function

Solution:
add modules out add and remove function

Verify:
local

Change-Id: I836b63a2074b9bc480627da690d9c4240104e729
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-29 03:59:05 -07:00
Qinglin Li 8c3c51983b Revert "modules: remove modules out list [1/2]"
This reverts commit 6ea7d6e204.

Change-Id: Id5ffc6e06cdb384ed31f3d3f9dfb43e02014d1da
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-10 21:48:59 -07:00
qinglin.li 6ea7d6e204 modules: remove modules out list [1/2]
PD#SWPL-134106

Problem:
remove modules out list

Solution:
remove modules out list

Verify:
local

Change-Id: I6d4d13b6779d73133367735aee08814d5dbfb1a6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-09 02:58:55 -07:00
Jianxiong Pan e49f1f08c5 mm: set aml smmu driver to ko. [1/1]
PD#SWPL-112188

Problem:
aml smmu need to meet requirement of gki2.0.

Solution:
try to set aml smmu driver to ko.

Verify:
build failed.

Change-Id: I8a6a1fc2312aaa82f68f7e97cc05be731d03ac49
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-08-08 08:09:01 -07:00
qinglin.li e8daee6a03 mm: add memory optimization [1/1]
PD#SWPL-128561

Problem:
upgrade r && s not have kernel/kheaders.ko

Solution:
remove kernel/kheaders.ko

Verify:
local

Change-Id: I96e777f66358a18a9c721524cb52adca17098b1c
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-04 02:18:54 -07:00
junyi.zhao 65c1ddc7cc clk: remove txhd2 clk from arm64 [1/1]
PD#SWPL-125774

Problem:
txhd2 not support arm64

Solution:
Delete config

Verify:
TXHD2 REVB

Change-Id: Ic705921046faaedee3f150fcb40f1885d8944241
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-07-19 21:22:43 -07:00
Jianxiong Pan f2bee04a0a mm: mem debug modularity. [1/1]
PD#SWPL-112188

Problem:
gki2.0 support.

Solution:
mem debug modularity.

Verify:
adt4.

Change-Id: I91b9352a60c8afcd78bb4ff4ec95e8629ed27212
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-07-17 22:56:16 -07:00
Jianxiong Pan e5da787cbd mm: user fault modularity for arm64. [1/1]
PD#SWPL-112188

Problem:
gki2.0 support.

Solution:
user fault modularity.

Verify:
adt4.

Change-Id: Ied1bddbf25f0341659ba2231c07e8df20906749c
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-07-17 07:13:05 -07:00
qinglin.li 62b23335d8 bazel: support some build command --upgrade [1/2]
PD#SWPL-127872

Problem:
support some build command --upgrade

Solution:
support some build command --upgrade

Verify:
5.15

Change-Id: Ic5f90990d14b40bc1408c88d12f15b86622261c0
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-07-14 03:28:39 -07:00
Qianggui Song 703a4d8af8 autosh: fix autosh build error u [1/1]
PD#SWPL-129104

Problem:
common-14 autosh build error

Solution:
add ko to list

Verify:
local

Change-Id: Idc579378ffb5bb8816222b68f6c938966a110508
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-06-29 10:38:53 +08:00
Jianxiong Pan eb89e630a5 mm: custom cma allocation and release function. [1/1]
PD#SWPL-118431

Problem:
to meet gki requirements.

Solution:
allocating memory in multiple threads.

Verify:
t7c.

Change-Id: I2d92bf1caf202a2da170f317eddcb74058d97ed1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-06-19 05:13:48 -07:00
shaohui.sheng 1bbef379af audio: Bring up the PA1 chip [1/1]
PD#SWPL-102916

Problem:
PA1 AMP chip lacks driver code, resulting in the inability
to carry out functional testing of AMP chip.

Solution:
Complete the driver code writing of PA1 chip, and then test
the basic function of PA1 and DSP function.

Verify:
Use the small board with PA1 chip and
AR309 socket board self-test

Change-Id: I420fbaca97584427b3969dac76e66acfbe9cf6d2
Signed-off-by: shaohui.sheng <shaohui.sheng@amlogic.com>
2023-06-04 21:08:19 -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
qinglin.li afa7927a1f upgrade: kernel upgrade by May [1/1]
PD#SWPL-124098

Problem:
kernel upgrade by May

Solution:
kernel upgrade by May

Verify:
local

Change-Id: I19aa4e7ca1d6e43703f1752e3e46f8bdcaf8c08b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-05-24 04:48:18 -07:00
Wanwei Jiang 92c8943985 bazel: optimize and add some function [1/2]
PD#SWPL-123803

Problem:
optimize and add some function

Solution:
1. support update symbol list
2. support abi check
3. remove db845c information
4. optimize modules_out
5. rename symbol list file name

Verify:
sc2

Change-Id: Ia816fa87ebb6047c5bf3722c613c5545d4367a9d
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-05-23 01:42:23 -07:00