Brian Zhu [Tue, 27 Feb 2018 16:16:16 +0000 (00:16 +0800)]
vpp: disable pps as default when scaler ratio is 1:1
PD#156734: vpp: disable pps as default when scaler ratio is 1:1
Change-Id: I5ff2a9a1089461c92996066e0cec4379a5d509e4
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Yicheng Shen [Sat, 24 Feb 2018 03:06:42 +0000 (11:06 +0800)]
hdmirx: code optimize
PD#158047: hdmirx code optimization
1.remove useless parameters;
2.optimize coding style issues;
3.optimize the code frame structure;
4.merge the recent commits from 3.14;
5.add edid information parse;
6.add a new FSM methode;
7.add param to debug file point;
Change-Id: I515ff36f3b0e45dd8b624e7701e2d4b2b1af7e81
Signed-off-by: Yicheng Shen <yicheng.shen@amlogic.com>
pengcheng chen [Wed, 28 Feb 2018 04:27:30 +0000 (12:27 +0800)]
osd: remove wiat vsync in pan_display
PD#154106: osd: remove wiat vsync in pan_display
Change-Id: I02e460d17cc23f316c9c9ff6d475d529fa7ef985
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
kele bai [Mon, 5 Mar 2018 09:14:06 +0000 (17:14 +0800)]
di: fix black screen&crash in switch test av&hdmi
PD#161570: di: fix black screen in hdmi 1080p mode
1) fix r321 black screen in hdmi 1080p mode
2) add debug info for recovery mode
3) move pre hold ratio configuration into pecial function
Change-Id: I6e482505da6f3621a1934f600cedcec4341e0743
Signed-off-by: kele bai <kele.bai@amlogic.com>
Laxman Dewangan [Thu, 6 Apr 2017 13:35:52 +0000 (19:05 +0530)]
gpio: core: Decouple open drain/source flag with active low/high
PD#161621: gpio: core: Decouple open drain/source flag with active low/high
Currently, the GPIO interface is said to Open Drain if it is Single
Ended and active LOW. Similarly, it is said as Open Source if it is
Single Ended and active HIGH.
The active HIGH/LOW is used in the interface for setting the pin
state to HIGH or LOW when enabling/disabling the interface.
In Open Drain interface, pin is set to HIGH by putting pin in
high impedance and LOW by driving to the LOW.
In Open Source interface, pin is set to HIGH by driving pin to
HIGH and set to LOW by putting pin in high impedance.
With above, the Open Drain/Source is unrelated to the active LOW/HIGH
in interface. There is interface where the enable/disable of interface
is ether active LOW or HIGH but it is Open Drain type.
Hence decouple the Open Drain with Single Ended + Active LOW and
Open Source with Single Ended + Active HIGH.
Adding different flag for the Open Drain/Open Source which is valid
only when Single ended flag is enabled.
Note: the patch from v4.14-rc6 with original commit ID
4c0facddb
Change-Id: I2f652614d3783caee3f510dc70e5e185379f49a7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Yi Zeng [Mon, 29 Jan 2018 06:31:14 +0000 (14:31 +0800)]
mtd: change the block number of RSV member into macro
PD#159810: mtd: change the block number of RSV member into macro
in case of customer want change the RSV part size, we'd better
make the block number of every part be a macro, in case miss modified
in somewhere.
Change-Id: I75e665cc3efd8b4bf4ad5a0843f855d4915ae180
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
Evoke Zhang [Fri, 2 Mar 2018 03:07:07 +0000 (11:07 +0800)]
p241: dts: remove vpu default config in dts, only left clk_level
PD#161337: p241: dts: remove vpu default config in dts, only left clk_level
Change-Id: I3f993324f493417227c9325017c0c346d129320f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Yalong Liu [Wed, 7 Mar 2018 05:58:13 +0000 (13:58 +0800)]
drm: fix g12a drm dtsi
PD#160546: fix g12a drm dtsi
Change-Id: Ie67f1c413abb7ad58561f8b921e0292763a01f02
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
binqi.zhang [Sat, 24 Feb 2018 13:17:03 +0000 (21:17 +0800)]
gpu: set up gpu max freq to 850MHz
PD#156734: gpu: set up gpu max freq to 850MHz
Change-Id: I96d9c9beddd4c5e723fe4c4790c7ce99aeebc1e6
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
Weiming Liu [Tue, 27 Feb 2018 09:14:37 +0000 (17:14 +0800)]
lcd: adjust the mipi_host reg address
PD#156734: lcd: adjust the mipi_host reg address
Change-Id: Ia25bd99d5eb32b129b4170558fdf42f820b7c977
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
Xing Wang [Tue, 6 Mar 2018 02:31:05 +0000 (10:31 +0800)]
audio: auge: pdm supports 96k sample rate
PD#156734: audio: auge: pdm supports 96k sample rate
1) pdm supports 96k sample rate
2) set HCIC gain additional shift as default 0
Change-Id: I056f87cd43bb5c07d04b2baff461bb38c7443f6d
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Yi Zeng [Thu, 18 Jan 2018 02:53:29 +0000 (10:53 +0800)]
mtd: add a new slc nand and avoid the 2nd column in some command
PD#158989: mtd: add a new slc nand and avoid the 2nd column in some command
new slc nand: F59L1G81MB (2M)(same id with F59L1G81MA (2Y),
called a joint name of F59L1G81Mxxx).
We do not send the 2nd column in some command such as: read id,
read parameter etc
Change-Id: Ibeac872231c880efde8a38e6344c326043e7d7dc
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
Yalong Liu [Tue, 6 Mar 2018 07:06:43 +0000 (15:06 +0800)]
drm: fix g12a buildoot dts
PD#160546: fix g12a buildoot dts
Change-Id: Ia910dbed885a6fd8b294629a3ef3a3a84405069f
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
jianxin.pan [Tue, 6 Mar 2018 05:00:39 +0000 (13:00 +0800)]
defconfig: generate defconfig with savedefconfig
PD#161257: generate meson64_smarthome_defconfig and
meson64_defconfig with savedefconfig
Change-Id: I2afe36040aa75ffe0540a0f74a11d8ec93e8f6ba
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
Hong Guo [Fri, 2 Mar 2018 06:14:39 +0000 (14:14 +0800)]
CPUFREQ: fix cpufreq system halt for reboot.
PD#156734: cpufreq: fix cpufreq system halt for reboot.
Change-Id: I5c12a58b2fa53ef4c22a7032572983bf566b19b7
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Qiufang Dai [Thu, 1 Mar 2018 13:56:06 +0000 (21:56 +0800)]
clk: fix g12a pll enable ops mutex in in_atomic
PD#161257: fix g12a pll enable ops mutex in in_atomic
Also fix mpll setting range
Change-Id: I0a3acfbfd111d48f3b31c8f068294c1714ad2886
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
kele bai [Fri, 2 Mar 2018 11:48:07 +0000 (19:48 +0800)]
di: fix post write crash for pps enabled in post
PD#156734: di: fix post write crash for pps enabled in post
1) diable post wirte in post write done irq to avoid
pps send data to fifo
Change-Id: I758be72a2fb2c17b731a7575f24a75bc44c5e816
Signed-off-by: kele bai <kele.bai@amlogic.com>
Nanxin Qin [Sat, 24 Feb 2018 11:22:41 +0000 (19:22 +0800)]
media: adds the register ops for media codec io efuse bus [1/2].
PD#161104: adds the register ops for media codec io efuse bus
Change-Id: I6fc625848442754b089428fd8cb10a3047fa4062
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
zhilei.wu [Mon, 5 Mar 2018 05:45:35 +0000 (13:45 +0800)]
dv: enable dv efuse for g12a
PD#157605: dv: enable dv efuse for g12a
Change-Id: I01bcded5f78bbf5c720b4ad95b06b0fc989c2692
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
Colin Cross [Fri, 11 Jan 2013 21:51:48 +0000 (13:51 -0800)]
hardlockup: detect hard lockups without NMIs using secondary cpus
PD#160530: porting hard lockup without nmi support
Emulate NMIs on systems where they are not available by using timer
interrupts on other cpus. Each cpu will use its softlockup hrtimer
to check that the next cpu is processing hrtimer interrupts by
verifying that a counter is increasing.
This patch is useful on systems where the hardlockup detector is not
available due to a lack of NMIs, for example most ARM SoCs.
Without this patch any cpu stuck with interrupts disabled can
cause a hardware watchdog reset with no debugging information,
but with this patch the kernel can detect the lockup and panic,
which can result in useful debugging info.
Change-Id: I720032cbec78c79d8b4accacc01f183c70e5d403
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Zongdong Jiao [Fri, 2 Mar 2018 10:24:07 +0000 (18:24 +0800)]
hdmitx: optimise the clock divider
PD#156734: optimise the clock divider of VID_PLL_DIV
This is a bridge of analog signal and digital signal module.
With VCO output 4.455Gbps/2160p60hzY420 12bits mode and the
ENCP needs 594MHz, there should divide half to reduce the
risk of HHI_VID_PLL_CLK_DIV.
Change-Id: If6965d64df1aa4b7cb4a8dd66847db3d5d17aea7
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
pengcheng chen [Thu, 1 Mar 2018 11:16:42 +0000 (19:16 +0800)]
osd: remove useless log print
PD#156734: osd: remove useless log print
Change-Id: Ib7638f396ece0ef2d29f81731bca74fd6794e696
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Evoke Zhang [Mon, 26 Feb 2018 06:49:01 +0000 (14:49 +0800)]
lcd: support two clk_path for g12a
PD#156734: lcd: support two clk_path for g12a
clk_path=0, use hpll, default setting;
clk_path=1, use gp0_pll.
clk_path is configured in dts, and can be changed by sysfs node:
echo path <n> >/sys/class/lcd/clk
Change-Id: I30d29ca8eefb2b3e8f4f7f37e4e0e639b23c06bb
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Long Yu [Wed, 7 Feb 2018 09:47:08 +0000 (17:47 +0800)]
PD#156734: emmc: refixed core phase value for emmc highspeed busmode
Change-Id: I33ce650b3ed9dd6eac41b0814679fb660991a738
Signed-off-by: Long Yu <long.yu@amlogic.com>
Evoke Zhang [Sat, 24 Feb 2018 07:36:53 +0000 (15:36 +0800)]
vout: update viu config when change display mode
PD#156734: vout: update viu config when change display mode
also clearup related reg settings in hdmitx/cvbsout/lcd.
Change-Id: I196363d6caaf7158c8e167fb8ca1353c74913263
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Evoke Zhang [Sat, 24 Feb 2018 02:55:57 +0000 (10:55 +0800)]
vpu: add viu2 vpu_clk_gate control
PD#156734: vpu: add viu2 vpu_clk_gate control
Change-Id: I5a40a71e83a673292810233b000e853bd0420fe8
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
pengcheng chen [Fri, 2 Mar 2018 07:41:39 +0000 (15:41 +0800)]
osd: add viu2 support for g12a
PD#156734: osd: add viu2 support for g12a
Change-Id: If225bdd08a0357960ca307ca7614131211b9aed1
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Jian Hu [Thu, 1 Mar 2018 06:33:42 +0000 (14:33 +0800)]
arm64: dts: add i2c alias aliases node
PD#158433: arm64: dts: add i2c alias in aliases node
add alias for i2c controller to fasten i2c dev id
Change-Id: I87c1999766c69e9df63f551f0559b8028844d660
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
MingLiang Dong [Sat, 24 Feb 2018 11:12:38 +0000 (19:12 +0800)]
amvecm: gamma init enable
PD#156734: amvecm: gamma init enable
Change-Id: Ie09dba089cb0c2c574758f184f4e722162b9ce80
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Evoke Zhang [Sat, 24 Feb 2018 09:17:23 +0000 (17:17 +0800)]
clktree: enable dsi_meas clktree
PD#156734: clktree: enable dsi_meas clktree
Change-Id: I2c359119aa3abf8525efd37b53c7c32620b877c5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Sam Wu [Tue, 27 Feb 2018 07:21:05 +0000 (15:21 +0800)]
factoryBurn: efuse: keyman support efuse user space
PD# 156734 PD# 160873
1, add efuse user space key-name list, then can user key-name rd/wr efuse.
Change-Id: I5feee2e59cefb96fae907403509a86a631e57342
Signed-off-by: Sam Wu <yihui.wu@amlogic.com>
Jiacheng Mei [Thu, 1 Mar 2018 06:35:23 +0000 (14:35 +0800)]
encoder: add encoder for G12A
PD#156734: add encoder for G12A
Change-Id: Ib12f6af79f4264b9de5960cc65b7a3fd13e252f0
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
kele bai [Fri, 23 Feb 2018 10:26:25 +0000 (18:26 +0800)]
di: turn on cont wr interrupt, fine tune cue
PD#156734: di: turn on cont wr interrupt, fine tune cue
1) turn on cont wr int, disable me int
2) modify cue mode for abnormal mode 2/4/7/8/9
3) move clk adjustment into thread env
4) set min clk rate when di disable
5) modify txlx clk tree
Change-Id: I759324806bb9c9bfa4e83ee4a39e5283c5653f3b
Signed-off-by: kele bai <kele.bai@amlogic.com>
MingLiang Dong [Thu, 1 Mar 2018 02:27:09 +0000 (10:27 +0800)]
amvecm: optimize G12A hdr code
PD#156734: amvecm: optimize G12A hdr code
1. put all the mtx/lut parameters together
Change-Id: I902c362fe8d8b01f2793789e9150640e929e1e73
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Brian Zhu [Tue, 13 Feb 2018 19:29:17 +0000 (03:29 +0800)]
ge2d: fix the vapb div and ge2d gate error
PD#156734: ge2d: fix the vapb div and ge2d gate error
Change-Id: Ib0e8c0328d0c136d7a0b50b0bba13cd95b3070f7
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
zhilei.wu [Wed, 28 Feb 2018 08:40:58 +0000 (16:40 +0800)]
ge2d: revised ge2d vapb clk for g12a
PD#156734: ge2d: revised ge2d vapb clk for g12a
Change-Id: Ie3acc059560f24957c2c95609fd3ecdde05b0e56
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
Nanxin Qin [Wed, 28 Feb 2018 13:15:01 +0000 (21:15 +0800)]
media: drop g12a register defintion change
PD#156734: media: drop g12a register defintion change
Change-Id: Ieadb57750228755a18357567028fa5ef642dc397
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
tao zeng [Sat, 24 Feb 2018 07:40:59 +0000 (15:40 +0800)]
mm: optimize for CMA allocate time
PD#159608: mm: optimize for CMA allocate time
1. Make all amlogic-changed mm code configuarable, which are
wrapped by CONFIG_AMLOGIC_CMA/CONFIG_AMLOGIC_MEMORY_EXTEND
2. Implement some core code of CMA to a single file:
drivers/amlogic/memory_ext/aml_cma.c
3. detailed imporove steps:
a) use NOOP as default IO-scheduler for nand based storage.
which can avoid long time wait for page lock found in
CFQ scheduler;
b) use per-cpu thread to allocate CMA concurrent when driver
request large amount CMA memory; these threads have high
user nice value to reduce schedule delay;
c) increase task user nice of mmc queue and kswapd.
d) wake up kswapd if page are hold by kswap shrink list and
cma isolated test failed.
e) Fobidden low user nice task use CMA, which can avoid priority
inversion problem.
f) optimize for LRU usage, devide each type of LRU to 2 parts,
normal pages are linked after LRU head, CMA pages are linked
after cma_list.
g) avoid compaction case move cma forbidden pages to cma area.
h) Increase strength of lowmemory killer.
4. Improve read speed of /proc/pagetrace, a filter can be set to
reduce message which not print functions allocate memory less
than filter value:
echo filter=xxx > /proc/pagetrace
Change-Id: Ie79288b7947aa642e4f7eacc25565559a73660df
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Nian Jing [Wed, 28 Feb 2018 12:14:45 +0000 (20:14 +0800)]
cvbs: drop busy mdelay, also update register settings
PD#156734: cvbs: drop busy mdelay, also update register settings
Change-Id: I7515dffda49bdd19407ebabf93ebfad5f8ce8125
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Xing Wang [Wed, 28 Feb 2018 12:03:30 +0000 (20:03 +0800)]
sound: minor fix make array data ready only, short delay
PD#156734: sound: minor fix make array data ready only, short delay
Change-Id: I12d2de5d52c5774bdf56b9358fb9213c8c77fafa
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Dezhi Kong [Mon, 26 Feb 2018 11:41:26 +0000 (19:41 +0800)]
SR: only disable sr for g12a default
PD#156734: sr: only disable sr for g12a default
Change-Id: I32b7f8be08adaebb2557eab4ed1ad39c084f36d6
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
Xing Wang [Sat, 24 Feb 2018 04:57:49 +0000 (12:57 +0800)]
audio: auge: pdm supports 64k sample rate
PD#156734: audio: auge: pdm supports 64k sample rate
Change-Id: Ia938906fc0aef51d66b947b376b62c21fb2c8c76
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
zhilei.wu [Fri, 2 Mar 2018 07:43:21 +0000 (15:43 +0800)]
dv: add dolby vision driver for g12a
PD#156734: dv: add dolby vision driver for g12a
Change-Id: I02490c69f6f834f491278403dfcc8923a3fcee77
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
Qiufang Dai [Sat, 10 Feb 2018 16:57:52 +0000 (00:57 +0800)]
dts: G12A: enable reboot and fix mhu playload base addr
PD#156734: enable reboot and fix mhu playload base addr
Change-Id: Ia0849bb9a695f91ea861c6f7ddd1079e4ba70175
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
qi duan [Sat, 24 Feb 2018 09:33:01 +0000 (17:33 +0800)]
USB: set UTMI interface is 8bit for new phy
PD#156734: USB: set UTMI interface is 8Bit for new phy on dwc2 controller.[1/1]
Change-Id: I2f57664ec75787066f6bac5bcee368b6904966f1
Signed-off-by: qi duan <qi.duan@amlogic.com>
Liang Yang [Tue, 13 Feb 2018 05:23:50 +0000 (13:23 +0800)]
nand: improve nfc clock
PD#156734: nand: improve nfc clock base on pad driver strength
set level1
Change-Id: I1a9fd710e415a064572063292ef569bf67e527a4
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
Brian Zhu [Fri, 23 Feb 2018 10:07:56 +0000 (18:07 +0800)]
osd: fix the fifo ctrl setting error
PD#156734: osd: fix the fifo ctrl setting error
Change-Id: I67560a98592b800658d9d8da3a314aac42d66ad2
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Evoke Zhang [Thu, 22 Feb 2018 10:36:38 +0000 (18:36 +0800)]
lcd: add mipi-dsi checking panel state support
PD#156734: lcd: add mipi-dsi checking panel state support
after config check_state parameters in dts,
you can get state by below sysfs node:
cat /sys/class/lcd/mpstate
Change-Id: I6e1d8452e17166cd9c04c2a4979f42308f995b9a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Yalong Liu [Thu, 8 Feb 2018 12:55:04 +0000 (20:55 +0800)]
DRM: add drm support for g12a
PD#160546: DRM: add drm support for g12a
Verified on g12a
Change-Id: I5bfa4ad388e181af629e013a8d7c516ae5fc3fa4
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
Evoke Zhang [Sun, 11 Feb 2018 09:06:12 +0000 (17:06 +0800)]
vpu: update vpu_clk_gate control for g12a
PD#156734: vpu: update vpu_clk_gate control for g12a
Change-Id: Ia0d2bce8ea0e6951a435fc236e4b82bbd32ebcca
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
weiming.liu [Wed, 7 Feb 2018 06:37:33 +0000 (14:37 +0800)]
bl_extern: add lp8556 driver
PD#156734: bl_extern: add lp8556 driver
Change-Id: Id38b698cbc87a227abdcd52037c65df87fc8d654
Signed-off-by: weiming.liu <weiming.liu@amlogic.com>
kele bai [Fri, 9 Feb 2018 03:25:41 +0000 (11:25 +0800)]
di: fix MADI flicker for mem enable
PD#156734: di: fix MADI flicter for mem disable
1) pre ctrl bit11 error cause mem disable
2) update vpu clkb rate
3) fix pulldown parameters probe error
4) fix pulldown count error add default threshold
5) fix pre timeout for intr shared with post
6) mif gate freerun according vlsi avoid mif reg config incorrect
Change-Id: Id8dddff213910bffb6e40b2667738e9ee3d720ca
Signed-off-by: kele bai <kele.bai@amlogic.com>
Xing Wang [Tue, 6 Feb 2018 09:21:00 +0000 (17:21 +0800)]
audio: auge: fix audio locker, resample, tdm format, eq/drc, share buffer
PD#156734: audio: auge: fix audio locker, resample, tdm format, eq/drc, share buffer
Change-Id: I03750c34310bdbc32eddc51f64cf4b91a95325bc
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Brian Zhu [Sun, 11 Feb 2018 10:01:32 +0000 (18:01 +0800)]
display: power improvement for g12a
PD#156734: display: power improvement
1.pwr off osd2, osd3, osd2 scaler osd3 scaler mem pd
2.change osd fifo size
3.disable osd deband as default
4.disable vpu probe as init
5.disable sr as temp
6.disable vd1,vd2 mif gclk
7.disable vdin gclk
Change-Id: Iec93b4071618df67169cfc98c6056afe3e3464f0
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Zongdong Jiao [Fri, 9 Feb 2018 11:58:10 +0000 (19:58 +0800)]
hdmitx: bringup for g12a
PD#156734: hdmitx: update hdmi phy parameters for 6Gbps
also, add missing clock setting, and redefine hpll reset
Change-Id: I4a16658b9a04d58e69747db71915b5841bb268e7
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
weiming.liu [Mon, 12 Feb 2018 02:53:35 +0000 (10:53 +0800)]
lcd: add mipi_dsi cmd debug interface
PD#156734: lcd: add mipi_dsi cmd debug interface
Change-Id: Ic6dc874b59f0ac310867378ec691ea3b3746dd90
Signed-off-by: weiming.liu <weiming.liu@amlogic.com>
Jiyu Yang [Thu, 8 Feb 2018 03:10:05 +0000 (11:10 +0800)]
dts: add 850M clk configure
PD#156734: dts: add 850M clk configure
the signoff maxfreq is 850M using gp0_pll.
this may conflict with dsi pannel. donot configure 850M if dsi was used.
Change-Id: I1a861163d97740404f9977993394d0ccb7ce929d
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
Bo Yang [Wed, 7 Feb 2018 13:31:50 +0000 (21:31 +0800)]
dtsi: meson-g12a: add pwm slave device node
PD#156734: dtsi: meson-g12a: add pwm slave device node
Change-Id: I0c1838e25f7247c342a372bdc1cc5043fd7d8086
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
MingLiang Dong [Sun, 11 Feb 2018 12:14:46 +0000 (20:14 +0800)]
amvecm: optimize g12a hdr effect
PD#156734: amvecm: optimize g12a hdr effect
Change-Id: Iebb38ce8cc2f9884f6e3df3a740d5985a4e4cd2b
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Fri, 9 Feb 2018 12:21:34 +0000 (20:21 +0800)]
amvecm: fix dynamic switch output mode
PD#156734: amvecm: fix dynamic switch output mode
Change-Id: I22fbfae7de477870bdd4ad69a1279ae2ec52f290
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Brian Zhu [Fri, 9 Feb 2018 08:35:23 +0000 (16:35 +0800)]
video: add bypass cm interface and change afbc busrt
PD#156734: video: add bypass cm interface and change afbc busrt
Change-Id: I868057bc00e8ec3798675a20aba0010fda983f13
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Qiufang Dai [Sun, 4 Feb 2018 18:23:21 +0000 (02:23 +0800)]
clock: G12A: add 846M freq for pll table
PD#156734: G12A: add 846M freq for pll table
Change-Id: I3a2d7a265d0b8af8445a59f0585dd7bfd0caad39
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
hong.guo [Sun, 11 Feb 2018 04:39:55 +0000 (12:39 +0800)]
CPUFREQ: fix cpufreq at low 1.2G.
PD#156734: cpufreq: fix cpufreq at low 1.2G.
Change-Id: I87e0c430af7807883bbda7c1e00d1165a1bb2d19
Signed-off-by: hong.guo <hong.guo@amlogic.com>
huan.biao [Sun, 11 Feb 2018 02:52:57 +0000 (10:52 +0800)]
thermal: G12A: bind cooldev dts.
PD#156734: bind cooling devices dts to tzd.
Change-Id: I82d3cdacd32cba3959ef4a3008c6e7896a67a5b4
Signed-off-by: huan.biao <huan.biao@amlogic.com>
hong.guo [Fri, 9 Feb 2018 11:02:08 +0000 (19:02 +0800)]
CPUFREQ: add cpufreq 1.7G.
PD#156734: cpufreq: add cpufreq 1.7G.
Change-Id: I5558fc5195621b4b70edb5718cd23e405fffe1ba
Signed-off-by: hong.guo <hong.guo@amlogic.com>
Xing Wang [Fri, 9 Feb 2018 03:37:11 +0000 (11:37 +0800)]
audio: dts: add audio efuse module support for g12a
PD#156734: audio: dts: add audio efuse module support for g12a
Change-Id: I15510474ed191d0abafd2efc2999032b5c1a919c
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Zhuo Wang [Fri, 9 Feb 2018 11:18:10 +0000 (19:18 +0800)]
dts: g12a: ethernet: re-organize ethernet dts/dtsi
PD#156734: re-organize dts of ethernet
Change-Id: I17724af9244fb1c2c06beceb8ef82f1550ddf8d6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Nanxin.Qin [Wed, 7 Feb 2018 15:58:11 +0000 (23:58 +0800)]
dts: enable clocks of the media modules.
PD#156749:
Change-Id: Icc1b2d20ce3c470a91a9c6aa4374bc8462e2db6d
Signed-off-by: Nanxin.Qin <nanxin.qin@amlogic.com>
MingLiang Dong [Thu, 8 Feb 2018 11:57:25 +0000 (19:57 +0800)]
amvecm: add hdr support for g12a
PD#156734: amvecm: add hdr support for g12a
Change-Id: Ia1f5d3d7b13a6cec7f07bfe6cb7d06264ffcc82d
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Yue Wang [Fri, 9 Feb 2018 03:38:34 +0000 (11:38 +0800)]
usb: fix usb device rename bug for g12a
PD#156734: usb: fix usb device rename for g12a
Change-Id: Iecb0ae41f3eb41b7fd6005a842ce76fb50628039
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Yue Wang [Thu, 8 Feb 2018 11:59:30 +0000 (19:59 +0800)]
usb: fix usb2 phy pll setting for g12a
PD#156734: usb: fix usb2 phy pll setting for g12a
Change-Id: I7b7ab2f9cddfa2b17e81f6691d2ba8f44f99555b
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Yi Zhou [Thu, 8 Feb 2018 14:14:28 +0000 (22:14 +0800)]
hdmitx: bringup for g12a
PD#156734: bringup for g12a
update some registers address
Change-Id: I7a4660e3811d7f193ac8212fd7fb5fd80767c89e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Brian Zhu [Wed, 7 Feb 2018 16:05:07 +0000 (00:05 +0800)]
osd: enable osd rdma and afbc function
PD#156734: osd: enable rdma and afbc function
Change-Id: I62b7a3bd84b758455deb2f614c763a145f751f63
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
hong.guo [Thu, 8 Feb 2018 10:54:33 +0000 (18:54 +0800)]
CPUFREQ: delete cpufreq driver's log config.
PD#156734: cpufreq: delete cpufreq driver's log config.
Change-Id: Ic9ccdbab8cb92540f542151da69c1c37bfaeaf44
Signed-off-by: hong.guo <hong.guo@amlogic.com>
Dezhi Kong [Tue, 6 Feb 2018 06:55:11 +0000 (14:55 +0800)]
vdin: add reset patch && viu debug interface
PD#156734: vdin: add reset patch && viu debug interface
1.add vdin reset for g12a
2.add viu-vd1/vd2/osd1/osd2 loop debug interface
3.add hiu reg r/w support
4.delete sr temp debug code
Change-Id: Ia503b2471827f835394dd81667a4672cb0434e69
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
huan.biao [Thu, 8 Feb 2018 07:21:25 +0000 (15:21 +0800)]
thermal: G12A: update thermal driver
PD#156734:fix build error.
Change-Id: Iafa7c3a06d1c180ce69bcb58cc5c339c13fee65c
Signed-off-by: huan.biao <huan.biao@amlogic.com>
huan.biao [Thu, 8 Feb 2018 06:32:18 +0000 (14:32 +0800)]
thermal: G12A: update thermal driver.
PD#156734:
tsensor: update temp to reg calc.
cooldev: add cpufreq driver check.
Change-Id: I534716247908dd066c6dd8fe1680f977c5972b5a
Signed-off-by: huan.biao <huan.biao@amlogic.com>
huan.biao [Sat, 3 Feb 2018 16:57:13 +0000 (00:57 +0800)]
thermal: G12A: add tsensor and cooldev dts.
PD#156734: add tsensor and cooling devices dts.
Change-Id: Ia6875a5f06c225bb034c5301e14fb3bc3191aa14
Signed-off-by: huan.biao <huan.biao@amlogic.com>
Yonghui Yu [Tue, 6 Feb 2018 15:14:32 +0000 (23:14 +0800)]
sdio: both pio&dma are supported for g12a
PD#156734: g12a: sdio: both pio&dma are supported.
Change-Id: I92d0961c94cf1a77867af92870d1781d89a3168d
Signed-off-by: Yonghui Yu <yonghui.yu@amlogic.com>
huan.biao [Thu, 8 Feb 2018 02:14:32 +0000 (10:14 +0800)]
thermal: G12A: fix cpucore cooling devices driver.
PD#156734: fix cpucore cooling issue.
Change-Id: I9c1340e605d51df5eae8e49814f948981c9dc763
Signed-off-by: huan.biao <huan.biao@amlogic.com>
huan.biao [Sat, 3 Feb 2018 16:49:31 +0000 (00:49 +0800)]
thermal: G12A: tsensor and cooldev driver.
PD#156734: add thermal tsensor and cooling devices driver.
Change-Id: I22ea0e03692fbcf7da269330fde86e07f189c4e9
Signed-off-by: huan.biao <huan.biao@amlogic.com>
Brian Zhu [Wed, 7 Feb 2018 12:13:41 +0000 (20:13 +0800)]
ppmgr: enable for g12a
PD#156734: ppmgr: enable for g12a
Change-Id: Iaf5076f7c3c6f58dfd40be29ba7d19e8c6b9145b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Jiamin Ma [Wed, 7 Feb 2018 12:08:49 +0000 (20:08 +0800)]
unifykey: add unifykey description in g12a_skt dts
PD#156734: g12a bring up
Change-Id: Iae5bc74a1230df4d0c5025267b149e6a235a1681
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Yu Tu [Tue, 6 Feb 2018 05:08:00 +0000 (13:08 +0800)]
remote out: add irblaster config for G12A
PD#156734: remote out: modify irblaster read register from dts for G12A
Change-Id: I36d1c4ce8ce968f7955d55c0678670e7258889f1
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
weiming.liu [Tue, 6 Feb 2018 07:58:36 +0000 (15:58 +0800)]
lcd: update pll parameter
PD#156734: lcd: update pll parameter
Change-Id: Ie431c33abc794e043f07bd1bb9ff64d896f48f7f
Signed-off-by: weiming.liu <weiming.liu@amlogic.com>
Qiufang Dai [Sun, 4 Feb 2018 08:05:05 +0000 (16:05 +0800)]
clock: G12A: add hevcf, spicc clock
PD#156734: add hevcf, spicc clock
Change-Id: Ibe63b44e61058255b3b72ef9efaded765e262b0a
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
kuibao zhang [Fri, 2 Feb 2018 13:28:39 +0000 (21:28 +0800)]
BT: g12a_skt: initial host wake bt pin [1/1]
PD#156734: bt: g12a_skt: initial host wake bt pin
1.host wake bt pin (gpiox_19) should keep high when bt
lpm function is enabled, otherwise bt moudle would go
to sleep.
2.set this pin in dts
Change-Id: I401fa158bf11b60ef1a7727ea25e55f94cf273a8
Signed-off-by: kuibao zhang <kuibao.zhang@amlogic.com>
Bo Yang [Mon, 5 Feb 2018 15:02:47 +0000 (23:02 +0800)]
i2c: meson: set clk div for fast mode
PD#156734: i2c: meson: set clk div for fast mode
According to I2C-BUS Spec 2.1, in FAST-MODE, LOW period should be at
least 1.3uS, and HIGH period should be at lease 0.6. HIGH to LOW
ratio as 1 to 2 is more safe.
So in FAST-MODE, we should control the SCL low time.
And fix REG_SLAVE_DDR write mask.
Change-Id: I39ec81c67f543dfdf261d39e8da79489f2c79483
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
hong.guo [Mon, 5 Feb 2018 10:43:10 +0000 (18:43 +0800)]
CPUFREQ: modify cpufreq dts.
PD#156734: cpufreq: modify cpufreq dts.
Change-Id: I16113e3414a3e336cbd4c0eb869706dd3d22a15b
Signed-off-by: hong.guo <hong.guo@amlogic.com>
Yi Zhou [Sun, 4 Feb 2018 17:29:47 +0000 (01:29 +0800)]
hdmitx: bringup for g12a
PD#156734: bringup for g12a
1.use ioremap
2.enalbe hpd for the first time
Change-Id: I5375c8b7732f4dd552e7c7207b90d411aeacafbd
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Evoke Zhang [Thu, 1 Feb 2018 16:24:35 +0000 (00:24 +0800)]
vout: add missed vout2_module macro definition protection
PD#156734: vout: add missed vout2_module macro definition protection
Change-Id: I141d05ec9f40e4b42eb39b72d069907aa4480a99
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Liang Yang [Sun, 4 Feb 2018 13:34:39 +0000 (21:34 +0800)]
nand: free controller when no nand inserted or error
PD#156734: nand : no nand or init error handle
Change-Id: I9a1383117db2021204826e04d36fb91ba4213126
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
hong.guo [Sun, 4 Feb 2018 05:46:10 +0000 (13:46 +0800)]
CPUFREQ: add dvfs cpufreq and latency.
PD#156734: cpufreq: add dvfs cpufreq cpufreq and latency.
Change-Id: I0d7c74e54b2e6dcbd949c1c59cce41deec5047f7
Signed-off-by: hong.guo <hong.guo@amlogic.com>
Yi Zhou [Sun, 4 Feb 2018 11:47:09 +0000 (19:47 +0800)]
hdmitx: eliminate unnecessary print
PD#156734: hdmitx: eliminate unnecessary print
Change-Id: Id79e6f14367f3c0201d1968a3d61168a47a14e3a
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
weiming.liu [Fri, 2 Mar 2018 07:36:27 +0000 (15:36 +0800)]
lcd: add g12a support
PD#156734: lcd: add lcd driver for g12a
Change-Id: Ib859dfdc2a1785c7e1e2ab506bf1dfd0cad55887
Signed-off-by: weiming.liu <weiming.liu@amlogic.com>
Bo Yang [Sun, 4 Feb 2018 09:07:44 +0000 (17:07 +0800)]
pwm: meson-g12a: fix pwm xtal
PD#156734: pwm: meson-g12a: fix pwm xtal
Fix pwm xtal.
And update pwm dts compatible.
Change-Id: I0314ed1b628abfe4a3e303ca827bdd50f2a2c2e8
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
Nanxin Qin [Sun, 4 Feb 2018 08:55:25 +0000 (16:55 +0800)]
media: fixed the issure of mpeg12 playback.
PD#156734:
Change-Id: I87d814707d864a8fc81bcb35712ef0c25fea65db
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Bo Yang [Sun, 4 Feb 2018 08:45:16 +0000 (16:45 +0800)]
dts: meson-g12a: update hmditx i2c pinctrl
PD#156734: dts: meson-g12a: update hmditx i2c pinctrl
Remove repetitive i2c definition.
Change-Id: Ide1b6467385b0f31da30aeffe8244d3918d8a0f8
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
kele bai [Sun, 4 Feb 2018 08:27:20 +0000 (16:27 +0800)]
di: di post wr&vpp link disaply ok
PD#156734: di:
1) fix 0x1a0a error config in video.c
2) update gate control for if0
Change-Id: I6f1a7080b1f6f2d343ed3773ef55b2834d55d0d6
Signed-off-by: kele bai <kele.bai@amlogic.com>
Sunny Luo [Sun, 4 Feb 2018 07:57:09 +0000 (15:57 +0800)]
dts: g12a-skt: add touch device node
PD#156734: dts: g12a-skt:
1. add and enable focaltech ftxx
2. add and enable goodix gtxx
Change-Id: Iff3a2d0a28c5ba78c93f23623b3c34b651bb2cae
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>