Commit Graph

2700 Commits

Author SHA1 Message Date
zhikui.cui fd055ee363 nand: support swupdate new boot layout [1/1]
PD#SWPL-177761

Problem:
can't boot after update bl2 in kernel

Solution:
c3 spi nand buswidth can't 1 line, set to 4 lines

Verify:
C302X_AW402 C302X_AW409 C308L_AW429

Change-Id: Ib6d04a1d8d168023c56e5713d38452ada36353a6
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-07-17 23:57:37 -07:00
Junyi Zhao a829de1142 pwm: fix hibernate pinctrl [1/1]
PD#SWPL-174018

Problem:
pinctrl config for hibernate

Solution:
add hibernate pinctrl support

Verify:
t3x

Change-Id: Ifd014f747e85a1ffbf0ff3df8a67f2266a6ad7d3
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-07-17 23:57:32 -07:00
Tao Zeng 2eb530ff05 s6: add erofs support for amfc [1/1]
PD#SWPL-172567

Problem:
EROFS is not supported about AMFC on S6

Solution:
Add support for it

Verify:
S6 BL201

Change-Id: I06b47aa8135e06e050cdce174abde7fff18592c9
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-07-17 19:41:16 -07:00
qiang.wei 6e5fc83439 dts: C3 aw429 switches to C3 fastboot branch. [1/1]
PD#SWPL-177163

Problem:
C3 aw429 switches to C3 fastboot branch.

Solution:
C3 aw429 switches to C3 fastboot branch.

Verify:
C3_AW429

Change-Id: I523725a5987a38df32799aeaa4699846041a03ee
Signed-off-by: qiang.wei <qiang.wei@amlogic.com>
2024-07-17 05:57:39 -07:00
Liqiang Jin 3414ca9671 S6 Watermark Bringup: add aml_watermark dts [1/1]
PD#SWPL-173128

Problem:
Need to add aml_watermark dts

Solution:
Add aml_watermark dts

Verify:
Android U + S6

Change-Id: Idef9a7f76b2cfdd103171bd677ff6e2a93bf3ab8
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
2024-07-17 03:57:48 -07:00
yu.xie d70bc9b4df DTS: CF1 adjust the size of codec_mm cma for android u s6. [1/1]
PD#SWPL-173096

Problem:
If scatter memory only alloc from system, the worst case is CTS P010.
Codec_mm need 444M.

Solution:
Adjust codec_mm size to 444MB.

Verify:
s6

Change-Id: I36128acd9713e91de2ed823a0de40da8694b0023
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-07-17 03:57:40 -07:00
Shunzhou Jiang 5bbe17a45b t3x: fix mbox compatible issue [1/1]
PD#SWPL-177424

Problem:
t3x mbox compatible not right

Solution:
fix it

Verify:
t3x

Change-Id: I57fd115f1f0bda10abe87d615c032f1cb6bd4ea2
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2024-07-17 00:49:15 -07:00
lijun.meng a6be1ced43 Memory: update dts map[1/1]
PD#SWPL-177291

Problem:
Performance issues

Solution:
remap

Verify:
to be

Change-Id: I5796ad1565ba45c254d5bfcfb311d048570653f5
Signed-off-by: lijun.meng <lijun.meng@amlogic.com>
2024-07-16 05:45:18 -07:00
Zhixian Peng 2d32c53f74 Revert "Automotive U: disable tas5707 [1/1]"
PD#SWPL-177730

Problem:
disable tas5707 cause speaker no sound

Solution:
revert tas5707 disable dts

Verify:
t7c

This reverts commit 6c7645b5a2.
Change-Id: Ief08ed5d1bc67d9840b828ba1e87930adcde467a
Signed-off-by: zhixian peng <zhixian.peng@amlogic.com>
2024-07-16 05:45:14 -07:00
Yue Wang 1061911df5 USB: update usb parameter [1/1]
PD#SWPL-170068

Problem:
1.kernel update usb parameter.

