Commit Graph

854 Commits

Author SHA1 Message Date
Hao Shi fcc4b649ce amvdec: optimize vdec_info and vframe_counter_s [2/2]
PD#SWPL-160457

Problem:
memcpy beyond individual struct members

Solution:
create a named mirror of an anonymous struct union

Verify:
sc2&sm1

Change-Id: If86c3581ac473bb8e4c2b2021bedcbe44ad406e2
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-07-15 14:30:00 +08:00
dian.shao db339fb46b 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-14 17:57:46 +08:00
wenlong.zhang ed224cab12 drm: solution for gfcd odd size display abnormal [1/1]
PD#SWPL-171666

Problem:
gfcd source odd width display abnormal

Solution:
1.add workround for odd width input;
2.add gfcd odd size and gfcd global alpha enum;
3.move the gfcd block forward because it is more sensitive to timing;
4.optimizing gfcd afbc switches;
5.add gfcd div alpha setting;

Verify:
s7d

Test:
DRM-OSD-15

Change-Id: I83fda11948abd49abe021830a5acdd2607776094
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-14 16:31:48 +08:00
Tao Zeng e10d75785a amfc: add support for s7d revb [1/1]
PD#SWPL-175588

Problem:
Need support s7d revb

Solution:
1, add clk set for revb;
2, use clk interface for clk set

Verify:
S7D bm201

Change-Id: I168a942f6796208dd4dff67a13f065be14a40f0c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-07-14 16:25:15 +08:00
qiyao.zhou 73c0ca3be7 vicp: add enhanced security support for S6 [1/1]
PD#SWPL-174883

Problem:
add enhanced security support for S6

Solution:
add enhanced security support for S6

Verify:
s6

Change-Id: If4c88fecc4f0224402292c12a731494bda520499
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-07-13 20:53:27 +08:00
dian.shao 31aa2ea19d usb: usb3.0 phy cfg update [1/1]
PD#SWPL-175043

Problem:
usb3.0 phy cfg update.

Solution:
update driver.

Verify:
bl201 & bl208

Change-Id: I72bde2600870859b4a2aa3f4c448f1f553890ee7
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-13 20:53:27 +08:00
Chuan Liu b91b2a99f8 clk: s6: Fix mclk0 output exception [1/1]
PD#SWPL-172965

Problem:
1 The mclk0 power supply uses the power supply inside the mclk_pll, so the
mclk0 output must ensure that mclk_pll is also enabled.
mclk_pll_clk can output clocks mclk_pll_src and fclk50m. The existence of
these two clock sources is meaningless.
2 If mclk0 uses mclk_pll as the clock source, div2 must be selected for
the clock of the later stage; otherwise, the output clock waveform of
mclk0 is abnormal.

Solution:
1 Delete the mclk_pll_src and fclk50m clock sources and set mclk_pll_clk
as the clock source of mclk0.
2 mclk0 selects div2 by default.

Verify:
s6_bl201

Change-Id: I9a8e3e1616b4c9b3b9c86990f86dc337f9f9c877
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:17:21 +08:00
Chuan Liu 05e0830f0f clk: s6: Fix some parent issue with sys_clk [1/1]
PD#SWPL-172965

Problem:
1 All I2C Masters (i2c_m_a-f) in a chip share an APB bus, which is
provided by sys_i2c_m_a. PWM is designed with a similar architecture, and
the APB bus of PWM is clock provided by sys_pwm_a.
2 The CLKID definition of smart card is inconsistent.

Solution:
1 The parent of sys_i2c_m_b-f is set to sys_i2c_m_a.
2 The parent of sys_pwm_b-i is set to sys_pwm_a.
3 CLKID_SC_DIV was renamed CLKID_SC.

Verify:
s6_bl201

Change-Id: I94482625f3a9fe387113edce21ed16e9dc63a074
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:16:40 +08:00
hongyu.chen1 4f02b1415f S6: add adapt power domain config. [3/3]
PD#SWPL-174348

Problem:
adapt need mempd control.

Solution:
add adapt config in kernel.

Verify:
bl201

Change-Id: Ibf2abce9524480b657a7d271215a0eb87aaeb6d4
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-07-13 19:16:37 +08:00
Doosan Baek 107fe326b2 kt: s6 kl/kt bringup [1/1]
PD#SWPL-169992

Problem:
s6 kt/kl kernel bringup
need multi2 algo type

Solution:
s6 kt/kl kernel bringup
add multi2 algo type

Verify:
s6

