Commit Graph

648385 Commits

Author SHA1 Message Date
Tao Guo
593d8a8ec6 media: add get free handle cmd [4/9]
PD#SWPL-1081

Problem:
Need get freed handle for DRM frame mode

Solution:
Add ioctl cmd to get freed handle

Verify:
P212

Change-Id: Ic0ce64061e334fdea5580d9f92b3e0b58caa88eb
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
2018-12-07 02:42:16 -08:00
qiu.zeng
72360d977f BT: resolve bt remote re-connected fail [1/1]
PD#SWPL-2735

Problem:
bt remote re-connected fail

Solution:
control bluetooth opwer up

Verify:
Verifying on Public Edition r311

Change-Id: I8c74442894f606d5afd992e52d6c80bada0aed9f
Signed-off-by: Qiu Zeng <qiu.zeng@amlogic.com>
2018-12-07 01:17:53 -08:00
Brian Zhu
a601f6fc84 video: sr: add the missing bit mask for sr core1 [1/1]
PD#SWPL-2948

Problem:
Miss the sr core1 bit mask to cause display abnormal

Solution:
Add the bit mask for sr core1

Verify:
Test pass by x301

Change-Id: I742d86b610a9748adad7c143d7a85c6796d3c8f7
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-12-07 00:49:12 -08:00
Tao Zeng
0313e6ddde mm: subtract CMA isolated pages when allocate TVP [1/1]
PD#SWPL-2933

Problem:
When allocate CMA pages in buildroot enverioment, system will
hung in congestion_wait:
Call trace:
[<ffffff8009086a78>] __switch_to+0xa0/0xc8
[<ffffff8009de3eb8>] __schedule+0x268/0x7d8
[<ffffff8009de4464>] schedule+0x3c/0xa0
[<ffffff8009de7c9c>] schedule_timeout+0x1b4/0x448
[<ffffff8009de3be8>] io_schedule_timeout+0x98/0x100
[<ffffff80091e3fb8>] congestion_wait+0x90/0x190
[<ffffff80091ebcf4>] isolate_migratepages_block+0x7ec/0x890
[<ffffff80091ec794>] isolate_migratepages_range+0x8c/0x100
[<ffffff8009a8f34c>] aml_alloc_contig_migrate_range+0x104/0x158
[<ffffff8009a8f518>] cma_boost_work_func+0x178/0x270
[<ffffff80090cc228>] kthread+0xf8/0x110
[<ffffff80090836c0>] ret_from_fork+0x10/0x50

Solution:
subtract isolated CMA pages when allocation large CMA for TVP.

Verify:
local

Change-Id: I96153cf104abb009a8965c2230a5242e495dd031
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2018-12-07 00:42:34 -08:00
Zhiwei Yuan
b847f74269 dts: TL1 ,change demod 8MB memory to CMA mode. [1/1]
PD#SWPL-2913

Problem:
for tl1 memory usage measurement

Solution:
use cma memory for dtmb instead of reserved

Verify:
verified by t962x2_x301

Change-Id: I7f5381a8458f5bbd9bbffc02c7fd792af92b783d
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
2018-12-07 00:30:46 -08:00
Tao Guo
f396302256 codec_mm: show current tvp flag [1/2]
PD#OTT-937

Problem:
When kill mediacodec during playing drm, tvp memory not be freed

Solution:
Check tvp flag in kernel, free tvp memory if flag is not zero

Verify:
P212

Change-Id: I35cbb2808bf179710ec59bd5227995949946ee77
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
2018-12-07 00:23:37 -08:00
pengcheng chen
4fb64e4e53 osd: fix afbc dd length error issue [1/1]
PD#SWPL-2674

Problem:
fix afbc dd length error issue

Solution:
add afbc_len to set screen_size

Verify:
verified on g12a-u200

Change-Id: I00df7945f0f928efe2b8be88c56f10f20bb1700f
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-12-07 00:06:49 -08:00
Jihong Sui
fbfe5fa087 deinterlace: add NR 5 line set for TL1 [1/1]
PD#SWPL-2850

Problem:
add NR 5 line set for TL1

Solution:
add NR setting

Verify:
TL1

Change-Id: Iba105103a38ec244190f7cefbe66e7d662c7d0a2
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2018-12-07 00:06:23 -08:00
Jiamin Ma
e655da02f2 dts: fdto: the fdt is damaged in booting process [1/1]
PD#SWPL-2960

Problem:
If the overlay dts refers to a node which does not exist in the base
device tree, the final fdt will be in a damaged state after doing fdt
overlay

Solution:
Use the standard overlay dts syntax to note node to be applied instead
of the google recommended one

Verify:
Locally on P230

Change-Id: Ibf45abff1348437bc3fc2745e6d955cc8292db46
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2018-12-06 19:55:15 -08:00
Hongmin Hua
bcd7c18afa cec: set the phy port the same as ui id [2/2]
PD#SWPL-2685

Problem:
the atom switch wrong channel when wakeup by device

Solution:
set the phy port the same as ui id

Verify:
atom

Change-Id: I4e43f83af5bb30a2388df7e7030f135c3f0830ad
Signed-off-by: Hongmin Hua <hongmin.hua@amlogic.com>
2018-12-06 18:08:53 -08:00
Yong Qin
fdda63aec0 hdmirx: for dump tmds data [1/1]
PD#SWPL-2931

Problem:
1.verify dump tmds data

Solution:
1.modify function and verify on tl1

Verify:
tl1

