platform/kernel/linux-amlogic.git
5 years agodeinterlace: deinterlace: set post_ctrl when no mirror [1/1]
Jihong Sui [Tue, 4 Dec 2018 09:25:29 +0000 (17:25 +0800)]
deinterlace: deinterlace: set post_ctrl when no mirror [1/1]

PD#SWPL-1076

Problem:
Kplayer 4KDemo.mp4, show green screen.

Solution:
add DI_IF1_GEN_REG set when no mirror

Verify:
p212

Change-Id: I2cfb27068393832fb47498ebdb9b93349f1fe635
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
5 years agoosd: add osd log module control [2/2]
Pengcheng Chen [Wed, 5 Dec 2018 05:45:55 +0000 (13:45 +0800)]
osd: add osd log module control [2/2]

PD#SWPL-2551

Problem:
add osd log module control

Solution:
add osd log module control

Verify:
verified on P212

Change-Id: Iadbf795cb7afe4ddcab0f9283b9c7f542eca0b29
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agoosd: range of mouse is wrong under 4K mode [1/2]
Jian Cao [Wed, 5 Dec 2018 07:31:30 +0000 (15:31 +0800)]
osd: range of mouse is wrong under 4K mode [1/2]

PD#SWPL-2551

Problem:
range of mouse is wrong under 4K mode

Solution:
new cursor coordinate paras without using scale
add osd_cursor_hw_no_scale() to deal with it.

Verify:
verified on P212

Change-Id: I1748df569b96522eb58dc00af862983bca17815a
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoatv_demod: modify atv demod code [1/1]
nengwen.chen [Wed, 5 Dec 2018 05:37:41 +0000 (13:37 +0800)]
atv_demod: modify atv demod code [1/1]

PD#SWPL-2295

Problem:
1.modify atv demod code for coverity.
2.add ntsc-m ring filter for t962x2.
3.merge code optimization from android l.
4.add tuner compatible info in dts for tuner debug.

Solution:
1.modify atv demod code for coverity.
2.add ntsc-m ring filter for t962x2.
3.merge code optimization from android l.
4.add tuner compatible info in dts for tuner debug.

Verify:
verified by einstein

Change-Id: I9696aa628315ee11f0c9dd279c7cc03797f04331
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
5 years agoarm: dts: t309: add t309-panel dtsi [1/1]
Evoke Zhang [Wed, 5 Dec 2018 09:48:21 +0000 (17:48 +0800)]
arm: dts: t309: add t309-panel dtsi [1/1]

PD#SWPL-2787

Problem:
Bringup tl1 t309.

Solution:
Add device tree for t309 panel dtsi.

Verify:
t309

Change-Id: Id6caf588a60e0cda20197d8e80363b049df3a7dd
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agodts: reduce isp memory usage for buildroot [1/1]
Jiacheng Mei [Mon, 3 Dec 2018 03:24:51 +0000 (11:24 +0800)]
dts: reduce isp memory usage for buildroot [1/1]

PD#SWPL-2512

Problem:
isp reserved mem too large

Solution:
reduce isp mem to 256M

Verify:
g12b-buildroot

Change-Id: I8e18f7618a069b43fa288221bca1943d5c3ebcc2
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
5 years agoarm: dts: x301: fix backlight pwm config mistake [1/1]
Evoke Zhang [Tue, 4 Dec 2018 02:08:48 +0000 (10:08 +0800)]
arm: dts: x301: fix backlight pwm config mistake [1/1]

PD#SWPL-2799

Problem:
can't power off backlight when disable lcd

Solution:
correct backlight pwm config

Verify:
x301

Change-Id: I6b869aa14c5b93e8f1a3b39c92629d5c2df3ab0d
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoarm: dts: tl1: add device tree for t309 boards [1/1]
Bichao Zheng [Wed, 5 Dec 2018 07:44:20 +0000 (15:44 +0800)]
arm: dts: tl1: add device tree for t309 boards [1/1]

PD#SWPL-2787

Problem:
Bringup tl1 t309.

Solution:
Add device tree for t309 boards base on x301.

Verify:
test pass on x301 board

Change-Id: I98e806b63a27a5e5f2952e9f33d1ac4239827b1d
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
5 years agohdmirx: power down the phy at suspend for tl1 [1/1]
Hongmin Hua [Wed, 28 Nov 2018 06:24:16 +0000 (14:24 +0800)]
hdmirx: power down the phy at suspend for tl1 [1/1]

PD#TV-1212

Problem:
the power comsuption is too high for hdmirx

Solution:
1.power down the phy at suspend
2.power on the phy at resume

Verify:
x301

Change-Id: I8920a6b38197109d424d225c4b31f5170b56ca08
Signed-off-by: hongmin hua <hongmin.hua@amlogic.com>
5 years agolcd: mipi_dsi: update clk_post timing for dphy [1/1]
Evoke Zhang [Fri, 23 Nov 2018 13:55:44 +0000 (21:55 +0800)]
lcd: mipi_dsi: update clk_post timing for dphy [1/1]

PD#SWPL-2436

Problem:
sometime the dphy clk_post is not match spec

Solution:
update clk_post config

Verify:
w400

Change-Id: Ib6b585f833bf923e72109991509915f4ad35d316
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agohdmitx: parse colorattribute from uboot [2/2]
Zongdong Jiao [Thu, 29 Nov 2018 11:00:46 +0000 (19:00 +0800)]
hdmitx: parse colorattribute from uboot [2/2]

PD#SWPL-2181

Problem:
For some Rx, if the Tx cold boots up, the HPD can't be got in uboot.
That is to say, the output mode is CVBS in uboot, even HDMI cable is
connected. And during kernel boots up, it will reset to hdmi mode.
During the Android boots up, it will set to hdmi mode again. Twice
hdmi mode setting may cause TV flicks.

Solution:
Add parsing colorattribute from uboot and assign $attr to prevent
the second Android mode setting.

Verify:
S905X/P212

Change-Id: I665227bc3e8481acb40c34dde2f5cb3c633c64a2
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
5 years agomedia: video: fix cvbs black dot issue [1/1]
Nian Jing [Mon, 22 Oct 2018 08:36:28 +0000 (16:36 +0800)]
media: video: fix cvbs black dot issue [1/1]

PD#SWPL-1910

Problem:
Black dot on cvbsout when local play 4k

Solution:
Set limit rang when vpp output yuv for cvbs

Verify:
test pass on u200/s905x

Change-Id: Ia3e93078eb1a00d8c974bae8cc373a3a679f8b9f
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agohdmitx: add parsing for non-standard dv edid [1/1]
Yi Zhou [Mon, 26 Nov 2018 05:35:04 +0000 (13:35 +0800)]
hdmitx: add parsing for non-standard dv edid [1/1]

PD#SWPL-1968

Problem:
some error edid need to be parsed

Solution:
add parsing for non-standard dv edid

Verify:
t962e (txlx)

