Commit Graph

643559 Commits

Author SHA1 Message Date
zhilei.wu
615f9964c8 ge2d: disable src2 alpha with notsupport src2_alp
PD#162344: ge2d: disable src2 alpha with notsupport src2_alp

Change-Id: I049568f57c328ed6128e95ee83c6974226c36544
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-03-28 14:59:41 +08:00
Jiacheng Mei
5ea879e6aa dts: enable node amvenc_avc for encoder[1/2]
PD#162608: enable node amvenc_avc for encoder

Change-Id: If66e4d04b3803b22c638f38958f96db157c2ef14
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
2018-03-28 11:19:54 +08:00
Xingyu Chen
3fcf2b78e4 pinctrl: keep the same GPIO ID after adding GPIOV_0 for G12A
PD#163124: pinctrl: keep the same GPIO ID after adding GPIOV_0 for G12A

Change-Id: I45b99df3a15e2bf0f7ad34ae8705dc4a509c70a1
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-03-27 04:22:54 -08:00
yu.fang
ae1d0b86a4 DTS: partitions: change axg partitions for bringup android O
PD#158937: A113 Android O trunk bring up.

Change-Id: Ibdb605b5c17abe8165270621e6893ea1d2ab88ef
Signed-off-by: Yu Fang <yu.fang@amlogic.com>
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
2018-03-27 00:32:12 -08:00
Xingyu Chen
ffa4aa65ca pinctrl: improve the eth groups for gxl
PD#163038: pinctrl: improve the eth groups for gxl

add "eth_link_led" and "eth_act_led" pin groups to eth function group

Change-Id: I28f434f100be7636ddbc9a5159418d6efb7f027a
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-03-27 16:18:21 +08:00
Sunny Luo
22587c5484 spicc: support irregular bit-width
PD#162464: spicc: support irregular bit-width

some device work at a irregular bit-width for example,
11 bit-width and tx data is {0xa1, 0x62},
the LSB bit order is: 10100001 011 (0xa1 + 3 bits of 0x62)
the MSB bit order is: 01100010 101 (0x62 + 3 bits of 0xa1)
note: all case more than 16 bits will run at 4-byte-per-word though one
byte discarded.

to print the difference between tx and rx if mode[16]=1

Change-Id: Ibdd438c3fe764986c71b77ec2d4fa0db489dd439
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2018-03-26 23:45:21 -08:00
Zhuo Wang
ba83052961 ethernet: add eye pattern and phy default value
PD#163016: add eye pattern and modify internal phy status

Change-Id: I18e0164646b17b86187fe1fe5c0189c9c2302130
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2018-03-26 18:37:24 -08:00
Xingyu Chen
ea4dac67b9 keypad: avoid repetition of reporting power key event
PD#160889: keypad: avoid repetition of reporting power key event

If the adc_keypad and gpio_keypad driver are enabled at the same time,
the system will report two power key event when it resumes, and the
second event will result in the system suspend again. The patch resolves
the bug.

Change-Id: Iea4d9e2bf6632e4603dc9743fce07e5af74d0273
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-03-26 17:58:00 -08:00
Weiming Liu
50df814984 lcd_extern: add tl050fhv02ct driver
PD#162533: lcd_extern: add tl050fhv02ct driver

Change-Id: Ie046eb45542327b77ad3897785ecd99378b689fd
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
2018-03-26 17:35:16 -08:00
Xingyu Chen
0731af6113 pinctrl: add virtual GPIO "GPIOV_0" for g12a
PD#162992: pinctrl: add virtual GPIO "GPIOV_0" for g12a

The gpio is used to set the bit PERIPHS_PIN_MUX_2 BIT[17]. Please refer
the following method to use it.

1). set the PERIPHS_PIN_MUX_2 BIT[17] to <1>
mux_en {
	groups = "sdio_dummy";
	function = "sdio";
}

2). set the PERIPHS_PIN_MUX_2 BIT[17] to <0>
mux_dis {
	groups = "GPIOV_0";
	function = "gpio_periphs";
}

Change-Id: Ied0e6c71ed1ff8ab9a26cb76ec1508d83a4453d7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-03-26 01:41:10 -08:00
Xingyu Chen
6e0c76302d pinctrl: add new pinconf attrs "output-high" and "output-low"
PD#162858: pinctrl: add new pinconf attrs "output-high" and "output-low"

