Commit Graph

2089 Commits

Author SHA1 Message Date
pengzhao.liu 28e44151fd kernel: s6 add dts for silicon bringup of kernel [1/1]
PD#SWPL-172254

Problem:
s6 add dts for silicon bringup of kernel.

Solution:
s6 add dts for silicon bringup of kernel

Verify:
s6

Change-Id: Ie283517a14dd43b1347b0f1ae66d487cf05305a1
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-07-13 19:11:23 +08:00
Wanwei Jiang ce910dea45 dmc: porting for s6 [1/1]
PD#SWPL-156505

Problem:
porting dmc for s6

Solution:
1. support ddr bandwidth
2. support dmc monitor
3. analyzing register information according to
the latest secure register definitions

Verify:
s6 pxp

Change-Id: I90067dab06a268e8f87c4f5df1960375b2eecf32
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-07-13 19:11:23 +08:00
ruofei.zhao bc108f1a69 hdmitx: s6 kernel pxp bringup. [1/1]
PD#SWPL-156556

Problem:
s6 pxp bringup in kernel

Solution:
complete it

Verify:
pxp

Test:
DRM-TX-106

Change-Id: Ia745b72f45d41e9a99d877ce32ee0231cb889d72
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-07-13 19:11:22 +08:00
yiting.deng adfb5228d7 vrtc: t6d: kernel vrtc bringup [1/1]
PD#SWPL-168113

Problem:
t6d vrtc kernel bringup

Solution:
t6d vrtc kernel bringup

Verify:
pxp

Change-Id: Iae3c0647d8bbdfeeae8adbe9b7d9af10997fdb56
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-07-13 19:11:22 +08:00
qiyao.zhou 5b65d32338 vc: vicp config for s6. [1/1]
PD#SWPL-156559

Problem:
s6 bring up about vicp.

Solution:
Config vicp flow for s6.

Verify:
s6

Change-Id: Ib7611b40983853c1f0bcb362ecbf4675ba2d85cb
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-07-13 19:11:22 +08:00
qiyao.zhou 7299cfc1e4 dts: add vc support for s6 [1/1]
PD#SWPL-161320

Problem:
VC module don't enable.

Solution:
Enable VC module in DTS

Verify:
ptm

Change-Id: I7612a91698adca558291374887623252028bd7f7
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-07-13 19:11:22 +08:00
Junyi Zhao d85b0786da s6: support pwm driver [1/1]
PD#SWPL-156509

Problem:
there is no pwm driver

Solution:
add pwm driver support

Verify:
s6 pxp

Change-Id: Iac6f0e389f0cb8b58f361d463cd79cb2a5e907f2
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-07-13 19:11:22 +08:00
Junyi Zhao 57c2d3ba70 s6: support i2c driver [1/1]
PD#SWPL-156513

Problem:
there is no i2c driver

Solution:
add i2c driver support

Verify:
s6 pxp

Change-Id: I956bce48397aa68da6a4d2f2659419a44c960507
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-07-13 19:11:22 +08:00
Yan Wang da58750d1b mte: add mte reserved memory. [1/1]
PD#SWPL-149333

Problem:
add mte tag reserved memory.

Solution:
add mte tag reserved memory.

Verify:
z1

Change-Id: If0b83e50370246df83d7ca6bf16a3c389b50ced8
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2024-07-13 19:11:20 +08:00
Chuan Liu ee3ca92d7d clk: s6: Optimize clock driver [2/2]
PD#SWPL-158289

Problem:
1 The register corresponding to oscin was updated;
2 Put some of the key clocks into bl31 for processing.

Solution:
fixed

Verify:
pxp

Change-Id: Ie5ea8b6c507ce136ba397e8e54362b72f05cf45c
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:04:51 +08:00
Liming Xue f3ebe4d5cb dsp: s6 dsp pxp bringup [1/1]
PD#SWPL-156574

Problem:
s6 dsp pxp bringup

Solution:
s6 dsp pxp bringup

Verify:
s6

