Commit Graph

2635 Commits

Author SHA1 Message Date
haitao.liu 53a3794dee vdin: Mute when entering non-game mode [2/2]
PD#SWPL-237970

Problem:
When entering the non-game mode,the video pipeline needs to be muted.
Before muting,the game screen should be displayed, and after muting,
the non-game screen should be displayed.

Solution:
VDIN calls the VPP mute interface to prevent the non-game screen from
being displayed before muting.

Verify:
t6x

Change-Id: I02d5caf39876e339b0f27ab7f8d38d1d81841dc0
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2025-12-19 08:24:25 -08:00
Zhao Mingfei 4ded9c52aa adt5: add adt5 dts [1/1]
PD#SWPL-244392

Problem:
add adt5 dts from raman ai

Solution:
ADT5 dts are based on s6_s905x5_raman_ai_2g.dts from
https://scgit.amlogic.com/#/c/590894/
and was modified to adjust mic GPIOs,
enable UART C for thread function and support different memory.

Verify:
Verify it on local

Change-Id: If72878fca5da0e04766d4cd680b7bcdf758af91f
Signed-off-by: Zhao Mingfei <mingfei.zhao@amlogic.com>
2025-12-19 04:25:52 -08:00
zijie.hong 4d7c905020 vdin: sync vdin dts from k5.15 [1/1]
PD#SWPL-245489

Problem:
check vdin dts on k6.12

Solution:
sync vdin dts from k5.15

Verify:
T6D/T6W

Change-Id: I0cd8ce74fc8b538ee87e674abbb94b272bf95be3
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-12-19 04:18:56 -08:00
biao.sun bad313f113 bringup: open wifi for Android16 s4 [1/1]
PD#SWPL-246022

Problem:
bringup Android16 for s4

Solution:
set dts status okay

Verify:
s4

Change-Id: Iaba32a1e691ada66f763f4ef1dc572b1bdf31c2f
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2025-12-19 04:18:46 -08:00
dijie.pan 4f9bbffc4f drm: drm need reports each osd planes capabilities [1/1]
PD#SWPL-236865

Problem:
drm need reports each osd planes capabilities

Solution:
reports each osd planes capabilities

Verify:
T7C

Test:
DRM-OSD-82

Change-Id: I2382defcf330829079a2ec3d7ee6bfefb2c6ab4b
Signed-off-by: dijie.pan <dijie.pan@amlogic.com>
2025-12-18 17:40:23 -08:00
Yongjie Zhu a06fe538dd dmaheap: asymmetric ddr limit dma range [1/1]
PD#SWPL-245350

Problem:
asymmetric ddr limit dma range

Solution:
asymmetric ddr limit dma range

Verify:
t6x 3g dts

Change-Id: Ie8610bff66dea3bff155d01f98ef97b6bc1f179f
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2025-12-18 01:20:29 -08:00
congyang.huang 13fef23744 vout: support vout meas ctrl [1/1]
PD#SWPL-237823

Problem:
no vout meas ctrl

Solution:
add vout meas ctrl

Verify:
t6x

Change-Id: I8ea8d204014893ad95654a6186ab71345c01846c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2025-12-17 12:03:10 -08:00
yajing.li 98e2a6ec95 gpu: enable qchannel [1/1]
PD#SWPL-243800

Problem:
auto code sync to k6.12

Solution:
sync from 5.15
https://scgit.amlogic.com/#/c/594244/
https://scgit.amlogic.com/#/c/582330/

Verify:
android16

Change-Id: Ib328bcaf6d1da5b08039b5f00723487b1c5d3af3
Signed-off-by: yajing.li <yajing.li@amlogic.com>
2025-12-16 19:25:32 -08:00
qinglin.li b2b1ee80b9 dts: t5w codec_mm_cma cma not reserved [1/1]
PD#SWPL-245822

Problem:
t5w codec_mm_cma cma not reserved

Solution:
no-map attribute will be change the order of dts

Verify:
range reserved after using the codec

Change-Id: Id249ef758759f6b7e0a585c49f5648b71929c98c
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-12-16 11:34:49 -08:00
min.yang ec4a21d7fc dts: fix t6x tuner xtal cap config [1/1]
PD#SWPL-224835

Problem:
fix t6x tuner xtal cap config

Solution:
fix t6x tuner xtal cap config

Verify:
T6X_bu301

