Commit Graph

647878 Commits

Author SHA1 Message Date
jinrong.liao
a4625c4ac3 input: add touch sensor driver.
PD#172287: this commit changes mainly for GVA

1) add sensor cy8c4014 driver.

Change-Id: Ic1ed6cf2a42e2286e4860946d89091a3dd524ef8
Signed-off-by: jinrong.liao <jinrong.liao@amlogic.com>
2018-08-30 20:40:01 +08:00
jinrong.liao
5c89dd620f platform: modify partition for s420/s400 platform
PD#172285: this commit changes mainly for GVA

1) modify partition for s420/s400 platform.
2) new dts for GVA platform.

Change-Id: If7861004b2c5aa79136282b0db2fa28aedce599e
Signed-off-by: jinrong.liao <jinrong.liao@amlogic.com>
2018-08-30 20:10:54 +08:00
Nan Li
e5be9040cb emmc: optimize emmc TDMA config on g12a.
PD#172626: add emmc TDMA config set on match-data.

Change-Id: I1efc93dc1ab437f9f0e383cb545b78947e1997a4
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-08-30 02:44:18 -07:00
MingLiang Dong
6663d58efd hdr: fix hdr gamut convert support 32/64bit
PD#172813: hdr: fix hdr gamut convert support 32/64bit

Change-Id: Iab330be778920c2d5322d4f29b5673266f065e6f
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2018-08-29 23:06:03 -07:00
Xingyu Chen
158b22ed7e saradc/adc_keypad: add shutdown interface
PD#172019: saradc/adc_keypad: add shutdown interface

Change-Id: I5345e9f85e88ebd44156de3f00790f798327ddf3
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-08-29 23:01:41 -07:00
MingLiang Dong
d7299a9fa9 hdr: fix hdr color abnormal
PD#171738: hdr: fix hdr color abnormal

1. lcd send hdr flag according to panel config
2. 32bit revert

Change-Id: I6865d76e69acd504911dfa2ff30ab13e2cd8431d
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2018-08-29 19:33:23 -07:00
tao zeng
eda9b6d1ac ddr: fix coverity check for dmc monitor
PD#172256

Change-Id: Iaa80d73df756c58d59b2055a75a5ded5f0345c09
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-08-29 08:03:34 -07:00
Bencheng Jing
3f50fd6e5a amvecm: add ioctrl for sat/hue/contrast/pcmode/dnlp_en
PD#169671: amvecm: add ioctrl for sat/hue/contrast/pcmode/dnlp_en

Change-Id: Ib5257a577274561d367f29c48d464e810f1b0f91
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-08-29 07:00:55 -07:00
Jianxiong Pan
b3b7e9640b modpost: eliminate the section mismatches warning
PD#172419: found 3 section mismatches

Change-Id: I886c06b7ebd17cb463ade5bc66f82c1c09400431
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2018-08-29 06:42:42 -07:00
tao zeng
1310ef5ef2 ddr: add dmc monitor driver tool [1/2]
PD#172256

1. Add dts config for dmc monitor of each chip;
2. rename ddr_band_port_desc.c to ddr_port_desc.c, to reuse
   name description of each DMC port and chip;
3. Implement driver code for dmc monitor.

Change-Id: I645ded2af519b858118365d359b1d47fa455039c
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-08-28 23:54:02 -07:00
nengwen.chen
dc428cbf3c atv_demod: optimize atv channel scan [1/1]
PD#171265: optimize atv channel scan

Change-Id: Iea0a9adcb7fad8757368f411274d05998516535f
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-08-28 20:20:30 -07:00
Sandy Luo
db55021dab mm: decrease DEFAULT_TVP_SIZE_FOR_4K and reserved-memory
PD#166821: decrease DEFAULT_TVP_SIZE_FOR_4K and reserved-memory

Change-Id: I314d4c2e2fc6cbb2bb339c79bbcf27600adc9c69
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2018-08-28 16:39:02 +08:00
qi duan
31ee44e4b2 USB: clean the coverity errors of usb module
PD#166793: code defects in usb part

Change-Id: I196d293c9e0147c60dd493fa36f896996bafb312
Signed-off-by: qi duan <qi.duan@amlogic.com>
2018-08-27 23:07:16 -07:00
Cheng Tong
6a9b3d422c tsync: delete some frequent debug info
PD#172598: tsync delete some frequent debug info

