Commit Graph

2412 Commits

Author SHA1 Message Date
Bin.Wang2 2956b5e8ed vdin: change vdin frame buffer num 8 to 9 [1/1]
PD#SWPL-165202

Problem:
t5w av sync abnormal

Solution:
vdin frame buffer num 9

Verify:
T5w

Change-Id: I2ef087d007ffea40b85689643c85036f305ae745
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2024-04-29 06:13:34 -07:00
Junyi Zhao 6701ae986e led: remove blink on power and light on resume [1/1]
PD#SWPL-166863

Problem:
led blink on power
led light when resume

Solution:
remove this related code

Verify:
s7d bm201

Change-Id: Idb9677189edd2e274ced76f9f5c67d16008cea03
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-04-29 04:04:08 -07:00
Lele Liu a74650d4d1 lowram tv: display cma set to 16M [1/1]
PD#SWPL-156095

Problem:
memory optimization

Solution:
set display cma to 16M

Verify:
local

Change-Id: I3cb54179f4e7ea2685fc0d0faac9e39d54ba2fe6
Signed-off-by: Lele Liu <lele.liu@amlogic.com>
2024-04-29 04:03:50 -07:00
Wentao.Sun 494c312747 dts: optimize secure reserved memory [1/1]
PD#SWPL-158891

Problem:
Optimize secure reserved memory

Solution:
1.Change s805x3 vdec reserved memory to 4M
2.Change secmon reserved memory alignment to 1M

Verify:
AndroidU + S7

Change-Id: I8726c102f9d7b1b2e879eccdeb563ebb0e578df4
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2024-04-29 04:03:38 -07:00
Qianggui Song 77cc50034b 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>
2024-04-28 06:08:17 -07:00
yanmei.yang df11f1ba90 yocto: modify zapper 128m memory dts [1/1]
PD#SWPL-116855

Problem:
need to enlarge codec mm memory

Solution:
enlarge codec_mm memory. delete ramoops, iotrace memory

Verify:
Local


Change-Id: Ia3a0c20b8909b584fcaa3892ed3c439623824af0
Signed-off-by: yanmei.yang <yanmei.yang@amlogic.com>
2024-04-28 03:57:56 -07:00
rufei.fu 4729b27bb8 vdin: disabe the forced yuv444 mallocation mode on t5d [1/1]
PD#SWPL-165193

Problem:
Forcing memory allocation in 444 mode leads to
memory wastage.

Solution:
Disable the forced yuv444 allocation mode

Verify:
t5d

Change-Id: I241c662496b89b205aecb0846543183031ac2a46
Signed-off-by: rufei.fu <rufei.fu@amlogic.com>
2024-04-28 03:57:51 -07:00
zhou.han 7adaf0173e hdmitx: s7d bringup merge to trunk [1/1]
PD#SWPL-163826

Problem:
1.phy cts need 12M pll source
2.hdmitx reduces power consumption
3.when hdmitx plugout/in, it always print "invalid GPIO -2"
4.s7d bringup test 1080p120hz

Solution:
1.Modify the voc and phy parameters
2.hdcp gate dynamic control
3.add gpio pin for hdmitx in dts
4.dts: max_refreshrate = <120>;
hdmitx_validate_mode: soc_freshrate_limited(120)

Verify:
ross

Test:
DRM-TX-78 DRM-TX-79 DRM-TX-80 DRM-TX-81 DRM-TX-37

Change-Id: Ie0844aeb32b0462bf59379ca443fec1da316f3f2
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-04-28 02:27:46 -07:00
yao zhang1 0f7ca8e069 dts: s7_s905y5_bh201 yocto bringup. [1/1]
PD#SWPL-167295

Problem:
Bringup s7_s905y5_bh201.

Solution:
Bringup s7_s905y5_bh201.

Verify:
s7_s905y5_bh201

