platform/kernel/linux-amlogic.git
5 years agopower: tm2: add power control dts config [1/1]
pan.yang [Sat, 30 Mar 2019 11:28:52 +0000 (07:28 -0400)]
power: tm2: add power control dts config [1/1]

PD#SWPL-5648

Problem:
need power control dts

Solution:
add power control dts

Verify:
tm2_skt

Change-Id: Ia677567dec5bb9ca8ea0cf067d8885d3005d32c2
Signed-off-by: pan yang<pan.yang@amlogic.com>
5 years agotm2: change tm2 mailbox dts config [1/1]
pan.yang [Sat, 30 Mar 2019 08:56:49 +0000 (04:56 -0400)]
tm2: change tm2 mailbox dts config [1/1]

PD#SWPL-5639

Problem:
tm2 mailbox config has been changed

Solution:
change tm2 mailbox dts config

Verify:
tm2_skt

Change-Id: I1e3fb569464826304f46276668ed359ad5cc2718
Signed-off-by: pan yang<pan.yang@amlogic.com>
5 years agodts: tm2: add ge2d support [1/1]
Jian Cao [Sat, 30 Mar 2019 08:25:15 +0000 (16:25 +0800)]
dts: tm2: add ge2d support [1/1]

PD#SWPL-6552

Problem:
add ge2d support

Solution:
add ge2d support

Verify:
verified on TM2 skt board

Change-Id: Idba0f97ea1596a4f579530fb86829f5ede307e52
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agopinctrl: support tm2 pinctrl [1/1]
Qianggui Song [Fri, 22 Mar 2019 14:15:03 +0000 (22:15 +0800)]
pinctrl: support tm2 pinctrl [1/1]

PD#SWPL-5656

Problem:
tm2 need a static data pinctrl file to depict pins

Solution:
add relative codes to support tm2

Verify:
T962E2_ab319

Change-Id: I55206f9b3df6390e8821fd777d329ddf05dd8386
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
5 years agoTM2: add chip id and name for tm2 [1/1]
shanghai engineers [Mon, 25 Mar 2019 02:11:00 +0000 (22:11 -0400)]
TM2: add chip id and name for tm2 [1/1]

PD#SWPL-6157

Problem:
TM2 bring up need to update chip version name and id

Solution:
add the chipid and chip version name at dts and help file

Verify:
on ptm board4

Change-Id: I37e44828db1821c7fd2921c3e4271a27bd715b88
Signed-off-by: pan yang <pan.yang@amlogic.com>
5 years agotm2: add tm2_pxp dts at amlogic for ptm bringup [1/1]
shanghai engineers [Fri, 22 Mar 2019 08:58:34 +0000 (04:58 -0400)]
tm2: add tm2_pxp dts at amlogic for ptm bringup [1/1]

PD#SWPL-6157

Problem:
Current branch need tm2_pxp dts at amlogic system

Solution:
Create tm2_pxp dts at tm2 kernel branch, and modified scripts

Verify:
on ptm board4

Change-Id: I83204db07462729861a59d322fa99e4370c09dea
Signed-off-by: pan yang <pan.yang@amlogic.com>
5 years agoamvecm: fix lc enable/disable not follow pq.db [1/1]
Bencheng Jing [Wed, 10 Apr 2019 09:41:22 +0000 (17:41 +0800)]
amvecm: fix lc enable/disable not follow pq.db [1/1]

PD#TV-4358

Problem:
lc enable/disable not follow pq.db

Solution:
check the db reg vlaue,then adjust lc_en

Verify:
TL1

Change-Id: I0bf652eff96d75355c8fb1329291d1611e226b96
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agoaudio: add codec trigger mute for depop [1/1]
Shuai Li [Sat, 6 Apr 2019 08:17:57 +0000 (16:17 +0800)]
audio: add codec trigger mute for depop [1/1]

PD#SWPL-6944

Problem:
TV-3381
Speaker sometimes has clicking noise when playing DTV program.

Solution:
add codec trigger mute for depop

Verify:
Local verified.

Change-Id: Ib15a6b90bd3a6cdda2255afaf86daeab68ba07e2
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
5 years agohdmitx: add audio ATMOS parsing [1/1]
Zongdong Jiao [Fri, 11 Jan 2019 03:27:21 +0000 (11:27 +0800)]
hdmitx: add audio ATMOS parsing [1/1]

PD#SWPL-4085

Problem:
Need audio ATMOS information in RX EDID

Solution:
Add parsing audio ATMOS information

Verify:
GXL/P212

Change-Id: I882b817a4d7621833bb7e4b85231d7a42e426382
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
5 years agohdmitx: adjust PHY parameter with 5.1 ohm resistor [2/2]
Zongdong Jiao [Fri, 8 Mar 2019 07:23:30 +0000 (15:23 +0800)]
hdmitx: adjust PHY parameter with 5.1 ohm resistor [2/2]

PD#SWPL-2927

Problem:
No enough eye diagram when adding TMDS 5.1 ohm resistor

Solution:
adjust PHY parameter with 5.1 ohm resistor

Verify:
G12/U212

Change-Id: Ib5518613c556f9b04eb0aa374193c7a6046a7ba9
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
5 years agovdin: config vdin mif/afbc path directly [1/1]
Evoke Zhang [Fri, 5 Apr 2019 12:52:27 +0000 (20:52 +0800)]
vdin: config vdin mif/afbc path directly [1/1]

PD#SWPL-6277

Problem:
switch hdmi port maybe display green screen

Solution:
1.optimize vdin stop sequence, reduce afbc state polling interval,
  and rest afbc to get a clean state
2.change vdin mif/afbc patch directly, not rdma method,
  for vdin0/1 rdma are independent

Verify:
x301

Change-Id: I0ddf5d27dcfc0fd930eeb681f876c4c5e92e8d70
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoosd: osd display color abnormal when run drm [1/1]
Pengcheng Chen [Tue, 9 Apr 2019 05:22:03 +0000 (13:22 +0800)]
osd: osd display color abnormal when run drm [1/1]

PD#SWPL-6867

Problem:
osd dispaly color abnormal because osd enable not update.

