Commit Graph

1009 Commits

Author SHA1 Message Date
codewalkerster 98d3bb30bd ODROID: aml_media: Add voutmode module_param.
set hdmi to dvi output.

Change-Id: I106c061adce7e0422e67132dd3f55c45de4339e1
2026-05-11 11:58:24 +09:00
ckkim 66f3f16864 ODROID-C5:hdmitx:hdmitx BLANK/UNBLANK notify to vu7c.
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: Ideb2e6f33add780cc3bbf6257a17cc5bbecbe0ac
2025-11-07 14:42:18 +09:00
Dongjin Kim 456c4fa2ff ODROID-COMMON: drm/hdmitx: Add load video modes from userspace
examples)
    "1024x768_60" 65 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
    "1920x1200_59.88" 193.250 1920 2056 2256 2592 1200 1203 1209 1245 -HSync +VSync

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia69db7180a59f1780d388433860d31aa71c46ac7
2025-11-07 14:41:17 +09:00
nealilia efc82fa407 ODROID-C5: add display_vu7c
Change-Id: Id83a9cc487748a49d06977d7ee205c0959f473ff
Signed-off-by: nealilia <neal.kim@hardkernel.com>
2025-11-07 14:41:17 +09:00
Dongjin Kim dbc52ddf2a ODROID-C5: gpio/irqchip: Add GPIO wakeup feature on suspend/resume
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I5b1292f7af270fadaa75062e3b2ab12b1978495f
2025-11-07 14:41:17 +09:00
shinys000114 d53b1c62c0 ODROID-C5: hdmitx: add Vu5 support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I0ac4ed7e0dc86a128a23fcb1845756a7b8ce1a86
2025-11-07 14:39:28 +09:00
shinys000114 d73a0803be ODROID-C5: hdmitx: add Vu12 support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I2129a728e05814f7845cbde0654911252887b4de
2025-11-07 14:39:28 +09:00
Dongjin Kim e7f0cbeb41 (DO NOT MERGE) ODROID-C5: gki: fix compile error when AMLOGIC_GKI_TOOL' is disabled
Change-Id: I09173412aa62dfa433f740581427c55b7a5695e4
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2025-11-07 14:39:28 +09:00
Dongjin Kim 8a7a8cfd11 ODROID-C5: gpu/arm: Mali update from 'yocto-kirkstone-bsp-202501'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I622c662f450662b4b006163fb0b0cac6ffe57bdc
2025-11-07 14:39:28 +09:00
Dongjin Kim 24145b7953 ODROID-C5: gpu/arm: Add Mali GPU driver from Amlogic BSP
REPO: yocto/platform/hardware/arm/gpu
	HEAD: 518f143adcb6e3a361e4bf1c6b69aa4f082a8908
	FROM: valhall/r41p0/kernel

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Icbb57998b8e040f590024d22bb72b4647c782352
2025-11-07 14:39:27 +09:00
joy.rao 2f8342b77d resman: CF2 counter resource index manage [1/1]
PD#SWPL-219331

Problem:
need add new resource

Solution:
add new resource
add counter resource index manage

Verify:
sc2

Change-Id: Iaf1532bd98e14d805c655a66fc23e19ba1cdcf72
Signed-off-by: joy.rao <joy.rao@amlogic.com>
2025-08-14 19:23:28 -07:00
zhikui.cui 37742c9260 nand: fix compile failure [2/2]
PD#SWPL-202841

Problem:
1. Compile failure if CONFIG_AMLOGIC_SPI=y and
CONFIG_AMLOGIC_MTD_COMMON=m
2. Compile failure if CONFIG_AMLOGIC_EFUSE_UNIFYKEY=m
but CONFIG_AMLOGIC_MTD_COMMON=y

Solution:
1. The resources (page_info.c) in amlogic-mtd-common is by they
spinand controller driver and slcnand driver depends on.
So it defaults to configure build-in or ko according to spinand
controller driver and slcnand driver. if they have on configuration
as build-in, then amlogic-mtd-common is configured as build-in,
and if they are ko. then amlogic-mtd-common is configure as ko.