Change-Id: I6d6759fcd04d2464851c5d086582b1e965f42d40
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2024-04-27 23:44:24 -07:00
jintao xu 74b9cfbf38 DI: U txhd2 enable postlink [1/2]
PD#SWPL-167331

Problem:
android U txhd2 enable postlink

Solution:
android U txhd2 enable postlink

Verify:
TXHD2

Change-Id: I72317df3d403d75be472dfd9797d275e4dbb40bf
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2024-04-27 23:43:40 -07:00
qing.zhang a5709fddb1 Audio: for s7d B202 dongle config [1/1]
PD#SWPL-167244

Problem:
card can not register

Solution:
1. modify the dts config

Verify:
use s7d B202

Change-Id: I236c8d27a0c118657514a114e71c75685da5c817
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-04-27 22:00:06 -07:00
jiebing chen 5a4074d3c7 audio: fix cvbs out no sound [1/1]
PD#SWPL-166462

Problem:
spk mute depend on the active gpio flag,
it is the opposite of the spk work state

Solution:
invert spk mute flag

Verify:
s7

Change-Id: I966d6fa7432426e8afaf50bb093273e7905d30a8
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-04-27 22:00:02 -07:00
yu.xie 69340a62dc dts: modify android_u S805X3 1.5G codec_mm_cma size to 168MB. [2/2]
PD#SWPL-162200

Problem:
adjust the size of codec_mm cma to 168M without DTV PIP enable.

Solution:
adjust the size of codec_mm cma to 168M without DTV PIP enable.

Verify:
S805X3

Change-Id: Ie8965f428b972709aae8e06e5bec0a44c4fd8ae5
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-04-26 01:58:35 -07:00
yu.xie a44557e2df dts: modify android_u S905Y5 codec_mm_cma size to 364MB. [1/1]
PD#SWPL-165368

Problem:
Adjust the size of codec_mm cma to 364M for CTS.

Solution:
Adjust the size of codec_mm cma to 364M for CTS.

Verify:
S905Y5

Change-Id: Ibccabafe9b9f007892ba903db5d960ae5dece210
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-04-26 01:58:23 -07:00
chuangcheng.peng e5649c4c03 demux: close ts clone for ddp avsync [1/1]
PD#SWPL-159757

Problem:
avsync needs to be optimized

Solution:
ts clone close for ddp avsync, then optimize avsync

Verify:
verified at t3x

Change-Id: I6abd390d6016f383558d391659be8d735fef81b6
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-04-25 22:03:43 -07:00
Xiangyu Cai 029fa9d586 vrr: disable vrr not set reg off in t3x [1/1]
PD#SWPL-163644

Problem:
vsync set error in dts

Solution:
fix vsync set in dts

Verify:
t3x

Change-Id: I2cbabc0717bd1389bd8697c968459cd464295769
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2024-04-25 00:02:23 -07:00
honghai.song 29e0cf0dda s7d: vdin1: change to 720p [1/1]
PD#SWPL-166923

Problem:
vdin1: change to 720p

Solution:
vdin1: change to 720p

Verify:
on S7D

Change-Id: Ia8ab9a90c5188e7d4c21daf63289986c9da0155c
Signed-off-by: honghai.song <honghai.song@amlogic.com>
2024-04-24 02:06:49 -07:00
qing.zhang 861319cbd6 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-04-24 02:06:36 -07:00
qing.zhang a81a960d03 Audio: for s7d skt config [1/1]
PD#SWPL-165962

Problem:
card can not register

Solution:
1. modify the pdm config

Verify:
use s7d skt

Change-Id: I39b33b871d60d20636b9415000de8a0a1fe1687c
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-04-24 00:42:00 -07:00
Yongjie Zhu 8fcf842279 gpu: add s7d other board secure [1/1]
PD#SWPL-163131

Problem:
s7d g310 secure verification

Solution:
add dmaheap-secure for bm202/bm209

Verify:
s7d