Solution:
update osd enalbe flag in drm process.

Verify:
Verified u212

Change-Id: I1c2e8b62d9d5af203c95d3d0ac940fb512dd8e5e
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agovlock: phase lock sometime lose effect [1/1]
Yong Qin [Wed, 3 Apr 2019 11:36:42 +0000 (19:36 +0800)]
vlock: phase lock sometime lose effect [1/1]

PD#SWPL-6723

Problem:
phase lock sometime effect vlock

Solution:
disable phase lock function now

Verify:
tl1

Change-Id: I4cfe1e0153084717967309e832b028691ab44c88
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agoaudio: codec: un-mute ad82584 in default [1/1]
Xing Wang [Mon, 8 Apr 2019 08:05:48 +0000 (16:05 +0800)]
audio: codec: un-mute ad82584 in default [1/1]

PD#SWPL-6810

Problem:
android version, no sound for spk
ad82584 is mute in default.

Solution:
un-mute ad82584, and add delay for de-pop

Verify:
ac200

Change-Id: Id78eb77b5e1a0ebed0a16a9b97992c6a07f78cde
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
5 years agotime: fix fail to read generic timer's counter value correctly [1/1]
Jiamin Ma [Mon, 8 Apr 2019 09:06:27 +0000 (17:06 +0800)]
time: fix fail to read generic timer's counter value correctly [1/1]

PD#SWPL-6837

Problem:
The return value of arch_counter_get_cntvct is always abnormal
when it is in irq stack. In this case, arch_counter_get_cntvct
trys to access a variable in 8Bytes via a 4Bytes aligned addr-
ess, which vialates the rule: The address that is accessed
should be aligned to the size of the data element being
accessed

Solution:
after switching to irq stack, force the base sp value to be
16Bytes aligned. Since the address of variable in irq stack is
based on the base sp and arranged automatically, all the data
accessing in irq stack will be aligned.

Verify:
Ampere

Change-Id: I3b30a56491dd0720d1c885bfaf2ca98d1b103fdd
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
5 years agodi: change clkb frq from 500 to 667 [1/1]
Yong Qin [Thu, 4 Apr 2019 08:16:58 +0000 (16:16 +0800)]
di: change clkb frq from 500 to 667 [1/1]

PD#SWPL-6762

Problem:
di clkb frq is not right

Solution:
change from 500 to 667

Verify:
tl1

Change-Id: I9c62bb9936630937f19d8a6b490a8266d73a268c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agoMerge "media_module: h264/mpeg2/h265 [2/2]" into amlogic-4.9-dev
Jianxin Pan [Tue, 9 Apr 2019 06:54:33 +0000 (23:54 -0700)]
Merge "media_module: h264/mpeg2/h265 [2/2]" into amlogic-4.9-dev

5 years agomedia_module: h264/mpeg2/h265 [2/2]
Rong Zhang [Fri, 22 Feb 2019 08:28:29 +0000 (16:28 +0800)]
media_module: h264/mpeg2/h265 [2/2]

PD#SWPL-3654

Problem:
provide aspect_ratio information by AMSTREAM_IOC_VDECSTAT

Solution:
add ration_control information in vdec_status function for
h264/mh264/vh265/mpeg12/mmpeg12, and normalized it for
aspect_ratio in AMSTREAM_IOC_VDECSTAT message.

Verify:
Verified U212

Change-Id: Icd9270eb8f2ce2f6f7455ec28780d26ac6c56348
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
5 years agomedia_module: mh264/h265/avs2 [1/2]
Rong Zhang [Mon, 1 Apr 2019 13:11:08 +0000 (21:11 +0800)]
media_module: mh264/h265/avs2 [1/2]

PD#SWPL-6607

Problem:
Not support QOS information for mh264.h265,avs2

Solution:
Support QOS information picking for mh264,h265,avs2
Support QOS information access interface by ioctl

Verify:
Verified franklin

Change-Id: I4e6f85392007bc78a274726aba510c39088018e3
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
5 years agodts: disabled pcie [1/1]
Luan Yuan [Thu, 4 Apr 2019 02:53:25 +0000 (10:53 +0800)]
dts: disabled pcie [1/1]

PD#SWPL-6662

Problem:
bootup spend 25s

Solution:
disable pcie and enable usb 3.0

Verify:
verify by w400

Change-Id: I5ea3526989b4d89cffb4e875487e2b80b5d15f0b
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
5 years agodts: debug: enable ftrace_ramoops for new dts [1/1]
Jianxin Pan [Thu, 4 Apr 2019 12:02:57 +0000 (20:02 +0800)]
dts: debug: enable ftrace_ramoops for new dts [1/1]

PD#SWPL-6028

Problem:
enable ftrce in ramoops for new dtbs

Solution:
enable ftrce in ramoops for new dtbs

Verify:
X301

Change-Id: I0643329a873a310d1078ebd898fec2d3cb75d43c
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
5 years agoaudio: fixed the issue of PDM 16 channel capture. [1/1]
Renjun Xu [Thu, 4 Apr 2019 07:08:50 +0000 (15:08 +0800)]
audio: fixed the issue of PDM 16 channel capture. [1/1]

PD#SWPL-5551

Problem:
cannot capture 8PDM + 8LOOPBACK.

Solution:
PDM cannot support 8PDM + 8LOOPBACK.

Verify:
s420/s400, verify pass

Change-Id: Iaf38bdcb218ebfc024666312162569cab93a76a9
Signed-off-by: Renjun Xu <renjun.xu@amlogic.com>
5 years agovdin: sync vdin0 & vdin1 buffer for afbc mode to avoid garbage screen [1/1]
Evoke Zhang [Wed, 27 Mar 2019 03:19:21 +0000 (11:19 +0800)]
vdin: sync vdin0 & vdin1 buffer for afbc mode to avoid garbage screen [1/1]

PD#SWPL-3431

Problem:
enter hdmi 4k port will flash garbage screen with afbc mode

Solution:
sync vdin0 & vdin1 buffer for afbc mode

Verify:
x301