Change-Id: Ibcb708375842f4ef1dff5ab6333387d1f3ff3b2d
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
2018-08-27 22:15:52 -07:00
Jianxin Pan
05bd5e08d0 Merge "irblaster: clean the coverity errors of blaster module" into amlogic-4.9-dev 2018-08-27 01:47:30 -07:00
Jianxin Pan
f65d8c4aa9 Revert "arm64: select HAVE_ARCH_VMAP_STACK by default [2/3]"
This reverts commit d560a7683c.

Change-Id: I4b9dc63a986afbffd81be991dc782916feb95270
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2018-08-27 01:15:42 -07:00
Yu Tu
0dd08ad04b irblaster: clean the coverity errors of blaster module
PD#166793: code defects in irblaster part

Change-Id: I3aed8bd61dfa0dfdcf68a1a43b0c82caf8dff091
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2018-08-27 00:18:56 -07:00
zhilei.wu
79cdefc1ec dv: change the pps bypass logic when dv on for 962e
PD#168736: dv: change the pps bypass logic when dv on for 962e

Change-Id: Ib9ee85f975d63e2124f87bd3e0507095ab659760
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-08-27 00:11:18 -07:00
zhilei.wu
eb03ce67e4 dv: SDR2HDR solution was moved to dovi.ko
PD#170257: dv: SDR2HDR solution was moved to dovi.ko

Change-Id: I958d7ee272389c0ed266f0d5dab3ae9ef54485b9
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-08-27 00:10:49 -07:00
zhilei.wu
57bb21f805 vpp: pixel at top/left corner has wrong color
PD#168736: vpp: pixel at top/left corner has wrong color

Change-Id: Icddce7c51d840b92cf57a6fd6a35e3e442cf1258
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-08-27 00:10:28 -07:00
zhilei.wu
0d9116fbf8 dv: send bypass_el event to dvbldec
PD#163750: dv: send bypass_el event to dvbldec

Change-Id: Ide0b29bae17a47cd1477d31b0679efba25340b5a
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-08-27 00:08:46 -07:00
Dmitry Shmidt
dd66c25ffb gpio_keypad: Fix key reporting [1/1]
PD#172258: pio_keypad: Fix key reporting [1/1]

the following issues have been fixed :
1. didn't report any keys to userspace.
2. the push down of key is reported as push up.
3. no event is reported when press key for the first time.

adjust the key event value by changing the gpio flag for
atom board, as follows:
1. the event value "0" is replaced  to "1" when push down.
2. the event value "1" is replaced  to "0" when push up.

Change-Id: Ia207506df25ea604bce4b6ae9573a981fe664061
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Tellen Yu <tellen.yu@amlogic.com>
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
2018-08-24 19:57:26 +08:00
Yan Wang
69bef8b709 tee: G12B: workaroud for system stability.
PD#170391

G12B GTVs version generate SErr exception when BL32/TA run on A73.
Set BL32/TA affinity to core0(A53) temporarily.

Change-Id: Ib1326914ef164f379c6920b5643b07e4e152b30e
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2018-08-24 00:53:50 -07:00
Jian Xu
d750a262d2 dts: audio: fix spdif_a share buffer with i2s
PD#160888: dts: audio: fix spdif_a share buffer with i2s

Change-Id: I61f8f69d613d7bd1d52de173a13c43ceae21b80a
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2018-08-24 10:50:54 +08:00
wenfeng.guo
411c4de652 di: remove unused txl register of dump di reg/mif
PD#171757: di: remove unused txl register of dump di reg/mif

1.add new debugfs:
	cat /sys/kernel/debug/di/dumpreg
	cat /sys/kernel/debug/di/dumpmif
2.move di_state to deinterlace_dbg

Change-Id: Ic183abd793b170519ccc20e9a546efdfd531c469
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
2018-08-23 05:11:25 -07:00
qi duan
67f8d5f6b8 ethernet: clean the coverity errors of eth module
PD#166793: code defects in eth part

Change-Id: I5e9a4bc9ff3c89a2fff8fa000d2c33dc87f2492c
Signed-off-by: qi duan <qi.duan@amlogic.com>
2018-08-23 05:10:34 -07:00
qi duan
1d4329febf UART: clean the coverity errors of UART module
PD#166793: code defects in UART part