Change-Id: I7805851ef4c1b2ca79f348accf63a6705057550c
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2024-04-23 08:07:18 -07:00
Xindong Xu 2059989be3 s7d: add firmware.dtsi to s7d [4/4]
PD#SWPL-163557

Problem:
need enable avb in s7d

Solution:
add firmware.dtsi to s7d

Verify:
s7d

Change-Id: I2b3445f9e62d5a8eae6fa40cd74f30e3e2ca7ed2
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2024-04-23 04:09:03 -07:00
qing.zhang 67a1463db4 Audio: for s7d new codec sy6026 [3/3]
PD#SWPL-166106

Problem:
B201 use sy6026 instead of analog speaker

Solution:
kernel part, only ref b201 use the codec
1. integrate sdk
2. fix i2c addr from 0x54 to 0x2a
3. fix function error
4. review setting for PBTL design, reg 0x22 from
0x1 to 0x3
5. use soft unmute/mute
6. remove pdm pin GPIODV_5 for codec

Verify:
use s7d ref board 201

Change-Id: Ied29b57736c0045bd2ff98bab138f4b9fc91afcf
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-04-23 04:08:55 -07:00
zhenyu.gao f15afdb126 rdk: CB1 Fix vdin node in T5D DTS [1/1]
PD#SWPL-163808

Problem:
There is no "/dev/video71" in the am301
The DTS of am301 about vdin need to update

Solution:
Update DTS of am301 about vdin node

Verify:
T5D-AM301

Change-Id: Iae45f69e9fc0845f740c080cb690e15ae5710922
Signed-off-by: zhenyu.gao <zhenyu.gao@amlogic.com>
2024-04-22 02:31:59 -07:00
chuangcheng.peng fb3a3981d8 smartcard: add smartcard node [1/1]
PD#SWPL-163082

Problem:
support smartcard function

Solution:
add smartcard node

Verify:
verified at bm209

Change-Id: I631c150292d2d3775b2479d31fd3d90c242e75c1
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-04-21 22:34:52 -07:00
Mingyen Hung 08e97d0aa4 crypto: bringup crypto driver for s7d [1/1]
PD#SWPL-163070

Problem:
Need to verify crypto driver on s7d

Solution:
1. Replacing kmalloc() with dma_alloc_coherent()
due to weird data abort.
2. digest_sz is specified in dts for s7d

Verify:
s7d + bm201

Change-Id: Ibeb09de26f8b6c825117e0791a3e51f74a8529df
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2024-04-21 22:34:45 -07:00
lizhi.hu e6a9588a72 lcd: support configurate advanced phy in dts [1/1]
PD#SWPL-165096

Problem:
need support advanced phy config in dts

Solution:
add

Verify:
t7_an400

Change-Id: I1c505fa5b3067ded50d46397df6afc882556d379
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-04-21 22:34:19 -07:00
Bing Jiang 5587272d51 keymap: add SEI 64A remote key map [1/1]
PD#SWPL-163796

Problem:
add SEI 64A remote key map

Solution:
add SEI 64A remote key map

Verify:
S1A_BG201

Change-Id: Ie2e28c4a5f040aacd0093d0d436d865fb2c80f1f
Signed-off-by: Bing Jiang <bing.jiang@amlogic.com>
2024-04-21 20:44:39 -07:00
pengzhao.liu 8d7a2f811a ramdump: support for ker5.15 s7d. [1/2]
PD#SWPL-163216

Problem:
need to support ramdump of s7d

Solution:
porting from ker5.15.

Verify:
s7d

Change-Id: Ic13774fb5d71c5b3ae4ed3c805f1a3e16500d752
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-04-18 22:09:22 -07:00
yaoyu.xu 7781955e71 hdmirx: hdmi dsc sw flow [1/1]
PD#SWPL-154080

Problem:
hdmi do not support cvtem packet.

Solution:
hdmi dsc sw flow add.

Verify:
t3x.