Change-Id: I443a9be2ed619a5cd2b6229f15814d8b856c5535
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agohdmirx: update phy setting [1/1]
yicheng shen [Sat, 30 Mar 2019 10:49:23 +0000 (06:49 -0400)]
hdmirx: update phy setting [1/1]

PD#SWPL-5900

Problem:
Connect PS4PRO,plug out than in,the audio will show faster than video.

Solution:
1.update CDR lock logic;
2.add sw_reset_align and sw_reset_chan;
3.update phy init sequence;

Verify:
TL1

Change-Id: I0ef259502579a7edd2c61708c81983ce07124c9f
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
5 years agovideo: set pcrscr after 2 frames ready [2/3]
Peng Yixin [Wed, 6 Mar 2019 02:27:56 +0000 (10:27 +0800)]
video: set pcrscr after 2 frames ready [2/3]

PD#SWPL-795

Problem:

Solution:
add a sysfs to get vframe ready count

Verify:
Verified p212

Change-Id: I92171f57d336063e4a3af751e808b4a778184fe0
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
5 years agoramdump: write compressed data [2/2]
Tao Zeng [Fri, 22 Mar 2019 06:12:05 +0000 (14:12 +0800)]
ramdump: write compressed data [2/2]

PD#SWPL-6193

Problem:
ramdump need write compressed data to persist storage device.
But if we write it under uboot, it may cause journal and block
bitmap mismatch due to different version of file system. This
caused kernel panic after ramdump finished.

Solution:
Write compressed data under kernel.
This change also removed some extern function of ramdump since
we use sticky register to store ramdump information.

Verify:
p212

Change-Id: Idd83ec6ead4783918b90a39cf716fd3117402278
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
5 years agopaddr16: add paddr16 to get register values for 16-bits aligned address. [1/1]
Jianxiong Pan [Wed, 3 Apr 2019 10:14:45 +0000 (18:14 +0800)]
paddr16: add paddr16 to get register values for 16-bits aligned address. [1/1]

PD#SWPL-6718

Problem:
paddr just can get register and memory values for 32-bits aligned address.

Solution:
add paddr16 to get register or memory values for 16-bits aligned address.

Verify:
g12b w400_a

Change-Id: Ic7f32dcc6c2a24d0ac1e8c3ed60acc27e81887e0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agovdin: fixed the issue of mem mapping from vmap. [1/1]
Nanxin Qin [Thu, 28 Mar 2019 15:43:08 +0000 (23:43 +0800)]
vdin: fixed the issue of mem mapping from vmap. [1/1]

PD#SWPL-6196

Problem:
the memory issue cause to kernel crash.

Solution:
1. add flush cache when the mem oper end.
2. unmap addr which from vmap in vdin driver.

Verify:
X301

Change-Id: Id6efe2b009fe64ad753d51eb06784bd4e66f5e87
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
5 years agodebug: enable ftrace_ramoops [1/2]
Jianxin Pan [Wed, 3 Apr 2019 10:53:20 +0000 (18:53 +0800)]
debug: enable ftrace_ramoops [1/2]

PD#SWPL-6028

Problem:
enable ftrce in ramoops

Solution:
enable ftrce in ramoops

Verify:
u200

Change-Id: I2403bf82c342416b7c34f2115b14dce623406997
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
5 years agoiio: adc: try to get flag again after the first failure [2/2]
Xingyu Chen [Fri, 29 Mar 2019 08:09:58 +0000 (16:09 +0800)]
iio: adc: try to get flag again after the first failure [2/2]

PD#SH-451

Problem:
to get flag maybe occasionally fail

Solution:
try to get flag again after the first failure

Verify:
test pass on s400

Change-Id: Ibf430c9c331c7740864e797047962ad45e6698e3
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
5 years agomemory: tl1 compatible with 1G and 2G memory [3/4]
huijie.huang [Thu, 28 Mar 2019 10:53:38 +0000 (18:53 +0800)]
memory: tl1 compatible with 1G and 2G memory [3/4]

PD#SWPL-6343

Problem:
Compatible 1G and 2G platform in one suite code

Solution:
Kernel add 1G and 2G config for TL1

Verify:
test pass on TL1-X301

Change-Id: Ic906c6b62cc6ae15166baf666d5823687359f823
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
5 years agoppmgr: The cut table caused a crash. [1/1]
renjiang.han [Mon, 1 Apr 2019 09:09:58 +0000 (17:09 +0800)]
ppmgr: The cut table caused a crash. [1/1]

PD#SWPL-6557

Problem:
The cut table caused a crash.

Solution:
modify dma flag

Verify:
on X301

Change-Id: Ic0ced1f4934d1125c56a79d1e102de9d2e02a528
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
5 years agomedia_module: add double cache in codec_mm_scatter [1/1]
Peng Yixin [Tue, 19 Mar 2019 12:11:58 +0000 (20:11 +0800)]
media_module: add double cache in codec_mm_scatter [1/1]

PD#SWPL-6677

Problem:
    Decocder allocation and free mmu memory spend a long time.

Solution:
    Add double cache to solve this problem.

Verify:
    Verified P212

Change-Id: I393ad47b921631a49f551b32e31fd776ff4dfeea
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
5 years agothermal: move thermal dts for sm1 [1/1]
Huan Biao [Tue, 2 Apr 2019 10:56:10 +0000 (18:56 +0800)]
thermal: move thermal dts for sm1 [1/1]

PD#SWPL-6675

Problem:
sm1 thermal dts issue

Solution:
move thermal dts for dtsi to board dts

Verify:
test pass on sm1_ac200

Change-Id: I3fa5f2f4b15bc78d322d94402b8d0894fd8cbd35
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
5 years agoaudio: support 16ch i2s playback for SM1 [1/1]
Zhe Wang [Thu, 28 Mar 2019 10:31:04 +0000 (18:31 +0800)]
audio: support 16ch i2s playback for SM1 [1/1]

PD#SWPL-5430

Problem:
new function lane 6 and lane 8

Solution:
support max 16 channel playback

Verify:
sm1_ac200, verify pass

