Commit Graph

649299 Commits

Author SHA1 Message Date
Chris
91304b265a Merge "usb: usb C port bad recognition rate more than 3%. [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:45:02 +09:00
Chris
58e7ec04c3 Merge "display: add force output mode feature [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:49 +09:00
Chris
d71e2d11b4 Merge "ppmgr: fix omx freeze when reset [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:43 +09:00
Chris
d5699b2ed4 Merge "hdmitx: fix mismatch between dv_cap and dv_cap2 [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:36 +09:00
Chris
3748f8b42f Merge "hdmitx: add the real sysfs 'dv_cap2' for hdr_priority [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:27 +09:00
Chris
025d8ea1f3 Merge "avsync: Use first_vpts to init pcr when audio in invalid [1/2]" into odroidg12-4.9.y-android 2020-06-11 17:44:20 +09:00
Chris
92a91dc39c Merge "hdmitx: don't ignore hotplug out event [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:13 +09:00
Chris
9640674c0c Merge "osd: osd rdma recovery table init err [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:44:06 +09:00
Chris
50681c0161 Merge "hdr: fix non-standard hdr video type identify [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:58 +09:00
Chris
9068f84ab4 Merge "memtrack: add EGL cached mem counting on AndroidP [3/3]" into odroidg12-4.9.y-android 2020-06-11 17:43:51 +09:00
Chris
35136bd113 Merge "dts: unable to wake up lcd after sleep, lcd io is used by other mode [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:44 +09:00
Chris
5d5533e0e3 Merge "demod: optimize the loading of demod and tuner [1/3]" into odroidg12-4.9.y-android 2020-06-11 17:43:37 +09:00
Chris
0e664bce6a Merge "ppmgr: free_q len is 0 when dec reset [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:29 +09:00
Chris
813bb8a2b3 Merge "audio: don't reset spdifout in prepare [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:23 +09:00
Chris
8213383074 Merge "di: fix subtile wrong effect [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:16 +09:00
Chris
46a8ed382c Merge "hdmitx: null pointer in hdmitx_set_vsif_pkt when driver early suspend [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:09 +09:00
Chris
61b7dd1e47 Merge "hdmitx: Please add the debug info of hdmitx : hdmitx [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:43:00 +09:00
Chris
71fea9315a Merge "vpp: fix the vd1 path select error with wrong condition [1/1]" into odroidg12-4.9.y-android 2020-06-11 17:42:53 +09:00
Hyeonki Hong
900da3cb7f ODROID-COMMON: arm64/dts: modify i2c alias bus number
Change-Id: I94d1bc2f56bac1af6c7b45ab1b9bf8cbf50407c1
(cherry picked from commit 842d3137e6)
2020-06-03 13:42:13 +09:00
he.he
1bcba5d6ee usb: usb C port bad recognition rate more than 3%. [1/1]
PD#SWPL-21646

Problem:
usb C port bad recognition rate more than 3%.

Solution:
Using new PHY (that starting at TL1) parameters
that is different from the old PHY (g12a).

Verify:
test pass on tl1

Change-Id: I41885936645a90658318883b8556312814430633
Signed-off-by: he.he <he.he@amlogic.com>
2020-05-29 13:54:07 +09:00
robin.zhu
5ce04261b0 display: add force output mode feature [1/1]
PD#SWPL-21941

Problem:
Feature request:
  need convert all video format to sdr
  and output as sdr

Solution:
add force output mode feature for DV and CSC

For force output as SDR:
When policy == follow_sink(0) or force_mode(2)
echo 1 > /sys/module/am_vecm/parameters/force_output
mode:
	BT709 = 1(SDR),
	BT2020,
	BT2020_PQ(HDR10),
	BT2020_PQ_DYNAMIC(HDR10+),
	BT2020_HLG,
	BT2100_IPT(DV)

Verify:
none

Change-Id: If892be6c2a02a690fd6b8ef1a0b3e1db815c6595
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
2020-05-29 13:49:13 +09:00
jintao xu
11de5ce674 ppmgr: fix omx freeze when reset [1/1]
PD#SWPL-20851

Problem:
omx can not set omx pts after reset

Solution:
set omx pts after reset

Verify:
U212

Change-Id: I582e5696f14b50bb774e18ef8295af5b4f121501
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2020-05-29 13:48:52 +09:00
Zongdong Jiao
c6ef9b6d95 hdmitx: fix mismatch between dv_cap and dv_cap2 [1/1]
PD#SWPL-21292

Problem:
There are mismatched information between dv_cap and dv_cap2

Solution:
Fix mismatch between dv_cap and dv_cap2

Verify:
G12

Change-Id: I147e5fe65e65d362259c66ae29ee14c63440ef97
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2020-05-29 13:46:11 +09:00
Zongdong Jiao
3f3d33b8fd hdmitx: add the real sysfs 'dv_cap2' for hdr_priority [1/1]
PD#SWPL-20074