Change-Id: I4252048ec4cd08199f4aa12e12a017cd9ad94d36
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-04-18 04:54:43 -07:00
Ruixuan.li 9cc314e7cd emmc: change sdio clk freq to 1152M [1/1]
PD#SWPL-165715

Problem:
sdio and emmc use different gp0 freq, emmc report crc error

Solution:
change sdio clk freq to 1152M

Verify:
s7

Change-Id: I7714bacdf772d66d1d05d76730e2b010db3cc198
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
2024-04-18 04:50:43 -07:00
haijun.gu fbbc5abe6a audio: A113L AUDIO_AILN as loopback datain_src,no sound [1/1]
PD#SH-19162

Problem:
A113L AUDIO_AILN as loopback datain_src,no sound

Solution:
loopback set format

Verify:
verification ok

Change-Id: I997b3b1959476de54c108a1c0cbea47e9fa16a22
Signed-off-by: haijun.gu <haijun.gu@amlogic.com>
2024-04-18 04:49:48 -07:00
Sunny Luo 2312890003 spi: s7d spicc-v2 bring-up [1/1]
PD#SWPL-163054

Problem:
s7d spicc-v2 bring-up

Solution:
dts configure

Verify:
s7d bm201

Change-Id: Idf32758bc7d9680cbabeaa96a23b8856b2e98410
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-04-17 19:31:22 +08:00
Yongjie Zhu 288f0a2cfc gpu: add s7d gpu secure [1/4]
PD#SWPL-163131

Problem:
s7d g310 secure verification

Solution:
add dmaheap-secure

Verify:
s7d

Change-Id: I0b487c9e42433b94d8a8c95b9104b366be5fbe2b
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2024-04-17 19:31:22 +08:00
Doosan Baek a2292fccc9 kl/kt: s7d kl/kt bring-up [1/1]
PD#SWPL-164313

Problem:
s7d kl/kt bring-up

Solution:
s7d kl/kt dts bring-up

Verify:
s7d

Change-Id: Idb43b4fff1abaf717ed78fd5ea12d9a139850f47
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-04-17 19:31:22 +08:00
Bichao Zheng 7c01926a79 irblaster: s7d add irblaster support [1/1]
PD#SWPL-163060

Problem:
1.need add irblaster support

Solution:
1.config irblaster pinmux

Verify:
S7D

Change-Id: I77254abed878f00149c59318ddc5e32590342d67
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2024-04-17 19:31:22 +08:00
chuangcheng.peng 95bc14dfee aucpu: enable aucpu [1/1]
PD#SWPL-162671

Problem:
bringup s7d

Solution:
bringup s7d

Verify:
verified at bm201

Change-Id: I445472c2dea0d05be1a922b57c1719fc83bdce95
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-04-17 19:31:22 +08:00
qing.zhang feb39f0df7 Audio: bringup audio driver for s7d chip [1/1]
PD#SWPL-163106

Problem:
1. eq/drc/loopback/resample/vad path

Solution:
1. eq/drc/loopback/resample config

Verify:
use s7d

Change-Id: I62c53c90b9925253a9d7a0c4f09b9f843b0c7f28
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-04-17 19:31:22 +08:00
wenlong.zhang 49f34e7d48 drm: enable cvbs out [1/1]
PD#SWPL-164425

Problem:
enable cvbs out

Solution:
enable cvbs out

Verify:
s7d

Test:
DRM-CVBS-4

Change-Id: If52f3f8212aa909a61d8d91ae0fe5939d58e4ce4
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2024-04-17 19:31:22 +08:00
Huqiang Qin 6c878f646b saradc: s7d: support saradc [1/1]
PD#SWPL-163056

Problem:
S7D Silicon Bringup.

Solution:
Add a new SARADC driver.

Verify:
S7D/BM201

Change-Id: I5049a6f741bcc72691c931bc10830b30dc53913c
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-04-17 19:31:21 +08:00
zhicheng.huang abbc0d8fc2 dts: s7d: bring up cxd2856/r836/av2018 [1/2]
PD#SWPL-163121