Change-Id: I3af42a0b68bca8804afa042ad4a506a379b9bf86
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
5 years agoethernet: reset ethernet when resume [1/1]
Zhuo Wang [Tue, 2 Apr 2019 05:43:59 +0000 (13:43 +0800)]
ethernet: reset ethernet when resume [1/1]

PD#SWPL-6608

Problem:
system will report tx error somethime after resume

Solution:
reset ethernet when resume

Verify:
verify on u200 board

Change-Id: I9863a8a50c08addd4e2d8c024f46a2e7568c28b4
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
5 years agofs: KASAN error in nls uniname cmp [1/1]
changqing.gao [Mon, 1 Apr 2019 05:57:55 +0000 (13:57 +0800)]
fs: KASAN error in nls uniname cmp [1/1]

PD#SWPL-6404

Problem:
KASAN error:global-out-of-bounds in nls_uniname_cmp

Solution:
Append "\0\0" to the string of UNI_CUR_DIR_NAME and UNI_PAR_DIR_NAME

Verify:
x301

Change-Id: Ic94e837ed7874d337207c31eedfc966b46ab8ecd
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
5 years agovpp: 3d: disable crop when 3d playback or hdmi in [1/1]
Brian Zhu [Tue, 2 Apr 2019 06:16:05 +0000 (14:16 +0800)]
vpp: 3d: disable crop when 3d playback or hdmi in [1/1]

PD#TV-3962

Problem:
3D mode does not support crop function

Solution:
Remove crop when 3D display.

Verify:
Verified on x301

Change-Id: Id35dd662886be24e3ec78d070e3a70f513f89b16
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agoosd: add viu2 fence support [1/1]
Pengcheng Chen [Fri, 15 Feb 2019 08:52:52 +0000 (16:52 +0800)]
osd: add viu2 fence support [1/1]

PD#SWPL-6384

Problem:
viu2 not support fence

Solution:
add viu2 fence support.

Verify:
test pass on tl1

Change-Id: I94a5e483c88cace79b7386bb918c203ada6b8274
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agocec: remove func that may cause deadlock [1/1]
Hang Cheng [Mon, 25 Mar 2019 11:05:54 +0000 (19:05 +0800)]
cec: remove func that may cause deadlock [1/1]

PD#SWPL-5836

Problem:
kernel panic when read cec reg

Solution:
remove func that might cause sleep in spinlock,
so as to avoid deadlock

Verify:
S805X-P241

Change-Id: I8394f69bdbeff6673c795a221c08ef76164c5bdb
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
5 years agodts: GVA on SBR platform [1/1]
Yeping Miao [Mon, 18 Mar 2019 06:02:41 +0000 (14:02 +0800)]
dts: GVA on SBR platform [1/1]

PD#SWPL-4760

Problem:
  Port GVA on S400 SBR platform

Solution:
  Port GVA on S400 SBR platform

Verify:
  S400_SBR A113D

Change-Id: I615e9457ba83df1c30829aa8ce01b6bc6072929f
Signed-off-by: Yeping Miao <yeping.miao@amlogic.com>
5 years agoamvecm: remove driver lc setting by timing [1/1]
MingLiang Dong [Sat, 16 Feb 2019 07:10:38 +0000 (02:10 -0500)]
amvecm: remove driver lc setting by timing [1/1]

PD#SWPL-5248

Problem:
lc setting load from db

Solution:
remove driver lc setting by timing

Verify:
verify on TL1

Change-Id: I7dac2429220d31f7930087ffb01176863cd74453
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
5 years agohdr: TL1 HDR gamut bug fix [1/1]
MingLiang Dong [Tue, 26 Mar 2019 12:38:56 +0000 (08:38 -0400)]
hdr: TL1 HDR gamut bug fix [1/1]

PD#SWPL-5248

Problem:
1. finetune TL1 HDR.
2. workaround fix ootf overwrite
3. workaround fix gamut bug

Solution:
TL1 HDR gamut bug fix

Verify:
verify on TL1

Change-Id: Iaf9535f3b6d096967f67ba118ff54eeb2c5c01c5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
5 years agocommon: NN API implementation,upload 64bit dts [1/1]
deng.liu [Tue, 26 Mar 2019 01:49:22 +0000 (09:49 +0800)]
common: NN API implementation,upload 64bit dts [1/1]

PD#SWPL-86

Problem:
Android tensorflow lite ,NN API implementation

Solution:
NN API implementation

Verify:
Local on galilei

Change-Id: I7c1a3a68005218544d0a3c7a7360c9ee38fc53de
Signed-off-by: deng.liu <deng.liu@amlogic.com>
5 years agovideo: hold frame for non-tunnel mode [1/1]
shuanglong.wang [Fri, 22 Mar 2019 02:36:38 +0000 (10:36 +0800)]
video: hold frame for non-tunnel mode [1/1]

PD#SWPL-6179

Problem:
PLAY-AL1-30FPS-HEAAC exist multi short frame every 16.6s

Solution:
Hold one frame in case occur pattern broken. Problem occur as this,
for non-tunnel mode, amlvideo vidioc_dqbuf  in omx so fast, then lead
decoder buffer quickly pushed to amlvideo queue with only current frame,
without next frame. Hold one frame we need next frame and next frame pts
after next frame, here we use next frame pts and a crease with duraion
as next next frame pts.

Verify:
verify by u212

Change-Id: Ie98c30791e785abb886aa19a7e930d191f5c2b3e
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
5 years agoiio: adc: disable software calibration for txlx and later platform [1/1]
Xingyu Chen [Fri, 29 Mar 2019 07:15:25 +0000 (15:15 +0800)]
iio: adc: disable software calibration for txlx and later platform [1/1]

PD#SWPL-6483

Problem:
the txlx and later platform use the VDDA as vref by default, and we
can use directly the adc sampling value, so it is unnecessary to
recalculate calibration factor through ch7.

Solution:
add new variable to judge whether enabling the software calibration

Verify:
test pass on u200

Change-Id: I611b4d8b76c95d8fdbdf23a96801bf6d9e5eb1f7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
5 years agoavb_ab: add avb check for product product [1/2]
Liang Ji [Thu, 7 Mar 2019 03:08:25 +0000 (11:08 +0800)]
avb_ab: add avb check for product product [1/2]