Change-Id: Ia5c0a4bc37fd79a3e15149d7e9fa1b5750af64fd
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-07-13 19:04:46 +08:00
Cancan Chang ddee063167 NNA: S6 adla pxp bringup [1/1]
PD#SWPL-156575

Problem:
add adla support on S6

Solution:
add adla node to dts.

Verify:
pxp

Change-Id: I3bc2b58fb20233a80bd7285878978c6efe78b0e4
Signed-off-by: Cancan.chang <cancan.chang@amlogic.com>
2024-07-13 19:04:41 +08:00
shihong.zheng 428f9582d5 media: s6 media bringup. [1/1]
PD#SWPL-156446

Problem:
s6 decoder bringup

Solution:
config dts and new features
for decoder.

Verify:
pxp

Change-Id: I2b7a40d65e58b11318c0f912f49b605fd7b59756
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2024-07-13 19:04:36 +08:00
Yongjie Zhu c0b075d59f gpu: s6 gpu bringup [1/1]
PD#SWPL-156542

Problem:
s6 gpu bringup

Solution:
add gpu config

Verify:
s6 pxp

Change-Id: I95346484c64d09d77064863411ca8b45da80fbc2
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2024-07-13 19:04:29 +08:00
Qianggui Song 6169a4ce90 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-13 19:04:11 +08:00
Rong Chen 0dbc37e929 mmc: support emmc and sd [1/1]
PD#SWPL-155752

Problem:
S6 PXP Bringup mmc.

Solution:
add emmc and sd.

Verify:
S6 PXP

Change-Id: I132039892ccfbfd537523be5dbe8a968de6cd64a
Signed-off-by: Rong Chen <rong.chen@amlogic.com>
2024-07-13 19:03:33 +08:00
Chuan Liu f9bb63b9f5 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-13 19:03:26 +08:00
Yao Jie af6a866061 mailbox: s6 mailbox pxp bringup [1/1]
PD#SWPL-156519

Problem:
S6 mailbox pxp bringup

Solution:
S6 mailbox pxp bringup

Verify:
PXP

Change-Id: I08917759de24df334397db8f49f64b057172f3f3
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-07-13 19:02:39 +08:00
yuhua.lin bc919069cb dewarp: add dewarp support for s6 [1/1]
PD#SWPL-156560

Problem:
s6 dewarp bringup

Solution:
complete it

Verify:
ptm

Change-Id: If19b338727d0bd9f8ce50e463542933dedcdbea2
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 19:02:38 +08:00
yuhua.lin 89c774c4d4 ge2d: add ge2d support for s6 [1/1]
PD#SWPL-156546

Problem:
s6 ge2d bringup

Solution:
complete it

Verify:
ptm

Change-Id: I1f0d03f9f13c82cb43e0faa783313a3298d129e1
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 19:02:38 +08:00
hongyu.chen1 1a29030af1 S6: power domain: add config. [3/3]
PD#SWPL-153862

Problem:
s6 need power domain support.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: I5ba46225cb08a4a92d43fe25d7f6385d65bf6efb
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-07-13 19:02:01 +08:00
yuhua.lin ecb9e50763 video: add video support for s6 [1/1]
PD#SWPL-156545

Problem:
s6 video bringup

Solution:
complete it

Verify:
pxp

Change-Id: I945ac2efe9baf7c1b16dfa51cfaabdaca4f0f1c9
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 18:59:20 +08:00
yuhua.lin 59296fd72d osd: add osd support for s6 [1/1]
PD#SWPL-156544

Problem:
s6 osd bringup

Solution:
complete it

Verify:
pxp

Change-Id: Ida378bd0bd4bb1e75229400520b3d1110bbe21b1
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 18:59:08 +08:00
yuhua.lin 749f0a9aa1 s6: add codec_io/canvas/rdma support for s6 [1/1]
PD#SWPL-156543

Problem:
s6 codec_io/canvas/rdma bringup

Solution:
complete it

Verify:
pxp

Change-Id: Ic9facdff23c43b330d8203744d9ca6a3a0172b8f
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 18:59:02 +08:00
yuhua.lin cc444dc213 vpu: add support for s6 [1/1]
PD#SWPL-156552

