Commit Graph

2892 Commits

Author SHA1 Message Date
jiebing chen 97e393eb00 Audio: the speaker has "po" noise when bootlogo displayed [1/1]
PD#SWPL-127490

Problem:
the speaker has "po" noise when bootlogo displayed

Solution:
when audio dac init, mute spk pa

Verify:
use txhd2

Change-Id: I641252c2ceccdd11cfcb99d0eedf5d71899a6d38
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2023-06-29 10:38:53 +08:00
qinghui.jiang fb2b156069 amvecm: modify for txhd2 test [1/1]
PD#SWPL-125811

Problem:
vpp_pq_ctrl_config - rdma_write_reg_bits error

Solution:
because sr1 removed, modify sr1 control flow
add lcd gamma rdma write cmd flow

Verify:
txhd2

Change-Id: I2a3d09ad62dc36dd4bfb2a3e6b5cb4b953bd1e56
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-06-29 10:38:53 +08:00
donghui.wang ceb0493998 backlight: add bl pwm support for txhd2 [1/3]
PD#SWPL-128273

Problem:
add backlight pwm support

Solution:
add backlight pwm support

Verify:
txhd2-be311

Change-Id: Ib4cfa6a7b7e7a3bb49a0bab93bff374c05f7990d
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2023-06-29 10:38:53 +08:00
mingxiu.sun 43d5568fa3 vdin1: vdin1 share codec-mm [1/1]
PD#SWPL-127238

Problem:
1、dump 1080p failed, cma-mem not enough

Solution:
1、share with codec_mem

Verify:
txhd2

Change-Id: Ic2af3fb41b91e7d34f8d0e6c08c3d48fdc3b4d3d
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-06-29 10:38:53 +08:00
mingxiu.sun bfd446326f vdin1: for keystone path to dump data [1/1]
PD#SWPL-127238

Problem:
After disconnecting the postblend & encl,
get the data of the keystone path

Solution:
vpp_WRBAK_CTRL(1df9) bit11 set 1

Verify:
txhd2

Change-Id: Ie386e4cae3901ab0b1d5376a88cfa3b18fca5afd
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-06-29 10:38:53 +08:00
huijie.huang fb1f72263b lcd: txhd2 tconless support [2/2]
PD#SWPL-125805

Problem:
Need to support txhd2 tconless driver

Solution:
TXHD2 support tconless driver

Verify:
TXHD2

Change-Id: I80eb41f1a73f392741acc05f7dbae320287ba1a2
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2023-06-29 10:38:53 +08:00
jiebing chen 8ada5f185f Audio: switch avin source for cvbs [1/1]
PD#SWPL-127249

Problem:
no sound for av in

Solution:
switch avin source for cvbs

Verify:
use txhd2

Change-Id: Iac2ace263c438ce5888e06a284ed4986dbfd5aa4
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2023-06-29 10:38:53 +08:00
zehong.luo c901408e3e txhd2: reset reg addr offset need to change. [1/1]
PD#SWPL-127145

Problem:
txhd2 reset reg addr use error

Solution:
txhd2 reset reg addr need add offset to calculate correct value

Verify:
be311

Change-Id: I6dcf59731deff97571ecb7936926f12f06739941
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
2023-06-29 10:38:53 +08:00
Qianggui Song c9a516402a dts: txhd2: fix wrong ramoops node [1/1]
PD#SWPL-126832

Problem:
ramoops use wrong addr size

Solution:
fix it

Verify:
be311

Change-Id: I9c9d7beb16875bba685a6c347b15ab5da0a9170a
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-06-29 10:38:53 +08:00
hai.cao 43d76c69c7 osd: write AFBC reg cause suspend crash [1/1]
PD#SWPL-127595

Problem:
write AFBC reg cause crash

Solution:
fix it

Verify:
TXHD2

Change-Id: I88f380a826638bed7ca2462c61b847959c3cd455
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-06-29 10:38:53 +08:00
Zhuo Wang 905994a9d9 eth: fix test command issue [1/1]
PD#SWPL-127715

Problem:
first with "echo tw/tr >/sys/class/ethernet/phyreg" will not work.

Solution:
complete test register init flow

Verify:
be311

Change-Id: I85eb185ddf08beb510e98c01614ccabd65b5688a
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-06-29 10:38:53 +08:00
jiabin.zhu 4b34246ca5 tsync: txhd2 soc not through tsync [1/1]
PD#SWPL-127190

Problem:
txhd2 soc not be in tsync

Solution:
support tsync path

Verify:
txhd2

Change-Id: Ica08d92e624bbb8343f9a23539d666e1ef1005d6
Signed-off-by: jiabin.zhu <jiabin.zhu@amlogic.com>
2023-06-29 10:38:53 +08:00
zehong.luo b47a3d167d txhd2: add clk config support dtv play. [1/1]
PD#SWPL-127190

