Commit Graph

648619 Commits

Author SHA1 Message Date
Zongdong Jiao
1349f12a7b hdmitx: sync hdmi_audio uevent to hdmi hpd
Change-Id: I39512030f058ab9c72ee4c779f3b692898440271
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-05-07 16:00:39 +09:00
Zhuo Wang
2798919bd8 ethernet: handle tx timeout
PD# 169839

After do suspend/resume circularly, sometimes ethernet can't recover from
suspend. Add a phy reset when every resume.

Change-Id: Id03223a9c62f4dcab1cdfbc4805cc3b4c0212cf5
Signed-off-by: Shen Liu <shen.liu@amlogic.com>
2019-05-07 16:00:39 +09:00
Shuai Li
62fadf6f52 audio: fix samesource clk after play DDP [1/1]
PD#SWPL-4331

Problem:
Same source clk doesn't recover to 48K
after playback 192k DDP stream.

Solution:
Add ways to recover the clk.

Verify:
Local verified

Change-Id: If410d9ca04446c35bafebe2913b01e19b5fee224
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-05-07 16:00:39 +09:00
Shuai Li
4f69f92585 audio: audio glitch at tdm startup [1/1]
PD#SWPL-5219

Problem:
audio glitch at tdm startup

Solution:
Pad 0 data to clear the remaining data
in the module.

Verify:
Local tested.

Change-Id: Iab526c6893a32030799567b57e05e7bb11b8fea0
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-05-07 16:00:39 +09:00
Yingwei Long
3d0d1e1af4 tsync: do not operate tsync_mode_switch before first video toggled [1/1]
PD#SWPL-5131

Problem:
Some stream in tunnel mode, first audio pts is large than
AV_DISCONTINUE_THREDHOLD_MAX(60s). In audio_hw it will check pcr and
apts diff, so large difference between pcr and apts will lead sync mode
from amster to vmaster(egg:SYNC-HEVC-59FPS-DDP51)

Solution:
do not operate tsync_mode_switch before first video toggled

Verify:
verify by franklin

Change-Id: Icec2de71ea8f838146444aa3ea880f76ed8e0f13
Signed-off-by: Yingwei Long <yingwei.long@amlogic.com>
2019-05-07 16:00:39 +09:00
shuanglong.wang
10481a1b83 video: set vpp super_scaler default to 0 [1/1]
PD#SWPL-5113

Problem:
video flash when resolution change from 4K to 640x480

Solution:
temporary solution for video flash for u212

Verify:
verify by u212

Change-Id: I8b7ec009bf599032c7bff5f80b72b557403355da
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
2019-05-07 16:00:39 +09:00
Yi Zhou
9e26b66f43 hdmitx: eliminate the work of sdr effect when choosing hdr [1/1]
PD#SWPL-4079

Problem:
hdr->sdr must have 1.5s delay, when switching from sdr->hdr
the work queue can't be eliminated in time.

Solution:
eliminate the work of sdr effect when choosing hdr

Verify:
u212

Change-Id: I4c1d5467a58253ffa2fa12dfbac7f504d0388a00
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-05-07 16:00:39 +09:00
Kevin Kim
f910f56760 ODROID-COMMON:Modified PWM pinctrl
Change-Id: I951fd8481328149e64536cbf2a02e51d47b36acd
(cherry picked from commit d32317a627)
2019-05-02 10:55:37 +09:00
Luke Go
dd1560c737 ODROID_N2: Add GPIO-KEYS Drivers
Pin Number  | Net Name
11          | GPIOX.3
13          | GPIOX.4
15          | GPIOX.7
19          | GPIOX.8

Change-Id: I14ab93ef168a60afa65b281dfc1a05f4de1d6d5f
s922_9.0.0_20190425
2019-04-23 14:16:09 +09:00
Chris KIM
1456ea3ecd ODROID-N2 Add some USB Serial Converter drivers.
CP210X
FTDI_SIO

Change-Id: Ib09f82c44163fd20622d268d909f42b92325b7de
2019-04-22 09:34:42 +09:00
Chris KIM
9ca8db23c6 ODROID-N2 : HDMI-PHY suspend option added.
Change-Id: I9f9c0a305bbddcdd238500b37bd70125a4b829fd
s922_9.0.0_20190418 s922_9.0.0_20190404
2019-04-03 17:51:37 +09:00
Kevin Kim
41019f9a67 ODROID-N2:phy/realtek:Wake On Lan err fix.
On Linux PC)
sudo apt install wakeonlan
wakeonlan MAC-Address

Change-Id: Ia6f4917b3b54a19d0aff33c860c8cefa3e9c2c84
2019-04-03 16:00:44 +09:00
Chris KIM
3d08249028 Revert "Revert "ODROID-COMMON: media/vout: no use of 'vout=' for display resolution""
This reverts commit 31b5cfb6d7.

Change-Id: Id3caa0ec9d7cf5a2e72f660d48f56aeb2a37de71
2019-04-01 15:16:24 +09:00
Joy Cho
e3055d4b88 media: rc: Add lirc helper to support user remote wakeup
- set user remote wakeup key
- set ir decode protocol for wakeup