Problem:
s6 vpu_top bringup

Solution:
complete it

Verify:
pxp

Change-Id: Ic0baf3734db1a772e4d32854f175f33e357bdafb
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 18:58:52 +08:00
Zelong Dong 0ef37f7ca6 reset: add reset controller support for s6 [1/1]
PD#SWPL-154396

Problem:
don't support s6 platform

Solution:
add reset controller support for s6

Verify:
s6_pxp

Change-Id: I7b5b78f28b1b9b0fa512aa7d13c67eab77dbf065
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-07-13 18:58:44 +08:00
yao zhang1 173c0f4f1c bringup: Add s6 dts and dtsi. [1/1]
PD#SWPL-149346

Problem:
Bringup s6.

Solution:
Add s6 dts and dtsi.

Verify:
s6 pxp

Change-Id: I545254ab574a29c65d586db054bf8e29f09a090d
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2024-07-13 18:58:29 +08:00
Liqiang Jin 1079a7b412 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 16:07:40 +08:00
Zhuo Wang 96f107d925 eth: s7d improve led setting [1/1]
PD#SWPL-170072

Problem:
verify s7d led setting

Solution:
verify s7d led setting

Verify:
s7d_bm209 with led modify

Change-Id: I43fd1b46723f591c917f39a15788af88af5bdc48
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-09 10:52:27 +08:00
Feng Chen feb6fdb157 nand: s7: driver support [1/1]
PD#SWPL-152420

Problem:
SLC NAND driver support.

Solution:
SLC NAND driver support.

Verify:
S7_BH209

Change-Id: Ia8b9fcae145ce4136751c7f109ae69945371ed08
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-07-09 10:52:26 +08:00
Rong Chen 1d9ded4650 sdio: Optimize the throughput performance of wifi. [1/1]
PD#SWPL-175159

Problem:
need to improve sdio wifi performance.

Solution:
Switch sdio source clock to DIV2 to provide bandwidth

Verify:
S7d bm201

Change-Id: If05225e57fe53380ea5bcaf06df873bd76dfbb87
Signed-off-by: Rong Chen <rong.chen@amlogic.com>
2024-07-08 13:54:56 +08:00
chuntian.miao 6a15a6035f Audio: add virtual built in mic path [2/3]
PD#SWPL-175049

Problem:
add virtual built in mic path

Solution:
The reason, use TDMC capture for mic virtual alsa device
when some chip/board have not mic device.
Add the "builtinmic" string to TDMC, that can match with
audiohal parser.Use TDMC to replace pdm device.

Verify:
local qurra + S7

Change-Id: I774b993dff98f11d6782a0aa69773d4170e08309
Signed-off-by: chuntian.miao <chuntian.miao@amlogic.com>
2024-07-07 20:11:17 -07:00
Long 95c83c56ca eMMC: support amlogic CQE v2. [1/1]
PD#SWPL-160981

Problem:
The CQE v1 does not support placing tasks in memory
and does not support data encryption.

Solution:
support CQE v2

Verify:
S7 ax201

Change-Id: I0737d7b2b9e955838a9f3294d1f5faf5fd84aa17
Signed-off-by: Long <long.yu@amlogic.com>
2024-07-05 20:14:02 +08:00
jiebing chen 7c58df4891 audio: use av mute to control the pa gpio for android [1/1]
PD#SWPL-174265

Problem:
there are no spk mute control node

Solution:
enable the spk mute control

Verify:
s7

Change-Id: I0b46bcc315288c5d2a83b802b89614746e8a5df3
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-05 19:55:28 +08:00
Qianggui Song 6575722d58 gpio: porting gpiolib-sysfs from common [1/1]
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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-04 10:54:31 +08:00
Tao Zeng 3f57dda326 amfc: add aml erofs ko to suppor hardware [1/2]
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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-04 10:52:19 +08:00
Huqiang Qin 3f15000b8f pdd: s7d: add a new power down detection driver [1/1]
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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-02 20:09:29 +08:00
saisai.chang 154342bc28 audio: loopback config is wrong [1/1]
PD#SWPL-172039
PD#SWPL-171255
PD#SWPL-169653