Change-Id: Ia952ed59650fd0b1c665ca03175a38c1cf3ae5bb
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agoarm: dts: fix wifi 32K Frequency offset [2/2]
bichao.zheng [Thu, 29 Nov 2018 12:25:10 +0000 (20:25 +0800)]
arm: dts: fix wifi 32K Frequency offset [2/2]

PD#SWPL-2623

Problem:
wifi 32K Frequency offset too large

Solution:
Modification cycle

Verify:
x301

Change-Id: I04724b0eacdffc1760b67689be373cb8f671a125
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
5 years agoaudio: codec: add tl1_acodec support for tl1 [1/1]
shuyu.li [Wed, 28 Nov 2018 11:24:14 +0000 (19:24 +0800)]
audio: codec: add tl1_acodec support for tl1 [1/1]

PD#SWPL-1759

Problem:
add tl1_acodec support

Solution:
add code, update xxx.dts and aml_codec_tl1_acodec.c

Verify:
verify by T962x2_X309 board

Change-Id: Ia91e4e0f113af3d537d1828c5c4cfabc127eac8f
Signed-off-by: shuyu.li <shuyu.li@amlogic.com>
5 years agovpp: sr: remove the vpp misc operation in sr function [1/1]
Brian Zhu [Mon, 3 Dec 2018 14:04:24 +0000 (22:04 +0800)]
vpp: sr: remove the vpp misc operation in sr function [1/1]

PD#SWPL-2613

Problem:
sr mux in vpp misc is set incorrectly.

Solution:
move the vpp misc operation together

Verify:
verify by x301

Change-Id: Ie813e5b04b97a4481c2e45bcf0c8b4c065fb9f69
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agoarm64: dts: fix wifi 32K Frequency offset [2/1]
bichao.zheng [Thu, 29 Nov 2018 12:19:57 +0000 (20:19 +0800)]
arm64: dts: fix wifi 32K Frequency offset [2/1]

PD#SWPL-2623

Problem:
wifi 32K Frequency offset too large

Solution:
Modification cycle

Verify:
axg u211 p321 r311 p212

Change-Id: Ica04bec99ba2097918387a980b94dc007bb4eca4
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
5 years agofdto: peripheral driver support dtbo [2/4]
Jianxiong Pan [Thu, 22 Nov 2018 02:59:25 +0000 (10:59 +0800)]
fdto: peripheral driver support dtbo [2/4]

PD#SWPL-2193

Problem:
Node dummy-battery and dummy-charger are android version
dependent, and should be "fdt overlayed"

Solution:
Add fdt overlay file android_p_overlay_dt.dts, and configure
dummy-battery and dummy-charger in it

Verify:
Locally on P212 and R311

Change-Id: I75a27a0ad1253556cae5273f36e0eb828291fd73
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
5 years agofdto: peripheral driver support dtbo [1/4]
jiamin ma [Thu, 22 Nov 2018 01:34:44 +0000 (09:34 +0800)]
fdto: peripheral driver support dtbo [1/4]

PD#SWPL-2193

Problem:
We cannot compile dtbo file in a way like
make ARCH=arm foo.dtbo

Solution:
Add dtbo target and reuse the dtb rules

Verify:
Locally verifed

Change-Id: I34b88e61b409defe553cf5ed1077c160b9a6f350
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
5 years agoscripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110
Rob Herring [Tue, 3 Oct 2017 16:37:04 +0000 (11:37 -0500)]
scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110

PD#SWPL-2193

This adds the following commits from upstream:

b1a60033c110 tests: Add a test for overlays syntactic sugar
737b2df39cc8 overlay: Add syntactic sugar version of overlays
497432fd2131 checks: Use proper format modifier for size_t
22a65c5331c2 dtc: Bump version to v1.4.5
c575d8059fff Add fdtoverlay to .gitignore
b6a6f9490d19 fdtoverlay: Sanity check blob size
8c1eb1526d2d pylibfdt: Use Python2 explicitly
ee3d26f6960b checks: add interrupts property check
c1e7738988f5 checks: add gpio binding properties check
b3bbac02d5e3 checks: add phandle with arg property checks
fe50bd1ecc1d fdtget: Split out cell list display into a new function
62d812308d11 README: Add a note about test_tree1.dts
5bed86aee9e8 pylibfdt: Add support for fdt_subnode_offset()
46f31b65b3b3 pylibfdt: Add support for fdt_node_offset_by_phandle()
a3ae43723687 pylibfdt: Add support for fdt_parent_offset()
a198af80344c pylibfdt: Add support for fdt_get_phandle()
b9eba92ea50f tests: Return a failure code when any tests fail
155faf6cc209 pylibfdt: Use local pylibfdt module
50e5cd07f325 pylibfdt: Add a test for use of uint32_t
ab78860f09f5 pylibfdt: Add stdint include to fix uint32_t
36f511fb1113 tests: Add stacked overlay tests on fdtoverlay
1bb00655d3e5 fdt: Allow stacked overlays phandle references
a33c2247ac8d Introduce fdt_setprop_placeholder() method
0016f8c2aa32 dtc: change default phandles to ePAPR style instead of both
e3b9a9588a35 tests: fdtoverlay unit test
42409146f2db fdtoverlay: A tool that applies overlays
aae22722fc8d manual: Document missing options
13ce6e1c2fc4 dtc: fix sprintf() format string error, again
d990b8013889 Makefile: Fix build on MSYS2 and Cygwin
51f56dedf8ea Clean up shared library compile/link options
21a2bc896e3d Suppress expected error message in fdtdump test
2a42b14d0d03 dtc: check.c fix compile error
a10cb3c818d3 Fix get_node_by_path string equality check
548aea2c436a fdtdump: Discourage use of fdtdump
c2258841a785 fdtdump: Fix over-zealous version check
9067ee4be0e6 Fix a few whitespace and style nits
e56f2b07be38 pylibfdt: Use setup.py to build the swig file
896f1c133265 pylibfdt: Use Makefile constructs to implement NO_PYTHON
90db6d9989ca pylibfdt: Allow setup.py to operate stand-alone
e20d9658cd8f Add Coverity Scan support
b04a2cf08862 pylibfdt: Fix code style in setup.py
1c5170d3a466 pylibfdt: Rename libfdt.swig to libfdt.i
580a9f6c2880 Add a libfdt function to write a property placeholder
ab15256d8d02 pylibfdt: Use the call function to simplify the Makefile
9f2e3a3a1f19 pylibfdt: Use the correct libfdt version in the module
e91c652af215 pylibfdt: Enable installation of Python module
8a892fd85d94 pylibfdt: Allow building to be disabled
741cdff85d3e .travis.yml: Add builds with and without Python library prerequisites
14c4171f4f9a pylibfdt: Use package_dir to set the package directory
89a5062ab231 pylibfdt: Use environment to pass C flags and files
4e0e0d049757 pylibfdt: Allow pkg-config to be supplied in the environment
6afd7d9688f5 Correct typo: s/pylibgfdt/pylibfdt/