Change-Id: I0622e86c05194784934f08aa0dd5d38b1239857e
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-07-13 19:16:37 +08:00
Yao Jie 646178e138 mailbox: add aocpu alive detection and mailbox retry [4/4]
PD#SWPL-172976

Problem:
add aocpu alive detection and mailbox retry mechanism to
avoid mailbox message lost due to aocpu crash or mailbox
signal lost occasionally

Solution:
add aocpu alive detection and mailbox retry mechanism

Verify:
S6-BL201

Change-Id: Ia90380a7ead99e7f00eb82bcde02201f4636dd30
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-07-13 19:16:37 +08:00
Chuan Liu 791a2752e8 clk: s6: Fixed known issues [1/1]
PD#SWPL-172965

Problem:
1 mclk_pll and dspa_clk output are incorrect
2 mmc failed to insmod
3 Lost sys_i2c_s_a

Solution:
1 Update the table for mclk_pll
2 Update the parent table of the dspa
3 Ignore initializing gp0_pll
4 Added sys_i2c_s_a

Verify:
s6_bl201

Change-Id: I23586623d908ef871e178acf0da8883aabc12fc9
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:16:35 +08:00
dian.shao 97d84cd48e usb: s6 bringup usb3.0 & misc [1/1]
PD#SWPL-172978

Problem:
S6 Silicon Bringup
- Kernel
- High speed peripheral driver
- USB
- usb3.0 & misc

Solution:
Dts&driver.

Verify:
s6

Change-Id: If7cdf1af5dc6c21a91eb89869bf9e6ca32be9d00
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-13 19:16:34 +08:00
Chuan Liu 8df10c037a clk: s6: Clock bringup [2/2]
PD#SWPL-172965

Problem:
1 Lost mclk and aclkm clocks
2 Discard meson_clk_pll_v3_ops
3 clk_measure table has been updated
4 hifipll and gp0pll cannot be locked
5 Optimize clock naming

Solution:
1 Added mclk and aclkm clocks
2 Replace meson_clk_pll_v3_ops with meson_clk_pll_v4_ops
3 Updated hifipll and gp0pll configuration timing

Verify:
s6_bl201

Change-Id: Ia5407b3b529c38a241e0a038aad371b5822c0c02
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:12:10 +08:00
dian.shao d7b450e5fb usb: s6 bringup [1/1]
PD#SWPL-172978

Problem:
S6 Silicon Bringup
- Kernel
- High speed peripheral driver
- USB

Solution:
Dts&driver.

Verify:
s6

Change-Id: If41c5d1fa45be1eeb9453b1c9c435cf0b05042a5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-13 19:12:09 +08:00
Chuan Liu ee3ca92d7d clk: s6: Optimize clock driver [2/2]
PD#SWPL-158289

Problem:
1 The register corresponding to oscin was updated;
2 Put some of the key clocks into bl31 for processing.

Solution:
fixed

Verify:
pxp

Change-Id: Ie5ea8b6c507ce136ba397e8e54362b72f05cf45c
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:04:51 +08:00
Qianggui Song 6169a4ce90 pinctrl: s6: driver bringup [1/1]
PD#SWPL-154155

Problem:
s6 pinctrl bringup

Solution:
add pinctrl driver data

Verify:
s6_pxp

Change-Id: I4e0cb65df30ba4bfa1acd6c0c81231bcda012f7b
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-07-13 19:04:11 +08:00
Chuan Liu f9bb63b9f5 clk: s6: clock tree bringup [2/2]
PD#SWPL-154653

Problem:
clock tree bringup

Solution:
added

Verify:
pxp

Change-Id: I421aad497bbd7d1bd46430bf5c708cede10c7301
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:03:26 +08:00
Yao Jie af6a866061 mailbox: s6 mailbox pxp bringup [1/1]
PD#SWPL-156519

Problem:
S6 mailbox pxp bringup

Solution:
S6 mailbox pxp bringup

Verify:
PXP

Change-Id: I08917759de24df334397db8f49f64b057172f3f3
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-07-13 19:02:39 +08:00
hongyu.chen1 1a29030af1 S6: power domain: add config. [3/3]
PD#SWPL-153862

Problem:
s6 need power domain support.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: I5ba46225cb08a4a92d43fe25d7f6385d65bf6efb
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-07-13 19:02:01 +08:00
yuhua.lin 749f0a9aa1 s6: add codec_io/canvas/rdma support for s6 [1/1]
PD#SWPL-156543