Problem:
1.loopback configuration error
2.resample1 status is wrong

Solution:
1.reconfig loopback
2.modify resample1 status

Verify:
t7c

Change-Id: I9a7161d1f8f084f689772da7a63b9d303891b884
Signed-off-by: saisai.chang <saisai.chang@amlogic.com>
2024-07-02 19:38:27 +08:00
Xingxing Wang 0ca2b9e37a thermal: add indmc sensor driver to do thermal cooling [1/1]
PD#SWPL-166661

Problem:
DDR kernel refresh control patch list

Solution:
add indmc sensor driver to do ddr thermal cooling

Verify:
S7D

Change-Id: I5ba8d167f9ce83785f51af6d2809030147aaacde
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-07-02 19:35:55 +08:00
hai.cao fef1f25995 vpu: init arb and urgent [1/1]
PD#SWPL-169351

Problem:
set arb and urgent default val

Solution:
add arb and urgent default val

Verify:
s7d

Change-Id: I6e26821422979f45d6d92ec171b515920bf8b2ac
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-07-02 19:32:04 +08:00
Huqiang Qin 19b44059a6 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-01 20:38:04 +08:00
rong.wang 41e2725e8f deinterlace: add post buffer num [1/1]
PD#SWPL-172537

Problem:
s5 not support detach

Solution:
add di buffer num

Verify:
s5

Change-Id: Id31876908390636b3e49002bad120554c243e8b5
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2024-06-24 23:53:09 -07:00
jian zhou c63305ae92 audio: bringup Speaker output for ohm soundbar [1/1]
PD#SWPL-174879

Problem:
No speaker output for ohm soundbar.

Solution:
1.gpio for ad82128
2.config tdmc slave mode
3.enable resample_a

Verify:
Ohm-soundbar

Change-Id: Ieb8bc822774929b5baab458fb9ffedb886ad701f
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-06-25 13:36:54 +08:00
Liming Xue c3adeee3f7 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-06-24 16:53:55 +08:00
Luan Yuan 119cf00a29 Revert "Revert "DSP: optimize SC2 far field voice with dsp [4/4]""
PD#SWPL-139800

This reverts commit 08fd61808b.

Change-Id: I8377dbecc1425fb2c5af5c0d8e57ddccfd94963d
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-06-24 16:50:47 +08:00
Luan Yuan 08fd61808b Revert "DSP: optimize SC2 far field voice with dsp [4/4]"
This reverts commit 01b6fd5250.
2024-06-21 20:38:33 +08:00
saisai.chang 8872c4a5fb audio: loopback config is wrong [1/1]
PD#SWPL-172268

Problem:
1.loopback configuration error
2.resample1 status is wrong

Solution:
1.reconfig loopback
2.modify resample1 status

Verify:
s5 & sm1

Change-Id: Iab65e48d8d027549ecc8d805f29e162cde4a8805
Signed-off-by: saisai.chang <saisai.chang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-06-19 15:41:43 +08:00
jiebing chen 408a676285 Audio: enable spdif in pin for s7 [1/1]
PD#SWPL-173815

Problem:
need to enable for spdif in pin for hdmi arc

Solution:
enable spdif pin in audio dtsi

Verify:
use s7

Change-Id: I85b7b02fd56550d4958a36a9e46f82a66e25f887
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-06-18 19:45:51 +08:00
dian.shao 658171824b usb: nak retry time too long [1/1]
PD#SWPL-173238

Problem:
Nak retry time too long.

Solution:
Modify reg params.

Verify:
s7.

Change-Id: I9ab30914f44125e967ec9047e6cdb5884faf1e91
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-06-14 19:06:50 +08:00
chao.zhang 1c4fed4e58 pdvfs: enable s7 cpu pdvfs [1/1]
PD#SWPL-167298

Problem:
enable s7 cpu pdvfs of s805x3

Solution:
use different index by efuse vmin

Verify:
S7

Change-Id: Ia911433c2e56b2a5394d2072b29fcd24d1fe97c3
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2024-06-12 21:18:04 +08:00