Problem:
txhd2 dtv play need clk

Solution:
add clk config support dtv play

Verify:
be311

Change-Id: Iddf2e768f39ad6cb767549d71cb0832474198ced
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
2023-06-29 10:38:52 +08:00
hongyu.chen1 0533e91f02 TXHD2: clear power domain. [2/2]
PD#SWPL-127554

Problem:
clear power domain.

Solution:
clear power domain.

Verify:
BE311

Change-Id: Ic9ab9f77d6068f97de96c72ea8ea5edf468de376
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-06-29 10:38:52 +08:00
gaoyue.huang 5b33f32d9c txhd2: ion buffer fit 720pUI [1/1]
PD#SWPL-127978

Problem:
txhd2 bringup

Solution:
txhd2 bringup

Verify:
txhd2

Change-Id: Ie90d071b556f0429dd288486dd3c9fce7a9b4848
Signed-off-by: gaoyue.huang <gaoyue.huang@amlogic.com>
2023-06-29 10:38:52 +08:00
Xingxing Wang 870ac09b3c dvfs: txhd2 dvfs bringup [1/1]
PD#SWPL-125795

Problem:
TXHD2 Silicon Bringup - Kernel - Power management - DVFS/PDVFS

Solution:
configure in dts

Verify:
txhd2

Change-Id: I2ee9adfaaf0419ef8a2c5f94371a3f386eaac415
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-06-29 10:38:52 +08:00
rui guo 057aa9a5b5 rsvmem: apply for bl31 bl32 rsvmem [1/1]
PD#SWPL-126176

Problem:
apply for bl31 bl32 rsvmem

Solution:
apply for bl31 bl32 rsvmem

Verify:
Android P + BE319

Change-Id: I1f809678d787d6e417a6ae723cc6274d2716d4b1
Signed-off-by: rui guo <rui.guo@amlogic.com>
2023-06-29 10:38:52 +08:00
chengbing.wu 681a77a626 regulator: txhd2 regulator bringup [1/2]
PD#SWPL-125798

Problem:
1. need to support regulator at txhd2;

Solution:
1. add regulator at txhd2 be301 311& be319 309.dts;
2. add vddcpu and vddee voltage table;
fixed vddcpu table for pwm;

Verify:
BE311-T950S-X5-X8_REF #024

Change-Id: I36eb0f1ffcc9dc328673146e7724503fad64c707
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2023-06-29 10:38:52 +08:00
Jianyi Shi 15e3d83783 txhd2: suspend in dts [1/1]
PD#SWPL-125797

Problem:
add suspend function.

Solution:
add suspend function.

Verify:
BE311

Change-Id: I1d7762f7e342c6dd88cced8a446f0a1619e53808
Signed-off-by: Jianyi Shi <jianyi.shi@amlogic.com>
2023-06-29 10:38:52 +08:00
Long Yu 331d63dfbd eMMC: enable HS400 mode. [1/1]
PD#SWPL-125789

Problem:
not support HS400 mode.

Solution:
enable HS400 mode.

Verify:
BE319

Change-Id: I27a297ac11cf30f84d8e52cbf1e640e978770524
Signed-off-by: Long Yu <long.yu@amlogic.com>
2023-06-29 10:38:52 +08:00
Bin.Wang2 dbc2558c78 vlock: txhd2 vlock bringup [1/1]
PD#SWPL-126878

Problem:
vlock bring up

Solution:
vlock bring up

Verify:
txhd2

Change-Id: Iddd4554be54f80234410a16d631d36fd09476cae
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2023-06-29 10:38:52 +08:00
Feng Chen e9d1ced61e spicc: txhd2 bringup [1/1]
PD#SWPL-125778

Problem:
txhd2 spicc bringup.

Solution:
add spicc support.

Verify:
txhd2_be319

Change-Id: I7183af777c675142adc4372afbe6dc7ad9d136cc
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-06-29 10:38:52 +08:00
qinghui.jiang 8e058e5cc3 amvecm: open pq_load_en for txhd2 [1/1]
PD#SWPL-125811

Problem:
open pq_load_en for top settings

Solution:
open pq_load_en for top settings
modify debug info for bringup

Verify:
txhd2

Change-Id: I7c7a496e4ae04bd370f2b7875e604b2c4c402c26
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-06-29 10:38:52 +08:00
qianqian.cai 53fecd69f2 deinterlace: txhd2 pre-link [2/2]
PD#SWPL-126847

Problem:
txhd2 pre-link afbcd

Solution:
txhd2 pre-link afbcd

Verify:
TXHD2

Change-Id: I1b49215304b255afe101592c1a15cf6a185c1872
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-06-29 10:38:51 +08:00
Zhuo Wang 95bbfedf8a eth: support txhd2 tx_amp [1/1]
PD#SWPL-125788