Problem:
s6 codec_io/canvas/rdma bringup

Solution:
complete it

Verify:
pxp

Change-Id: Ic9facdff23c43b330d8203744d9ca6a3a0172b8f
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 18:59:02 +08:00
Zelong Dong 0ef37f7ca6 reset: add reset controller support for s6 [1/1]
PD#SWPL-154396

Problem:
don't support s6 platform

Solution:
add reset controller support for s6

Verify:
s6_pxp

Change-Id: I7b5b78f28b1b9b0fa512aa7d13c67eab77dbf065
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-07-13 18:58:44 +08:00
yao zhang1 173c0f4f1c bringup: Add s6 dts and dtsi. [1/1]
PD#SWPL-149346

Problem:
Bringup s6.

Solution:
Add s6 dts and dtsi.

Verify:
s6 pxp

Change-Id: I545254ab574a29c65d586db054bf8e29f09a090d
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2024-07-13 18:58:29 +08:00
song.han a9c7776df6 iotrace: call stack support [1/1]
PD#SWPL-175591

Problem:
5.15-u scs can't work
arm 32bit caller_addr can't work

Solution:
arm64 use CALLER_ADDR micro
arm32 support find stack operation

Verify:
SC2

Change-Id: Ic8142284af335f22cf5fe0aceb438e2119ec7373
Signed-off-by: song.han <song.han@amlogic.com>
2024-07-09 10:52:25 +08:00
Long 95c83c56ca eMMC: support amlogic CQE v2. [1/1]
PD#SWPL-160981

Problem:
The CQE v1 does not support placing tasks in memory
and does not support data encryption.

Solution:
support CQE v2

Verify:
S7 ax201

Change-Id: I0737d7b2b9e955838a9f3294d1f5faf5fd84aa17
Signed-off-by: Long <long.yu@amlogic.com>
2024-07-05 20:14:02 +08:00
Qianggui Song 6575722d58 gpio: porting gpiolib-sysfs from common [1/1]
PD#SWPL-166758

Problem:
Some customer neeed to support gpio sysfs in gki mode

Solution:
Porting common gpiolib-sysfs to common_driver

Verify:
T7_an400 & txhd2_be311

Change-Id: I72f60644fa383abe05409bfe0bf978c7ea901d92
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-04 10:54:31 +08:00
Tao Zeng 3f57dda326 amfc: add aml erofs ko to suppor hardware [1/2]
PD#SWPL-173093

Problem:
build in erofs do not support amfc hardware

Solution:
add aml erofs ko to support it

Verify:
s7d bm201

Change-Id: I89ef060fabaca2f4d7cbaf26b552ba147c73f539
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-04 10:52:19 +08:00
shihong.zheng 20341a5b55 media: h266 format define. [1/1]
PD#SWPL-172885

Problem:
media_moduls h266 code depend on h266 format define.

Solution:
define h266 format for decoder

Verify:
s6 pxp

Change-Id: Ia001b35292691811425de6b7e8c98e9e3e65575d
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2024-07-03 20:32:24 +08:00
Xingxing Wang 0ca2b9e37a thermal: add indmc sensor driver to do thermal cooling [1/1]
PD#SWPL-166661

Problem:
DDR kernel refresh control patch list

Solution:
add indmc sensor driver to do ddr thermal cooling

Verify:
S7D

Change-Id: I5ba8d167f9ce83785f51af6d2809030147aaacde
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-07-02 19:35:55 +08:00
zongdong.jiao 02fd74a5e1 hdmitx21: add vrr range and vic lists [1/1]
PD#SWPL-170918
PD#SWPL-161717

Problem:
Sink may support only 4k120, but its QMS range may be from
24 to 120.
Or sink may support upto 4k60, but 1080p120hz.

Solution:
Add the qms/game vrr range and vic lists to DRM group
Don't clear the EDID when forced_edid is true
Skip BRR 120 check when QMS tfr_max is false

Verify:
s7d/ross

Test:
DRM-TX-75

Change-Id: Ia65fa38bf18ae7399c9c4178665f8a3f18a03a74
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-06-27 20:10:21 +08:00
ruofei.zhao 6b2d0c2e1c hdmitx21: remove is_cur_hdmi_mode [1/1]
PD#SWPL-170502

Problem:
During the switch to 444,8bit, drm will first set_nulldisp_vout_server,
and then disable hdmitx module. Since it is not currently hdmi_server,
callback send_drm_pkt cannot clear hdr pkt.