Change-Id: Ib23ca90f1e34ed85db3aae9d223fc921e6f2114e
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
5 years agodeinterlace: reduce the screen flash when fast forward [1/1]
Jihong Sui [Wed, 28 Nov 2018 07:06:15 +0000 (15:06 +0800)]
deinterlace: reduce the screen flash when fast forward [1/1]

PD#SWPL-2188

Problem:
1.fast forward/rewind operation, the screen flashes

Solution:
1.add function to update MCDI_MCVECRD_CTRL[9]

Verify:
1.txl

Change-Id: I1bf8583901fa49c518cca74e7716632447adf32f
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
5 years agodts: add third thermal zone for tl1 [1/1]
yunhua wei [Fri, 30 Nov 2018 06:12:30 +0000 (14:12 +0800)]
dts: add third thermal zone for tl1 [1/1]

PD#SWPL-2608

Problem:
no third thermal zone

Solution:
add third thermal zone for tl1

Verify:
test pass on tl1_x301 and tl1_skt

Change-Id: Ic7ecc41b0866dff90ea3c3224a864160be6cdc04
Signed-off-by: Yunhua Wei <yunhua.wei@amlogic.com>
5 years agoamvecm: pq: lc: add debug interface [1/1]
Bencheng Jing [Wed, 28 Nov 2018 03:29:04 +0000 (11:29 +0800)]
amvecm: pq: lc: add debug interface  [1/1]

PD#SWPL-2583

Problem:
add debug interface

Solution:
add lc reg lut dump and write interface
add demo mode
add dump hist interface
add dump curve node interface

Verify:
x301

Change-Id: I85be40f76f252bbaa2ffc69710cc7158ed91bbc4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agolcd: update phy disable setting for tl1 [1/1]
Evoke Zhang [Wed, 28 Nov 2018 10:23:22 +0000 (18:23 +0800)]
lcd: update phy disable setting for tl1 [1/1]

PD#SWPL-2399

Problem:
Power consumption for tl1 lcd suspend need improved

Solution:
shutdown tl1 phy when lcd disable

Verify:
skt x309

Change-Id: Ibce3539c5193b1f9347ff71882bab2604666a76e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoosd: call osd_update_enable directly if osd cursor [1/1]
pengcheng chen [Mon, 3 Dec 2018 06:09:00 +0000 (14:09 +0800)]
osd: call osd_update_enable directly if osd cursor [1/1]

PD#SWPL-2744

Problem:
osd mouse can't see before platform g12a

Solution:
call osd_update_enable directly if osd cursor

Verify:
verify by p212

Change-Id: Ia8488a5bd0f707de2a02aa2b74e4a07582ef7f60
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
5 years agoclk: gxl: correct saradc clock id when check sardadc clock [1/1]
Jian Hu [Mon, 3 Dec 2018 09:05:10 +0000 (17:05 +0800)]
clk: gxl: correct saradc clock id when check sardadc clock [1/1]

PD#OTT-944

Problem:
saradc check the wrong clock id.

Solution:
correct saradc id.

Verify:
verified on P212 board

Change-Id: I7fdde80c21228e45ec165252549bf4ca5f21bd67
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
5 years agovdac: close vdac bandgap for suspend power [1/1]
Nian Jing [Thu, 29 Nov 2018 11:16:13 +0000 (19:16 +0800)]
vdac: close vdac bandgap for suspend power [1/1]

PD#SWPL-2643

Problem:
cvbsout electric current 1.97mA when suspend

Solution:
close bandgap when suspend

Verify:
verified by x301

Change-Id: I6b87ecd42b0f7876fea18c400f19ddc2d4a7665e
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agovideo: add fast and slow playback support [1/1]
Daogao Xu [Fri, 30 Nov 2018 06:30:56 +0000 (14:30 +0800)]
video: add fast and slow playback support [1/1]

PD#SWPL-1690

Problem:
YouTube requires support playback rate 0.25, 0.50, 1.00, 1.25, 1.50,
2.00

Solution:
vsync_slow_factor can be used to slow playback, extend it's value to
support fast playback

Verify:
mesongxl_p212_32_kernel49

Change-Id: I94589a210b8531cc198414b3017c3caf82827565
Signed-off-by: Daogao Xu <daogao.xu@amlogic.com>
5 years agosound: add resample node for axg_s420_v03gva.dts [1/1]
riqun.ou [Thu, 8 Nov 2018 07:47:32 +0000 (15:47 +0800)]
sound: add resample node for axg_s420_v03gva.dts [1/1]

PD#SWPL-365

Problem:
System can't use resample function on GVA project.

Solution:
Add resample node in axg_s420_v03gva.dts

Verify:
Passed on s420

Change-Id: Ie48c579e9e9f6e1d61147f5410c95e5bca55b0a7
Signed-off-by: riqun.ou <riqun.ou@amlogic.com>
5 years agovpp: fix vpp covertiy error [1/1]
wenfeng.guo [Fri, 23 Nov 2018 09:38:00 +0000 (17:38 +0800)]
vpp: fix vpp covertiy error [1/1]

PD#SWPL-2458

Problem:
vpp has covertiy error

Solution:
fix vpp covertiy error

Verify:
r311

Change-Id: Ic755420107b72fa0a56d73e288b708ab421f7609
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
5 years agodeinterlace: there's a change to hang in shutdown [1/1]
Jihong Sui [Wed, 28 Nov 2018 08:23:05 +0000 (16:23 +0800)]
deinterlace: there's a change to hang in shutdown [1/1]

PD#OTT-778

Problem:
1.kernel received reboot command, but hang in shutdown

Solution:
move tasklet_disable behind tasklet_kill

Verify:
P321

Change-Id: I994c21c5aeb42dbbb4e3b50ccac8376db4d4039d
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
5 years agodtv_demod: for dtmb no signal issue [1/1]
Zhiwei Yuan [Tue, 27 Nov 2018 09:38:34 +0000 (17:38 +0800)]
dtv_demod: for dtmb no signal issue [1/1]

PD#172587

Problem:
for dtmb no signal issue

Solution:
update status to "read status" interface

Verify:
verified by t962x2_x301

Change-Id: I6099d2dbe4dcdc23c3a4bd9e489113b26429f2ec
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
5 years agoarm: dts: tl1: enable thermal cpucore cooling devices [1/1]
Huan Biao [Thu, 29 Nov 2018 08:08:00 +0000 (16:08 +0800)]
arm: dts: tl1: enable thermal cpucore cooling devices [1/1]

PD#SWPL-2605

Problem:
tl1 no cpucore cooling devices

Solution:
add cpucore cooling devices

Verify:
tl1 skt/x301 pass

Change-Id: If6d98adf2e71b17bb6b50dd569a9a0c94a8b300d
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
5 years agoarm: dts: tl1: add clock-latency property for dvfs [1/1]
Hong Guo [Thu, 29 Nov 2018 03:12:27 +0000 (11:12 +0800)]
arm: dts: tl1: add clock-latency property for dvfs [1/1]