Change-Id: I56c1a1eff148a1d3e5c996fc2a0734f590b9239f
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-12-16 06:21:35 -08:00
jie.dai 11701747ef lcd: tcon ip27 bring up [2/2]
PD#TV-179918

Problem:
tcon ip27 bringup

Solution:
add ip27 driver

Verify:
t6x

Change-Id: I3d28a4f2938743b7f25976ce4b2d0b3b9ab5df19
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-16 06:20:24 -08:00
lizhi.hu 6683129be1 lcd: disable vpp mute on s6 [1/1]
PD#SWPL-245719

Problem:
disable vpp mute due to hdmi do not support

Solution:
remove lcd vpp mute

Verify:
s6_bq201

Change-Id: I4411e561504d9f800b3726aee238cca1ce70c057
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-12-15 06:40:28 -08:00
dian.shao 2a9bdd394d usb: dwc3 clock missing [1/1]
PD#SWPL-245672

Problem:
Upstream codes update the dwc3 clock logic.

Solution:
Update related device trees.

Verify:
AD403.

Change-Id: I6ff42ab02e23e3260351cf75c1a79fd95443e51f
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-12-15 06:40:22 -08:00
Yiming Sun a0e945840c dts: update s6 dual display heap-fb size [1/1]
PD#SWPL-241859

Problem:
s6 dual display heap-fb size need config to 240m

Solution:
update s6 dual display heap-fb size

Verify:
s905d5

Change-Id: I3dc3aebcad867a4a289264dc387ab4bf97389c8d
Signed-off-by: Yiming Sun <yiming.sun@amlogic.com>
2025-12-15 03:36:05 -08:00
Huqiang Qin d2a6436907 eth: t6d/t6w: Enable mDNS offload [1/1]
PD#SWPL-226057

Problem:
Need to support mDNS offload.

Solution:
Enable mDNS offload.

Verify:
T6D/BR301 T6W/BS301

Change-Id: I18b85274216495742cd1304de0060ea63c3803e2
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-12-15 03:33:05 -08:00
Huqiang Qin 677303bcf4 eth: s7d: enable mdns offload [1/1]
PD#SWPL-179514

Problem:
Need to use mDNS offload.

Solution:
Enable mDNS offload.

Verify:
S7D/BM201

Change-Id: Ib332f4c9b9bcbc0a6855228d31043d76808173b2
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2025-12-15 03:32:56 -08:00
Jiacai.Liu 8952c0d5c8 linux: add sound bar bm201 linux dts file [1/1]
PD#SWPL-221684

Problem:
add soundbar bm201 linux dts file

Solution:
add soundbar bm201 linux dts file

Verify:
local

Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
Change-Id: I7751dae0eba539a8e9bb121d814e00cebfcffe2e
(cherry picked from commit 11755805fe88748e11d29415908c84a296b6de7a)
2025-12-12 08:24:00 -08:00
Huqiang Qin 2a2947cc27 eth: s7: Enable mDNS offload [1/1]
PD#SWPL-229198

Problem:
Need to support mDNS offload.

Solution:
Enable mDNS offload.

Verify:
S7/BH201

Change-Id: Ic3676c591b0b319bc0779565f111514b6c0ec25a
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit 08b4af5049e04f36b9dc741ac243839d2c0713d2)
2025-12-12 08:23:50 -08:00
zhikui.cui af83a8fc72 NAND: fix partitions wrong in sc2_s905x4_ah212_drm_soundbar_linux.dts [1/1]
PD#SWPL-237814

Problem:
sync code check

Solution:
sync code from kernel-5.15

Verify:
No

Change-Id: I5d4f1d39f904a7289f42470e08ae19164fed0c2b
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-12-11 11:24:34 -08:00
yujun.zhang a03aab9e2d drm: fix possible crtc of video plane for T7C dual disp [1/1]
PD#SWPL-241023

Problem:
For T7C dual displays, possible crtc of video plane are incorrect.

Solution:
If indexing starts at 0,possible crtcs are fixed as:
video 0 and video 2 show on crtc 0;
video 1 shows on crtc 1.

Verify:
T7C

Test:
DRM-OSD-81

Change-Id: I1e9221533d2363d61432154bd6bfc4fa67a27ea2
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2025-12-11 04:17:07 -08:00
Jiacai.Liu 79f98647d2 linux: fix ap232 reboot audio crash [1/1]
PD#SWPL-237412

Problem:
ap232 reboot audio crash due all child clock disabled