2. Adjust dependency relationships, it Maybe more reasonable for
unifykey depends on mmc/nand. mmc/nand export symbol uk_nand/uk_mmc
to unifykey.
2. put the rsv check to rsv init.

Verify:
T6D

Change-Id: Ibb14852d5dabfac451f3ccd907ae603ce3ff6a31
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
(cherry picked from commit 3f5e2e619c005d7fe32a626012def85b7b2bf92a)
2025-08-12 03:50:21 -07:00
shufei.zhao c140837220 unifykey: fix compile failure [1/2]
PD#SWPL-202841

Problem:
Compile failure if CONFIG_AMLOGIC_EFUSE_UNIFYKEY=m
but CONFIG_AMLOGIC_MTD_COMMON=y

Solution:
Adjust the dependencies between
UnifyKey and MMC/NAND

Verify:
t7c

Change-Id: I8ec5e47d473493e82f5c8d586d1d2dfebe6e9511
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
(cherry picked from commit 2878f3251c4e0eca7039ec2688dd92fd57a8f198)
2025-08-12 03:50:03 -07:00
hualing chen a1df1f0cfd media_proxy: CF0 add inject cc and get cc api. [2/2]
PD#SWPL-185979

Problem:
1 CF0 add inject cc and get cc api.

Solution:
1 add add inject cc and get cc api.

Verify:
ohm

Change-Id: Ib801f6ace0a87fcb68461286876f5924d88eb9d5
Signed-off-by: hualing.chen <hualing.chen@amlogic.com>
2025-08-07 14:10:32 +08:00
ruofei.zhao 55d90ba9a5 hdmitx: remove the is_hdr10plus_enable judgment logic [1/1]
PD#OTT-75696
PD#OTT-82344
PD#SWPL-207086

Problem:
When OTT is connected to a TV that supports hdr10plus and it is
turned on for the first time, it shows that it does not support
hdr10plus

Solution:
remove the is_hdr10plus_enable judgment logic,
add the enable_hdr10plus node in the amhdmitx device tree to
perform hdr10plus logic judgment

Verify:
S905X5

Test:
DRM-TX-78

Change-Id: Ie4bf4d0d9d61287a339b35f1b8c5ad973e2b855f
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-08-06 22:52:39 -07:00
jinbing.zhu 41835eaacc amvecm: modify vadj config when load dv ko and sync sr flow. [1/1]
PD#SWPL-220922

Problem:
modify vadj config when load dv ko and sync sr flow

Solution:
modify vadj config when load dv ko and sync sr flow

Verify:
s7d

Change-Id: I1c2caefb8f35dd5b10722f8a6d94bbf00c210352
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2025-07-24 02:25:02 -07:00
Mingliang Dong 5696db4462 amvecm: align vd1 mute and vadj1 control [1/1]
PD#SWPL-214361

Problem:
vadj1 setting affect vd1 mute

Solution:
disable vadj1 when vd1 mute

Verify:
T5W

Change-Id: I8f1845aa1f1eeb67a46070fc48c7743db32bd343
Signed-off-by: Mingliang Dong <mingliang.dong@amlogic.com>
2025-06-16 20:44:14 -07:00
Pengcheng Chen 8dae4733e4 vpp: add bitdepth to video_state [1/1]
PD#SWPL-216090

Problem:
add bitdepth to video_state

Solution:
add bitdepth to video_state

Verify:
t6d

Change-Id: Idbc8f115ed1ce423e942933f974b455de3c2d0d9
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2025-06-03 01:43:25 -07:00
zhicheng.huang a9fc670c36 dvb_extern: add tuner CXD6866ER(V1.28) [1/2]
PD#OTT-74677

Problem:
add tuner CXD6866ER

Solution:
1.add tuner CXD6866ER
2.version V1.28

Verify:
s7d

Change-Id: I7d5be5911f7da97c7803ce0b7e24a1b286001007
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2025-03-27 15:00:17 +08:00
zongdong.jiao bd78ce9559 hdmitx: add game vrr function [1/1]
PD#SWPL-134041
PD#SWPL-188697