PD#TV-1242

Problem:
dvfs set governor failed.

Solution:
add clock-latency property for dvfs

Verify:
teset pass on x301

Change-Id: I79a4d1a23024730a08926b56ade8e2ed46934d69
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agoarm: dts: tl1: config device on portB with dts [1/1]
Ruixuan Li [Mon, 26 Nov 2018 07:16:55 +0000 (15:16 +0800)]
arm: dts: tl1: config device on portB with dts [1/1]

PD#172587

Problem:
configuration for portB in dtsi can not support
the sdcard and sdio at same time.

Solution:
move the device configuration into dts.
SKT->SDCARD
REF->SDIO

Verify:
test pass on tl1 skt and ref board

Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
Change-Id: I6d1da7a8d0d8d901c4a40a74f04973c155188ade

5 years agoosd: osd: recovey mode always blank [1/1]
Jian Cao [Fri, 30 Nov 2018 07:55:52 +0000 (15:55 +0800)]
osd: osd: recovey mode always blank [1/1]

PD#TV-1287

Problem:
recovey mode always blank

Solution:
set right condition to enable free_scale

Verify:
verified on P321 board

Change-Id: I2f70b9c5436b30156f157a3297a11a2ef1cfec67
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoosd: adjust free_scale_dst if interlaced [1/1]
pengcheng chen [Thu, 29 Nov 2018 06:00:10 +0000 (14:00 +0800)]
osd: adjust free_scale_dst if interlaced [1/1]

PD#SWPL-2600

Problem:
osd display half menu when in 1080i

Solution:
osd: adjust free_scale_dst if interlaced

Verify:
verify by p212

Change-Id: Ie9faffbb5942faa317b380ca0cdbee072a30c01f
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoosd: osd: a black line below the screen when play video [1/1]
Jian Cao [Thu, 29 Nov 2018 08:04:01 +0000 (16:04 +0800)]
osd: osd: a black line below the screen when play video [1/1]

PD#SWPL-2558

Problem:
a black horizontal line below the screen when play video

Solution:
set dummy data alpha

Verify:
verified on p321

Change-Id: I36dc924b9bc89f4f8ea61eb86c6f5bc9199e40ae
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoosd: call osd_update_enable if needed [2/2]
pengcheng chen [Thu, 29 Nov 2018 02:37:51 +0000 (10:37 +0800)]
osd: call osd_update_enable if needed [2/2]

PD#SWPL-2580

Problem:
The vd1 postblend bit in vpp misc is overwriten.

Solution:
osd: call osd_update_enable if needed

Verify:
verify by p212

Change-Id: I438848dc843ea370d65dc3c6b4befb32d1f2b5f8
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
5 years agovideo: vpp: add more check for vd1 postblend in vpp_misc [1/2]
Brian Zhu [Wed, 28 Nov 2018 15:57:40 +0000 (23:57 +0800)]
video: vpp: add more check for vd1 postblend in vpp_misc [1/2]

PD#SWPL-2580

Problem:
The vd1 postblend bit in vpp misc is overwriten.

Solution:
add more check for vd1 postblend bit in vsync

Verify:
verify by p212

Change-Id: I367e920c13764af41446d7d759aaf8388fb08722
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agolcd: update pll setting for tl1 tcon_pll performance [1/1]
Evoke Zhang [Wed, 28 Nov 2018 01:36:58 +0000 (09:36 +0800)]
lcd: update pll setting for tl1 tcon_pll performance [1/1]

PD#172587

Problem:
tcon pll performance is not good when frac enabled with old setting

Solution:
update tcon pll setting

Verify:
x301

Change-Id: Ib5deb5c643afa243876c0e4703f835e503fffc2e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoarm: dts: tl1: add adc_keypad node for tl1 [1/1]
Yingyuan Zhu [Thu, 22 Nov 2018 05:54:54 +0000 (13:54 +0800)]
arm: dts: tl1: add adc_keypad node for tl1 [1/1]

PD#172587

Problem:
adc_keypad driver is not enabled in tl1

Solution:
add adc_keypad node in dts

Verify:
test pass on x301

Change-Id: I3946297e710c5753d6f9425ec56bf6def94db941
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
5 years agoframe_sync: fix last few seconds of the DD+ stream are not smooth [4/4]
Yinming Ding [Wed, 28 Nov 2018 03:04:24 +0000 (11:04 +0800)]
frame_sync: fix last few seconds of the DD+ stream are not smooth [4/4]

PD#SWPL-714

Problem:
The last few seconds of the DD+ stream are not smooth by DTV playback.

Solution:
check the apts and vpts both discontinue,then replay the stream.

Verify:
P321

Change-Id: I6cbbdecc052dfe9fef76b44f36545b231332ee12
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
5 years agodvb: tuner: USB DVB tuner support from Google
qi duan [Tue, 20 Nov 2018 08:23:04 +0000 (16:23 +0800)]
dvb: tuner: USB DVB tuner support from Google

PD#SWPL-932

Problem:
USB DVB Dongle search program Function is not implemented

Solution:
merge usb dvb tuner from kernel3.14
http://10.8.9.5/kernel/common/commit/?h=amlogic-3.14-dev&id=7af9c5c38efdc96f5d3235f17788232a630b3d32
fixed frontend.h structures

Verify:
Ampere P

Change-Id: I16d68c2507711eda43313619d210d05699abcc25
Signed-off-by: qi duan <qi.duan@amlogic.com>
5 years agodv: fix the flickered problem [1/1]
Yi Zhou [Tue, 27 Nov 2018 02:31:16 +0000 (10:31 +0800)]
dv: fix the flickered problem [1/1]

PD#SWPL-1207

Problem:
fix the filckered problem when playing transition
video in sdr tv

Solution:
when dv core2 don't run, the reset can't be executed

Verify:
r321

Change-Id: I719325f1722589e02a40d46442258b0d1e3feb17
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agodisplay: Modify the value of register afbc_gclk_ctrl [1/1]
Peng Yixin [Fri, 12 Oct 2018 06:18:04 +0000 (14:18 +0800)]
display: Modify the value of register afbc_gclk_ctrl [1/1]

PD#SWPL-2565

Problem:
The splash screen problem for first frame after starting up.

Solution:
Modify the value of register afbc_gclk_ctrl.

Verify:
u211

Change-Id: Ie1ddfade0566ff8cd571c43ba8490a8c277a8758
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
5 years agopicdec: add mmap interface for picdec [2/2]
Guosong Zhou [Thu, 22 Nov 2018 13:33:58 +0000 (08:33 -0500)]
picdec: add mmap interface for picdec [2/2]

PD#SWPL-2280

Problem:
play picture crash

Solution:
add mmap interface for picdec

Verify:
verify by p321

