Commit Graph

3561 Commits

Author SHA1 Message Date
huiwen.yu 04bbd3e560 kernel: add partition for t5d [1/1]
PD#SWPL-129561

Problem:
t5d support kernel 5.15 32bit

Solution:
modify t5d partition table

Verify:
t5d

Change-Id: Ic362be4df529db86f0ae527ce0a93b21e8fb52f5
Signed-off-by: huiwen.yu <huiwen.yu@amlogic.com>
2023-08-24 10:50:23 +08:00
Jian Hu 5ea4bd7bad clk: optimize driver entry function [1/1]
PD#SWPL-134858

Problem:
there are several driver entry in clock driver

Solution:
leave builtin_platform_driver

Verify:
t7

Change-Id: Ie2324f1a0da89eb355a4f0964a7e3b718942539e
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:50:23 +08:00
lei.chen 060c64d57b wifi_bt: t5d kernel 5.15 bringup [2/2]
PD#SWPL-129594

Problem:
kernel 5.15 no support rtl8723du driver

Solution:
support it

Verify:
T5D

Change-Id: I1e57f17e9c679be071e52c975ada996afc85e6eb
Signed-off-by: lei.chen <lei.chen@amlogic.com>
2023-08-24 10:50:23 +08:00
Jian Hu 04fb2dd8d8 clk: optimize clock regmap interface [1/1]
PD#SWPL-134344

Problem:
t5d clk bringup

Solution:
optimize clock regmap interface

Verify:
t5d

Change-Id: Icff0c19a5d5251fcddce0c214d105a680197c5a9
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:50:23 +08:00
Jian Hu 93c21d693a clk: t5d: add 491.52M support for hifi [1/1]
PD#SWPL-134170

Problem:
t5d clk bringup

Solution:
add 491.52M support for hifi

Verify:
t5d

Change-Id: Ic082332f5fc85bd4954111f58d9847a299e24256
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:50:23 +08:00
Chengbing.wu 3baf6a0369 regulator: t5d regulator bringup at k5.15 [3/3]
PD#SWPL-129605

Problem:
1. emmc gpiob_10 is conflict my gpiod_10;

Solution:
gpiod_10 is gpio_ao group, no gpio group;

Verify:
AM311-T950X4 #153

Change-Id: Ic264d4e4efec0d8dbe44d0192acb1b265bfd806b
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2023-08-24 10:50:23 +08:00
Chengbing.wu bde17b57d1 regulator: t5d regulator bringup at k5.15 [2/2]
PD#SWPL-129605

Problem:
1. emmc gpiob_4 is conflict my gpiod_4;

Solution:
gpiod_4 is gpio_ao group, no gpio group;

Verify:
AM311-T950X4 #153

Change-Id: I6b9b843130d1963598a0a2d21c8b9d0b275bd225
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2023-08-24 10:50:23 +08:00
Chengbing.wu 939cbf4859 regulator: t5d regulator bringup at k5.15 [1/1]
PD#SWPL-129605

Problem:
1. need to support regulator at t5d k5.15;

Solution:
1. add and verify regulator at t5d am301 AM311 dts;
2. verify vddcpu voltage table;

Verify:
AM301-T950D4 #263
AM311-T950X4 #153

Change-Id: Iecb4ac12791e030c3af8d58ee597143c9b3afbc5
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2023-08-24 10:50:06 +08:00
jiebing chen a558c8cb08 Audio: t5d audio bringup for kernel5.15 [1/1]
PD#SWPL-129639

Problem:
need support audio driver for kernel5.15

Solution:
t5d audio bringup for kernel5.15

Verify:
use T5d

Change-Id: Ic1b2d26dc29bc7c43e351e1e07aea10a6f50516c
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2023-08-24 10:50:06 +08:00
Jian Hu db81eb7032 dvfs: enable dvfs on kernel 5.15 [1/1]
PD#SWPL-129602

Problem:
t5d bringup

Solution:
enable cpufreq

