Commit Graph

643664 Commits

Author SHA1 Message Date
Bencheng Jing
2ca6dfc4e9 dts: enable amvecm modules for r311 chips
PD#163826: dts: enable amvecm modules for r311 chips

Change-Id: I9dc67fe8267c79083c5eb2e1d7f1bec169626cff
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-04-20 05:19:33 -07:00
Zongdong Jiao
454ecea283 hdmitx: add sspll for hdmi modes
PD#162511: hdmitx: add sspll for hdmi modes
To reduce EMI issue, enable sspll function under certain modes.

Change-Id: Ib5187aaafbc92eccbdd6a77d1c4828776ff596be
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2018-04-20 03:44:35 -07:00
pengcheng chen
26013145b4 drm_vpu: logo memory manage in drm_vpu
PD#160546: drm_vpu: logo memory manage in drm_vpu

Change-Id: I590caf78301f09f71dc005559a79656e8ff9c206
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-04-20 16:37:18 +08:00
pengcheng chen
e6bbb1786d osd: optimize osd dts
PD#164824: osd: optimize osd dts

Change-Id: I7cc372a4124b136bf999a73888ba6fd5671e9b5f
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-04-20 00:44:23 -07:00
Peng Chuangcheng
d71c991c7e dvb: add dvb module dts & modify demux define
PD#156734: add dvb module dts & modify demux define

Change-Id: I6125be7c0f489687524529a547b9d426eb5de4ac
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
2018-04-20 00:12:45 -07:00
Yalong Liu
112c4eb9d1 drm: Add support for ABGR and XBGR for scanout
PD#160546: Add support for ABGR and XBGR for scanout

Change-Id: Id846f2db2431737a956a8f3474278938bd2905a1
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
2018-04-19 22:34:09 -07:00
yuehu mi
499a8c65a1 a113d: dts: add axg_s400emmc_512m.dts configuration
PD#164463: add 512M dts configuration

Change-Id: Id777ae85a9d4b645f74962184ce76048eaba8be1
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
2018-04-19 19:50:09 -07:00
nengwen.chen
eea68d6501 atv_demod: Modify atv entry and leave mode status.
PD#163853: Modify atv entry and leave mode status.

Change-Id: I508574f7c0328342e0dff7657f79de4e60443d9a
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-04-19 19:18:57 -07:00
Xing Wang
e44ec41eb7 audio: auge: fix pdm to 133m directly, not using dividor
PD#164405: audio: auge: fix pdm to 133m directly, not using dividor

Change-Id: I4a26abdb6b2555275a7126cefcfa1d2575bb721b
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-04-19 18:26:13 -07:00
Hong Guo
667b02f4dd PM_sleep: add alarm wakeup function.
PD#161914: PM_sleep: add alarm wakeup function.

Change-Id: Ib24fd030631f77be3d607a32cfd53f7a0b143b05
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2018-04-19 03:32:38 -07:00
Qiufang Dai
48971d19d0 clk: fix gp0_pll typo
PD#164749: fix gp0_pll typo

Change-Id: Id50fc1fbc0f0af4a6d2364271317b6b75d963a34
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
2018-04-19 02:48:56 -07:00
binqi.zhang
ff2cc992f3 trace: add meson trace func [2/2]
PD#164734: meson: Aid to kernel debug

echo 1 >
/sys/kernel/debug/tracing/events/meson_atrace/tracing_mark_write/enable

Change-Id: I11d56296ae8f5bd7427b292b0c98c6b4541b6faa
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
2018-04-19 01:58:53 -07:00
Kuibao Zhang
4ad0ec9c9a BT: introduce power_down_disable property in DT
PD#163673: BT: introduce power_down_disable property in DT

introduce a power_down_disable property in the DT file, we need to
keep power on for the ap62x8 in order to pass the vts test

Change-Id: I1984ded1e7f96732630b4e94a97bbb2705a8fbd6
Signed-off-by: Kuibao Zhang <kuibao.zhang@amlogic.com>
2018-04-19 01:39:08 -07:00
Bencheng Jing
9253361a99 amvecm: close mtx_only
PD#163270: amvecm: close mtx_only