Change-Id: Ib278de80035b0404884315e29fe933cd8f4b6cfe
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
5 years agodts: fix SD card read issue for g12a board [2/3]
Sandy Luo [Wed, 28 Nov 2018 07:16:57 +0000 (15:16 +0800)]
dts: fix SD card read issue for g12a board [2/3]

PD#SWPL-2588

Problem:
g12a u220/u221 boad cann't read SD card

Solution:
auto detect revA and revB chip

Verify:
test pass on u220/u221 board

Change-Id: Ia153bb3f966fe2a58d5f3ed1bf1d3f610d00ff5a
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
5 years agodts: correct ge2d irq number [1/1]
Jiacheng Mei [Mon, 26 Nov 2018 09:43:45 +0000 (17:43 +0800)]
dts: correct ge2d irq number [1/1]

PD#SWPL-2091

Problem:
ge2d timeout cause cts fail

Solution:
correct ge2d irq number to 150

Verify:
T962-P321-DDR4

Change-Id: Id84a91fdd139cc227da907d8c8106cb824d43be4
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
5 years agodts: reduce isp memory usage [1/1]
Jiacheng Mei [Mon, 26 Nov 2018 11:46:44 +0000 (19:46 +0800)]
dts: reduce isp memory usage [1/1]

PD#SWPL-2512

Problem:
isp reserved mem too large

Solution:
reduce isp mem to 256M

Verify:
A311D-W400

Change-Id: I33ee2872daf961da5f0ba4ba4810b0ac9690e45f
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
5 years agoosd: osd: screen blank after boot logo [1/1]
Jian Cao [Tue, 27 Nov 2018 06:42:57 +0000 (14:42 +0800)]
osd: osd: screen blank after boot logo [1/1]

PD#172587

Problem:
screen blank after boot logo

Solution:
correct default display information

Verify:
verified on tl1 ref board

Change-Id: I94237b5241eacee6965bfe4ea0426bb8e9f494f1
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoamvecm: fix dnlp read scurv_mid2 debug interface error [1/1]
Bencheng Jing [Fri, 23 Nov 2018 08:17:59 +0000 (16:17 +0800)]
amvecm: fix dnlp read scurv_mid2 debug interface error [1/1]

PD#SWPL-2448

Problem:
can not read dnlp scurv_mid2 value

Solution:
fix the error

Verify:
t962x_r311

Change-Id: I7a7df769dd117fd83164065f6df8e3ae82c2499f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agocec: auto shutdown case crash [1/1]
Yong Qin [Wed, 21 Nov 2018 08:00:23 +0000 (16:00 +0800)]
cec: auto shutdown case crash [1/1]

PD#SWPL-2258

Problem:
1.running autoshutdown cause device crashed

Solution:
1.optimize cec power on proble flow

Verify:
1.p212

Change-Id: Ia78c76cdb4b72a1a275628b3ad77ea6d71696d89
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agohdmitx: disable encryption hdcp1.4 fail [1/1]
Kaifu Hu [Thu, 22 Nov 2018 10:55:48 +0000 (18:55 +0800)]
hdmitx: disable encryption hdcp1.4 fail [1/1]

PD#SWPL-2302

Problem:
Play online video,half an hour later, the TV shows
a pink screen and the sound is normal.

Solution:
Check hdcp1.4 status and disable encryption when fail.

Verify:
S922X

Change-Id: I6ce51824726b267d140750f9e9d80aa8bb921cac
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
5 years agodts: add txl support of arm pmu [1/1]
Hanjie Lin [Thu, 22 Nov 2018 06:47:49 +0000 (14:47 +0800)]
dts: add txl support of arm pmu [1/1]

PD#SWPL-2096

Problem:
32bit_kernel CtsSimpleperfTestCases modules 39 fail

Solution:
txl dts is not ready
modify dts

Verify:
p321

Change-Id: Ib922ec4f4a1c421d76e1f397b321d4050fda2c84
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
5 years agodisplay: fix logo address missmatch problem [1/1]
tao zeng [Wed, 21 Nov 2018 04:42:25 +0000 (12:42 +0800)]
display: fix logo address missmatch problem [1/1]

PD#TV-1083

Problem:
When bootimg, logo display become blur due to logo address
is not match

Solution:
Correct CMA address of logo

Verify:
p321

Change-Id: I3996635c4fc9cee1751c75aff3f8224adb2accde
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
5 years agomedia: media_sync: remove serial port debug logs [1/1]
xiaoming.sui [Tue, 27 Nov 2018 03:12:23 +0000 (11:12 +0800)]
media: media_sync: remove serial port debug logs [1/1]

PD#SWPL-2494

Problem:
serial port always print timestamp log

Solution:
remove this log output

Verify:
P321

Change-Id: I875dffab483269374b9939f556a3ed01e9d2b215
Signed-off-by: xiaoming.sui <xiaoming.sui@amlogic.com>
5 years agotvin: vdin: hdmirx format change, display exception [1/1]
Xuhua Zhang [Thu, 22 Nov 2018 12:04:48 +0000 (20:04 +0800)]
tvin: vdin: hdmirx format change, display exception [1/1]

PD#SWPL-2411

Problem:
hdmirx input 4096X2160 yuv422 in a short period of time,
formate change form yuv422 to yuv444, screen display is exception.

Solution:
force malloc yuv444 size

Verify:
Verify on txlx r311

Change-Id: Ie670b9a2b0c1eceffe423a1cf8606e78b6b347cd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
5 years agoDTS: p230 board config spdif out pin [3/3]
Chaomin Zheng [Mon, 26 Nov 2018 10:29:18 +0000 (18:29 +0800)]
DTS: p230 board config spdif out pin [3/3]

PD# SWPL-1223

Problem:
p230 board spdif out no audio sound

Solution:
config p230 board spdif out pin

Verify:
verify on p230

Change-Id: I0c35e6d526aab98955206f78322fcc873ff01b8c
Signed-off-by: Chaomin Zheng <chaomin.zheng@amlogic.com>
5 years agodts: GXL/TXL: adjust defendkey_reserved location [1/1]
Zhongfu Luo [Tue, 27 Nov 2018 05:55:10 +0000 (13:55 +0800)]
dts: GXL/TXL: adjust defendkey_reserved location [1/1]

PD#SWPL-2539

Problem:
defendkey_reserved have influenced on display
during the system boot up

Solution:
adjust defendkey_reserved node location

Verify:
GXL/TXL skt board verify pass

Change-Id: I5cf0245f9653e20224c4e3bab1f6f05527011210
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
5 years agolcd: update lvds,vbyone,p2p config [1/1]
Evoke Zhang [Fri, 23 Nov 2018 13:15:01 +0000 (21:15 +0800)]
lcd: update lvds,vbyone,p2p config [1/1]

PD#172587

Problem:
lcd not work on real chip

Solution:
update pll, phy and channel_swap config

Verify:
skt