Change-Id: If083545f64d4e0b9c30bed89ce4bc9ecd37ea8ac
s922_9.0.0_20190320 s922_9.0.0_20190319
2019-03-19 10:48:47 +09:00
Chris KIM
31b5cfb6d7 Revert "ODROID-COMMON: media/vout: no use of 'vout=' for display resolution"
This reverts commit 0665994b208cce865e0fde3e7da201694e421320.

Change-Id: I6ffe41a6acbdc38a738b9658bebced31de5e45bb
2019-03-15 12:21:02 +09:00
Dongjin Kim
fdbe8aafb4 Merge "remote: Add a setup of user remote wakeup decode type" into odroidn2-4.9.y-android 2019-03-14 16:31:37 +09:00
Dongjin Kim
8a6446fa7a ODROID-N2: phy/realtek: add to support Wake On Lan enable
Adding new kernel command line "enable_wol=<1|0>" will configure the WOL
features on next power off.

Change-Id: I4830aeb1651e90d4699887199000def1163fb6db
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 22d698f4d2)
2019-03-14 15:37:07 +09:00
Joy Cho
e6c52c1843 remote: Add a setup of user remote wakeup decode type
Change-Id: Ib7bb759dfec67433b596ed64997f6894d1c7ec27
2019-03-14 10:06:40 +09:00
Chris KIM
d6c634e62f ODROID-N2: Add CONFIG_NLS_UTF8 as builtin.
Change-Id: I4b5e908ad8731ac4a14c4bda5a964e1ebd39ed54
2019-03-13 14:38:24 +09:00
Chris Kim
c1a84082ec Merge "ODROID-N2: config: enable 'CONFIG_CIFS'" into odroidn2-4.9.y-android 2019-03-13 14:29:00 +09:00
Chris Kim
f7069d049a Merge "ODROID-N2: config: refactoring kernel config" into odroidn2-4.9.y-android 2019-03-13 14:28:50 +09:00
Chris Kim
88e3d0d0fe Merge "osd/fb: set default color format for Linux" into odroidn2-4.9.y-android 2019-03-13 14:28:21 +09:00
Dongjin Kim
07c8e20d35 ODROID-N2: config: enable 'CONFIG_CIFS'
Change-Id: I76341cb0e545a7172ecdeb935525d57806339557
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-03-13 01:42:43 +09:00
Dongjin Kim
792a9d9f17 ODROID-N2: config: refactoring kernel config
Change-Id: I15869ea1122c32ed9710b58548ddead60aab1e83
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-03-13 01:42:17 +09:00
Dongjin Kim
d51cab54d9 ODROID-C3/N2: remove unsupported feature 'MEDIA_ENHANCEMENT_DOLBYVISION'
Change-Id: I8674837de099f3653d7b101c47cae012273fc8d1
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-03-12 18:43:11 +09:00
Dongjin Kim
fd7ffbed67 Merge "ODROID-COMMON: media/vout: add new kernel param 'cvbscable='" into odroidn2-4.9.y-android 2019-03-12 14:41:13 +09:00
Dongjin Kim
22b18be8c3 Merge "ODROID-COMMON: media/vout: no use of 'vout=' for display resolution" into odroidn2-4.9.y-android 2019-03-12 14:40:59 +09:00
Dongjin Kim
55f4b663a6 Merge "Revert "ODROID-N2: vout: fix default display init option"" into odroidn2-4.9.y-android 2019-03-12 14:40:45 +09:00
Chris KIM
f21f3382b7 ODROID-N2: Add AMLOGIC_GPIO_KEY feature.
Change-Id: I50a10a27d55a961082fda0763bab2bd94dea4157
2019-03-12 11:19:43 +09:00
Joy Cho
1613f8fa23 ODROID-N2: keyboard: add gpio power key that is set from boot.ini
Change-Id: Ic3a6152bcedf21e8600993e70394a1b894c1d212
2019-03-12 10:22:57 +09:00
Dongjin Kim
fd5b3c8c35 ODROID-COMMON: media/vout: add new kernel param 'cvbscable='
This patch is to indicate when CVBS cable is connected or not, '1' as the cable
is attached and '0' otherwise. Currently CVBS cable only can be detected by
U-boot since the detection signal can be read by ADC.

Change-Id: I8fdff0cf0a2cf2bb2a94b296a1e2e5946864513d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 781aec7eee)
2019-03-08 13:08:08 +09:00
Dongjin Kim
aa999abb07 ODROID-COMMON: media/vout: no use of 'vout=' for display resolution
This patch is to disable kernel param 'vout=' completely and the set display
resolution with the given by 'hdmimode=' or 'cvbsmode' according to the cable
status. Since we are assuming that HDMI display is priority display device,
no matter CVBS cable is attached or HDMI cable is attached we select HDMI.

Change-Id: I76b611a4f97e4eda488232d46bbb97c9a990aa6c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-03-08 13:03:03 +09:00
Dongjin Kim
20bf25501e Revert "ODROID-N2: vout: fix default display init option"
This reverts commit 6a632040eb.