PD#SWPL-6168

Problem:
avb+abupdate with care map.txt cann't boot up
because of check product partition

Solution:
add avb for product partition in dts

Verify:
ampere

Change-Id: I0310853965340d9b810a89cbf1719f9ba002261d
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
5 years agoaudio: always on DDR arb [1/1]
Shuai Li [Sat, 30 Mar 2019 06:35:53 +0000 (14:35 +0800)]
audio: always on DDR arb [1/1]

PD#TV-3452

Problem:
Toddr stuck after a long time playback.

Solution:
For debug usage.

Verify:
No need.

Change-Id: Ibf4446148f5e028040d7d6527c7695f23f964f7c
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
5 years agovlock: vlock: improve vlock flow [1/1]
Yong Qin [Fri, 29 Mar 2019 09:08:09 +0000 (17:08 +0800)]
vlock: vlock: improve vlock flow [1/1]

PD#TV-3683

Problem:
1. write pll m will cause vbyone lockn unlock.

Solution:
1.not change m,f at the sametime
2.reduce the frequency of write m and f

Verify:
tl1

Change-Id: Ia1ff93122d8b2ae355eae73b0094f8e09edba1cd
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agocompile: fix smarthome compile error [1/1]
Jianxin Pan [Sat, 30 Mar 2019 16:32:00 +0000 (00:32 +0800)]
compile: fix smarthome compile error [1/1]

PD#SWPL-6186

Problem:
smarthome compile error

Solution:
fix smarthome compile error

Verify:
compile OK

Change-Id: I6909374b8abbeac8ccb4bca760208d309d24f4bd
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
5 years agocpufreq: dts: adjust cpufreq table for g12b [1/1]
Hong Guo [Fri, 15 Mar 2019 07:06:25 +0000 (15:06 +0800)]
cpufreq: dts: adjust cpufreq table for g12b [1/1]

PD#SWPL-5975

Problem:
adjust cpufreq table for g12b

Solution:
adjust cpufreq table for g12b

Verify:
test pass on g12b_w400

Change-Id: I037ab2a1718a2aae0f42a15b7d95f163bc77ca85
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agoaudio: add HW resample for HDMIRX [1/1]
Shuai Li [Wed, 27 Mar 2019 08:37:00 +0000 (16:37 +0800)]
audio: add HW resample for HDMIRX [1/1]

PD#SWPL-6118

Problem:
No resample will cause mismatch between
input and output if they are not at same
samplerate.

Solution:
Add resample for hdmirx case

Verify:
Local tested.

Change-Id: I298e401578bf49484d6b75fd736d2a74c38508e4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
5 years agovideo: reuse initial phase [1/1]
shuanglong.wang [Wed, 20 Mar 2019 08:25:57 +0000 (16:25 +0800)]
video: reuse initial phase [1/1]

PD#SWPL-5664

Problem:
for netflix 23.97fps non-tunnle playback 3:2 patten broken so many times

Solution:
reuse initial phase that Tim use in amazon

Verify:
verify by u212

Change-Id: I5d988e1c3a3dbf1bb728f55a921e8b8fb6990985
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
5 years agotvafe: lower shutdown power for tl1 [1/1]
Nian Jing [Wed, 27 Mar 2019 11:04:53 +0000 (19:04 +0800)]
tvafe: lower shutdown power for tl1 [1/1]

PD#SWPL-6165

Problem:
TL1 vdee power too high when shutdown

Solution:
close bandgap when shut down for tl1
close vafe ctrl
close adc pll

Verify:
X301

Change-Id: I374bbe09ecdd456ea07f1fda3391acd4ab0bc949
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agoPPMGR: modify phys_to_virt to codec_mm_vmap. [5/5]
renjiang.han [Thu, 21 Mar 2019 03:16:43 +0000 (11:16 +0800)]
PPMGR: modify phys_to_virt to codec_mm_vmap. [5/5]

PD#TV-2649

Problem:
Kernel panic with phys_to_virt.

Solution:
Replace phys_to_virt with codec_mm_vmap.

Verify:
on u212

Change-Id: Ib3f94f66d37463490720cd1348b4ec94ad12aa15
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
5 years agoge2d: sm1: add ge2d power control [1/1]
Jian Cao [Thu, 28 Mar 2019 09:42:39 +0000 (17:42 +0800)]
ge2d: sm1: add ge2d power control [1/1]

PD#SWPL-6186

Problem:
add ge2d power control

Solution:
add ge2d power control

Verify:
SM1-AC200 board

Change-Id: I3ea08c4d800f78e5187b6ae334849db02309ce0e
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agousb: add NN power control [1/1]
cancan.chang [Fri, 29 Mar 2019 10:00:49 +0000 (18:00 +0800)]
usb: add NN power control [1/1]

PD#SWPL-5380

Problem:
add NN power control

Solution:
add NN power control

Verify:
sm1

Test: pass

Change-Id: I729d782181490fc31b0b18bb27718ad12b3937c0
Signed-off-by: cancan.chang <cancan.chang@amlogic.com>
5 years agousb: add usb power control [1/1]
Yue Wang [Fri, 29 Mar 2019 09:32:18 +0000 (17:32 +0800)]
usb: add usb power control [1/1]

PD#SWPL-6186

Problem:
add usb power control

Solution:
add usb power control

Verify:
sm1

Test: pass
Change-Id: I6c2822105ae02f955e56dc4d64163e8e14a7e329
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
5 years agoaudio: fixed conflict of SM1-bringup and mainline [1/1]
Zhe Wang [Fri, 29 Mar 2019 09:21:05 +0000 (17:21 +0800)]
audio: fixed conflict of SM1-bringup and mainline [1/1]

PD#SWPL-6486

Problem:
merge to mainline conflict.

Solution:
add clk change in dts

Verify:
sm1_ac200, verify pass

Change-Id: I37e7317cd795cd8cb9815ff20db49bc8644f0087
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
5 years agopower: sm1: add power control driver [1/1]
Shunzhou Jiang [Thu, 21 Mar 2019 09:43:57 +0000 (17:43 +0800)]
power: sm1: add power control driver [1/1]