Change-Id: I737f7c253697ed281050ad9606cbf7d86a4b2e39
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agocec: update cec platform data for tl1 [1/1]
hongmin hua [Wed, 14 Nov 2018 13:50:26 +0000 (21:50 +0800)]
cec: update cec platform data for tl1 [1/1]

PD#172587

Problem:
the line check always return low.
the print of check too much.

Solution:
modify the cec gpio from 7 to 10.
modify the check line.

Verify:
tl1 x301 board

Change-Id: I09ae5eee455d83e51e65957cd293e07da1c0046a
Signed-off-by: hongmin hua <hongmin.hua@amlogic.com>
5 years agohdmirx: clean phy setting for tl1 [1/1]
Yong Qin [Thu, 22 Nov 2018 03:04:15 +0000 (11:04 +0800)]
hdmirx: clean phy setting for tl1 [1/1]

PD#172587

Problem:
1.clean phy setting

Solution:
1.put the phy data into a table
2.modify phy setting for low voltage tmds clk

Verify:
tl1

Change-Id: I8cad5d0639f72b17b90196f6143784f7b91dcdbc
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agotvin: vdin: tl1 improve vdin function [1/1]
Xuhua Zhang [Mon, 19 Nov 2018 10:37:09 +0000 (18:37 +0800)]
tvin: vdin: tl1 improve vdin function [1/1]

PD#172587

Problem:
1.in the afbce mode,
  screen flicker when serial port print too many debugging information
2.vdin afbce 4K crash
3.viu loop back error
4.need afbce lossy mode

Solution:
1.vdin use rdma mode
2.change vdin afbce buff size
3.change VDIN_ASFIFO_CTRL3 register
4.add lossy mode

Verify:
x301

Change-Id: Id66c0d7df22a9aeaca15d645f9a2ce0ecf47be3f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
5 years agotvin: vdin: tl1 improve vdin afbce function [1/1]
Xuhua Zhang [Fri, 16 Nov 2018 06:23:10 +0000 (14:23 +0800)]
tvin: vdin: tl1 improve vdin afbce function  [1/1]

PD#172587

Problem:
vdin afbce can not work well

Solution:
change afbce work mode

Verify:
verify on tl1

Change-Id: I3e980c7488bd8a0eb6f043fd1fb2d2b2bc75140f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
5 years agosr: add support for tl1 [1/1]
wenfeng.guo [Mon, 12 Nov 2018 03:15:24 +0000 (11:15 +0800)]
sr: add support for tl1 [1/1]

PD#172587

Problem:
Add sr driver support for tl1

Solution:
add sr driver support for tl1
fix horizontal line when play video on 4K screen

Verify:
TL1 X301

Change-Id: I422f27eb5cf12f69dc57de295425536671e2df38
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
5 years agohdmirx: optimizing fsm clk monitor function [1/1]
Yong Qin [Wed, 21 Nov 2018 11:16:51 +0000 (19:16 +0800)]
hdmirx: optimizing fsm clk monitor function [1/1]

PD#172587

Problem:
optimizing fsm clk monitor function

Solution:
clock monitor for tl1

Verify:
tl1

Change-Id: I1cf50bcff2e2039b52071902d59deb17b6d01385
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agohdmirx: optimizing rx fsm for tl1 [1/1]
Yong Qin [Mon, 19 Nov 2018 03:20:04 +0000 (11:20 +0800)]
hdmirx: optimizing rx fsm for tl1 [1/1]

PD#172587

Problem:
1.optimizing rx fsm for tl1, some time cable
clk not stable

Solution:
1.use system clk measure
2.modify low frq phy and pll setting
3.fsm stable state add error cnt check

Verify:
tl1

Change-Id: I6b9078bdf73fc0a2269ed9386fd42db0678cf995
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agohdmirx: finetune phy setting [1/1]
Yong Qin [Wed, 14 Nov 2018 09:45:55 +0000 (17:45 +0800)]
hdmirx: finetune phy setting [1/1]

PD#172587

Problem:
1.eq performacec is not good (v1)
2.capture tmds raw data to ddr
3.skip unstable cable clock report

Solution:
1.dump tmds date and save as a file
2.1s check err counter
3.modify clock monitor function
4.modify fsm for tl1

Verify:
tl1

Change-Id: Iae51ea0cc8528e9c5fd0bc5c58b5dd7246ee68b1
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agohdmirx: tl1 hdmirx no interrupt [1/1]
Yong Qin [Mon, 12 Nov 2018 09:39:29 +0000 (17:39 +0800)]
hdmirx: tl1 hdmirx no interrupt [1/1]

PD#172587

Problem:
1.no interrupt
2.add fsm debug log

Solution:
1.change interrupt id
2.change interrupt source
3.change 6g phy setting
4.add axi clk
5.verify emp pkt data to ddr

Verify:
1.verify on chip

Change-Id: I349439d90a356144b96af4831e03fa0e9e90076b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agohdmirx: modify audio pll setting [1/1]
Yong Qin [Mon, 12 Nov 2018 07:45:46 +0000 (15:45 +0800)]
hdmirx: modify audio pll setting [1/1]

PD#172587

Problem:
1.audio divider it's not work

Solution:
1.modify audio top clk measure
2.modify audio divider clk source
3.modify audio divider band gap

Verify:
tl1

Change-Id: Iea254f043531f31383a727c58b4d992dd39ff2ce
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agocec: add device match for tl1 [1/1]
Yong Qin [Mon, 12 Nov 2018 03:38:33 +0000 (11:38 +0800)]
cec: add device match for tl1 [1/1]

PD#172587

Problem:
add device match for tl1

Solution:
1.add cecb ver
2.add ceca status reg flag

Verify:
1.run TPM
2.run chip

Change-Id: I304abfd1d6f1f216f9f0c56ca19a8bdb2ccfeabb
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agohdmirx: fix phy init err and add debug [1/1]
Yong Qin [Mon, 12 Nov 2018 02:04:37 +0000 (10:04 +0800)]
hdmirx: fix phy init err and add debug [1/1]

PD#172587

Problem:
1.cable clk is not match from clk measure
2.add some debug interface for tl1

Solution:
1.add audio clock source from tmds
2.add audio clock source from mpll
3.low FRQ phy audio clock out is 4xtmds clk
4.add 6G phy setting
5.match clock measure return value hz
6.phy initial enable terminal by input source
7.add channel switch control 0/1
8.last line,mode:4k2k 420 deep color problem
9.dump register, add error cnt for tl1
10.capture emp data into a file
11.modify tmds data align, snps phy disable

Verify:
1.run ptm
2.verify on chip

Change-Id: I9d003748c0df3dfbd25f7ab987449e2097251c58
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agocvbs: cvbsoutput support for tl1 [1/1]
Nian Jing [Mon, 19 Nov 2018 14:11:50 +0000 (22:11 +0800)]
cvbs: cvbsoutput support for tl1 [1/1]

PD#172587

Problem:
no cvbsoutput

Solution:
add cvbsoutput

Verify:
test pass on x301