Solution:
set spdif cnt +1, set continuous-clock in dai-link@4

Verify:
local

Change-Id: I41c6d3eedd0e109e6d114fdb44cebba86e5334fe
Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
(cherry picked from commit e3a18a2e4fd656836dc360f8fa39c6ca9baa561b)
2025-12-09 17:45:36 -08:00
yanmei.yang b095f20f8c yocto: CB1 add bl201h1 dts support [1/1]
PD#SWPL-240289
PD#SWPL-243819

Problem:
add bl201h1 dts support

Solution:
add bl201h1 dts support

Verify:
  Local

Change-Id: I0feb9259b3e0090161a793673e6a8a2b50efa333
Signed-off-by: yanmei.yang <yanmei.yang@amlogic.com>
2025-12-08 22:36:46 -08:00
yuhua.lin eeb0b520e4 vpu: add 888M clk for t6x [1/1]
PD#SWPL-239174

Problem:
add 888M clk for t6x vpu

Solution:
complete it

Verify:
t6x

Change-Id: I0ee2d1248215d860d7929a2f60ac2690cdc53919
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2025-12-08 22:35:20 -08:00
Yongjie Zhu 1ed3d39006 uvm: open uvm for g12b [1/1]
PD#SWPL-243841

Problem:
yocto g12b need use uvm module

Solution:
open uvm for g12b
sync from:https://scgit.amlogic.com/#/c/589266/

Verify:
g12b+yocto

Change-Id: Ia0ec64fa0f44401e1e81ed38954d9e415e90a67f
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2025-12-05 15:31:27 -08:00
Jianxiong Pan e12f600545 dts: remove restrict_cma_redirect for sc2. [1/1]
PD#SWPL-242007

Problem:
the system defaults to restrict filecache from entering cma.

Solution:
remove restrict_cma_redirect in dts.

Verify:
local.

Change-Id: I8d267a99ed70ca6cb556bf36ef82f348581fb9d9
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-12-05 10:42:39 -08:00
zhikui.cui dab8d0a3bc NAND: fix slcnand pin configure [1/1]
PD#SWPL-236317

Problem:
T6X Silicon Bringup For Raw Nand

Solution:
initial support

Verify:
BU309-T966D5-SKT #40

Change-Id: I6033bb35ae6beabe109b06983d5bea79d849c740
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-12-05 06:39:51 -08:00
yao zhang1 e02661a656 configs: Enabled RCU_BOOST. [1/1]
PD#SWPL-239823

Problem:
Aligning 32-bit and 64-bit RCU configs

Solution:
Enabled RCU_BOOST.

Verify:
sc2

Change-Id: I49d6af4cf2e6390889b2c8b2bbe477102f88385d
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-12-04 02:59:26 -08:00
qinglin.li dffdbbae76 dts: asymmetric ddr limit dma range [1/1]
PD#SWPL-241978

Problem:
asymmetric ddr limit dma range

Solution:
asymmetric ddr limit dma range

Verify:
s4 sc2 s7 t5m t5w t5d t3x t6w t6d t6x

Change-Id: I0ce65689381ba080f46adc4852bf1c5824561958
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-12-04 02:39:17 -08:00
yang.zhou 503896c188 ion: android-16 disable ion [1/1]
PD#SWPL-234717

Problem:
Google's latest commit will disable ion in Android 16.
When Gralloc creates a new BufferAllocator object,
its constructor will check /dev/ion. If this node exists,
it will query ion heap, which will result in an error.

Solution:
Disable the configurations related to CONFIG_AMLOGIC_ION,
then the ion node will be disabled.

Verify:
Android-16

Change-Id: Idaba26d996d9e6f92692ae55e881e17bd21096d9
Signed-off-by: yang.zhou <yang.zhou@amlogic.com>
2025-12-04 02:38:15 -08:00
benlong.zhou 2d120bb920 kernel: read boot log same as kernel5.15 [1/1]
PD#SWPL-237927

Problem:
kernel can't get boot log

Solution:
kernel get boot log that they are blx's log
same as below CL
https://scgit.amlogic.com/#/c/527327/
https://scgit.amlogic.com/#/c/568160/
https://scgit.amlogic.com/#/c/580089/

Verify:
s7d_bm201

Change-Id: I786569565b2b5effde66d620e3b9b014ec6f8a2c
Signed-off-by: benlong.zhou <benlong.zhou@amlogic.com>
2025-12-03 21:58:50 -08:00
wenbo.wang d75b66bd4f amfc: update s7d 32-bit dts for amfc [1/1]
PD#SWPL-164972