PD#SWPL-6186

Problem:
add power control register

Solution:
avoid same register access at the same time

Verify:
sm1_skt

Change-Id: I0ec61cda9721c1b95a9d78f7884458f442581fe5
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agoCPUFREQ: update cpufreq tables for sm1. [1/1]
Hong Guo [Mon, 25 Mar 2019 09:08:59 +0000 (17:08 +0800)]
CPUFREQ: update cpufreq tables for sm1. [1/1]

PD#SWPL-6205

Problem:
update cpufreq tables.

Solution:
update cpufreq tables.

Verify:
sm1_ac200, verify pass

Change-Id: I360264df88981a16267a20896f97c93dbd0e4b37
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agoaudio: auge: support earc rx for sm1 [1/2]
Xing Wang [Sat, 23 Mar 2019 10:12:24 +0000 (18:12 +0800)]
audio: auge: support earc rx for sm1 [1/2]

PD#SWPL-5389

Problem:
earc rx dmac reset and clk issue

Solution:
fix earc rx dmac and clk

Verify:
ac200

Change-Id: Ie8e5582f1ee358a8cf694965c9963ae1eeb6685a
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agoNNA: add NNA support on sm1 [1/1]
cancan.chang [Mon, 25 Mar 2019 10:42:53 +0000 (18:42 +0800)]
NNA: add NNA support on sm1 [1/1]

PD#SWPL-5380

Problem:
sm1 not support NNA now.

Solution:
add NNA support.

Verify:
sm1_ac200 & sm1_skt

Change-Id: I3de566bbc730ef69f26160ad9f915ac92b4f2e2b
Signed-off-by: Cancan Chang <cancan.chang@amlogic.com>
5 years agoclk: sm1: add sm1 special clk [1/1]
Shunzhou Jiang [Fri, 22 Mar 2019 11:09:42 +0000 (19:09 +0800)]
clk: sm1: add sm1 special clk [1/1]

PD#SWPL-5407

Problem:
not include sm1 special defined clk

Solution:
add this clk

Verify:
sm1_skt

Change-Id: Iaf20aebe377d077d95eb053f7eea99473e3ac45d
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agocec: add change for sm1 [1/1]
Hang Cheng [Fri, 22 Mar 2019 07:58:50 +0000 (15:58 +0800)]
cec: add change for sm1 [1/1]

PD#SWPL-5419

Problem:
cec change for sm1

Solution:
add cec change for sm1

Verify:
ac200

Change-Id: Ic808e4bd128358b7f10c7f0b21a629d72f1c71cc
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
5 years agovdin: add sm1 support [1/1]
Evoke Zhang [Mon, 18 Mar 2019 11:48:02 +0000 (19:48 +0800)]
vdin: add sm1 support [1/1]

PD#SWPL-6065

Problem:
need add vdin support for sm1

Solution:
add vdin support for sm1

Verify:
pxp

Change-Id: I55af5273607a88f4e5a2394de0acbb44811da8f9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoirqchip: sm1 support double-edge gpio irq trigger [1/1]
Qianggui Song [Fri, 8 Mar 2019 07:40:42 +0000 (15:40 +0800)]
irqchip: sm1 support double-edge gpio irq trigger [1/1]

PD#SWPL-5395

Problem:
sm1 support double-edge trigger, current code do not support.

Solution:
add relatvie bitmask to support this function.

Verify:
ptm & sm1_skt

Change-Id: I48ebc9b38db868f946c49b6fd5f98d427b2669df
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
5 years agoaudio: auge: support av out and amp spk for sm1 [1/2]
Xing Wang [Thu, 21 Mar 2019 14:52:17 +0000 (22:52 +0800)]
audio: auge: support av out and amp spk for sm1 [1/2]

PD#SWPL-6192

Problem:
no sound from av and amp spk

Solution:
1) fix tocodec for sm1
2) add no mclk control for ad82584

Verify:
ac200

Change-Id: I63f0ec94d2f5b980249ac5c9c810c8e4d8410ea3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agodvb: sm1 bringup add one asyncfifo [2/2]
Chuangcheng Peng [Fri, 22 Mar 2019 10:08:48 +0000 (18:08 +0800)]
dvb: sm1 bringup add one asyncfifo [2/2]

PD#SWPL-5403

Problem:
demux add one asyncfifo, need compatile

Solution:
demux compatile with previous code.

Verify:
verify at sm1