Change-Id: Id6c92cba47d41bc7ef271dc3caa24b5bf2208ac7
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-04-18 22:36:15 -07:00
Lianlian Zhu
4834498509 audio: auge: support raw output[2/2]
PD#162366: audio: auge: add ac3 eac3 dts output

Change-Id: If77a02601ad1fba4985f361188db1abf732043c0
Signed-off-by: Lianlian Zhu <lianlian.zhu@amlogic.com>
2018-04-18 21:27:47 -07:00
pengcheng chen
54050fcd54 osd: fix osd suspend fail issue
PD#164508: osd: fix osd suspend fail issue

Change-Id: I30c9efd77748a795b341ad4bedafa5f379ae52f1
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-04-18 19:23:32 -07:00
Nan Li
7f59a14a8f emmc: optimize sd & wifi TDMA.
PD#164677: optimize sd & wifi TDMA patch
to bring errors to v2 controller.

Change-Id: I2859af721953ab4bd8ad34a1f6722321dd6b1d00
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-04-18 01:32:26 -08:00
nengwen.chen
44ec6b0914 atv_demod: Add atv demod
PD#163853: Add atv demod

Change-Id: Ia3a7f51927df92025a67923e5acce2f0f07e674c
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-04-18 01:04:16 -08:00
Ruixuan Li
80097e0095 emmc: hs200 200M on g12a [2/2]
PD#160968: emmc: hs200 200M on g12a

Change-Id: Iabfa18880dcf356f92be4319b948b0f132fc4704
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2018-04-18 00:59:52 -08:00
pengcheng chen
b7d5caed45 osd: fix osd rdma recovery reg
PD#160942: osd: fix osd rdma recovery reg
           1. modify VIU_OSD1_BLK0_CFG_W0 init value in update_color_mode
           2. add DOLBY_CORE2A_SWAP_CTRL1&CTRL2 in recovery table

Change-Id: I04c569bc4919e8adc5bd17d376ee65d084e49082
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-04-18 16:05:09 +08:00
Ruixuan Li
acf01d7d60 emmc: add dtb backup machinisim
PD#162119: emmc: change memory alloction mode

Change-Id: I108557d914d42158820d5cba00e2fc60e3d38451
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2018-04-17 23:06:31 -08:00
bichao.zheng
38bdd4308e gpio-led: add system led
PD#163340: gpio-led: add system led

1.Add CONFIG_LEDS_TRIGGER_CPU=y in meson64_defconfig
2.Turns on green light when booting and resume.
3.Turns off green light,turns on red light when suspend and shutdown

Change-Id: I237745e87737682364ab946abd2253025ac89984
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
2018-04-17 22:35:03 -08:00
Yi Zhou
ccd120c45a hdmitx: update hdmitx pll parameter
PD#163960: hdmitx: update hdmitx pll parameter

Change-Id: I4a770a976586d42b510c128586a5239ade54a7c0
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-04-17 21:43:21 -08:00
jiamin ma
23fdd53d97 defect: fix section mismatch warning
PD#164617: section mismatch warning

When a variable or function with __initxxx anotation refers a
variable or function without it, there will be a section mismatch
warning.
In such case, memory belong to the latter will be released after
kernel booting up, if the former still refers the latter, strange
things happens
So we have to use __initxxx anotations correctly or add __refxxx
anotations to teach modpost that it is okay and save to use __init
anotations in this way.

Change-Id: Ic97dac8998b2a01c82dd7a3bae12fa9c7a113bc4
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
2018-04-17 21:42:06 -08:00
kunpeng.tang
bcfcd94eb1 amlvideo: fix H264/VP9 adaptiveSkipBack cts errors
PD#163463: fix H264/VP9 adaptiveSkipBack cts errors

1.android.media.cts.AdaptivePlaybackTest#testH264_adaptiveSkipBack
2.android.media.cts.AdaptivePlaybackTest#testVP9_adaptiveSkipBack