Solution:
1.update usb parameter.

Verify:
BM201

Change-Id: I70b4792cdfae90699e023292c8fd729f04528762
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2024-07-16 05:45:10 -07:00
jialong.jiang 7badbdfab9 amdv: add hw5 dts. [1/1]
PD#SWPL-177516

Problem:
add hw5 dts.

Solution:
add hw5 dts.

Verify:
t3x

Change-Id: I8c2746beda6d1e8998d68df40415193e79e0ee9a
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-07-16 03:55:54 -07:00
hai.cao 4bbc18f0ed vpu: add vpu arb support [1/1]
PD#SWPL-176899

Problem:
add arb driver support for s6

Solution:
add support

Verify:
s6

Change-Id: Icfe0f0fdb35db8b700df7c359d31d266ede67d62
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-07-16 03:55:49 -07:00
zhikui.cui 6d366b548c NAND: adjust the mechanism of register partition and get rsv parameter [1/1]
PD#SWPL-177473

Problem:
1.uboot pass partitions by cmdline in default
2.uboot pass rsv parameter by kernel dtb

Solution:
1.first register partitions from cmdline rather than dts
2.first parse rsv parameter from dts rsv part table

Verify:
AW419-C308L-Socket #020

Change-Id: Id7cb010d012768d54602be37d35940efed367d6e
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-07-16 03:55:17 -07:00
yao.zhou 6ee59b4ec8 camera: using v4l2 vdin [2/5]
PD#SWPL-176110

Problem:
bring up mipi sensor in s6

Solution:
1.add csi camera dts config
2.add csi driver support
3.the fe of mipi csi configure TVIN_SIG_STATUS_STABLE status defaultly
4.fix cfmt error
5.add VDIN_WORK_MD_V4L conditional statement
6.only modify s6_s905d5_bq201.dts s6_s905d5_bq208.dts s6_s905d5_bq209.dts
s6_s905x5_bl201.dts s6_s905x5_bl208.dts s6_s905x5_bl209.dts this time

Verify:
local

Change-Id: Ia54b8bf80dcbf26b3576e6eacc43b8f0082374b6
Signed-off-by: yao.zhou <yao.zhou@amlogic.com>
2024-07-16 01:01:07 -07:00
wei wang 956d2b149c ir: add keys for G20 [1/2]
PD#SWPL-177238

Problem:
some keys were lost

Solution:
add them

Verify:
Verify it on adt4

Change-Id: Ic0392a81c0acb0fb4a2552fdd9f4300e1a4ee865
Signed-off-by: wei wang <wei.wang@amlogic.com>
2024-07-15 19:45:52 -07:00
yongbing.he c302f7c271 spinor: Fix c3_c30xx_aw402_256m.dtsi [1/1]
PD#SWPL-173842

Problem:
secmon and pmz anonymous address error.

Solution:
fix secmon and pmz anonymous address.

Verify:
C3_AW402


Change-Id: I66bc0930fec97de0ca5315e0b416938abb75cc64
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
2024-07-15 19:45:36 -07:00
haitao.liu 630fc099d2 vdin: enable scatter memory on t5w [1/1]
PD#SWPL-176772

Problem:
AV out of sync on t5w

Solution:
1.change the vdin frame buffer number to 11
2.enable scatter memory by default on t5w
3.fix the issue of slow memory allocation

Verify:
t5w

Change-Id: I7cd3fda024b10f7036f7c92e24953273eb93adb4
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-07-15 02:11:21 -07:00
guangjun.zhu 6375feb62b dts: CF2 add codec_mm of s905x5m to 364M [1/1]
PD#SWPL-177105

Problem:
x5m codec_mm is not enough.

Solution:
add codec_mm of s905x5m from 208M to 364M.

Verify:
x5m

Signed-off-by: guangjun.zhu <guangjun.zhu@amlogic.com>
Change-Id: I4cd8ce7e6b5ed799c8d80b9b8c2006ec925c176b
2024-07-15 00:05:11 -07:00
haiyang.ren b98b1ba290 audio: mount hifi clk on ap232 [1/2]
PD#SWPL-176387