Change-Id: Id2a379cc4d0ae7d463d835cad01be83793dba4ca
Signed-off-by: qi duan <qi.duan@amlogic.com>
2018-08-23 05:10:21 -07:00
Lianlian Zhu
b0625e9f2b audio: solve av out voltage lower issue
PD#171873

Change-Id: I2fb1e3a70b3fa71b0ec4d5f8c528fead1e5cd009
Signed-off-by: Lianlian Zhu <lianlian.zhu@amlogic.com>
2018-08-23 05:07:19 -07:00
Long Yu
d0b21e38ec emmc: fixed the timeout of flushing the cache
PD#168102: emmc: fixed the timeout of flushing the cache

Change-Id: I122ace6bd5fa7b1b74de642652a76df9dfb62873
Signed-off-by: Long Yu <long.yu@amlogic.com>
2018-08-23 04:59:53 -07:00
Zhe Wang
c56ada7799 audio: fixed frequency responds curve test fail[1/2]
PD#168797: -change hw resample filter parameters with input sr
	    in hdmiin and spdifin source

	   -optimize filter parameters

Change-Id: Ie48d55446b22b8f3dceff8be404ad52d7820f6e8
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2018-08-23 15:43:00 +08:00
Lei Yang
f9a7502cfa hdmirx: add ddc idle detection before edid filling
PD#171215: hdmirx: add ddc idle detection before edid filling

1. add ddc idle detection
2. increase hpd low wait time to 350ms

Change-Id: I59e3bc52af09b41b8567a93d595c2b52233f170a
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2018-08-22 04:22:31 -07:00
Evoke Zhang
deec7933e9 lcd: clear mute after driver reset
PD#172121: lcd: clear mute after driver reset
also update CONFIG AML_VOUT_FRAMERATE_AUTOMATION to AMLOGIC_VOUT_SERVE

Change-Id: I65309c6c3b43fabc4e95269114ad22d18d360a41
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-08-22 04:19:28 -07:00
Evoke Zhang
00d2788e18 lcd: update optical info struct name
PD#171986: lcd: update optical info struct name

Change-Id: I17b4381b7011a48491d3e127ceba8b08b7dcd197
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-08-22 03:28:41 -07:00
Nian Jing
d93babc7b7 tvafe: add Variable initialization
PD#172153: fix complie error for some GCC version

Change-Id: I0f09bf4097dfea278c63d69e789ee99b016e84b2
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-08-22 03:24:52 -07:00
zhiqiang.liang
7e9d8d9416 thermal: clean the coverity errors of thermal module
PD#166793: code defects in thermal part

Change-Id: Icd970eced2ed3bcd76a8baf15bf7b885d63d8d6a
Signed-off-by: zhiqiang.liang <zhiqiang.liang@amlogic.com>
2018-08-21 04:38:04 -07:00
zhiqiang.liang
f986c58443 Clk: clean the coverity errors of clk module
PD#166793: code defects in clk part

Change-Id: Iee2753552c6f345ea78329833415e607b141d188
Signed-off-by: zhiqiang.liang <zhiqiang.liang@amlogic.com>
2018-08-21 04:37:06 -07:00
Evoke Zhang
f713602c15 lcd: lcd_extern: add two i2c address support
PD#169249: lcd: lcd_extern: add two i2c address support

Change-Id: Ic67304cd32768f5800b3702c57527e152bb71916
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-08-21 04:29:28 -07:00
Evoke Zhang
ffae196978 lcd: add auto test for panel color bar
PD#169249: lcd: add auto test for panel color bar
also add gp0_pll clktree for clk_path 1 used

Change-Id: I78d1e42e68bfb8f294247053fdae4bb09fc3077a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-08-21 04:28:56 -07:00
tao zeng
56df553537 mm: reduce codec cma pool size for 1GB platform [3/3]
PD#171358

Memory will allocation fail for driver and kernel on 1GB platform
sometimes. But meminfo show that there are many free CMA pages,
which can't be used by kernel and driver. High percentage of CMA
pages reducec memory space for unmovable pages. We need to reduce
cma pool size for small memory platform.