Problem:
When the variable hdr_priority is true, the original 'dv_cap'
will be masked, and systemcontrol can't get the value under
'HDR Priority/HDR10'.

Solution:
Add the sysfs 'dv_cap2' no matter what's the 'hdr_priority'.

Verify:
G12

Change-Id: Ia45e4016c1ce4fa17e5102509195afda95a20804
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2020-05-29 13:46:03 +09:00
Zhizhong Zhang
f6665c4bc3 avsync: Use first_vpts to init pcr when audio in invalid [1/2]
PD#SWPL-21670

Problem:
Play from beginning will stuck

Solution:
Use first_vpts to init pcr instead of the invalid audio pts
Merge the SWPL-18995,SWPL-20085,SWPL-21122,SWPL-21117 patch

Verify:
Verified ok on patch-build

Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
Change-Id: I1bbd3a94b0c17f104eeb67c8f8ba528f2a37fdf4
2020-05-29 13:42:40 +09:00
Hang Cheng
cb2a73acbf hdmitx: don't ignore hotplug out event [1/1]
PD#SWPL-21288

Problem:
if there's a short hpd low pulse(eg 10ms, plugout->plugin event),
the plugout event will be ignored in driver, and the subsequent plugin
event can't be handled by systemcontrol because systemcontrol can't
get the later plugin uevent when successive plugin uevent come.
But hdcp is disabled in driver, video will be mute after systemcontrol
detect hdcp auth status fail.

Solution:
don't ignore any hpd low pluse

Verify:
G12

Change-Id: I9b6a43c1f5cab5649b6dc011543f44601e96d4cb
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2020-05-29 13:41:43 +09:00
Pengcheng Chen
46dbc1ffc8 osd: osd rdma recovery table init err [1/1]
PD#SWPL-21602

Problem:
some osd rdma regs not recovery success

Solution:
osd rdma recovery table init correctly

Verify:
verify by u212, tl1

Change-Id: I77915704c007639338bfc76ffa46f1bd8839afbd
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2020-05-29 13:38:58 +09:00
MingLiang Dong
71c72b445b hdr: fix non-standard hdr video type identify [1/1]
PD#SWPL-19812

Problem:
play non-standard hdr video, color is abnormal

Solution:
because video transfer characteristic is not SPMTE2084,
process as sdr video

Verify:
verify on SM1

Change-Id: Idc2d364917bf10ac9d1fb4a32962c629e22486f0
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2020-05-29 13:29:58 +09:00
binqi zhang
a0ea4a2e66 memtrack: add EGL cached mem counting on AndroidP [3/3]
PD#SWPL-16844

Problem:
Lost ram caused by ion_page_pool_alloc

Solution:
count ion cached memory in other mtrack

Verify:
adb shell dumpsys meminfo
Confirm EGL entries

Change-Id: I43c1e7fdf9313db08e72d0ff77e4a6215d77cceb
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
2020-05-29 13:21:50 +09:00
shaochan.liu
1d10f5c5dd dts: unable to wake up lcd after sleep, lcd io is used by other mode [1/1]
PD#SWPL-16900

Problem:
unable to wake up lcd after sleep, lcd io is used by other mode

Solution:
1,disable the mode and use the io for lcd

Verify:
axg s400

Change-Id: Ib2146f62a7dc8830eb46e8f0194f478abeab7cdf
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
2020-05-29 12:27:17 +09:00
nengwen.chen
2ceac4ec08 demod: optimize the loading of demod and tuner [1/3]
PD#SWPL-20095

Problem:
1.optimize the loading of demod and tuner.

Solution:
1.optimize the loading of demod and tuner.
2.DVB uniformly calls the attach interface to load demod or tuner.
3.Demod and Tuner internal structure is independent of DVB structure.
4.All demod and tuner configuration parameters are passed on attach.

Verify:
Verified by x301 and ac214.

Change-Id: If5f485cebeadb7ec54cf5b10ef1424065c13b388
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-05-29 12:27:08 +09:00
jintao xu
866b8bd2a5 ppmgr: free_q len is 0 when dec reset [1/1]
PD#SWPL-20253

Problem:
free_q len is 0 when dec reset

Solution:
reset free_q after reg

Verify:
U212

Change-Id: Icfb5e36cb13198bece0710aeafae6f02d3d26f7d
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2020-05-29 12:26:47 +09:00
Shuai Li
579fd63a27 audio: don't reset spdifout in prepare [1/1]
PD#SWPL-17916

Problem:
Reset spdifout will cause the spdif signal
stop a while and some AVR will spend 2s
to resync the spdif clk.

Solution:
As the chip after TL1 the audio FIFO changes to async
FIFO which may bring in channel map error.
In the case 2 channel playback, don't reset spdifout.

Verify:
SM1.

Change-Id: I65dbfe63251b4fbf468fbbcfbd07b2625708c8b6
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-05-29 12:24:02 +09:00
Xihai Zhu
d306b71e93 di: fix subtile wrong effect [1/1]
PD#SWPL-15375