Problem:
clk config

Solution:
audio module mounted on hifi clk

Verify:
ap232

Change-Id: Ibb38dc20b770236f8a9622c0ae848d58834aa482
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
2024-07-15 00:03:46 -07:00
zhiwei.zhang 40abcde5e1 camera: bq201 board csi camera ov5640 support [1/1]
PD#SWPL-177169

Problem:
bq201 board need to pull up gpioa13 for 3v3 on csi slot;

Solution:
add camvdd-gpios gpioa13 in dts and pull up it.

Verify:
local

Change-Id: I11954fdc2b68ef9e56186c4631d55f8acb2dcda8
Signed-off-by: zhiwei.zhang <zhiwei.zhang@amlogic.com>
2024-07-15 00:03:40 -07:00
qianqian.cai 1420908781 vpp: revert adjust di write urgent to super for prelink mode [1/1]
PD#SWPL-175648

Problem:
1.urgent issue when open pre-vpp link

Solution:
1.modify the urgent
2.use pre-vpp link

Verify:
t5w

Change-Id: I3bc03e84627f0099fe6b1f19cecb583dfcf53ec0
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2024-07-12 13:42:58 -07:00
Huqiang Qin 47b34f674b saradc: s7d+s6: enable saradc trim [1/1]
PD#SWPL-176611

Problem:
The calibration value needs to be read from efuse
and written to the controller.

Solution:
REG5 and REG6 are configured by BL2 at initialization.

Verify:
S7D/BM201 S6/BL201

Change-Id: I6ba3682cda4c63bf305138d041144e27a2a59f01
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-07-12 02:14:18 -07:00
chao.zhang 91c486d7ca regulator: change regulator for s6 [1/1]
PD#SWPL-172993

Problem:
need to change sd card regulator

Solution:
change sd card regulator

Verify:
s6

Change-Id: I7bcef85c07f7f6013798056edca9ea184d5efc07
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2024-07-12 02:14:04 -07:00
Yu Tu 1befe03732 pcie: open memory safe [1/1]
PD#SWPL-176942

Problem:
need support pcie memory safe

Solution:
add dts config

Verify:
bl208

Change-Id: I5cc9f3743f169c21844cb8bf4143640736d475e2
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-07-11 22:06:07 -07:00
Mingyen Hung b1dea7d928 crypto: support dma_bus64 [1/1]
PD#SWPL-172985

Problem:
Need to support 64 bits addressing

Solution:
1. Add dma_dsc_64 and dma_sg_dsc_64
2. dma_set_mask is set to 64
3. dma_set_coherent_mask is set to 40
4. SMCC call to set dma bus64 in bl31

Verify:
s6 + bl201

Change-Id: I0119e938d75671e47cbaadcfbfb8c3e87df01a66
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2024-07-11 22:05:48 -07:00
bangzheng.liu 03cdeebe7b DSP: SC2 far field voice early suspend with dsp [2/3]
PD#SWPL-139800

Problem:
SC2 far field voice need early suspend and record
with dsp.

Solution:
When DSP waked up by VAD, then:
1. DSP notify to AOCPU (would fail by unknown cmd) and ARM
during early suspend.
2. DSP notify to AOCPU (would fail by unknown cmd) and ARM
(would fail by timeout) and do retry after ARM deep sleep and
before AOCPU STR poweroff.
3. DSP notify to AOCPU after AOCPU STR poweroff.
4. when ffv not supported, dsp do not start vwe.

Verify:
sc2_ah212

Change-Id: I0e610ab7dd76c362c71a9ec98ce589bf7d04beda
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
2024-07-11 22:05:15 -07:00
pengzhao.liu 0a2995910a s6: add dts for bn201 [1/1]
PD#SWPL-172848

Problem:
add dts for bn201

Solution:
add dts for bn201.

Verify:
s6