Change-Id: I92f70d26e32f95de7c63ddbac9fe6664063c1902
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agovideo: vpp: add vd afbc YUV 422/444 support for tl1 [1/1]
Brian Zhu [Thu, 15 Nov 2018 16:38:41 +0000 (00:38 +0800)]
video: vpp: add vd afbc YUV 422/444 support for tl1 [1/1]

PD#172587

Problem:
Bringup TL1 vidoe driver.
TL1 need support YUV422/444 AFBC.
TL1 need check afbc source from decode or vdin.
TL1 need afbc compress loss mode.

Solution:
Merge from branch bringup/amlogic-4.9/tl1-20181111.

Verify:
verify on tl1

Change-Id: I0af62e7638db4e1c349df874ccffdeddcaa715af
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agoosd: osd: screen blank when boot [1/1]
Jian Cao [Thu, 15 Nov 2018 09:37:14 +0000 (17:37 +0800)]
osd: osd: screen blank when boot [1/1]

PD#172587

Problem:
screen blank when boot

Solution:
modify free_scale_switch

Verify:
verified on tl1 dev board

Change-Id: I3c53e832c83c71bd8e98f71fcd654865a467df3c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoosd: osd: reserve vs_ctrl bit for VPP [1/1]
Jian Cao [Tue, 20 Nov 2018 02:30:25 +0000 (10:30 +0800)]
osd: osd: reserve vs_ctrl bit for VPP [1/1]

PD#172587

Problem:
reserve vs_ctrl bit for VPP

Solution:
Avoid operating VPP_OFIFO_SIZE bit19 on OSD code

Verify:
verified on t962x2_x301

Change-Id: Ic450d6f64e2349d97d02f0802058b4031564fea4
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoosd: add viu2 support for tl1 [1/1]
pengcheng chen [Tue, 20 Nov 2018 01:42:44 +0000 (09:42 +0800)]
osd: add viu2 support for tl1 [1/1]

PD#172587

Problem:
add viu2 support for tl1.

Solution:
add viu2 support for tl1.

Verify:
verified by x301

Change-Id: Ie728f6ee7e0c4c4062e5e12e3d80515d99d020f8
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
5 years agoosd: tl1 hold line fix needn't shift workaround [1/1]
pengcheng chen [Thu, 15 Nov 2018 02:04:13 +0000 (10:04 +0800)]
osd: tl1 hold line fix needn't shift workaround [1/1]

PD#172587

Problem:
tl1 hold line fix needn't shift workaround.

Solution:
remove shift workaround int tl1

Verify:
verified by x301

Change-Id: I96d99758ba6f93622c34a8e69c4a3f769fdfad49
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
5 years agodeinterlace: add support for tl1 [1/1]
wenfeng.guo [Mon, 12 Nov 2018 02:54:08 +0000 (10:54 +0800)]
deinterlace: add support for tl1 [1/1]

PD#172587

Problem:
bringup tl1

Solution:
add deinterlace driver support for tl1

Verify:
verified on tl1 x301

Change-Id: I3bf008a4f948cdc2c11f14f81944695d6a185b14
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
5 years agodtv_demod: add DTV demod driver for tl1 [1/1]
Zhiwei Yuan [Fri, 23 Nov 2018 14:33:36 +0000 (22:33 +0800)]
dtv_demod: add DTV demod driver for tl1 [1/1]

PD#172587

Problem:
add DTV demod driver for tl1

Solution:
add DTV demod driver for tl1

Verify:
verified by t962x2_x301

Change-Id: I27e88090aa51c0385867cee4d31a5a75192cf650
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
5 years agotvafe: add tvafe support for tl1 [1/1]
Nian Jing [Fri, 23 Nov 2018 12:34:03 +0000 (20:34 +0800)]
tvafe: add tvafe support for tl1 [1/1]

PD#172587

Problem:
tl1 do not support tvafe

Solution:
add tvafe support

Verify:
test pass on x301

Change-Id: I34185a3f10e7540b7c2317c270a306b8904e0ca3
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agoarm: dts: tl1: update emmc dt for tl1 [1/1]
ruixuan.li [Wed, 14 Nov 2018 02:14:27 +0000 (10:14 +0800)]
arm: dts: tl1: update emmc dt for tl1 [1/1]

PD#165583

Problem:
bringup tl1 emmc

Solution:
1.set DDR52 MODE
2.add sdio node in dts
3.hs200 busmod

Verify:
test pass on tl1

Change-Id: I5b5c8bff18093f444e67b8e32e2a46c25ddf1a10
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
5 years agoamvecm: pq: lc: update local contrast setting [1/1]
Bencheng Jing [Thu, 22 Nov 2018 07:48:53 +0000 (15:48 +0800)]
amvecm: pq: lc: update local contrast setting [1/1]

PD#172587

Problem:
update lc setting

Solution:
update lc setting
add demo mode

Verify:
verified on ref board x301

Change-Id: Ie1542af5e4d8e4fe2c52bd04db66cbdf9130853f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agoatv_demod: add atv demod support for tl1 [1/1]
nengwen.chen [Fri, 23 Nov 2018 09:11:25 +0000 (17:11 +0800)]
atv_demod: add atv demod support for tl1 [1/1]

PD#172587

Problem:
1.add atv demod driver and dts config for tl1.
2.merge from bringup/amlogic-4.9/tl1-20181111.

Solution:
add atv demod driver and dts config for tl1

Verify:
verified by t962x2_x301

Change-Id: Ibbc00f9d478a9f5e52c6333b9a819aac381894ec
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
5 years agoaudio: auge: fix drivers for tl1 [1/1]
Xing Wang [Tue, 30 Oct 2018 07:38:34 +0000 (15:38 +0800)]
audio: auge: fix drivers for tl1 [1/1]

PD#172587

Problem:
resample, eqdrc, dolby efuse, audio input (from atv, hdmirx)

Solution:
add drivers for them

Verify:
x301

Change-Id: I5187f9824d904283794f6e4be3dd9ce8463908e1
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agoemmc: modify cophase for tl1 [1/1]
Ruixuan Li [Mon, 26 Nov 2018 12:53:39 +0000 (20:53 +0800)]
emmc: modify cophase for tl1 [1/1]

PD#172587

Problem:
emmc data crc error

Solution:
modify cophase under kernel for tl1

Verify:
test pass on skt

Change-Id: Id4997ef2288a53e6f401744664aaf6b05cf36e38
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
5 years agospicc: fix miss bytes/time consume/loopback issue [1/1]
Sunny Luo [Mon, 15 Oct 2018 08:09:03 +0000 (16:09 +0800)]
spicc: fix miss bytes/time consume/loopback issue [1/1]

PD#SWPL-215

Problem:
1. additional or missing bytes be sent on mosi sometimes.
2. Customer DSP load firmware through SPICC. the loading time is 12s with
buildroot release 20180907 while 6s with 20180131.
3. rx error when work in loopback mode at high speed.