Verify:
t5d

Change-Id: I9a37c39affb851b6780dce918360911f3ea64fe8
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:50:06 +08:00
hongyu.chen 676c6eb7b3 smartcard: t5d bringup. [1/1]
PD#SWPL-129610

Problem:
t5d bringup.

Solution:
t5d bringup.

Verify:
AM301/T950D4

Change-Id: I046e2ff847a7810744c70155eed6b18b45b6b8d2
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-08-24 10:50:06 +08:00
hongyu.chen 41f9bc5dcb demux: t5d bringup. [1/1]
PD#SWPL-129607

Problem:
t5d bringup.

Solution:
t5d bringup.

Verify:
AM301/T950D4

Change-Id: I9f13a0c9290ec1162a94764567354eaa6149bf90
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-08-24 10:50:06 +08:00
hongyu.chen 86f74d8dd8 dvbci: t5d bringup. [1/1]
PD#SWPL-129611

Problem:
t5d bringup.

Solution:
t5d bringup.

Verify:
AM301/T950D4

Change-Id: If28f1594e67c7ae07bda7ae2792aa01888af0326
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-08-24 10:50:06 +08:00
Wenjie Qiao 13db612a3c cec: t5d bringup for 5.15 [1/1]
PD#SWPL-129621

Problem:
t5d bringup for 5.15

Solution:
t5d bringup for 5.15

Verify:
t5d

Change-Id: Ibc26d97d7952ea9d57c0893e000b03e48b708904
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-08-24 10:50:06 +08:00
congyang.huang db51a27a9f drm: add drm support for t5d [1/1]
PD#SWPL-129627

Problem:
no drm support for t5d

Solution:
add drm support for t5d

Verify:
T5D_AM301

Test:
DRM-OSD-83

Change-Id: I571fbbf9fce3163b1a576c3a430ca51cbde8ddbd
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-08-24 10:50:06 +08:00
Yongjie Zhu de08419c1a dmaheap: enable dmaheap for t5d on k5.15 [1/1]
PD#SWPL-129625

Problem:
t5d bringup enable dmaheap

Solution:
add dmaheap heap-gfx/heap-fb

Verify:
t5d

Change-Id: I9716f5dd2841b8ddea31e98faa55b3e09077a1e5
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-08-24 10:50:06 +08:00
Yongjie Zhu 4c5d39b5e5 ion: disable ion for t5d on k5.15 [1/1]
PD#SWPL-129624

Problem:
t5d bringup disable ion

Solution:
modify ion size to 0x0

Verify:
t5d

Change-Id: If56e73dc89b9aec62ec41648e2060469ef5c6dd4
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-08-24 10:50:06 +08:00
Jian Hu 766a1372ee dts: disable cpufreq [1/1]
PD#SWPL-129562

Problem:
cpufreq crash when t5d rebase

Solution:
disable cpufreq

Verify:
t5d

Change-Id: Ifcaa4db0d2d3f47a93cc3e5e8683c718d4ff854d
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:49:46 +08:00
ziyi 5ba2512917 emmc: Add hs emmc for T5D. [1/1]
PD#SWPL-129596

Problem:
no hs emmc.

Solution:
Add dts and dtsi for T5D.

Verify:
T5D

Change-Id: Ia6a8a3924fa47867835f8e7ed0daae52a37940a9
Signed-off-by: ziyi <ziyi.huang@amlogic.com>
2023-08-24 10:49:46 +08:00
Jian Hu b627abbc06 clk: t5d: add hifi pll support [1/1]
PD#SWPL-129051

Problem:
t5d clk bringup

Solution:
add hifi pll support

Verify:
t5d

Change-Id: I5aee3b0b0fc4169b89beebcd4399ed17736fe69d
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:49:46 +08:00
Mingyen Hung 0e3cec5067 crypto: crypto driver for t5d kernel 5.15 [1/1]
PD#SWPL-129599

Problem:
Need to bring up crypto driver for t5d kernel 5.15