Problem:
Lack game vrr function

Solution:
Add game vrr function
Add game brr vic

Verify:
s5/tyson

Test:
DRM-TX-75

Change-Id: Ieecd0abdd99ac86f39ad43702a1aba3383d6d7e5
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2025-03-18 15:41:56 +08:00
chen.xu 62d7ae6b5e amlvideo2: screencap support random buffer num [1/1]
PD#SWPL-201711

Problem:
screencap need support random buffer num.

Solution:
support.

Verify:
T982

Change-Id: Icfe2d5d0e65837c164a113aefb3e0b249c5279e5
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2025-03-13 01:03:04 -08:00
zhan.wang 028ca86a00 amvecm: pi & safa reg control [1/1]
PD#SWPL-201224

Problem:
Both pq and vpp control pi_en

Solution:
pq don't control pi_en reg

Verify:
verify on s7d

Change-Id: Ib33e435742c8bf909accf94e7728a7ef6294d891
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2025-02-25 02:39:24 -08:00
yajing.li af6615f3c2 uvm: add interface for info sync [1/1]
PD#SWPL-197008

Problem:
metadata miss after do rotation with ge2d

Solution:
add interface for info sync

Verify:
Yocto 5.15

Change-Id: I935e4930fea97455d77210e886be93d88e01ffbf
Signed-off-by: yajing.li <yajing.li@amlogic.com>
2025-02-20 17:16:38 +08:00
rong.wang dfa9bc84fe deinterlace: modify motion param for link mode [1/1]
PD#SWPL-187819

Problem:
PQ problem happened when link mode

Solution:
modify motion param for link mode

Verify:
t6d

Change-Id: I654938a6cc26b520654ed81f9185515371c957e4
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-01-01 17:26:28 -08:00
zijie.lin 19fd2159d4 lcd: add preboot mode [1/1]
PD#SWPL-186970

Problem:
add new feature: preboot mode
lcd on, bl off in uboot and kernel

Solution:
add init level ctrl

Verify:
t5m

Change-Id: I5fba2dc23fd2090afb5b699e471e2448a0b80124
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2025-01-01 17:24:11 -08:00
Gerrit Code Review 6fc2019e00 Merge "rdma: optimize rdma write time consuming [1/1]" into amlogic-5.15-dev 2024-12-31 02:57:19 -08:00
Tao Zeng b44e41fa7c amfc: coverity clean for amfc driver [1/1]
PD#SWPL-197988

Problem:
AMFC have coverity issues

Solution:
fix following issues:
338199	Uninitialized
338198	Unused value
338197	Unused value
338196	Uninitialized scalar variable
369089	Thread deadlock	Medium

Verify:
S7D

Change-Id: I9a8adb6487d472ae2678d03bcc70064ec99fe399
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-12-31 02:56:10 -08:00
hai.cao fea1b1eb88 rdma: optimize rdma write time consuming [1/1]
PD#SWPL-176955

Problem:
rdma write reg time consuming too long

Solution:
write reg by different table to reduce time consuming

Verify:
all chip

Change-Id: Iba5254de3039958afcca33c0813ed6d479e8414c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-12-31 02:50:32 -08:00
lizhi.hu 2617e08f33 DisplayPortTX: isolate driver and interface IP ctrl [1/1]
PD#SWPL-197920

Problem:
be ready for next DPTX chip
be ready for dual-port(master and slave) interface ctrl

Solution:
isolate driver and interface IP ctrl

Verify:
t7_an400

Change-Id: I4dfe179326098dcbd8c4bfa151be63904dd2001c
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-12-29 22:28:28 -08:00
Evoke Zhang d95cd37b49 lcd: update ini parser version [2/2]
PD#SWPL-190740

Problem:
need update ini parser version

Solution:
update ini parser version

Verify:
ay301