Problem:
subtitle weave error at the beginning

Solution:
finetune para for "di: fix pulldown 32 enter issue
from vlsi-LiuYanling [1/1]"

Verify:
tl1

Change-Id: I5929f50fd139797c25b9d4049acc9fdf04643534
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
2020-05-29 12:22:37 +09:00
Zhengrong.Zhu
e1f41e5bdc hdmitx: null pointer in hdmitx_set_vsif_pkt when driver early suspend [1/1]
PD#SWPL-19636

Problem:
null pointer in hdmitx_set_vsif_pkt when driver early suspend

Solution:
Check the pointer, if the pointer is null then use the default val.

Verify:
verify on the board of U212

Change-Id: I106ba2b72843cf1aa4ae15bcd7b1bbbda4fa6a71
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
2020-05-29 12:22:21 +09:00
Zhengrong.Zhu
88fad2b3d1 hdmitx: Please add the debug info of hdmitx : hdmitx [1/1]
PD#SWPL-19062

Problem:
Please add the debug info of hdmitx

Solution:
add the debug info of hdmitx

Verify:
verify on the board of U212

Change-Id: Ib6ce0ec6f9388e102b7d31b645a2d6d105058178
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
2020-05-29 12:14:45 +09:00
Brian Zhu
5ad1534a20 vpp: fix the vd1 path select error with wrong condition [1/1]
PD#SWPL-18249

Problem:
Using the wrong condition to select vd1 path

Solution:
Fix the wrong condition

Verify:
Verified on 905x

Change-Id: If88a8cc6e0a08eb9aaa85ebd613646a76af1d36b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2020-05-29 12:14:30 +09:00
Deokgyu Yang
512176cb85 ODROID-C4: arm64/dts: Add hktft35 node to support HK 3.5 inch touchscreen shield
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I82200d59e4a1a6b90e3fa04f176154d250202f5f
2020-05-21 14:56:09 +09:00
Dongjin Kim
4b681306ac ODROID-C4: dts/amlogic: add new device entry 'hk-lirc-helper'
Change-Id: I01436b5db20446993ae4df10c4e4523edfe9d9e8
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2020-05-21 14:29:25 +09:00
Dongjin Kim
d86084f5e8 ODROID-C4: dts/amlogic: add new devcie entry 'gpio_keypad'
Change-Id: I4a030a4f30ed0533ab621f59707d3492c4f37f6a
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2020-05-21 14:29:15 +09:00
Luke Go
3c1bb67008 ODROID-C4: arm64/dts: Add 2.1Ghz support.
Change-Id: I8e4507d9c4a4299d22ebdfe1c43e5063dadea848
Signed-off-by: Luke Go <sangch.go@gmail.com>
g12_9.0.0_20200520 g12_9.0.0_64_20200520
2020-05-20 11:55:01 +09:00
femto
6d8c308983 ODROID-COMMON: mcp251x: CAN bus driver modified to use gpio irq.
Change-Id: I2c10f197558d8c1f62e1371a7f7f510688bbedc2
Signed-off-by: femto <ckkim@hardkernel.com>
2020-05-14 14:58:05 +09:00
ckkim
27c4e88245 ODROID-COMMON:Added uSD card reset in poweroff function.
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I081293a937ff264f627db80c528295f0f886869e
(cherry picked from commit 42125fee38)
2020-05-07 11:47:57 +09:00
voodik
28c505e174 ODROID-C4: arm64/dts: Add gpio power key and lirc helper nodes
Change-Id: I3dff44cd2b2df2753ed3c926578b2a7dd9595dec
2020-05-07 11:47:57 +09:00
Chris KIM
c70391ff68 ODROID-C4: Add missing "clear-map"
Change-Id: Id50534376ff58f14e8eb0e3267fef0c40c6a65d6
2020-05-07 11:47:57 +09:00
Chris KIM
756ef4d278 ODROID-N2: Fix sd card reboot or boot fail.
Change-Id: I275890c4f05ad700c06bf2976e9ba9beca97584d
2020-05-07 11:47:57 +09:00
Chris
e4cfd80f4d Merge "ODROID: Add some features for logitect joysticks." into odroidg12-4.9.y-android 2020-04-27 15:41:36 +09:00
Chris
78d7eb55ed Merge "ODROID: Add CONFIG_INPUT_JOYDEV as builtin." into odroidg12-4.9.y-android 2020-04-27 15:40:44 +09:00
Chris KIM
5beda8457e ODROID: Add some features for logitect joysticks.
Change-Id: I875176d145e038e0f8807374d231b0f6cf138faf
2020-04-27 12:20:47 +09:00
Chris KIM
e995d5ec86 ODROID: Add CONFIG_INPUT_JOYDEV as builtin.
Change-Id: I580ef07102799cdebfcaf37e7ef6fd929e0decab
2020-04-27 11:09:25 +09:00