Solution:
Remove the is_cur_hdmi_mode judgment in the send_drm_pkt function,
and the hdr pkt can be cleared normally

Verify:
SC2
S5

Test:
DRM-TX-34,DRM-TX-78,DRM-TX-79,DRM-TX-80,DRM-TX-81

Change-Id: Ie85a6073c0c11a8100d344cefffecac613c82a22
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-06-26 20:19:35 +08:00
Huijuan Xiao b7e23c9cc3 amvecm: vsync cost optimization [1/1]
PD#SWPL-172823

Problem:
dv_pq_ctl vsync cost optimization

Solution:
dv_pq_ctl vsync cost optimization

Verify:
s5

Change-Id: I747a15f21cc2e681da11218a0bf90a7cffeb3a8e
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-06-23 07:01:23 -07:00
congyang.huang 3dd9732893 vout: support connector type interface [1/1]
PD#SWPL-166618

Problem:
connectors can not get connector type

Solution:
add connector type interface for connectors to get value

Verify:
t7c txhd2

Test:
DRM-OSD-44

Change-Id: Ic6fe152d419bc1a9381ada21dfa9a808e4e2c84c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-06-20 10:13:29 +08:00
xiang.wu1 28c10f461f hdmitx: add soundbar switch API on hdmi tx driver [1/1]
PD#SWPL-172191

Problem:
[U] need add soundbar switch API on hdmi tx driver

Solution:
1.add sounbar_en node to control soundbar switch
write 1 is on, write 0 is off
2.if soundbar is on, not send hpd event to android
if soundbar is off, keep the original process

Verify:
T7

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82,DRM-TX-122

Change-Id: I4d2c78064a3d158eca038cbbae945a8331dac76d
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-06-19 14:54:56 +08:00
Jianxiong Pan c0ae2f061c mm: pagetrace: arm64 unable get _text and module_base parameters. [1/1]
PD#SWPL-161628

Problem:
arm64 unable get _text and module_base parameters via find symbal.

Solution:
use long type to store pagetrace information.

Verify:
sc2.

Change-Id: Id52bed43bbeed50a6d8ef0e32a54c5d9d9eab331
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-06-18 19:40:42 +08:00
hongyu.chen1 77e354e3d2 S7D: power domain amfc config. [1/1]
PD#SWPL-164972

Problem:
1.The AMFC module is currently configured to always on.
In order to save power consumption, power can be
removed during suspend.
2.usb power domain naming is not standard

Solution:
1.Cancel the AMFC always on configuration.
2.Change the usb domain name

Verify:
S7D

Change-Id: Ib92ffee894f248f7edb2a358bddc548543c68719
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-06-07 19:56:28 +08:00
Huijuan Xiao c5f24c8d0e hdr: hdr core before osd blend [1/1]
PD#SWPL-165938

Problem:
move rgb2yuv from hdr core to osd csc.

Solution:
move rgb2yuv from hdr core to osd csc.

Verify:
s7d

Change-Id: Ib52d37f9f9a72dad048ce3ed2512ed1208d1538f
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-05-28 20:17:41 +08:00
zongdong.jiao 41246d4410 hdmitx: add brr_duration in vinfo struct [1/1]
PD#SWPL-170855

Problem:
When QMS is enabled, the BRR may 120hz. When switches to lower rate,
video player will run under lower rate and display abnormal.

Solution:
Add brr_duration and video still run BRR rate to avoid abnormal display.

Verify:
s7

Test:
DRM-TX-38

Change-Id: I03f3588f89648145ae06b66fe4db4bb9701559b3
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-05-24 21:48:17 +08:00
Long 19ae6f1b63 eMMC: add sg-link descriptors for crypto. [1/1]
PD#SWPL-168640

Problem:
The old descriptor chain will cause dun to not be updated.

Solution:
add sg-link descriptors.

Verify:
S7

Change-Id: I50ccca0f441c4df4945a350cfdf9779497d9bba5
Signed-off-by: Long <long.yu@amlogic.com>
2024-05-24 14:19:06 +08:00
rong.wang 82618db164 deinterlace: add api to get input param for vpp [1/1]
PD#SWPL-160157

Problem:
add api to get input param for vpp when pre-link

Solution:
add api to get input param for vpp

Verify:
t5m

Change-Id: I5f1198c94dfc840f5024d1fdb61bda2f5c5e8f4e
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2024-05-20 19:11:42 +08:00
Tao Zeng 6d13604db9 amfc: add amfc driver support [1/1]
PD#SWPL-137614
PD#SWPL-163213