Change-Id: I009bdb41e0e169904199b1d75be0f6aba7a296a7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-12-29 22:28:19 -08:00
Tao Zeng c1cf3a672e amfc: do not run ko on soc which not support amfc [1/1]
PD#SWPL-197993

Problem:
boot crash due to amfc driver run on sm1

Solution:
check if soc support amfc before run

Verify:
local

Change-Id: Ia10bd62ebbe65fecf10a7488ec38db601be5dd34
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-12-27 03:13:10 -08:00
Junyi Zhao 13fca4e045 pwm: open double channel for tee [1/1]
PD#SWPL-196869

Problem:
when pwm's clk be locked by tee, all pwm should follow tee.
so, should support wifi 32K on pwm tee module.
in case of clk of wifi's pwm channel being locked.

Solution:
add  double channel to match wifi 32K legacy used.

Verify:
s6

Change-Id: I09a0ccbdf191ed31f86a6e3fc006672368eedd15
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-12-26 19:36:30 -08:00
donghui.wang 49fe639a1e ldim: multiple spi support [1/2]
PD#SWPL-193315

Problem:
need multiple spi support

Solution:
add multiple spi

Verify:
t3x

Change-Id: Ia5323f0260872343859ce9ba289c61e7c7705707
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2024-12-25 03:01:58 -08:00
Yongjie Zhu d460db6d07 dmaheap: add t6d cma secure [1/1]
PD#SWPL-183499

Problem:
t6d new secure gpu

Solution:
heap-secure change to cma memory

Verify:
t6d

Test:
t6d gpu secure test

Change-Id: I7b227e3dde35be4eb4d112828a8c42f8a05e8fff
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2024-12-25 03:01:22 -08:00
lukang.jia 1db0f137b3 vrr: add vrr support ioc [1/1]
PD#SWPL-196427

Problem:
add vrr support ioc

Solution:
add vrr support ioc

Verify:
t6d

Change-Id: I4fb2b0683d33e5c8b456675da92ee406955003a9
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2024-12-24 00:41:14 -08:00
ruofei.zhao 43236a595c hdmitx: sync hdmitx_edid_parse.c from kernel 6.12 to kernel 5.15 [2/2]
PD#SWPL-197049

Problem:
The hdmitx_edid_parse.c of kernel 5.15 and kernel 6.12 need to be the same

Solution:
sync hdmitx_edid_parse.c from kernel 6.12 to kernel 5.15

Verify:
S905Y5-BH201

Test:
DRM-TX-78

Change-Id: I27a6f624df64450111f9a764659985305d13d425
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-12-23 18:11:16 -08:00
qiankun.wang 20e1de1b2c IOTM: support iotm_v2 function on t6w [1/2]
PD#SWPL-188937

Problem:
support iotm function on t6w

Solution:
support iotm funciotn on t6w

Verify:
t6w,t6d

Change-Id: I89c835ea502bfe13612f270e095307cc0bdb898b
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-12-19 23:16:49 -08:00
qiyao.zhou 5caba87741 di_process: support for vdec core interlace [1/1]
PD#SWPL-189234

Problem:
support for vdec core interlace.

Solution:
support for vdec core interlace.

Verify:
S905X4

Change-Id: I64ecff0b113ca14ba64a455d465fcaadbad5fca3
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-12-19 20:54:53 -08:00
haitao.liu e99b7c2b96 vdin: optimize the cropping function [1/1]
PD#SWPL-194265

Problem:
After enabling cropping on t6d/t3x,the video
is abnormal.

Solution:
optimize the configuration and flow of cropping function

Verify:
t3x/t6d/t5m

Change-Id: I47007d3177600a4ea7c6119c9aefbcc2cc467885
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-12-17 18:38:46 -08:00
Jian Cao 170cdf7d3d vpp: add check for type_ext VIDTYPE_EXT_HIGH_BANDWIDTH [1/1]
PD#SWPL-195155

Problem:
vpp needs to perform line skipping while high bandwidth

Solution:
add the corresponding flag check

Verify:
t5m