Solution:
1. change to disable irq at the irq-handle begining;
change to enable irq after all data pulled.
2. pre-setup of every spi transfer spends most of time on clk_set_rate().
this time is not obvious while cpu work at a high frequence such as
1000MHz.
In fact, a slave speed is almost fixed and we needn't set it for every
transfer but set only when speed changed.
3. disable auto io delay when in loopback mode.

Verify:
verified on axg-s400-v03 and tl1-skt

Change-Id: I61bcceccc243b218879b2b0711d0aff7538151f6
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
5 years agousb: bringup usb for tl1 [1/1]
Yue Wang [Sun, 11 Nov 2018 09:23:31 +0000 (17:23 +0800)]
usb: bringup usb for tl1 [1/1]

PD#172587

Problem:
bringup usb for tl1

Solution:
bringup usb for tl1.
disable usb device sof interrupt for tl1.

Verify:
verify on tl1 skt.

Change-Id: Ifbcd3b406145ac39709ff2df795544086277f00e
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
5 years agoefuse: tl1: add efuse burning support [1/1]
Zhongfu Luo [Tue, 20 Nov 2018 02:58:48 +0000 (10:58 +0800)]
efuse: tl1: add efuse burning support [1/1]

PD#172587

Problem:
efuse: tl1: need to add efuse burning support

Solution:
efuse: tl1: add efuse burning support

Verify:
TL1 skt board verify pass

Change-Id: Id65f182c71fc6f3f2b2536bbb6b859ad2f558360
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
5 years agoirblaster: meson: add support for tl1 [1/1]
Bichao Zheng [Thu, 15 Nov 2018 06:01:55 +0000 (14:01 +0800)]
irblaster: meson: add support for tl1 [1/1]

PD#172587

Problem:
1.Bringup TL1.
2.Invalid frequency setting

Solution:
1.Add ir blaster device tree for tl1.
2.Add frequency setting

Verify:
verify on tl1.

Change-Id: I51759e32577172ff766fd4d50f92a00ef77c7495
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
5 years agopinctrl: meson: update pin groups for tl1 [1/1]
Xingyu Chen [Mon, 12 Nov 2018 12:57:48 +0000 (20:57 +0800)]
pinctrl: meson: update pin groups for tl1 [1/1]

PD#172587

Problem:
some pin groups are not supported

Solution:
update pin groups according to pinmux document v8.

Verify:
TL1 skt board.

Change-Id: I88750e307208fd30c20343c1c5418c1035961b4e
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
5 years agoclk: tl1: bringup clock for tl1 [1/1]
Jian Hu [Thu, 8 Nov 2018 06:32:27 +0000 (14:32 +0800)]
clk: tl1: bringup clock for tl1 [1/1]

PD#172587

Problem:
Bringup clock for tl1.

Solution:
Bringuup clock for tl1.
Cherrypick from bringup/amlogic-4.9/tl1-20181111

1. Add hdmirx meter clock
2. fix gp0 pll error
3. remove vpu_clk enable in clktree
4. add hdmi axi clock
5. fix tl1 mpll clk overflow issue
6. fix vapb clock error rate
7. add 1.404G and 1.5G cpu freqs for tl1

Verify:
TL1 T962X2 X301 & SKT

Change-Id: I73a9afca35f8a9ce26cc6f3a75a738525fc8d728
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
5 years agoarm: dts: tl1: add device tree for skt and x301 boards [1/1]
Xingyu Chen [Sun, 11 Nov 2018 07:05:34 +0000 (15:05 +0800)]
arm: dts: tl1: add device tree for skt and x301 boards [1/1]

PD#172587

Problem:
Bringup tl1 skt & x301.

Solution:
Add device tree for skt and x301 boards.

Verify:
test pass on skt board

Change-Id: Ia6c16be242b5cc430a38ec6b9cac8c320f7339d7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
5 years agoframebuffer: remove lock in fbmem ioctl. [1/1]
sky zhou [Sat, 24 Nov 2018 13:56:30 +0000 (21:56 +0800)]
framebuffer: remove lock in fbmem ioctl. [1/1]

PD#SWPL-2497

Problem:
on 32bit kernel, when user space call WAITFORVSYNC,
we cannot send other command to framebuffer.

Solution:
remove lock in fbioctl as fb compat_ioctl do.
Our driver have locks to protect internal resources.

Verify:
verified on franklin.

Change-Id: I1789c09a7ea459aed4b782748847687c7f974526
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
5 years agodv: fix osd color matrix when dv enabled [1/1]
Yi Zhou [Fri, 23 Nov 2018 06:37:32 +0000 (14:37 +0800)]
dv: fix osd color matrix when dv enabled [1/1]

PD#SWPL-1804

Problem:
fix osd color matrix when dv enabled

Solution:
enable osd matrix when dv enabled

Verify:
verified on u212 dev board

Change-Id: I4b4206f4d8c447873f23a3a0066af0d0fa85e18c
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agoosd: fix osd color error when osd hdr enabled [1/1]
pengcheng chen [Thu, 22 Nov 2018 04:54:06 +0000 (12:54 +0800)]
osd: fix osd color error when osd hdr enabled [1/1]

PD#SWPL-1804

Problem:
osd color error when osd hdr enabled

Solution:
div alpha when osd hdr enabled

Verify:
verified on u212 dev board

Change-Id: I1f5ea0db404d1956f454bd5da2532bded89626ee
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
5 years agoosd: add meson-hwc repodution rate support [1/2]
pengcheng chen [Tue, 30 Oct 2018 06:55:40 +0000 (14:55 +0800)]
osd: add meson-hwc repodution rate support [1/2]

PD#SWPL-1810

Problem:
osd blend repodution rate not supported

Solution:
add meson-hwc repodution rate support

Verify:
verified on u212 dev board

Change-Id: Ied10393e240e8d3f2a1eefe17a2d4d3c965e3383
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
5 years agodts: TXL: defendkey: support secure upgrade check [1/1]
Zhongfu Luo [Fri, 23 Nov 2018 03:34:33 +0000 (11:34 +0800)]
dts: TXL: defendkey: support secure upgrade check [1/1]

PD#SWPL-2343

Problem:
TXL need to support secure upgrade check

Solution:
add defendkey support in all TXL dts

Verify:
TXL skt board verify pass

Change-Id: Idb81fa1f1b5a27e5c44dc961ceef94f1edfc06d9
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
5 years agohdmirx: optimize for audio fifo [1/1]
Hang Cheng [Wed, 14 Nov 2018 08:30:17 +0000 (16:30 +0800)]
hdmirx: optimize for audio fifo [1/1]

PD#SWPL-2114

Problem:
When change audio channel count on VG-877, the subpkts of skipped
middle channels are still carried, thus causing afifo overflow

Solution:
When afifo overflow, then store all audio subpkts(8ch)
into afifo, and output 8ch audio from afifo

Verify:
R321

Change-Id: I4b0933935d3a1aed20be10a7a8d3fe23c3a39323
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>