we can refer the following example to use:
mux {
	groups = "GPIOC_0", "GPIOC_1", "GPIOC_2",
		"GPIOC_3", "GPIOC_4", "GPIOC_5";
	function = "gpio_periphs";

	output-high; // or output-low
}
output-high: GPIO_EN_N[pin]=<0> and GPIO_O[pin]=<1>
output-low : GPIO_EN_N[pin]=<0> and GPIO_O[pin]=<0>

Change-Id: I3f8ec1bd1eff7c7d6e7416b608e4c5d6c7b15955
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-03-25 22:00:22 -08:00
Yixun Lan
48fe27347d clk: meson: axg: fix the od shift of the sys_pll
PD#159137: clk: meson: axg: fix the od shift of the sys_pll

According to datasheet, the od shift of sys_pll is 16,
fix the typo which introduced at previous commit.

Change-Id: I8d7e36b1178c0ab7f89791964fe4bb216c551d6d
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
2018-03-26 10:13:27 +08:00
Zhe Wang
ee8657ab98 audio: fixed dts error for spdif out[1/1]
PD#162258: spdif out is no audio output

1) fixed pinmux error
2) add mute flag for Pause

Change-Id: Icb60dba86d5b305eedf78b0fd410e0a16800c503
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2018-03-24 01:22:27 -08:00
Yi Zeng
79fe27f635 mtd: use sprintf instead of printk in show functions
PD#134355: mtd: use sprintf instead of printk in show functions

Remove the unused system attribute in dtb and env.

Change-Id: Ie7f7bda60ac1b192708a6b6fd0dc1c77ca1eb0e0
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
2018-03-24 01:20:56 -08:00
Kaifu Hu
6d6abcb26a hdmitx: add enci clktree
PD#162219: hdmitx: add enci clktree

Add enci clktree support for 480i and 576i.

Change-Id: Id7bc3444bd634deb1a52c8faf7f3d2f017d33e73
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-03-23 07:26:05 -08:00
wenbiao zhang
48356ebe30 g12a: add g12a buildroot dts.
PD#162359: g12a: add g12a buildroot dts.

Change-Id: Ie6013b3e5c3a9b04197599ae047f6806bfb9d37d
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
2018-03-23 01:58:32 -08:00
Yao.Liu
46634bf199 video_sink: disable video_type_compress for resolution over 720p
PD#159581: video_sink: disable video_type_compress for resolution over 720p

Change-Id: Ie5909bc087a2770a93e0e617f319143f5cacaa7f
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
2018-03-23 00:13:58 -08:00
Yao.Liu
7c34cfb346 codec_mm: clear scatter cache when codec_mm_codec_in failed
PD#158909: clear scatter cache when codec_mm_codec_in failed

Change-Id: Ie3f4da06699222b6dbd8caee6982dc71288881c1
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
2018-03-23 00:08:20 -08:00
zhilei.wu
3c7c04dc46 ge2d: revised q201 ge2d dts
PD#162855: ge2d: revised q201 ge2d dts

Change-Id: Ifd5878b720138e646377063a2707ef13c48ca94a
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-03-23 13:59:19 +08:00
Yue Wang
31e9b44277 usb: fix u211 dts setting.
PD#162619: usb: fix u211 dts setting.

Change-Id: I098f9d857272ce94ddb9fe16d876b4e0b2e0d8e8
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-03-22 18:28:59 -08:00
Yue Wang
b54f713390 pcie: enable pcie legacy irq.
PD#162549: pcie: enable pcie legacy irq.

Change-Id: I46eaf7aadec8083b97f4cab103414ea302435fd8
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-03-22 18:03:56 -08:00
Brian Zhu
d8640c010e vpp: remove vd1 & vd2 mif gate setting
PD#161364: vpp remove vd1 & vd2 mif gate setting to avoid screen flicker

Change-Id: I6fa8eed89b33cbde698472167ba000f132c897ad
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-03-22 01:39:33 -08:00
zhilei.wu
72ee0d6143 dv: fixed compile error when disable CONFIG_DOLBYVISION
PD#162653: dv: fixed compile error when disable CONFIG_DOLBYVISION