Change-Id: I36e922ba44f4f8c5201c9fb0869d65556a6e28c7
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-12-06 03:13:15 -08:00
Jian Hu
4da9bae3a6 clk: g12a: add gen clock [1/1]
PD#OTT-1025

Problem:
not support gen clock

Solution:
add gen clock

Verify:
test passed on g12a u200

Change-Id: I5199289d3cd1483fffbbd41f8d104369214ba302
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-12-06 03:07:08 -08:00
Xingyu Chen
46670a555e pinctrl: meson: add gen_clk_ee/ao pin groups for G12A/B [1/1]
PD#OTT-1025

Problem:
don't support gen_clk_ee and gen_clk_ao pin groups

Solution:
add gen_clk_ee/ao pin groups according to the corepinmux document

Verify:
test pass on U200

Change-Id: Ia3e61079def285c482d8dc4957b5f9e7db35847d
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-12-06 02:59:27 -08:00
tao zeng
0d3f347e10 mm: optimize thread stack usage on arm64 [1/1]
PD#SWPL-1219

Problem:
On arm64, thread stack is 16KB for each task. If running task number
is large, this type of memory may over 40MB. It's a large amount on
small memory platform. But most case thread only use less 4KB stack.
It's waste of memory and we need optimize it.

Solution:
1. Pre-allocate a vmalloc address space for task stack;
2. Only map 1st page for stack and handle page fault in EL1
   when stack growth triggered exception;
3. handle stack switch for exception.

Verify:
p212

Change-Id: I47f511ccfa2868d982bc10a820ed6435b6d52ba9
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-12-06 02:57:50 -08:00
Yi Zhou
2df6992869 dv: fix the error hsize and vsize of dv core 2 [1/1]
PD#OTT-776

Problem:
dv core 2 get the error hsize and vsize from OSD module

Solution:
when opening 3 osd paths. we get the accurate the parameters again

Verify:
g12b s922

Change-Id: Ib6af084910c8cf1896060295c7cea75971cd86b6
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-12-06 02:56:46 -08:00
Jihong Sui
1b8354dfbb deinterlace: deinterlace: fix coverity error [1/1]
PD#SWPL-2863

Problem:
cdev_add without checking return value.

Solution:
add check

Verify:
p212

Change-Id: Ib1d96f6e5ee07dd28f67eb4ee77acb6580a1f877
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2018-12-06 02:54:52 -08:00
Jihong Sui
afcf1763d3 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>
2018-12-06 02:37:17 -08:00
Pengcheng Chen
07d9084d85 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>
2018-12-05 22:58:51 -08:00
Jian Cao
e438cad5a5 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>
2018-12-05 22:58:16 -08:00
nengwen.chen
ff129142f6 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>
2018-12-05 21:28:12 -08:00
Evoke Zhang
f8afa29500 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>
2018-12-05 19:26:58 -08:00
Jiacheng Mei
db208dfd4c 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>
2018-12-05 03:07:40 -08:00
Evoke Zhang
4b6e8fad3e 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>
2018-12-05 00:19:05 -08:00
Bichao Zheng
16d8a67742 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>
2018-12-05 00:03:51 -08:00
Hongmin Hua
3ed3bbde07 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>
2018-12-04 20:34:42 -08:00
Evoke Zhang
93cc0f07ee 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>
2018-12-04 20:08:43 -08:00
Zongdong Jiao
2c29197920 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>
2018-12-05 11:13:23 +08:00
Nian Jing
6b68ab0158 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>
2018-12-04 19:05:17 -08:00
Yi Zhou
9bc6997157 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>
2018-12-04 19:02:18 -08:00
bichao.zheng
dafe34a9d1 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>
2018-12-04 02:48:23 -08:00
shuyu.li
860ddcb745 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>
2018-12-04 00:43:54 -08:00
Brian Zhu
d1eddae5c0 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>
2018-12-03 23:58:22 -08:00
bichao.zheng
7ce7f106a6 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>
2018-12-03 22:07:33 -08:00
Jianxiong Pan
97d1320715 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>
2018-12-03 21:34:09 -08:00
jiamin ma
5ff7ef0679 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>
2018-12-03 21:33:29 -08:00
Rob Herring
9b2c326a4a 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>
2018-12-03 21:32:51 -08:00
Jihong Sui
b21a3815d8 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>
2018-12-04 10:36:28 +08:00
yunhua wei
e9115bb75a 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>
2018-12-03 18:16:58 -08:00
Bencheng Jing
1159ecefca 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>
2018-12-03 18:16:37 -08:00
Evoke Zhang
ea91017e30 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>
2018-12-03 18:05:50 -08:00
pengcheng chen
f3680ae5bb 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>
2018-12-03 02:24:18 -08:00
Jian Hu
e21e2a90fc 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>
2018-12-03 01:23:03 -08:00
Nian Jing
f314273d3d 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>
2018-12-03 00:04:23 -08:00
Daogao Xu
8a8b821423 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>
2018-12-02 23:50:37 -08:00
riqun.ou
bd3ccd7189 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>
2018-12-02 22:32:14 -08:00
wenfeng.guo
a0490c2ea3 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>
2018-12-02 22:30:51 -08:00
Jihong Sui
bc7982c91e 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>
2018-12-02 22:28:03 -08:00
Zhiwei Yuan
ba17685a6a 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>
2018-12-01 08:26:25 -08:00
Huan Biao
75cd7eb43b 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>
2018-12-01 08:25:09 -08:00
Hong Guo
41cbfb1975 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>
2018-12-01 03:11:01 -08:00