Solution:
1. Bring up crypto driver for t5d kernel 5.15
2. Add tdes entry(amlogic,tdes_dma) in dts for t5d

Verify:
1. t5d am309 + kernel 5.15

Change-Id: Ib39d0aa5b75e4576164109d6fec0b19912c7ff33
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2023-08-24 10:49:46 +08:00
he.he d32de99078 usb: Don't allow usb autosuspend [1/1]
PD#SWPL-129591

Problem:
Don't allow usb autosuspend

Solution:
Don't allow usb autosuspend.

Verify:
t5d

Change-Id: Ia00a19cb537a73f2b5dab1c09d3a28bafa5a5adf
Signed-off-by: he.he <he.he@amlogic.com>
2023-08-24 10:49:46 +08:00
qinglin.li 1d77000928 ddr_bandwidth: t5d kernel bring up [1/1]
PD#SWPL-129579

Problem:
t5d ddr bandwidth need config

Solution:
config t5d ddr bandwidth

Verify:
Detail info

Change-Id: Ic33ef2c3d7f004124d26db751bd4a01191c807e1
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-24 10:49:46 +08:00
Yao Jie 41e93ca4bd mailbox: t5d mailbox bringup [1/1]
PD#SWPL-129590

Problem:
t5d mailbox bringup

Solution:
t5d mailbox bringup

Verify:
T5D-AM311-T950X4

Change-Id: Ie1cb3d256abdd2e131f50ab8e4c46ec962ab0a5a
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-08-24 10:49:46 +08:00
Jian Hu 5e21640752 clk: t5d: add ao clk support [1/1]
PD#SWPL-129051

Problem:
there is no saradc clk

Solution:
add ao clk support

Verify:
t5d

Change-Id: I7d93ee2e06d10bc5cce923c5e029b784ca2d4df3
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:49:46 +08:00
chen.xu dfb1893fac bringup: Add dts and dtsi for T5D. [1/1]
PD#SWPL-129637

Problem:
Bringup T5D for 5.15 kernel.

Solution:
Add dts and dtsi for T5D.

Verify:
T5D

Change-Id: I73de5a57ead932caf3468dc5762091a1da63697d
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-08-24 10:49:46 +08:00
Yu Tu 90588f605e uart: check t5d uart dts config [1/1]
PD#SWPL-129593

Problem:
t5d bringup uart driver

Solution:
check t5d uart dts config

Verify:
t5d

Change-Id: I1c28926a4938e590ac940d88ea5d86920e9ed5e3
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-08-24 10:49:46 +08:00
Zelong Dong 6e756f8a1e pinctrl: t5d: add pinctrl driver [1/1]
PD#SWPL-128856

Problem:
Add t5d pinctrl driver

Solution:
porting t5d pinctrl driver from kernel 5.4

Verify:
t5d

Change-Id: I034b3ba2ab3aae4d99041c266ad1333663de2c03
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-08-24 10:49:46 +08:00
Jian Hu 554b203a3c dts: add t5d device tree [1/1]
PD#SWPL-128885

Problem:
kernel 5.15 t5d bringup

Solution:
add dts support

Verify:
t5d

Change-Id: Ia3bf3a2923d0a949389d1397b952a343da8a8da6
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-24 10:49:21 +08:00
Shuai Li 2c0c11b10f audio: set earc samesource as earc is on [1/1]
PD#SWPL-135645

Problem:
Arc has no audio when pcm output.
Found that earc samesource flag is off.

Solution:
Enable spdif to earc samesource flag.

Verify:
T7C

Change-Id: Ie5da4f67c008dfee530ab02c26a35ca741a5af55
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2023-08-23 08:03:41 -07:00
Yao Jie 8ccc691df7 mailbox: correct t3 32bit mailbox configuration [1/1]
PD#SWPL-137488

Problem:
mailbox configuration for t3 32bit platform
is not correct

Solution:
modify mailbox configuration for t3 32bit platform

Verify:
local build success