Change-Id: Ib59141233989fa3182cb33978d08a2760c317fb3
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-07-11 07:57:19 -07:00
Blance Tang ea88b44fc9 Yocto-4.0: Add Linux AP222 1G DTS [1/1]
PD#SWPL-177128

Problem:
Missing Linux AP222 1G DTS

Solution:
Add Linux AP222 1G DTS

Verify:
AP222


Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
Change-Id: I50d1bf2987f929050f9e864335ad26211356389d
2024-07-11 07:57:01 -07:00
jian zhou c1ecdcbf2d audio: set s6 earc rx interrupt id [1/1]
PD#SWPL-176238

Problem:
s6 earc rx interrupt is set by s7d.

Solution:
set s7d earc rx interrupt id by s6 spec.

Verify:
S6

Change-Id: Ia43967f16c9feac1b7f2c7dc67b7b58e00c7d476
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-07-11 02:05:55 -07:00
Yu Tu e3bdb4d44c pcie: s6 pcie STR pll lock failed [1/1]
PD#SWPL-175995

Problem:
s6 pcie STR pll lock failed

Solution:
modified pll the timing

Verify:
bl208

Change-Id: Idc8d2f03c54fe659651f1632a25eaee62f538f36
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-07-11 02:05:47 -07: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
ruofei.zhao f7f1e76909 hdmitx21: s6 need to support 1080p120hz [2/2]
PD#SWPL-176326

Problem:
s6 need to support 1080p120hz

Solution:
s6 need to support 1080p120hz

Verify:
S6

Test:
DRM-TX-130

Change-Id: I594f9671b36d3ea27c838bcf349a06cdcf2c707c
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-07-10 03:57:14 -07:00
chuntian.miao bce320944d 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-10 00:01:02 -07:00
jiebing chen db5590a8a9 Audio: enable audio data for s6 [1/1]
PD#SWPL-175781

Problem:
don't disable audio data node

Solution:
enable audio data node

Verify:
bl201

Change-Id: I316748ca0c22c6eab71ba0df98943f2af750e553
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-07-09 20:58:50 -07:00
dian.shao 378f02428b usb: u3phy trim [1/1]
PD#SWPL-172978

Problem:
The u3phy needs trimming.

Solution:
Add driver codes.

Verify:
S6.

Change-Id: I159f6c74f78c8dbde2e180514f8ca215bab2ffa5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-09 08:02:48 -07:00
Yu Tu de07e12728 pcie: s6 pcie efuse trim set [1/1]
PD#SWPL-176708

Problem:
need set pcie tx and rx efuse value

Solution:
add efuse value read and write

Verify:
s6_bl208

Change-Id: Ia22ed4b09063e6f9070bdcd3a87068a39652eb1c
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-07-09 06:05:12 -07:00
lizhi.hu c2f5aacc61 lcd: s6 bringup [1/1]
PD#SWPL-173021

Problem:
s6 bringup

Solution:
add support for s6

Verify:
s6_bq201

Change-Id: I3363de352ae5b29e2b27e32bf281e0def506bb44
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-07-09 06:05:03 -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
Qianggui Song 1060d70490 pinctrl: fix s6 i2c sda/scl wrong order issue [1/1]
PD#SWPL-172967

Problem:
much i2c pins have wrong sda/scl order.

Solution:
fix it.

Verify:
s6_bl201

Change-Id: Id01dc178cafbb0e6c472d41b711b5170d7608ad4
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-07-09 01:16:47 -07:00
Long 890ce6b9f5 eMMC: enable inlinecrypt feature. [1/1]
PD#SWPL-176688

Problem:
need to support inlinecrypt.

Solution:
enable inlinecrypt feature

Verify:
S6 bl201

Change-Id: I76ba838ffcf4e1e80778d0fd975165bce6f913ff
Signed-off-by: Long <long.yu@amlogic.com>
2024-07-09 01:16:29 -07:00
yuhua.lin 94f54ab584 rdma: modify rdma version to v3 [1/1]
PD#SWPL-175997