Change-Id: I7e2a668320c0bb86e4821921482ca5dab4e041f6
(cherry picked from commit b2cbc17de9)
2019-03-08 12:56:16 +09:00
Chris Kim
9e3ad1f787 Merge "ODROID-N2: audo i2s mclk set to continuous clock" into odroidn2-4.9.y-android s922_9.0.0_20190308 2019-03-08 11:04:18 +09:00
Chris KIM
43ea608c0e ODROID-N2: audo i2s mclk set to continuous clock
Change-Id: Ifd50d5b1002a1b65af68081972fe4adfc005d11e
2019-03-08 11:05:12 +09:00
Chris KIM
de348240d3 ODROID-N2: Remove CONFIG_AMLOGIC_BACKLIGHT features.
Change-Id: I95a58b780f6a7443303dadb6325295de300d2c6c
2019-03-08 11:02:11 +09:00
Chris KIM
d161dcf9f7 ODROID-N2: Remove CONFIG_AMLOGIC_LCD features.
Change-Id: I6f47a10155860146f70dd977f383608da07936b0
2019-03-08 11:02:10 +09:00
Chris KIM
8fbde42eec ODROID-N2: Add the PCF8563 RTC as builtin.
Change-Id: I99b76076162f22c26c204a7a2813e8a11c5f878b
2019-03-07 13:29:35 +09:00
Chris KIM
d2d43c22ce Revert "[TESTING] ODROID-N2: Fix 4K UI."
This reverts commit d97a43bda3.

Change-Id: I9aa196fa75e695a4f1729a62e3ea577ecb08ef49
2019-03-06 14:52:38 +09:00
Chris KIM
da04db7a46 Merge branch 'odroidn2-4.9.y-android-upstream' of ssh://git.linuxfactory.or.kr:29418/linux into odroidn2-4.9.y-android-upstream 2019-03-06 13:53:10 +09:00
Luke Go
f13b274fdb arm64/dtbs: Remove g12a_s905d2_u200 to avoid err.
Change-Id: Ide733986c2bc1dd19f7da60403da093797d172f9
2019-03-06 09:53:58 +09:00
Chris KIM
7518f56389 ODROID-N2: Change gpiomem feature by builtin.
Change-Id: I30db5332c2356e4407cb835edbd2868a940ca825
2019-03-06 09:22:32 +09:00
Chris KIM
d97a43bda3 [TESTING] ODROID-N2: Fix 4K UI.
Change-Id: I500d4b095ff2f0d66bd84336177ad91b45a5b5c9
2019-03-05 15:24:25 +09:00
Dongjin Kim
0e689ef42e ODROID-COMMON: usb3: do not reset USB hub on boot
Change-Id: I167f44ff20e35be30851e81cdd180afb5d093d29
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 3fd41551e8)
2019-02-28 18:18:37 +09:00
Dongjin Kim
32d338926c ODROID-COMMON: rtl8211: Link/Active LED configuration
* Green - 100Mbps
  * Amber - 1000Mbps

Change-Id: Idc60ac29b5ddab39153a04564a6bb76d0ec02c17
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit e0c47aefdd)
2019-02-28 11:48:54 +09:00
Cheng Tong
ac0a0ae02f dts: g12a: add clk_81 to enable demux pcr [1/1]
PD#SWPL-4469

Problem:
dolby files have no sounds after replay

Solution:
in u212, the clk_81 is null when init, it is related
to demux pcr, so add clk_81 to enable demux pcr

Verify:
verify by franklin

Change-Id: Id862e4e8ac49c19bbd52fa6fa4831de20abad6c8
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
2019-02-27 04:30:28 +09:00
Guosong Zhou
87abf5f105 isp: config temper buffer size in dts [1/2]
PD#SWPL-4177

Problem:
temper buffer size is a fixed value in code

Solution:
config temper buffer size from dts

Verify:
verify by w400

Change-Id: I17ef428221f149a888e0318bc27d7b7d309c00ce
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
2019-02-27 04:30:28 +09:00
Guosong Zhou
48b683dbf8 camera: support the dvp camera [1/1]
PD#SWPL-2133

Problem:
don't support dvp camera

Solution:
add dvp camera driver

Verify:
verify by u200

Change-Id: I8517913e0c3724247b396e8d054d6a4541a1993a
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
2019-02-27 04:30:28 +09:00
Guosong Zhou
340349c245 camera: add dvp camera [1/1]
PD#OTT-1204

Problem:
don't support dvp camera

Solution:
add dvp camera gc2145 camera driver

Verify:
test pass on U200

Change-Id: I5927d49a93952587af7bb460a5c405293d692153
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-02-27 04:30:28 +09:00
shuanglong.wang
15b29c9e38 video: video peek do not post video start event [1/1]
PD#SWPL-4317

Problem:
for video peek, before audio post audio start, video may have rended.

Solution:
do not post video start for video peek, all wait for audio start to
start pcr

Verify:
verify by p212

Change-Id: If5656154e30613164465f84c44d3fd1ee386d654
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
2019-02-27 04:30:28 +09:00