Change-Id: Ia207d127b19810490e872799bce557b8bd5f9991
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-08-23 06:13:35 -07:00
congyang.huang 0aba26a6cd vout: move vout ioctls to uapi [1/1]
PD#SWPL-134166

Problem:
move vout ioctls to uapi

Solution:
move vout ioctls to uapi

Verify:
T5W

Change-Id: Idcb298b99738883cbb9b5e6486248fa698fbfb33
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-08-23 04:14:24 -07:00
qinglin.li fefbde4c6c dmc_monitor: dmc irq lose when ddr access quickly [1/1]
PD#SWPL-137431

Problem:
dmc irq lose when ddr access quickly

Solution:
modify irq trigger IRQ_TYPE_LEVEL_HIGH to IRQ_TYPE_LEVEL_HIGH

Verify:
txhd2 && s1a

Change-Id: I824ce32a040321148c0feeb52ad0da40edd7e519
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-23 01:58:50 -07:00
shuanshuan.jiang 94c5a65a13 camera: increase adapt cma size [1/1]
PD#SWPL-132204

Problem:
1. adapter allocat cma buffer failed in dcam mode
2. using illegal cma address in dcam mode

Solution:
increase adapt cma size

Verify:
local

Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
Change-Id: I5ef703d978a864ca4c59172f6bd03688c4b06a74
2023-08-23 01:58:43 -07:00
yao liu ff461f2517 amdv: add probe function [1/1]
PD#SWPL-136988

Problem:
add probe function

Solution:
add probe function

Verify:
t3x

Change-Id: Ib8372d5978418484084954312cea7e720fee6f13
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-08-23 01:58:39 -07:00
Yan Wang bcc4b5145a DTS: update S805C1A CPU node. [1/1]
PD#OTT-47803

Problem:
S805C1A system can not enter suspend mode.

Solution:
update CPU node for disabling non-boot cpus.

Verify:
BF201

Change-Id: If243e6ade536d17f293f09c3afa52e8ad5ebdf88
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2023-08-23 00:08:46 -07:00
xiaolong xu a0f3179d37 dtv_demod: Multi path interference unqualified problem(v3.5.003) [2/2]
PD#SWPL-134743

Problem:
Multi path interference unqualified problem.

Solution:
Optimize the multipath interference algorithm.
fw version "V1558.20230628"
fw md5sum "ee7f300acdc51cd564c2137625f30a86"
AMLDTVDEMOD_VER "V3.5.003"

Verify:
T965D4-AR331

Change-Id: Ife1e808b99cf948cb4b0ab4dfcbab8926fa1725f
Signed-off-by: xiaolong xu <xiaolong.xu@amlogic.com>
2023-08-23 00:08:43 -07:00
Chengbing.wu 9fd75cb1da idle: txhd2 cpuidle tuning [1/1]
PD#SWPL-136572

Problem:
1. need to tuning idle parameter at txhd2 ;

Solution:
1. change latency and residency;

Verify:
BE319 #16 +corner CHIP #17

Change-Id: I87b48b79d3e3583ed1d92e348121cac08d569d4e
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2023-08-23 00:08:37 -07:00
gerrit autosubmit c665eda878 Merge "vq: txhd2 dts enable video_queue and enable drm. [1/2]" into amlogic-5.15-dev 2023-08-22 22:14:27 -07:00
hui.li 97b4c15fe7 vq: txhd2 dts enable video_queue and enable drm. [1/2]
PD#SWPL-134534

Problem:
txhd2 dts not enable video_queue and not enable drm
only android T need, android p no need.

Solution:
create a new android t txhd2 dts to enable video_queue and enable drm

Verify:
txhd2 + T

Change-Id: I590cf2095b3dc47ed58924d3c628407eaf5daed5
Signed-off-by: hui.li <hui.li@amlogic.com>
2023-08-22 22:14:23 -07:00
Xingxing Wang a3770e55bc thermal: add shutdown callback in sensor driver [1/1]
PD#SWPL-136383