Problem:
bring up D626 cxd2856 driver

Solution:
bring up D626 cxd2856 driver

Verify:
s7d bm201

Change-Id: I0d36251a7584f147051554681935141f7ba8c267
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2024-04-17 19:31:21 +08:00
Zelong Dong cb0ad0992d jtag: s7d: support jtag [1/1]
PD#SWPL-163057

Problem:
s7d need support jtag

Solution:
support jtag

Verify:
s7d_bm201

Change-Id: Iae713f3749d63c5603a02aa937a5b3d43fb47b38
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-04-17 19:31:21 +08:00
mingxiu.sun 2b66c46230 vdin1: viu_loopback s7d bringup [1/1]
PD#SWPL-163096

Problem:
s7d vdin1 bringup

Solution:
s7d vdin1 bringup

Verify:
s7d kernel5.15 androidu

Change-Id: Iaa1fbe9c2854272b77048efc8359c60fbc57f14b
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-04-17 19:31:21 +08:00
Yao Jie 5a9dbd20b6 mailbox: s7d add aocpu alive check mechanism [1/1]
PD#SWPL-163760

Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.

Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.

Verify:
S7D-BM209

Change-Id: I285a300313c1439be2ed50fafc58c4a92fa032ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-17 19:31:21 +08:00
yao zhang1 7587ae853f dmc: Fixed the ddr freq address [1/1]
PD#SWPL-163047

Problem:
Failed to read the ddr freq

Solution:
Fixed the ddr freq address

Verify:
s7d

Change-Id: I1ad3914643cdd42cfec941fb6ce542edc4959362
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2024-04-17 19:31:21 +08:00
Xingxing Wang 2917906c47 thermal: enable amlogic cooling driver [1/1]
PD#SWPL-163078

Problem:
S7D Silicon Bringup - Kernel - Power management - Thermal

Solution:
enable amlogic cooling driver

Verify:
S7D BM201

Change-Id: Ib17a298f5b249d861a035ce53ba0f8408d95e009
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-04-17 19:31:21 +08:00
yufei.huan 8cd86fd5b5 deinterlace: bring-up s7d secure [1/1]
PD#SWPL-163089

Problem:
secure configure

Solution:
secure function test

Verify:
s7d

Change-Id: I16fa9d3c58d9f7437b3121972159fa6616fed73a
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2024-04-17 19:31:21 +08:00
qing.zhang ea8aab156a Audio: bringup audio driver for s7d chip [1/1]
PD#SWPL-163104

Problem:
1. spdif in not work for B201/B202/209, GPIOH_9 for Spdif
2. hdmitx mat not output for tdmout_b

Solution:
1. config gpio for spdifin
2. eq use for codec with tdm_c(1 lane)

Verify:
use s7d

Change-Id: I64c5f71fef99654329b2be259d711451607d8e1d
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-04-17 19:31:21 +08:00
bowen cheng 820f5cc91d cec: s7d cec dts config [1/1]
PD#SWPL-163097

Problem:
enable s7d cec dts config

Solution:
enable s7d cec dts config

Verify:
s7d

Change-Id: I8ae8ab931e6522f48b7b3771fef729a9b63dd0f6
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2024-04-17 19:31:21 +08:00
Zhuo Wang 119a75d3c2 eth: s7d inphy analog [1/1]
PD#SWPL-163065

Problem:
s7d inphy tuning

Solution:
s7d inphy tuning

Verify:
s7d_bg201

Change-Id: I97f8942aa2f42393c0f51792066b85af98293572
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-04-17 19:31:21 +08:00
Xingxing Wang 1b1b663920 cpufreq: s7d dvfs bringup [1/1]
PD#SWPL-163073

Problem:
S7D Silicon Bringup - Kernel - Power management - DVFS

Solution:
dvfs bringup

Verify:
S7D

Change-Id: I1dd28b70f934ccc9f1c377dadc370971d705be2e
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-04-17 19:31:21 +08:00