Commit Graph

643678 Commits

Author SHA1 Message Date
wenbiao zhang
230bfb864b dts: add g12a x2 u211 buildroot config
PD#165073: dts: add g12a x2 u211 buildroot config

Change-Id: I3e47f0b8bdd2f08add89b122edc7426651fdf5c7
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
2018-04-24 00:33:46 -07:00
nengwen.chen
cfdacfc52e atv_demod: Modify atv sys for search and optimize code.
PD#164878: Modify atv sys for search and optimize code.

Change-Id: I4ba7c6c38a742ebfe9cb8488277b0d04cf12230e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-04-24 00:32:49 -07:00
Qiufang Dai
593c187612 dts: fine-tune U211 OPP
PD#164888: fine-tune U211 OPP for stability.

Change-Id: Ib99fb68971b7593381f82051c881e5200a3af9c7
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
2018-04-23 23:57:45 -07:00
wenbiao zhang
9aa22f3e2f dts: txlx add unify key for panel ini param
PD#163711: dts: txlx add unify key for panel ini param

Change-Id: If1ee0c9ed2cc68db9c2b518aba1f019e1c67f7ec
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
2018-04-23 22:52:53 -07:00
Yi Zhou
ca55aa9059 hdmitx: fix no scdc in 4k60 under some special tv
PD#164688: hdmitx: fix no scdc in 4k60 under some special tv

Change-Id: I647400d643c80051ea4bb8e4ea38fdb35e321941
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-04-23 19:15:31 -07:00
Hang Cheng
f23af31d60 hdmirx: add pddq selection interface when suspend/resume
PD#164216: hdmirx: add pddq selection interface when suspend/resume

when suspend, set pddq down by default, use another Rxsense pulse
during resume to recovery MTK box from hdcp2.2 transaction

Change-Id: Icc574847105a00c5d441fdd589b928eaaf2acf05
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2018-04-23 02:38:11 -07:00
Zhuo Wang
ec0cdf9a14 ethernet: chage u200 default as internal phy
PD#163830: change u200 use internal phy

Change-Id: I1e60f66b8d624534a337f134c69d9256e517f766
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2018-04-23 02:20:18 -07:00
Luan Yuan
7fb4fde021 dts: add dts for p212 720p.[1/2]
PD#164268: dts: add dts for p212 720p.[1/2]

Change-Id: I3511eb72c8eb35a09875e809e06fe1c13e2506ac
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2018-04-23 02:08:03 -07:00
wenfeng.guo
7e32eee308 amvecm: add overscan iocontrol
PD#162552: amvecm: add overscan iocontrol

Change-Id: I1aa4b2469e7360029a0c647a0a1e46c73c71e7cd
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
2018-04-23 01:49:38 -07:00
Kaifu Hu
807e56fcb4 hdmitx: fix HDR compatibility
PD#161939: HDMITX: fix HDR compatibility.

Fix HDR compatibility for the samsung TV of need to
disable and enable hdmi phy when sdr to hdr.

Change-Id: I5fa648a35ff32f1d4eb544cc12ce759d4c7bcfae
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-04-23 00:51:58 -07:00
Cheng Tong
c4c38dab32 dts: p230 add dvb module
PD#163384: dts: p230 add dvb module

Change-Id: I0345718b0469218cb88a1f65aabdfe26a81f898f
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
2018-04-22 23:22:28 -07:00
Cheng Tong
67157a752c dvb: fix can't set frontend and get DTV_TS_INPUT
PD#163384: dvb: fix can't set frontend and get DTV_TS_INPUT

Change-Id: I5143aa3b653207901bbb940e6a70e66e2ac741af
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
2018-04-22 23:20:57 -07:00
Brian Zhu
031723c7bd vpp: merge the adapter pic mode function from 3.14
PD#163892: vpp: merge the adapter pic mode function from 3.14
1.PD#159260: video: add new pic_mode interface in vframe
2.PD#157527: vpp: add new display mode, custom AR and AFD

Change-Id: I8714cd434001703a3c4a5aadeb4b18498cb16dc4
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-04-22 21:25:45 -07:00
jintao xu
d0929427b4 amvideo: add video_global_output sysfs control interface
PD#163190: screen still displays the last frame after HDMI disconnect

Change-Id: Ic3b31a6af6a00a83a58d5d293a2fcab2a4369b04
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2018-04-22 20:10:54 -07:00
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