Problem:
update s7d 32-bit dts for amfc

Solution:
done

Verify:
local

Change-Id: If12de9cdbd5dccd505ac43b80ceccf7dc746c883
Signed-off-by: wenbo.wang <wenbo.wang@amlogic.com>
2025-12-03 17:32:06 -08:00
zhangyongdong 971412f0f9 dts: encoder need more codec_mm memory [1/1]
PD#SWPL-231032

Problem:
During XTS testing, there is insufficient codec_mm memory.

Solution:
Allocate an additional 150MB of memory to codec_mm.

Verify:
T7C

Change-Id: I112427cde690177fa891c3a19ecf48c9eb1382a8
Signed-off-by: zhangyongdong <yongdong.zhang@amlogic.com>
2025-12-03 17:30:47 -08:00
Liming Xue dc305ae0a7 thermal: kernel6.12 add dpss cooling device [1/1]
PD#SWPL-239585

Problem:
t6x thermal add dpss cooling device

Solution:
t6x thermal add dpss cooling device

Verify:
t6x

Change-Id: Icbf610790dc858aded5bc4e01e1915e14f1a0772
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2025-12-03 01:00:02 -08:00
qing.zhang 9da2da6aa5 BT: dts to support hfp [1/1]
PD#WIRELESS-14442

Problem:
not support hfp

Solution:
default host pcm configuration to dsp_b

Verify:
sc2/s7/t5m/t6w/t6x/t6d

Change-Id: I8654ea19ad40eb22dfef14dd28cbc01e7adf8c08
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2025-12-03 00:59:50 -08:00
rong.wang 62cae62abf dpss: enable dpss and dpss_process dts [1/1]
PD#SWPL-241252_1

Problem:
enable dts

Solution:
enable dts

Verify:
T6X

Change-Id: I89156b009396bc6c1eb2957bc07f27bf27275c3e
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-12-01 18:40:06 -08:00
Gaowei Zhao f1624d68a4 hdmirx: fix issue that hdcp reauth too slow [1/1]
PD#SWPL-240097

Problem:
HDMI port shows a snow picture

Solution:
reserve enough time to make sure reauth done

Verify:
t6x

Change-Id: Ic5203ce51de91e7078504018a8d47f4473238ec5
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2025-11-28 03:27:17 -08:00
yabo.wang 2260b38e13 BT: add the GPIO configuration for the BT module in T6W DTS file. [1/1]
PD#SWPL-228104

Problem:
W2L usb module can not startup on t6w.

Solution:
add gpio configuration for the BT module on t6w.

Verify:
t6w

Change-Id: I277550c4ea47a4645cb0d9d3ad63988a600695d5
Signed-off-by: yabo.wang <yabo.wang@amlogic.com>
2025-11-28 02:27:41 -08:00
Doosan Baek 90aa921190 kt: add to check keylen [1/1]
PD#SWPL-243077

Problem:
Need to check keylen

Solution:
add to check keylen

Verify:
sc2

Change-Id: I034bb2763fd18969dac1ddab2647ebbdf1b9e82c
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2025-11-28 02:27:25 -08:00
gongwei.chen 327ba8706d dts: add s6 s905d5 bq201 sdio support [1/3]
PD#SWPL-242152

Problem:
need add s6 s905d5 bq201 sdio support

Solution:
add s6 s905d5 bq201 sdio support

Verify:
verify by s905d5

Change-Id: I5c1a8f02f7309107edaa2a85f73f42a67fdf438e
Signed-off-by: gongwei.chen <gongwei.chen@amlogic.com>
2025-11-27 21:51:09 -08:00
wenlong.zhang 4c5bbe7263 drm: enable dummy_l connector [1/1]
PD#SWPL-241850

Problem:
dummy_l mode belong to hdmi connector, if hdmi cable plugout,
dummy_l does not work anymore

Solution:
enable dummy_l connector, if suspend and plugout will change to
dummy_l connector

Verify:
s7

Test:
DRM-OSD-26

Change-Id: Ic1be81694687b60ef1d8e0a49bdfd448fe149e87
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2025-11-26 23:49:33 -08:00
zuorong hong 538b5fa42a BT: use amlbt need to add bt_wake_host pin in dts [1/1]
PD#SWPL-240464

