Commit Graph

649272 Commits

Author SHA1 Message Date
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
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
voodik
c310629568 ODROID-N2: keyboard: fix gpio power key.
Change-Id: I701f3e2a619a856da00e1ca9c967e9360ebd224d
2020-04-25 07:11:49 +08:00
Joy Cho
627d14e04b hdmitx: custombuilt: consider hdmi pll output under 1GHz
Change-Id: I3730ad2d4c9e914c28f8d2e57da93561a72abe47
(cherry picked from commit 19e6b2b3a0)
2020-04-22 17:42:27 +09:00
Chris
9d05cc513b Merge "ODROID-C4/N2: customize cpufreq/cooling for ODROID-N2" into odroidg12-4.9.y-android 2020-04-21 18:53:05 +09:00
Chris
509e647c7c Merge "ODROID: Add multitouch v/pid." into odroidg12-4.9.y-android 2020-04-21 14:18:12 +09:00
Chris KIM
9fd3ae7394 ODROID: Add multitouch v/pid.
/* CROSSOVER HDMI capacitive Screen */
 #define USB_VENDOR_ID_CROSSOVER^I0x056A
 #define USB_DEVICE_ID_133TF3_DEX^I0x509D

Change-Id: I96ac41ab25a62a5e18d194a485be9d11c3798882
2020-04-21 13:45:19 +09:00
Luke Go
952228819a ODROID-C4: arm64/dts: set i2c3 to enalbe by default
Change-Id: Icd1ffe18066d29862957ca88c7bf58b63a76a513
2020-04-16 14:57:04 +09:00
Kevin Kim
e3a33cb494 ODROID-N2/C4: Amlogic i2c master pinctrl for odroid.
Change-Id: I3a1a931769104de99f87e013a0e488304fdf2c38
2020-04-16 14:50:33 +09:00
Hyeonki Hong
de0b2fd890 ODROID-C4: arm64/dts: set spicc0 and i2c2 to enalbe by default
Change-Id: I08225fdb27743bd8195d50967b61867bf67ef937
2020-04-16 09:54:47 +09:00
Deokgyu Yang
957ec2fd77 ODROID-C4: arm64/dts: Add sx865x node into i2c2 for HK 3.5 touchscreen
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iff2fe9294dc8614e9fef5877c2b989f0ad367a33
2020-04-16 09:54:09 +09:00
Deokgyu Yang
f83cc9ffcb ODROID-C4: arm64/dts: Add i2c2 and pcf8563 nodes to support HK RTC shield
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iac7b4f67e369ad5ac97f5a09095dd891de6c132a
2020-04-16 09:54:03 +09:00
Deokgyu Yang
813e0ec0d4 ODROID-C4: arm64/dts: Add hktft32 node to support HK 3.2 inch touchscreen shield
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ide22f905ac50efcfaa6756dc8bb922ff84bfa62e
2020-04-16 09:52:32 +09:00
Hyeonki Hong
4abbbf2bfd ODROID-COMMON: arm64/dts: modify i2c alias bus number
Change-Id: I57a7d4b1ed78f86fbb7e4512fcabe9c008d89063
(cherry picked from commit 5125046c2b)
2020-04-16 09:37:12 +09:00
Deokgyu Yang
3d56abeca3 ODROID-COMMON: scripts: Add dtco target for better handling DT overlay
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I67277f745dc292b53fead0e476969344dcb0d427
(cherry picked from commit 8335f10cb9)
(cherry picked from commit b75394739a)
2020-04-14 12:01:08 +09:00
Luke go
e5146dc90d Merge "ODROID-COMMON: arm64/dts: set uart_a cts/rts to disable" into odroidg12-4.9.y-android g12_9.0.0_20200413 2020-04-13 18:00:07 +09:00
Luke Go
30bb84b34f ODROID-COMMON: arm64/dts: set uart_a cts/rts to disable
Change-Id: I545a2c9e239af1eb2ccaa3f163f8f752b3d33f11
2020-04-13 17:59:45 +09:00
Chris KIM
a8fa6ed229 ODROID-N2: Fix output LINE-OUT for N2.
Change-Id: Ibdfc0aeb1fed0214c53375bff868fa1d99fbfdd5
2020-04-13 17:12:54 +09:00
femto
3158fbbc66 odroid-n2:Add soundcard device for i2s connector(J7).
Change-Id: I4df697346d1800570b460da92392187c0c1f3f11
Signed-off-by: femto <ckkim@hardkernel.com>
2020-04-13 14:52:57 +09:00
Chris KIM
c382f5eba7 ODROID: Add pl2303 driver as module
Change-Id: If1a0d18aecd3005bd091e5393333594195ee42bf
2020-04-07 12:18:05 +09:00
Luke Go
e09d9bd773 ODROID-COMMON: device-tree refactor
This patch is to define a common dtsi for ODROID boards, sm1 APs.