Change-Id: I0663dbb6dd0fb90058f8afba4ec7d75c76d77dc6
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-12-12 06:12:02 -08:00
Sunny Luo b54429856b spi: optimize spicc timing [1/1]
PD#SWPL-195518

Problem:
SPI timing should be apply on each spi device independently.

Solution:
Apply SPI timing from the controller_data of spi device.

Verify:
T5M

Change-Id: If7b814e75bff88ffac75efdd6f780f0e80b791de
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-12-11 22:43:21 -08:00
lizhi.hu c1db354d15 lcd: MIPI-DSI non-burst mode [1/1]
PD#SWPL-194229

Problem:
MIPI-DSI non-burst mode para error

Solution:
fix non-burst mode config

Verify:
s6
t7

Change-Id: I086e631dcb7f2b9077e5c028de66ee9722f3bdd4
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-12-11 21:51:33 -08:00
Hao Shi be1c18d9d1 codec_mm: add is_reserved_ext_support [1/2]
PD#SWPL-195289
PD#SWPL-195421

Problem:
codec_mm_reserved_ext will removed for  s6 board with 2GB RAM,
the h266 mv buffer needs to support without codec_mm_reserved_ext

Solution:
alloc mv buffer form codec_mm_cma when reserved_ext not exist.

Verify:
BL201-S905X5

Change-Id: I15cd60d8bbc2cd35d2a008b13f2cb8499b9aedc2
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-12-11 00:51:49 -08:00
Jian Hu 7c81baeff3 mmc: t6d: fix compiling error when CONFIG_MMC is disabled [1/1]
PD#SWPL-191471

Problem:
there is compiling error when CONFIG_MMC is disabled

Solution:
add empty function for aml_sd.h

Verify:
t6d

Test:
Boot

Change-Id: I30f1a37558a9e8758caf15aa03420665721e5b97
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-12-09 18:32:22 -08:00
Hao Shi f2f612a58d codec_mm: clear coverity [1/1]
PD#SWPL-193202

Problem:
clear codec_mm coverity.

Solution:
clear codec_mm coverity.

Verify:
Local

Change-Id: Ibd14e9470b50cb67f26691f3c26d3505ecfa1d41
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-12-08 22:56:38 -08:00
Pengcheng Chen e62a49dffe vpp: pps nonlinear support fot t3x [1/1]
PD#SWPL-159149

Problem:
pps nonlinear support fot t3x

Solution:
pps nonlinear support fot t3x

Verify:
t3x

Change-Id: I8c00382824e92fac959461dba1f3039dca23960f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-12-08 22:47:13 -08:00
dian.shao 47dd1f20a9 usb: m31 phy&crgu3drd role switch feature [1/1]
PD#SWPL-194901

Problem:
m31 phy&crgu3drd role switch feature.

Solution:
m31 phy driver updates.

Verify:
s5 t5m t3x.

Change-Id: Ic395e4fcc01549f9cda51acb321e843fbd578607
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-12-06 02:36:44 -08:00
ruofei.zhao 67499d11a4 hdmitx: update hdmitx version to 20241206 [1/1]
PD#SWPL-193335

Problem:
update hdmitx version for release

Solution:
update hdmitx version to 20241206

Verify:
BL201-S905X5

Test:
DRM-TX-40

Change-Id: I917b1e658f4df31980e0ddf78507d1eeac37bd03
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-12-05 04:12:44 -08:00
lele xiang c3bf0bad99 decoder: CF1 Prealloc Mechanism based on single decoder instance. [1/2]
PD#SWPL-188670

Problem:
Prealloc Mechanism based on single decoder instance.

Solution:
Add prealloc function for decoder

Verify:
T6d

Change-Id: Ic88eda66e6eda55607e8846125533295a7cc7f9e
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2024-12-04 04:11:20 -08:00
jie.dai de08957f7b lcd: lcd coverity fix [1/2]
PD#SWPL-195021

Problem:
coverity exist in lcd config

Solution:
fix coverity

Verify:
T5M

Change-Id: Iabbacfe909cd720ad78b70649237a3af601f97af
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2024-12-03 22:03:49 -08:00