Change-Id: Ib5f514ceb9a312b2bc608fa8192208dc49be74c9
Signed-off-by: kunpeng.tang <kunpeng.tang@amlogic.com>
2018-04-17 21:40:06 -08:00
Rongjun Chen
ae14319851 wifi: add fw path to support mt7668 wifi fw load
PD# 161514

Change-Id: I5e067f2fb6503f1f2b537a6b36fb69b0e8f30b87
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
2018-04-17 20:09:19 -08:00
tao zeng
eb001fe66a mm: optimize for lowmemory killer
PD#164558: mm: optimize for lowmemory killer

1. Remove change for LRU;
2. Only subtract cma file caches when task is not kswapd.

Change-Id: I09ad86fc9754c1136cd976d656a023dee6cbe2eb
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-04-17 17:58:08 -08:00
Xingyu Chen
32e08326b6 pinctrl: axg: fix w/r error for partial ao pins and add TESTN support
PD#164428: pinctrl: axg: fix w/r error for partial ao pins and add TESTN support

it returns error when operating the pins include the GPIOAO_10 - GPIOAO_13 which
are used as gpio.

Change-Id: I1337ab4d59110b87bd6b685e4ce7481cee02be46
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-04-17 05:23:14 -08:00
Nan Li
d3991e7a9c sd: add port base addr in the matchdata.
PD#163048: add port base addr in the matchdata,
for sd & sdio TDMA check.

Change-Id: Ib7432ffbf26c749d8799bfa5f60eaaff7735539d
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-04-17 04:52:15 -08:00
Lei Qian
545efef108 dts: optimize txlx_t962x_r311_720p memory usage[2/3]
PD# 164558: dts: decrease memory usage

Change-Id: I0822e43ba8ecab264963d12a14fe102686d4ed70
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
2018-04-17 02:04:27 -08:00
Nan Li
fec161eb1b sdemmc/sdio: g12a revA/B compatible
PD#163379: sdemmc: g12a revA/B compatible

Change-Id: I5edaf1e490de73d160b25d5976a71edda50038d6
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-04-17 18:01:01 +08:00
Nan Li
7808c86161 sd: add sd & sdio wifi TDMA on portB.
PD#163048: add sd & sdio wifi time division multiple access
on portB.

Change-Id: Ie38a56daf03d5066af160575a322812ab5ffe5be
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-04-17 00:51:17 -08:00
Kaifu Hu
67a662f312 hdmitx: config DDC to 100kHz
PD#164530: hdmitx: config DDC to 100kHz

Config DDC to 100kHz for HDMI I2C.

Change-Id: I9b450bb8f9b727a3f468f55138aa64596abe92ef
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-04-17 00:29:35 -08:00
wei wang
85f3e27ee9 cec: support 4 hdmi ports in board R311
PD#162758: modify dts to support hdmi4

Change-Id: I2216bc2c1f5a6dabd6890025075f7b40ad082799
Signed-off-by: wei wang <wei.wang@amlogic.com>
2018-04-16 19:18:18 -08:00
nengwen.chen
a7ca14be81 atv_demod: Add atv demod
PD#163853: Add atv demod

Change-Id: I6e1fe3b50cccc2d6ee734ca77cf8593b95f47671
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-04-16 18:43:20 -08:00
Long Yu
b87a68b2c8 emmc: optimized emmc timing parameter configuration method
PD#162872: emmc: Optimizing eMMC/sd/sdio timing parameter configuration method

Change-Id: I5e9991a42d6f262a58e2b2c5635eadc690e39d4d
Signed-off-by: Long Yu <long.yu@amlogic.com>
2018-04-15 23:15:52 -08:00
Hang Cheng
50407b7c09 hdmirx: revert audio fifo reset alternatively
PD#154135: hdmirx: revert audio fifo reset alternatively

MIK-8267R device outputs 4 channel audio of pcm, which
txlx doesn't support. So revert this workaround and
avoid side effect.

Change-Id: Id969f27ed44567c9bcb6bfd8e77d8ff33d70b0f6
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2018-04-15 21:10:25 -08:00
liangzhuo.xie
daa97253c6 drm: add drm buildroot dts for g12a
PD#162577: add drm buildroot dts for g12a