Problem:
txhd2 tx_amp

Solution:
txhd2 tx_amp

Verify:
be311

Change-Id: Idc3772a53d1d7d5232912c42ed8ed9b398b0adca
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-06-29 10:38:51 +08:00
yufei.huan ec8087d902 deinterlace: fix play video reboot bypass pqload [1/1]
PD#SWPL-126877

Problem:
pqload play video reboot

Solution:
add pqload

Verify:
txhd2

Change-Id: I099566fac87832337ea7a1aec6919ce265a9097d
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-06-29 10:38:51 +08:00
Zhongfu Luo 4503c97525 dts: txhd2: add defendkey and efuse support [1/1]
PD#SWPL-126936

Problem:
txhd2: add defendkey and efuse support

Solution:
txhd2: add defendkey and efuse support

Verify:
txhd2 be319

Change-Id: I93cfae7e0376f10694cf4488e51e9288d5c62439
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2023-06-29 10:38:51 +08:00
shipeng.sun bd6b94248e cpuid: TXHD2 CpuID Register Configurate to 32bit [1/1]
PD#SWPL-127426

Problem:
CpuID Register Wrong need change to 32bit

Solution:
CpuID Register Wrong need change to 32bit

Verify:
TXHD2

Change-Id: I175fa6f25facea316d109bcbd86bf3b44b774922
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-06-29 10:38:51 +08:00
Wenjie Qiao b730628d18 cec: txhd2 bringup [1/1]
PD#SWPL-126236

Problem:
arc port error

Solution:
modify arc port as 1

Verify:
txhd2

Change-Id: Icc95146fea56a1e34d7a59b97f42df1184a7b7f8
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-06-29 10:38:51 +08:00
hai.cao f59f950b27 video: give VPP_MISC bit27 to vout control [1/1]
PD#SWPL-127455

Problem:
uboot set will covery by video

Solution:
do not set this reg in kernel

Verify:
TXHD2

Change-Id: I6f962dbd3b22a620ba3fabf87efcccad652b90a7
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-06-29 10:38:51 +08:00
Pengcheng Chen 835874551c osd: set backup_regs_init from afbc hw reset to hw none [1/1]
PD#SWPL-125631

Problem:
osd flash with mosaic

Solution:
1.set backup_regs_init from afbc hw reset to hw none
2. add rdma debug info

Verify:
t3

Change-Id: Ied74461a4f3baa8e0fd8501113ad8d66d321d6ae
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-06-29 10:38:51 +08:00
Matthew Shyu a549010d7f crypto: enable aml_crypto_dma [1/1]
PD#SWPL-125792

Problem:
Enable aml_crypto_dma on TXHD2

Solution:
Enable aml_crypto_dma on TXHD2

Verify:
TXHD2 be319

Change-Id: I49f655c828c3556a25f18584496d349273b581de
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
2023-06-29 10:38:51 +08:00
junyi.zhao a7c7127134 led: support dcon led driver [1/1]
PD#SWPL-125785

Problem:
there is no dcon led driver

Solution:
support dcon led driver

Verify:
TXHD2 be319

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: I56d355d4c4e419763fbf70199c58d660684e55ee
2023-06-29 10:38:51 +08:00
junyi.zhao 8cd04344bf i2c: support i2c ao driver [1/1]
PD#SWPL-125779

Problem:
there is no ao i2c driver

Solution:
support i2c ao driver

Verify:
TXHD2 be319

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: I6fc6f54eae92d72c4fa502616b415464199720ec
2023-06-29 10:38:51 +08:00
yaoyu.xu e36bd69978 hdmirx: protect ext symbol [1/1]
PD#SWPL-125827

Problem:
some symbols is called when rx disabled.

Solution:
protect ext symbol.

Verify:
txhd2

Change-Id: I525f31bcc3d63d14d7140933c683434430c84a5f
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-06-29 10:38:51 +08:00
Jiucheng Xu 50f810c7a5 dts: Fix txhd2 wrong arm pmu irq number [1/1]
PD#SWPL-126000

Problem:
arm pmu irq number in dts is wrong

Solution:
Fix it

Verify:
txhd2

Change-Id: If953d36e14db2762b84e6580c6e933f9fb0f20d3
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-06-29 10:38:51 +08:00
nengwen.chen d99c14fbf8 dtv_demod: atv_demod: bringup txhd2 (V3.3.00) (V3.00) [1/1]
PD#SWPL-125715
PD#SWPL-125714
PD#SWPL-125713

Problem:
bringup txhd2.

Solution:
bringup txhd2 atv and dtv demod and tuner.
AMLATVDEMOD_VER "V3.00".
AMLDTVDEMOD_VER "V3.3.00".

Verify:
verify by T3X(BE311).