Change-Id: Ia56e72deb9d4d47d38beff6295eee2d9e99b6d58
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-03-21 23:55:59 -08:00
Ruixuan Li
2ce3582aba emmc: fix dtb backup mechanism
PD#162119: emmc: fix dtb backup mechanism

Change-Id: I32ca6ffb2c01bb5f50a5af3f0b2942077da61eb8
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2018-03-21 23:08:36 -08:00
Yue Wang
9428ea9afb usb: enable usb suspend.
PD#161622: usb: enable usb suspend.

Change-Id: I28e2ac7855dbdfe0299592189af179575a264272
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-03-21 21:49:26 -08:00
Xingyu Chen
4e25db3eef arm64: dts: add adc and gpio keypad support for u200
PD#160889: arm64: dts: add adc keypad support for u200

Change-Id: I19e2e32023fdaf071bf0231de368e37be5e609f7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-03-21 20:44:11 -08:00
Sunny Luo
838f35a01d spicc: compatible modify for g12a
PD#162464: spicc: compatible modify for g12a

1. add dma wait cycle while high speed.
2. support auto dma threshold setting.
3. support pio LSB-FIRST mode.
4. change dma from LSB to MSB-FIRST mode.
5. support loop-back set by transfer mode.
6. delete some sys class entries unused.

Change-Id: Ic10ccb7e7459499c1b25ee074e069f157fb9c72c
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2018-03-21 19:05:31 -08:00
Zhuo Wang
f0bdfcc909 ethernet: setup u200 as rgmii network
PD#162470: config u200 as rgmii network

Change-Id: I60f482f1d459c47dc81801bdeee9e5bf4ccda1d7
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2018-03-21 18:41:53 -08:00
Yicheng Shen
d5764b29f6 hdmirx: modify audio sample rate threshold value
PD#162077: modify audio sample rate threshold value

Change-Id: I60ce021825aeba2d963467dec6ec7b6a37a1c634
Signed-off-by: Yicheng Shen <yicheng.shen@amlogic.com>
2018-03-21 17:45:19 -08:00
Yi Zhou
75c241ee6a hdmitx: fix a null pointer in hdmitx_late_resume function
PD#162465: hdmitx: fix a null pointer in hdmitx_late_resume function

Change-Id: Ib4b3f55d2ca8274fb4c1000cf79f403006d7a475
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-03-21 05:17:28 -08:00
Sunny Luo
b436174f7e dts: spicc: add node for g12a_s905d2 skt.
PD#162464: dts: spicc: add node for g12a_s905d2 skt

kernel4.9 still use the amlogic driver. DTS compatible name should be
"spicc" but not "meson-g12a-spicc" to avoid probing the upstream driver.

Change-Id: I0465f71f1504929a459ae1d912cc4bb1f397ccde
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2018-03-21 03:55:16 -08:00
zhilei.wu
5e36324e74 dv: revised PQ calculation for vout panel
PD#157605: dv: revised PQ calculation for vout panel

Change-Id: I6a3d0a0fee30b82102e8344625669aab0f2f2965
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-03-21 00:20:45 -08:00
yicheng shen
0a22008d1f hdmirx: enable edid overlay function
PD#161284: hdmirx: enable edid overload function

Change-Id: If8d88c0351d9d79b9fe9cf5737d8909fc12480fb
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2018-03-20 22:11:49 -08:00
zhilei.wu
f3aa7318d4 dv: fixed core2 lut table error
PD#161010: dv: fixed core2 lut table error

Change-Id: Ic0ebdf677869ab1325f17fda36e0869329be37b8
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
2018-03-20 21:08:55 -08:00
MingLiang Dong
af6210b572 amvecm: add G12A vdin/di HDR support
PD#162408: amvecm: add G12A vdin/di HDR support

Change-Id: I34c410b47eff0c8e5b9105bd890a57f0d659c89b
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2018-03-20 03:51:37 -08:00
Yi Zhou
2b56cba3b3 hdmitx: add another SWRSTZREQ init after setting mode
PD#160883: hdmitx: add another SWRSTZREQ init after setting mode

Change-Id: I002fa45bb5d0459ba31051314a3500a7b47d9512
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-03-20 03:47:09 -08:00
yicheng shen
30c5a2171b cec: change the return code of str to uint
PD#161284: cec: change the return code of str to uint