Problem:
No amfc driver

Solution:
add it:
1, basic driver for AMFC
2, EROFS support
3, kernel compressed by ZSTD support

Verify:
pxp

Change-Id: I45d2e308d209e35edba626619072aae93c4d0f56
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-05-16 20:03:23 +08:00
guoqing.sun dad913e37f CI: CB2 add ioctl CA_SET_START. [1/1]
PD#SWPL-160156

Problem:
CA_SET_START

Solution:
CA_SET_START

Verify:
android-u t5m

Change-Id: Ia67484e2f12b4260436964cd91a8a8f9deb49bd9
Signed-off-by: guoqing.sun <guoqing.sun@amlogic.com>
2024-05-16 15:28:51 +08:00
ruofei.zhao bdde14ac95 hdmitx: update hdmitx version [1/1]
PD#SWPL-168367

Problem:
update hdmitx version for release

Solution:
update hdmitx version

Verify:
S7D
SC2

Test:
DRM-TX-40

Change-Id: I6115555010b8303d44e2a4d422e1319cb436a79a
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-05-10 14:52:17 +08:00
xing.xu 96c9e956fd vdec: S5 Secure + no Secure play no smooth [2/3]
PD#SWPL-164404

Problem:
Back permissions are not separated from
front permissions.

Solution:
Separate back's permissions from front
and control them separately

Verify:
s5

Change-Id: I9e6465d5b8b45143a51c440d1a24160ad80087fb
Signed-off-by: xing.xu <xing.xu@amlogic.com>
2024-05-08 16:25:51 +08:00
Long 01f29c4a9a eMMC: support inlinecrypt feature. [1/1]
PD#SWPL-166960

Problem:
need inlinecrypt for emmc

Solution:
support inlinecrypt feature

Verify:
S7

Change-Id: I1d328d527a714b1f4661b0d0c328ecedec30d0d4
Signed-off-by: Long <long.yu@amlogic.com>
2024-05-07 20:15:49 +08:00
hang cheng c6fc740445 cvbs: add video mute test api [1/1]
PD#SWPL-167292

Problem:
need cvbs video mute api for special test

Solution:
add cvbs video mute api for drm: call
cvbs_video_mute(true / false) to mute/unmute
CVBS video output, it will keep video mute
even set cvbs output again, until drm call unmute.

Verify:
s1a

Test:
CVBS video mute/unmute + hotplug hdmitx and check cvbs mute

Change-Id: I5f6d5c28596f0cdf26c9356a2500b1fe8fe43fd7
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-05-07 17:13:05 +08:00
ruofei.zhao 21fc5d87c6 hdmitx21: auto change the color depth to support HDR under DV_STD [1/1]
PD#SWPL-160150

Problem:
play HDR video under DV_STD, output as SDR

Solution:
auto change the color depth to support HDR under DV_STD

Verify:
SC2
S5

Test:
DRM-TX-90

Change-Id: Ifd830c91c68a600f5ac4c3b9e00b0709083b74e8
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-05-07 14:28:39 +08:00
hang cheng 5cde5c9656 hdmitx: not send uevent after suspend [1/1]
PD#SWPL-158050

Problem:
it will block suspend if send kobject uevent
when suspend

Solution:
not send uevent after suspend

Verify:
ohm

Test:
DRM-TX-105

Change-Id: I66f13e24076290f99defca8badb8d94d8b2e3e2a
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-05-07 14:03:12 +08:00
qing.zhang a8b13074b7 Audio: add earc rx for s7d [1/1]
PD#SWPL-163105

Problem:
new earc Rx design

Solution:
changelist from https://scgit.amlogic.com/#/c/417153
1. new default setting for arc in
2. remove pll refresh when startup
3. when cmdc init, need refresh pll after pll default setting
4. force channel sync for channel mapping
5. add dmac bit29 check for common arc check
6. add iec raw channel status check
7. use chip info(arc_ch_sync/arc_in_new)

Verify:
use s7d

Change-Id: Id681334bfde57bfe71a870a16859e24712e262e3
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-05-07 13:56:44 +08:00
Huijuan Xiao 0d7756fb36 amvecm: add sbtm feature [1/1]
PD#SWPL-163931

Problem:
new feature of hdmi source based tone mapping.

Solution:
add sbtm corresponding flow and APIs.

Verify:
s5

Change-Id: Iee87b4762bfacff94856b972569e03cf0796b031
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-05-07 12:20:02 +08:00