Change-Id: I671d68f54209e7d557b6e33e2100af0ff4da2073
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-08-21 04:16:24 -07:00
tao zeng
d560a7683c arm64: select HAVE_ARCH_VMAP_STACK by default [2/3]
PD#171358

On arm64, task stack is 16KB and need order 2 when create a task.
It's easy get a failed allocation result if memory is fragmentation
after long time of using. Using vmap to allocate task stack can help
to avoid this problem.

Change-Id: I3a8a3fbf626eb30e0e547ed0605be02bb3391e5a
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-08-21 04:15:47 -07:00
Hang Cheng
752b2765ca hdmirx: add feature of disable specific port
PD#162498: hdmirx: add feature of disable specific port

1.disable termination and hpd of specific port to avoid
interference to adjacent non-hdmi source
2.use dts to control this feature, disable feature by default
3.side effect: cec function of disabled port will not work

Change-Id: Ie52b187185277ee4e900b4de6db1da0da65bb1b9
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2018-08-21 00:27:33 -07:00
Yong Qin
67f70cd542 hdmi: pkt: pktfifo not work after switch src
PD#172097: hdmi: pktfifo not work after switch src

	1.pktinfo not work when exit hdmi source and re-enter
		hdmi source.

Change-Id: I51f08529f38e93158e5c52a686472c5c3577e66b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-08-21 11:26:58 +08:00
xiaoliang.wang
f0d2c7cabe input: gpio_key: add some missing code [1/1]
PD#171750: google b/112555582

add some missing code for send keyevent

Change-Id: I2586a0cd163c02b483657ade4e1a998d54f379d8
Signed-off-by: Shuide Chen <shuide.chen@amlogic.com>
Signed-off-by: xiaoliang.wang <xiaoliang.wang@amlogic.com>
2018-08-20 00:48:59 -07:00
Shunzhou Jiang
c4f9d4db05 clk: mpll: fix audio not sound issue
PD#170386: clk: fix audio not sound

Change-Id: I0396c6e2447162995964914fa7adb9f35ff651f0
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2018-08-19 20:01:26 -07:00
Zhi Zhou
54e7d90d87 VIDEO_PTS: don't used the hardware register
PD#169889: don't used harware vpts/apts for avsync.

	becuase this apts/vpts is hardware irrelevant.
	so if we need this register, we need power on
	the parser,but it is irrelevant in ATV/hdmi-in
	mode.

Change-Id: I4bd218c228516c974027b61c3a094b536913312e
Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>
2018-08-19 19:20:49 -07:00
Yonghui Yu
9f010c5760 init: wait emmc ready before root
PD#171658: init: wait emmc ready before root

A temporary ugly patch

Change-Id: I9a75fabf7460f92b0b9ae51992ac0d3c964798d2
Signed-off-by: Yonghui Yu <yonghui.yu@amlogic.com>
2018-08-19 19:12:34 -07:00
tao zeng
27a98f5778 ramdump: fix type error for status of watch dog node [1/1]
PD#165764

Change-Id: Ib3a92525eedeedaa7a451214279d526bb3daa71a
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-08-17 14:36:54 +08:00
Yong Qin
536d2fb891 hdmi: cec: switch hdmi port cec not work
PD#171014: cec: hdmi source cec not work

Change-Id: I2198eb4f9bc17f9909b9d693b4f12945240a7239
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-08-16 03:59:49 -07:00
frank zhao
a99994c0b1 di: fix compile error when disable di
PD#171633: di: fix compile error when disable di

Change-Id: Ib7ff39d05b8575fc5094494611d698e81f470644
Signed-off-by: frank zhao <frank.zhao@amlogic.com>
2018-08-16 03:44:29 -07:00
jintao xu
73f41dc4e2 video: add hdr metadata and color aspects support
PD#167533

add hdr metadata and color aspects support
fix cts below test cases:
android.media.cts.DecoderTest#testH265HDR10StaticMetadata
android.media.cts.DecoderTest#testH264ColorAspects
android.media.cts.DecoderTest#testH265ColorAspects
android.media.cts.DecoderTest#testMPEG2ColorAspectsTV

Change-Id: I7a7f3b3d7ec1079c4b4094e3c6b9a14c5fe9d791
Signed-off-by: peter wang <peter.wang@amlogic.com>
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2018-08-16 01:02:40 -07:00