Change-Id: I88ac2b84574572f5a9ab82f111fdfe2e0ac60bc1
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2018-03-20 03:46:36 -08:00
Evoke Zhang
c9ade82ed3 lcd: update pll setting for g12a
PD#162244: lcd: update pll setting for g12a

Change-Id: I8d406228a49dfe0354ef79f7cb27864114661d17
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-03-20 03:43:12 -08:00
Hang Cheng
c05914ddf8 hdmirx: set pinmux for each port separately
PD#161978: hdmirx: set pinmux for each port separately

Change-Id: I51b933523cdc334f32662c4bb2ea75791adfad0b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2018-03-20 03:28:40 -08:00
Yi Zhou
c2ff1a25f5 hdmitx: fix dv funciton of hdmitx doesn't work when initing system
PD#162091: hdmitx: fix dv funciton of hdmitx doesn't work

When the mode is set in uboot, the ready flag must be 1.

Change-Id: Ibb23efc6687246a417dda74bd731a25e5fcf0ae7
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-03-20 02:08:31 -08:00
qi.yuan
2d48751869 hdmi_tx: fix hdmitx event extcon_audio when rising
PD#161285: fix extcon_audio event occur before extcon_hdmi when rising

Change-Id: I70fd070f62cc36e76aeba260420b24df1b1fe29f
Signed-off-by: qi.yuan <qi.yuan@amlogic.com>
2018-03-20 01:18:47 -08:00
Xuhua Zhang
9eec1a3e89 vdin: use sprintf instead of printk in show functions
PD#134355: vdin: use sprintf instead of printk in show functions

Change-Id: I06abfe9acb27ba7ebe9e4e16aaf90a6e0e7e3601
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2018-03-19 00:39:26 -08:00
Dezhi Kong
62f817b434 sr: fix video input h/v size config
PD#162346: sr: fix video input h/v size config

1.sr size config
2.fix height/width align issue

Change-Id: Ie91e92a9feff75cd1a67cf14be1a94c47478ef64
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2018-03-19 14:53:13 +08:00
kele bai
c19eed9164 di: fix dumy buffer dismatch with normal buffer
PD#161859: di: fix dummy buffer dismatch with normal buffer

1) fix dummy buffer dismatch with normal buffer
2) add debug print support

Change-Id: I304f93f4ef7883928fbd9fa237fb2dfd24ef557a
Signed-off-by: kele bai <kele.bai@amlogic.com>
2018-03-18 20:38:34 -08:00
Renjun Xu
72df0b23e1 sound: fix tas5756 volume invert
PD#161063: fix tas5756 volume invert

Change-Id: I354b063df203b89824dd36a99a93aae1b390b735
Signed-off-by: Renjun Xu <renjun.xu@amlogic.com>
2018-03-18 05:06:55 -08:00
Renjun Xu
a3fb5c97c0 sound: fix pcm186x driver playback/capture
PD#161075: fix pcm186x driver playback/capture

Change-Id: I04d66ca1987efcaaff2ed897593748cf101db921
Signed-off-by: Renjun Xu <renjun.xu@amlogic.com>
2018-03-18 03:54:25 -08:00
kele bai
69c355d25b di: disable recycle buffer when source switch
PD#160047: di: disable recycle buffer when source switch

1) atv&dtv will switch when channel switch,
   mirror function need enable
2) disable full pack feature for 8 bit mode

Change-Id: Ifde5afb637b259c0d4d789b94228c0cb488b48f7
Signed-off-by: kele bai <kele.bai@amlogic.com>
2018-03-18 03:53:28 -08:00
Yi Zeng
ca98982f28 mtd: add a macro to hide the env region in rsv zone
PD#160529: mtd: add a macro to hide the env region in rsv zone

when we save the env data in normal partition, the env region
in the rsv zone is no needed anymore, so hide it with a macro.

Change-Id: Id1b92079d1127ffabf4c1f208b486daad0af3934
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
2018-03-17 19:08:57 -08:00
Jianxin Pan
095cdb74c1 Merge "mtd: rebuild the code about add partition" into amlogic-4.9-dev 2018-03-17 20:06:44 -07:00
Xing Wang
5faf25a4fd audio: auge: add i2s to hdmix port
PD#161826: audio: auge: add i2s to hdmix port

Change-Id: I0aca7160342810385ea0e531ab8fe31c948a80b6
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-03-16 03:45:26 -08:00