Problem:
poweroff power current is high

Solution:
add shutdown callback in sensor driver

Verify:
TXHD2

Change-Id: Idd38c485b9458e3a9c7b27b959f48a17c59dc89b
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-08-22 22:14:11 -07:00
congyang.huang 318f521516 drm: support hdr conversion policy [1/1]
PD#SWPL-132763

Problem:
it is not reasonable to put hdr conversion cap
property into connector struct,the property
cannot be found when disconnected

Solution:
move hdr conversion cap property to crtc struct

Verify:
verify hdr conversion cap

Test:
DRM-OSD-91

Change-Id: I9a1c3fb9b3c0a8d43d9140a018be641153e2f3c2
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-08-22 22:14:05 -07:00
congyang.huang 78b609d0a4 drm: fix kernel panic for txhd2 hw_init [1/1]
PD#SWPL-135225

Problem:
kernel panic due to reg_ops null pointer

Solution:
1.add reg_ops for txhd2
2.add null pointer protection

Verify:
txhd2

Test:
DRM-OSD-82

Change-Id: Ic4ab18b66d7a8a6bab5804ef74a7a6c6017c088f
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-08-22 22:13:53 -07:00
Evoke Zhang d58a333fe2 lcd: update clk ss support [2/2]
PD#SWPL-136272

Problem:
1.txhd2 need support lcd ss
2.ss support need update

Solution:
update clk ss support

Verify:
be311, ar301

Change-Id: Ia1462905734f79b6dad9bea8c25681dd596fa1a1
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-08-22 22:13:48 -07:00
Zhe Wang 84f924d8c3 audio: optimize spdif mute interface [2/3]
PD#SWPL-137289

Problem:
some AVR with pop noise when spdif out is set to mute

Solution:
On TV platform, mute spdif out with soft mute register

Verify:
T5M

Change-Id: I22c30a301c655d1fce66a7f4b6c7510d0729b945
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2023-08-22 06:09:20 -07:00
mingxiu.sun 2b1c33ef4c vdin1: New screenshot points for amlvideo [1/1]
PD#SWPL-136370

Problem:
Customer demand increases without taking pq screenshot points

Solution:
add tvin_viu1_video screen point to amlvideo

Verify:
txhd2 kernel5.15 androidp

Change-Id: I49b666d06066f48f2cccc6c4089a7f03caadfb7d
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-08-22 06:09:16 -07:00
jialong.jiang d0e6790042 amdv: zoom out, slice0 reg set error. [1/1]
PD#SWPL-136413

Problem:
4k120hz/100hz zoom out,dv slice0 reg set error.
no reset core2 causes flashing.

Solution:
set dv slice0 reg by osd_dv_core_size_set_s5.
reset core2 osd size is changed.

Verify:
s5

Test:
self-test

Change-Id: Ibb202db1dff693532133794395cca5d43410b996
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-08-22 06:09:11 -07:00
chen.xu f839fde0ca amlvideo2: get width and height for only video [1/1]
PD#SWPL-136140

Problem:
need screencap for only video of point 7.

Solution:
get width and height for only video of point 7.

Verify:
TXHD2

Change-Id: I534baa5201191cc4324d8f1c914df39c548ccf40
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-08-22 06:09:06 -07:00
hai.cao 9259040a9d video: get input size before pps and sr [1/1]
PD#SWPL-136132

Problem:
provide api to get input size

Solution:
provide api for it

Verify:
TXHD2

Change-Id: Ifcf7f18ce6b806cc8f68cf985172e46bc2625f76
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-08-22 06:09:03 -07:00
Yue Wang aceb7de3e8 usb: fix crg udc panic [2/2]
PD#SWPL-111936

Problem:
crg udc panic.

Solution:
fix crg udc panic

Verify:
t7c

Change-Id: I2d2e3e19b03840c8806d99e2b6c8a8b458d818d4
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2023-08-22 04:24:06 -07:00