Commit Graph

643654 Commits

Author SHA1 Message Date
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
Evoke Zhang
87315a572a lcd: prevent lcd enable repeatedly to avoid abnormal display
PD#164037: lcd: prevent lcd enable repeatedly to avoid abnormal display
also optimize backlight init state by detect lcd state

Change-Id: I517c3c47aa5fcb0f5026f6dd782e5f522ec847aa
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-04-11 23:09:30 -08:00
Jian Hu
d363baac44 i2c: fix different frequency duty according to I2C-BUS spec
PD#164083: i2c: fix duty of different frequency

1.General usage
Frequency   Duty    mode

100k	    1:2	    standard
400k	    1:3	    fast
3400k	    1:3	    high

2.Frequency below 100k can be configured as fast mode

Change-Id: Ib6254efabfbd614c014c98bbeb3d07c35cf7b904
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-04-11 22:53:13 -08:00
kele bai
d4ca0fee7e di: add protection for odd width
PD#163274: di: enable protection for odd width

enable odd protection patch mask by g12a bringup

Change-Id: I74793acc664981c23c3bbf2f8e892c8b4c8d8b84
Signed-off-by: kele bai <kele.bai@amlogic.com>
2018-04-11 22:51:57 -08:00
Nian Jing
618d9ba48e avin: dynamic en/disable avdetect for compatibility
PD#161632: dynamic en/disable avdetect for compatibility

Change-Id: Icb3038323292ca246c5aaac499b58c75a89c2ec1
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-04-11 22:28:21 -08:00
yicheng shen
1a9fd1c3a4 PD#162660: hdmirx: enable hdcp22 related clk when resume
fix the issue "black screen after resume".

Change-Id: I654a6dad8347d5bd04af0faeb46fc77be184514f
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2018-04-11 18:55:02 -08:00
Kaifu Hu
1b2232f8ba hdmitx: remove NULL characters of aud_cap
PD#164062: hdmitx: remove NULL characters of aud_cap

remove NULL characters of aud_cap.

Change-Id: Ie82de9879071d87c204058e7b81498fe72eb3a19
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-04-11 18:33:54 -08:00
wenfeng.guo
7119d31089 amvecm: serial print unexpected information
PD#163944: amvecm: serial print unexpected information

Change-Id: Ia18adf8426e25a1a960609df2d25c76f8adf5690
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
2018-04-11 05:06:18 -08:00
Yi Zhou
24211bf098 hdmitx: use bt2020 in aviinfo on dv LL mode
PD#163981: hdmitx: use bt2020 in aviinfo on dv LL mode

1.add bt2020 in aviinfo
2.porting PD151662 to kernel4.9
3.use system 422 mode

Change-Id: Ia4cd60c02e6fc02eef001d296ca20b504f1f3e2a
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-04-10 22:15:26 -08:00
Jianxin Qin
f09ebd4568 usb: phy3: USB3.0 PHY Tuning for S905
PD#163833: usb: phy3: USB3.0 PHY Tuning for S905

As the weak compatibility of USB 3.0 interface, we set some proper
values to the Parameter controls of USB3.0 PHY.

Change-Id: Icdaf4d3620f25f98f72eb9ddc7738bcc4328ded7
Signed-off-by: Jianxin Qin <jianxin.qin@amlogic.com>
2018-04-10 17:54:29 -08:00
Brian Zhu
428e770673 vpp: increase the vskip count to 8 for scale down
PD#163431: vpp: increase the vskip count to 8 for scale down

Change-Id: I2022a031a95c0598ad31276e7a2aebd5ba2a977c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-04-10 00:54:27 -08:00