Change-Id: I1e2c8c0260ff2be8d9609b70bbf4bba37425e843
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-06-29 10:38:18 +08:00
Huqiang Qin 066f4129bb pinmux: txhd2: fixed the issue that the pinmux of pdm cannot be used [1/1]
PD#SWPL-125776

Problem:
The pinmux of pdm cannot be used

Solution:
Additional configuration of the pinmuxe register is required

Verify:
TXHD2/BE319

Change-Id: I116570b1bf58ad65dea3e4afbe23eda2b1a28713
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-06-29 10:34:03 +08:00
hongyu.chen 93e4abc160 demux: TXHD2 bringup. [1/1]
PD#SWPL-125801

Problem:
TXHD2 bring up.

Solution:
TXHD2 bring up.

Verify:
BE311/T950S

Change-Id: Id3b633632a7405cdd72093092262af4aa0a77d82
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-06-29 10:34:03 +08:00
zehong.luo 1aa09daa42 txhd2: add vdec power domain. [1/1]
PD#SWPL-126890

Problem:
power add virtual power domain vdec

Solution:
dos need use power domain vdec

Verify:
be311

Change-Id: Ie453d682fa6968d89b7d7edc92a46a0b5c2b208b
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
2023-06-29 10:34:03 +08:00
hai.cao 5888197799 osd: osd can not display [1/1]
PD#SWPL-125822

Problem:
osd2 can not display

Solution:
change rdarb reg

Verify:
S1A

Change-Id: I092545553d56e725d5364513b0f5e4a9b625bf30
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-06-29 10:34:03 +08:00
hai.cao e9f2ca5dc2 video: can not dump whole regs [1/1]
PD#SWPL-125823

Problem:
can not dump whole regs
sr and pps open together will error

Solution:
remove if it not support vd2

Verify:
TXHD2

Change-Id: Ie3b29b474a3e7e91ce392eb04480086a1b4a847c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-06-29 10:34:03 +08:00
dian.shao cec9486c8f usb: txhd2 bringup [1/1]
PD#SWPL-125787

Problem:
phy pll not set

Solution:
set phy pll

Verify:
be319

Change-Id: I9dd272fccebda8059654e398416874ae4ab4924e
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2023-06-29 10:34:03 +08:00
Wenjie Qiao f3256af56a cec: txhd2 bringup [1/1]
PD#SWPL-126236

Problem:
cec bringup

Solution:
cec bringup

Verify:
txhd2

Change-Id: Ia2eee9bc319b065d71ecad9d1b31912d1bedbb2c
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-06-29 10:34:03 +08:00
jiebing chen ef491d8dc4 Audio: bring up audio acodec and arc [1/1]
PD#SWPL-125829

Problem:
bring up audio acodec and arc

Solution:
bring up audio acodec and arc

Verify:
use txhd2

Change-Id: I8df3e6c6a14165881cb8757ca240b2d524484921
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2023-06-29 10:34:03 +08:00
qinghui.jiang 76c6a49d3c amvecm: modify reg and flow for txhd2 [1/1]
PD#SWPL-125811

Problem:
lcd_gamma/lc/dnlp/hdr_hist reg changed.

Solution:
modify lcd_gamma/lc/dnlp/hdr_hist reg and flow.

Verify:
txhd2

Change-Id: I363067c336212d0e62dacfefc97285dacf850247
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-06-29 10:34:03 +08:00
Yongjie Zhu 3e00c77a88 gpu: add mali dvfs [1/1]
PD#SWPL-126047

Problem:
txhd2 mali has no dvfs

Solution:
enable mali dvfs

Verify:
txhd2

Change-Id: I70cfb214f6037017385708a6fcbae26bcc4a6ab7
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-06-29 10:34:02 +08:00
Qianggui Song 42929b4ec9 dtb: txhd2: add debug relative node. [1/1]
PD#SWPL-126832

Problem:
Need to add debug relative node

Solution:
add debug relative node ramoops and iotrace

Verify:
BE319

Change-Id: I3e8a70f8af24c49bbfdb3b4ef70604cd22cbbf6f
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-06-29 10:34:02 +08:00
junyi.zhao c69ea1ba48 clk: add dmux clk [1/1]
PD#SWPL-125774

Problem:
there is no dmux

Solution:
fix it

Verify:
TXHD2 be319

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: Idc946009ed96e9d718f191f2d6ec02b01a1e6894
2023-06-29 10:34:02 +08:00
junyi.zhao 458a6011a1 clk: lock mali clk parent to gp0 [1/1]
PD#SWPL-125774

Problem:
mali clk need parent lock  gp0

Solution:
add mali clk parent gp0 and lock it

Verify:
TXHD2 be319

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: Ib4132b2e913111c010b0a788246168aa9c34695a
2023-06-29 10:34:02 +08:00