Problem:
t5m/t6d/t6x/TXHD2/sc2_s905c2l some dts not add bt_wake_host pin

Solution:
add bt_wake_host pin in dts

Verify:
ok

Change-Id: I4d1c7615ae83fc2b7a0bdb0f868561eff677d3ec
Signed-off-by: zuorong hong <zuorong.hong@amlogic.com>
2025-11-26 21:31:02 -08:00
Yiming Sun c64fd2323f dts: update s6 dual display heap-fb size [3/3]
PD#SWPL-241859

Problem:
s6 dual display heap-fb size need change

Solution:
update s6 dual display heap-fb size

Verify:
s905d5

Change-Id: I8f5cb5631ef285c93ee6a9a9575a1e6cd9a71741
Signed-off-by: Yiming Sun <yiming.sun@amlogic.com>
2025-11-26 12:38:00 -08:00
Deyong Chen a3b9b2d4a7 vpq: implement dev/vpq in K6.12 [1/1]
PD#SWPL-236514

Problem:
sync dev/vpq from K5.15 to K6.12,
develop logic between videodisplay wth vpq,
add dlby logic,
add dpss case bin logic,
add non-standard timing logic,
optimized vpq code,

Solution:
--

Verify:
T6W

Change-Id: Ie17c70ff58b2ab5ccb013f91344da7ef5e3f4028
Signed-off-by: Deyong Chen <deyong.chen@amlogic.com>
2025-11-26 08:07:17 -08:00
Long Yu eb5fddfa1f sdio: C3 need to compatible with w1. [1/1]
PD#SWPL-238887

Problem:
Not compatible with w1.

Solution:
Need to be compatible with w1..

Verify:
c3

Change-Id: I3ccae7c83fbaa9dcff7e1223a26eb9b4a22e76a1
Signed-off-by: Long Yu <long.yu@amlogic.com>
2025-11-25 11:04:18 -08:00
Jiebing Chen f4f37719e0 audio: fix headphone no sound for t6w and t6x [1/1]
PD#SWPL-240491

Problem:
headohone no sound when plug in

Solution:
fix dts headphone name

Verify:
t6w

Change-Id: I34fe26c2476f8d13081cb712188fb12a9ac59808
Signed-off-by: Jiebing Chen <jiebing.chen@amlogic.com>
2025-11-20 22:25:52 -08:00
zhikui.cui a9ea5a1dbd NAND: support slcnand for t6x [1/1]
PD#SWPL-236317

Problem:
T6X Silicon Bringup

Solution:
initial support

Verify:
BU309-T966D5-SKT #40

Change-Id: Ie86e9f91b86e12d9b276cb6daafc4460e5aedcd0
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-11-20 21:38:03 -08:00
hongyu.chen1 afc803f8a3 hwspinlock: Update changes in k6.12. [1/1]
PD#SWPL-239936

Problem:
1.The K6.12 structure has been updated
and needs to be synchronized.

Solution:
1.add config
2.update struct

Verify:
t6d

Change-Id: I51245bb527b80b42e320c4cc20e345f0c8a144b8
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2025-11-19 03:33:18 -08:00
hong.wang 116050a258 BT: add bt_wake_host pin in dts [1/1]
PD#SWPL-239032

Problem:
add bt_wake_host pin in dts

Solution:
add bt_wake_host pin in dts

Verify:
ok

Change-Id: I2cf5bc72c1fce5ddd66f28f594716a20b1d9bd3d
Signed-off-by: hong.wang <hong.wang@amlogic.com>
2025-11-19 01:03:41 -08:00
Wentao.Sun 2f489c01be dts: correct secure memory [1/1]
PD#SWPL-240529
PD#SWPL-231656

Problem:
correct secure memory

Solution:
correct secure memory

Verify:
Android

Change-Id: Ib5d2c14dbfa7c28fb9578482b3c0c735b9e99d78
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2025-11-19 01:03:16 -08:00
xueling Li 9d7fc9cd32 t5w: fix codec_mm_cma alloc failed [1/1]
PD#SWPL-240225

Problem:
OTT cert test cases codec mm alloc failed

Solution:
remove debug feature and enable codec mm reserved memory

Verify:
PASS QA sanity test

Signed-off-by: xueling Li <xueling.li@amlogic.com>
Change-Id: I9d0706e0e5bf9f4b29a20a4f2cb68688128a3047
2025-11-18 02:32:22 -08:00