Problem:
modify rdma version to v3

Solution:
complete it

Verify:
s6

Change-Id: I37857910e2df9268f51495e71fa31da7536b02c9
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-09 01:16:10 -07:00
Junyi Zhao a0e3eb2216 pwm: s7: optimize secure pwm for regulator [3/3]
PD#SWPL-174805

Problem:
vddee pwm need to be locked for secure

Solution:
lock it

Verify:
s7

Change-Id: Iea5d6ec07460baff26d06a5152e1995050d4cfe3
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-07-08 13:52:54 -07:00
Chengbing.wu 8e315d47c9 regulator: add regulator for s6 for d5 [1/1]
PD#SWPL-176053

Problem:
need to support regulator of s6 for s905d5

Solution:
add regulator config
base:446484

Verify:
s6_ba201#27

Change-Id: Ie84c055c30333a4d9c847addb1e50fbde6d6bd69
Signed-off-by: Chengbing Wu <chengbing.wu@amlogic.com>
2024-07-08 05:57:27 -07:00
zhiwei.zhang c67e95bb09 camera: add vm0 reserve memory alloc range limit [1/1]
PD#SWPL-175634

Problem:
alloc dma mem from vm0 reserve memory fail.
reserve memory address > dma address limit;

Solution:
add alloc-ranges prop for vm0 reserve memory.

Verify:
local

Change-Id: I24a14fb523c546f2dc31a9f6e0d97083e2ed4983
Signed-off-by: zhiwei.zhang <zhiwei.zhang@amlogic.com>
2024-07-08 05:57:22 -07:00
yu.xie 7bd7c6c2b4 DTS: CB1 Reduce t3x BDS codec_mm size to 580M. [1/1]
PD#SWPL-174578

Problem:
Antutu V8.3.3 test failed due to insufficient memory.

Solution:
1.Reevaluate the T3X BDS codec_mm requirements, and change to 580M.
2.Add interface to get porperty in DTS.
3.Adaptive scatter memory alloc mode.
4.Scatter memory alloc from system.

Verify:
t3x

Change-Id: Ie3d12a7890faa367face4524de9ba85da0226615
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-07-08 05:57:03 -07:00
Yahui Han 6a07109fcd dtb: add ts1 config for ci+. [1/1]
PD#SWPL-176566

Problem:
t5d sw demux needs config ts1 for ci+.

Solution:
add ts1 config on t5d.

Verify:
T5D

Change-Id: I85ce413c08165572e3a9d696a627104a7052d83c
Signed-off-by: Yahui Han <yahui.han@amlogic.com>
2024-07-08 05:56:51 -07:00
Zhuo Wang 8ea713faa4 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>
2024-07-08 00:46:49 -07:00
jiebing chen 616c792cb2 Audio: fix sc2 sound bar pdm record problem [1/1]
PD#SWPL-175969

Problem:
the pdm record data error

Solution:
disable resample for pdm

Verify:
bl201

Change-Id: I14d7d3797f604b55e792d5a159c3ab86e849f882
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-07-07 20:14:59 -07:00
brian.zhu 764afefe1c vpp: adjust di write urgnet to super for prelink mode [1/1]
PD#SWPL-175648

Problem:
1.urgent issue when open pre-vpp link

Solution:
1.modify the urgent
2.use pre-vpp link

Verify:
t5w

Change-Id: I24f8a9e9cc1d8502d5f13fd16225f7b9a6df3e42
Signed-off-by: brian.zhu <brian.zhu@amlogic.com>
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2024-07-07 20:14:09 -07:00
qing.zhang 8126955d98 audio: loopback can not use [1/1]
PD#SWPL-161894

Problem:
hfp capture error

Solution:
1. enable loopback with pdm and resample

Verify:
t7c

Change-Id: Iabacbe5e8df042a3efc07de2b8c1c965880afb6c
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-07-07 20:13:54 -07:00