1. g12a default buildroot dts use g12a_s905d2_u200_buildroot.dts
2. g12a drm buildroot dts use g12a_s905d2_u200_drm_buildroot.dts

Change-Id: I08616ab1ce38b8db24ca78c1133294fff8e82ff8
Signed-off-by: liangzhuo.xie <liangzhuo.xie@amlogic.com>
2018-04-15 18:11:52 -08:00
Yue Wang
084a2f0f8c usb: set bit18 of GUCTL1.[1/1]
PD#164190: usb: set bit18 of GUCTL1.[1/1]

for improve bulk transfer performance.

Change-Id: I986ddea677a9a31a6613cf00936b4c4e79449c1e
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-04-15 18:10:29 -08:00
Zhe Wang
b16920aaa4 dts: axg: fixed audio dts error of U211 & U221
PD#163841: change dts for U211 & U221

Change-Id: I49e3a5fb7d740aa77e277f97c1fea14bd9b9da71
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2018-04-14 01:54:13 -08:00
Brian Zhu
54d3171e9e video: change the correct config define for notify amvideo
PD#163615: video: change the correct config define for notify amvideo

Change-Id: I57a049060e355b396591003463454292e10ad164
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-04-13 06:09:41 -08:00
Evoke Zhang
278832c410 u200: dts: modify panel P070ACB reset sequence
PD#163160: u200: dts: modify panel P070ACB reset sequence
also optimize place check state function into dsi_on_init sequence.

Change-Id: I22cbb057b278bd44efb2e7b141f6426c03c1945f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-04-13 02:30:34 -08:00
Evoke Zhang
37fc47c9bf vout: optimize same mode checking for 1st setting
PD#163691: vout: optimize same mode checking for 1st setting

Change-Id: Ia2be46b0f0433f09106cb8f08937baea371d4c62
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-04-13 02:10:50 -08:00
nengwen.chen
cadc6e9ee2 atv_demod: Add atv demod
PD#163853: Add atv demod

Change-Id: I572568d30136801cfb244757a5d1114974158192
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-04-13 00:18:02 -08:00
Kaifu Hu
e7b8b75b3e hdmitx: move AVI position from line4 to line10
PD#163964: hdmitx: move AVI position from line4 to line10

Move AVI position from line4 to line10 for HDMI1.4 CTS 7.24
fail in QD980.

Change-Id: I6c84445de942cce383c3bb339223589e3fb39d5f
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-04-12 23:05:26 -08:00
Qianggui Song
537cf2650a remote: add remote led blink function to u211
PD#163342: add remote led blink function to u211

Change-Id: I92ba57af1f3c83e6d432a344d35021734dfecf3c
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2018-04-12 18:57:02 -08:00
Kuibao Zhang
19a79c7079 BT: Bluetooth poweroff by default
PD#164170: BT: Optimize the bluetooth code structure

Change-Id: Iadc70c12f85c0ad48597f0066ae235b3d67716a9
Signed-off-by: Kuibao Zhang <kuibao.zhang@amlogic.com>
2018-04-12 05:34:38 -08:00
Xing Wang
92f16104bf audio: meson: fix i2s/spdif buffer for split mode when bootup to play
PD#162285: audio: meson: fix i2s/spdif buffer for split mode when bootup to play

Change-Id: I730993dd183cee40c92d232414d6752f75cb2b06
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-04-12 02:38:54 -08:00
Yalong Liu
6d4b1f3db2 drm: modify drm framework
PD#162577: modify drm framework
1. add component framework, support dynamic loading modules
2. remove DRM_MESON_BYPASS_MODE config, abandon
Unnecessary code and Optimization code

Change-Id: Ib7698190254d147d9749c30f479477103ed52af7
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
2018-04-11 23:54:13 -08:00
Weiming Liu
3ea9b4e5c1 lcd: mipi phy timing adjustment
PD#163895: lcd: mipi phy timing adjustment

Change-Id: I87d563d6b9040ef7af0ed7874c99e6414675118e
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
2018-04-11 23:53:05 -08:00