Change-Id: Id9f5ee8c96b2687e1205e2cb8898b9f934ef3f41
g12_9.0.0_64_master
2020-04-01 17:23:02 +09:00
Dongjin Kim
c7b83de2df ODROID-C4/N2: customize cpufreq/cooling for ODROID-N2
ODROID-N2 has two cpufreq clusters while ODROID-C4 has one. This patch is
to manage the cpufreq for the different CPU cluster setup while a board is
running instead of buildtime.

Change-Id: I53d8208f5f53d0e83dbe08c9d24123e64cc1e24f
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2020-03-31 14:34:59 +09:00
Kevin Kim
df0d74dabf ODROID-COMMON:Spicc driver pinctrl for odroid
Change-Id: I0560900a68861592d1717b5421ef0b8324fcbc76
2020-03-31 14:26:46 +09:00
Dongjin Kim
54a70b10eb ODROID-COMMON: cpufreq: Add 'max_freq_a55=' for ODROID-C4
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ibdb7045d980a44358113881d5579ce20945e89da
g12_9.0.0_64_20200401
2020-03-31 14:26:07 +09:00
femto
0fba946b06 ODROID-C4:dvfs: update cpufreq table for sm1 corner
commit dd7ed22b58cb33eeda076040122f5753feb05175
Author: Hong Guo <hong.guo@amlogic.com>
Date:   Thu Aug 15 14:32:00 2019 +0800

    dvfs: update cpufreq table for sm1 corner [1/1]

    PD#SWPL-13264

    Problem:
    update cpufreq table for sm1 corner

    Solution:
    update cpufreq table for sm1 corner

    Verify:
    test pass on sm1_ac200

    Change-Id: Iba08ceb00dc00994e1c383090d6ff5d9dfb91ce3
    Signed-off-by: Hong Guo <hong.guo@amlogic.com>
    Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>

Change-Id: I67a4c2c132482f954e31efb210d0a1c986cd9a67
2020-03-31 14:25:53 +09:00
femto
fa68314339 ODROID-C4:thermal: modify ipa parameter for sm1
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: I350290422fa2e0daa9409a5faeb6320b79e1039b

commit 82745e4bce
Author: Huan Biao <huan.biao@amlogic.com>
Date:   Wed Apr 17 14:57:58 2019 +0800

    thermal: modify ipa parameter for sm1 [1/1]

    PD#SWPL-7322

    Problem:
    sm1 ipa parameter not match soc power data

    Solution:
    update sm1 ipa dts parameter

    Verify:
    AC200

    Change-Id: Ib636d5c4853d53cf6bafad9b5266e2b13dd7e85c
    Signed-off-by: Huan Biao <huan.biao@amlogic.com>

Change-Id: I0e865a19ad4288f54f513e7e84d2ccf0962edf05
2020-03-31 14:25:10 +09:00
Luke Go
58e328773b ODROID-C4: arm64/dts: fix SPI cs_1 pin after H/W (rev.0.4)
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: Icf46202de22792e8c3bd21cbb8ec43c6c69758db
2020-03-31 13:42:14 +09:00
femto
81f5984485 ODROID-C4: Enable spicc for rev_0.4
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: I297dc577f7091f796dfd80cbf6be78baf1ae79ca
2020-03-27 18:03:29 +09:00
Dongjin Kim
bccd94ec32 ODROID-COMMON: refactoring board macro functions
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Icf0266d5123a649b9707650faeb04953b34bacc4
2020-03-26 17:12:19 +09:00