Change-Id: Iea0b7b5f69d3200062b9e757f2712b98926fb3b9
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
5 years agodi: add di for sm1 bringup [1/1]
Yong Qin [Fri, 22 Mar 2019 12:41:15 +0000 (20:41 +0800)]
di: add di for sm1 bringup [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
add the chipid

Verify:
sm

Change-Id: I9b738efea210b4fb3deb2dab9de6a443aabadb53
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agodts: add dts-id for sm1 and g12a_u200. [1/1]
Jianxiong Pan [Fri, 22 Mar 2019 06:48:48 +0000 (14:48 +0800)]
dts: add dts-id for sm1 and g12a_u200. [1/1]

PD#SWPL-5865

Problem:
add dts-id for sm1 and g12a.

Solution:
sm1_ac200_2g
g12a_u200_1g
g12a_u200_2g

Verify:
no test.

Change-Id: Id09b2b811529d11b85898e5f3e83f558dc7ba5f6
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agoCPUFREQ: delete different cpufreq tables for sm1. [1/1]
Hong Guo [Fri, 22 Mar 2019 06:09:36 +0000 (14:09 +0800)]
CPUFREQ: delete different cpufreq tables for sm1. [1/1]

PD#SWPL-6205

Problem:
delete different cpufreq tables.

Solution:
delete different cpufreq tables.

Verify:
sm1_ac200, verify pass

Change-Id: I99142d2f99847f45eafc876a1b2d785a28815e15
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agodts: arm: disable cpu idle [1/1]
Hanjie Lin [Fri, 22 Mar 2019 06:04:22 +0000 (14:04 +0800)]
dts: arm: disable cpu idle [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
cpu idle has not ready, disable it

Verify:
AC200

Change-Id: I5dd4bf8d2940587b10b8c85ff64122ce931bfb85
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
5 years agoge2d: change ge2d to independent power [1/1]
Jian Cao [Wed, 20 Mar 2019 09:37:08 +0000 (17:37 +0800)]
ge2d: change ge2d to independent power [1/1]

PD#SWPL-5391

Problem:
change ge2d to independent power

Solution:
add independent power switch

Verify:
verified on SM1-AC200 board

Change-Id: Ifce980fc88753db63317c11bc1126e492b677a64
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agolcd: add mipi-dsi support for sm1 [2/2]
Evoke Zhang [Wed, 20 Mar 2019 10:54:47 +0000 (18:54 +0800)]
lcd: add mipi-dsi support for sm1 [2/2]

PD#SWPL-6114

Problem:
add mipi-dsi support for sm1

Solution:
add lcd_chip_sm1

Verify:
verify by S905x3

Change-Id: I1b95676ad1300f8cbf859f89b557f680cccff117
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoaudio: auge: add sound card for sm1 [2/2]
Xing Wang [Wed, 20 Mar 2019 14:44:51 +0000 (22:44 +0800)]
audio: auge: add sound card for sm1 [2/2]

PD#SWPL-6151

Problem:
sound card for sm1

Solution:
add sound card for sm1

Verify:
ac200

Change-Id: I4f65472af7a8399fb6fe003db608158e11bed566
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agosm1: emmc run hs200 busmode [1/1]
ruixuan.li [Wed, 20 Mar 2019 16:21:10 +0000 (00:21 +0800)]
sm1: emmc run hs200 busmode [1/1]

PD#SWPL-5404

Problem:
emmc report data crc error in hs200 busmode

Solution:
set hs200 co_phase to 2 and did not reset the
hs200 co_phase and tx_phase when adjust tuning is
find the error point in sm1

Verify:
verify pass on sm1_s905d3_ac200

Change-Id: I56aa8eb666fb55641db75878a3488f66c721bd6d
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
5 years agodebug: add atrace support [1/1]
Tao Guo [Wed, 16 Jan 2019 09:11:54 +0000 (17:11 +0800)]
debug: add atrace support [1/1]

PD#SWPL-4956

Problem:
Need atrace to debug multimedia issue

Solution:
Add atrace functions

Verify:
P212

Change-Id: Ieee441fc75b6f83e8e8a22350a402ec7e77f1134
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
5 years agodts: sm1: add sound card config [1/2]
Xing Wang [Wed, 20 Mar 2019 14:11:44 +0000 (22:11 +0800)]
dts: sm1: add sound card config [1/2]

PD#SWPL-6151

Problem:
sound card for sm1

Solution:
add sound card for sm1

Verify:
ac200

Change-Id: I1de0cfe1748d401ab0e21b0a244def37b277b1ff
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agodts: sm1: dts enable sdio node. [1/1]
Qiang Li [Wed, 20 Mar 2019 15:21:45 +0000 (23:21 +0800)]
dts: sm1: dts enable sdio node. [1/1]

PD#SWPL-5409

Problem:
dts sdio node disable.

Solution:
dts enable sdio node.

Verify:
SM1_AC200

Change-Id: Ifd33de0f08adb202af07eee13db8894fdf0c77fa
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
5 years agosm1: modify 400k co_phase [1/1]
ruixuan.li [Wed, 20 Mar 2019 11:06:24 +0000 (19:06 +0800)]
sm1: modify 400k co_phase [1/1]

PD#SWPL-5404

Problem:
emmc report response crc error in high speed mode

Solution:
modify 400k co_phas

Verify:
verify on ac200

Change-Id: I8bd0cbeb121e7a35a5f96791449187150e650d9e
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
5 years agocvbs: add cvbs support for sm1 [1/1]
Nian Jing [Wed, 20 Mar 2019 03:26:28 +0000 (11:26 +0800)]
cvbs: add cvbs support for sm1 [1/1]

PD#SWPL-6112

Problem:
need add cvbsout support for sm1

Solution:
add cvbsout support for sm1

Verify:
sm1

Change-Id: I037fbdb41b823d9ef93a9069f3798f8d38ac5796
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agodv: dv bringup for sm1 [1/1]
Yi Zhou [Mon, 18 Mar 2019 08:53:42 +0000 (16:53 +0800)]
dv: dv bringup for sm1 [1/1]

PD#SWPL-5408

Problem:
dv bringup for sm1

Solution:
dv bringup for sm1, add chip id

Verify:
sm1 ptm

Change-Id: Ifbf175cb5c495949f5e4bd02b98690f08239a735
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agoclk: sm1: add clk measure driver [1/2]
Shunzhou Jiang [Wed, 20 Mar 2019 07:33:25 +0000 (15:33 +0800)]
clk: sm1: add clk measure driver [1/2]

PD#SWPL-5407

Problem:
sm1 support clk measure

Solution:
support clk measure

Verify:
ac200

Change-Id: I43c74375c16fee73037a1df4e4531c429e1229fd
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agoclk: sm1: add clk measure driver [2/2]
Shunzhou Jiang [Tue, 19 Mar 2019 07:13:53 +0000 (15:13 +0800)]
clk: sm1: add clk measure driver [2/2]

PD#SWPL-5407

Problem:
sm1 support clk measure

Solution:
support clk measure

Verify:
ac200

Change-Id: If87c7c0bc53c8e2bcbf58a685f9ef7ac75462a70
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agovpp: sm1: add vpp and sr support [1/1]
Brian Zhu [Tue, 19 Mar 2019 16:13:20 +0000 (00:13 +0800)]
vpp: sm1: add vpp and sr support [1/1]

PD#SWPL-6101

Problem:
Need vpp and sr supprt for sm1

Solution:
add support for sm1

Verify:
test pass on sm1 ac200

Change-Id: I038ceba52a0b47512767e851d0047a3ee36e351c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agousb: modify usb dts for sm1 [1/1]
Yue Wang [Wed, 20 Mar 2019 07:24:46 +0000 (15:24 +0800)]
usb: modify usb dts for sm1 [1/1]

PD#SWPL-5385

Problem:
SM1 bring up

Solution:
modify usb dts for SM1 bringup

Verify:
g12a

Test: pass

Change-Id: Ie6f2925315ce12b3ad2964cf85aa3f4cee4bf2a7
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
5 years agodts: update chip name. [2/2]
Nanxin.Qin [Wed, 20 Mar 2019 07:46:56 +0000 (15:46 +0800)]
dts: update chip name. [2/2]

PD#SWPL-5261

Problem:
update chip name.

Solution:
the chip name used for media modules.

Verify:
AC200

Change-Id: I229ca3f991b29fdebf10f98dff5173768b910aaa
Signed-off-by: Nanxin.Qin <nanxin.qin@amlogic.com>
5 years agocpu: add the cpuid check interface [1/1]
zhiqiang liang [Wed, 20 Mar 2019 07:00:40 +0000 (15:00 +0800)]
cpu: add the cpuid check interface [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
add the cpuid check interface

Verify:
AC200

Change-Id: Ifa7dd8fb0b6ec621411652acf6b799e69c4069b7
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
5 years agoosd: add osd SM1 feature [1/1]
Pengcheng Chen [Wed, 20 Mar 2019 02:36:09 +0000 (10:36 +0800)]
osd: add osd SM1 feature [1/1]

PD#SWPL-6106

Problem:
bring up osd for SM1

Solution:
add osd SM1 feature

Verify:
Verified on SM1-AC200

Change-Id: I5cba13f7539e48f6cba1ca0fb3abcaad2ba8494d
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agopinctrl: add extra pins for sm1 base on g12b [1/1]
Qianggui Song [Fri, 8 Mar 2019 07:52:57 +0000 (15:52 +0800)]
pinctrl: add extra pins for sm1 base on g12b [1/1]

PD#SWPL-5405

Problem:
sm1 add some new pins base on g12b, pinmux need update.

Solution:
update extra pins to g12b pinmux.

Verify:
pxp

Change-Id: Idbdddb1e64ffb4e5a63ee3a69b5fc40e7ecfcc44
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
5 years agosdcard: sm1: fix dts problem. [2/2]
Qiang Li [Wed, 20 Mar 2019 03:15:04 +0000 (11:15 +0800)]
sdcard: sm1: fix dts problem. [2/2]

PD#SWPL-5409

Problem:
dts compile error.

Solution:
delect sd_emmc_b2 node.

Verify:
SM1_AC200

Change-Id: Ib3965a083fdc3f95a5c0a9de37bff98c898d0993
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
5 years agomedia: add codec support for SM1 [1/1]
Jian Cao [Tue, 19 Mar 2019 11:26:04 +0000 (19:26 +0800)]
media: add codec support for SM1 [1/1]

PD#SWPL-2867

Problem:
bringup codec for SM1.

Solution:
add the register ops for SM1

Verify:
Verified on SM1-AC200

Change-Id: I31db8f0b5816d67664e8161b3dc73574909afe31
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agosm1: disable emmc calc_f methods [1/1]
ruixuan.li [Tue, 19 Mar 2019 08:54:38 +0000 (16:54 +0800)]
sm1: disable emmc calc_f methods [1/1]

PD#SWPL-5404

Problem:
sm1 usb fixdiv mode set adjust cause error

Solution:
disable emmc calc_f in dtsi.

Verify:
test pass on sm1 ac200

Change-Id: I4459bf4faa2141a9e684b1e5bb95fb806eecbbfa
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
5 years agosdcard: sm1: add sdcard support. [1/2]
Qiang Li [Tue, 19 Mar 2019 06:44:14 +0000 (14:44 +0800)]
sdcard: sm1: add sdcard support. [1/2]

PD#SWPL-5409

Problem:
sm1 sdcard failed.

Solution:
change sm1 sdcard high speed mode co_phase.

Verify:
SM1_AC200

Change-Id: I295c6fac2594e611bf278f83a97bb503fb8bb13b
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agovpu: fix mem_pd reg addr mistake [1/1]
Evoke Zhang [Tue, 19 Mar 2019 04:38:30 +0000 (12:38 +0800)]
vpu: fix mem_pd reg addr mistake [1/1]

PD#SWPL-5857

Problem:
vpu_mem_pd register address changed

Solution:
update vpu_mem_pd register address for sm1

Verify:
pxp

Change-Id: Iefcb190b40a5ac949351a4c88bea502e437cd59f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agothermal: dts: enable sm1 thermal [1/1]
Huan Biao [Tue, 19 Mar 2019 07:53:11 +0000 (15:53 +0800)]
thermal: dts: enable sm1 thermal [1/1]

PD#SWPL-6071

Problem:
enable thermal for sm1

Solution:
enable thermal for sm1

Verify:
test pass on sm1_skt

Change-Id: I54fd4431bec1a48135da0b0b9c05cd53d4055a56
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
5 years agovpu: add vpu support for sm1 [1/1]
Evoke Zhang [Thu, 14 Mar 2019 04:30:44 +0000 (12:30 +0800)]
vpu: add vpu support for sm1 [1/1]

PD#SWPL-5857

Problem:
sm1 is a new chip

Solution:
add sm1 support for vpu driver

Verify:
pxp

Change-Id: I88966a26fb4f8f90620081c4d9a86ad21a6e03fc
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agodts: modify the dts for skt and ac200 board [1/1]
zhiqiang liang [Mon, 18 Mar 2019 14:50:37 +0000 (22:50 +0800)]
dts: modify the dts for skt and ac200 board [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
modify the dts for skt and ac200 board

Verify:
AC200

Change-Id: I5e5d52329d7a190ad2b4bd967be837b4ae91ea11
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
5 years agodts: add the chipid for sm1 bringup [1/1]
zhiqiang liang [Mon, 18 Mar 2019 13:01:31 +0000 (21:01 +0800)]
dts: add the chipid for sm1 bringup [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
add the chipid

Verify:
PxP

Change-Id: I7164a4fff39932f81de1b5c4404f1ad0d878484c
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>