PD#163964: hdmitx: move AVI position from line4 to line10
Move AVI position from line4 to line10 for HDMI1.4 CTS 7.24
fail in QD980.
Change-Id: I6c84445de942cce383c3bb339223589e3fb39d5f
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
PD#163342: add remote led blink function to u211
Change-Id: I92ba57af1f3c83e6d432a344d35021734dfecf3c
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#162285: audio: meson: fix i2s/spdif buffer for split mode when bootup to play
Change-Id: I730993dd183cee40c92d232414d6752f75cb2b06
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#164037: lcd: prevent lcd enable repeatedly to avoid abnormal display
also optimize backlight init state by detect lcd state
Change-Id: I517c3c47aa5fcb0f5026f6dd782e5f522ec847aa
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#164083: i2c: fix duty of different frequency
1.General usage
Frequency Duty mode
100k 1:2 standard
400k 1:3 fast
3400k 1:3 high
2.Frequency below 100k can be configured as fast mode
Change-Id: Ib6254efabfbd614c014c98bbeb3d07c35cf7b904
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#163981: hdmitx: use bt2020 in aviinfo on dv LL mode
1.add bt2020 in aviinfo
2.porting PD151662 to kernel4.9
3.use system 422 mode
Change-Id: Ia4cd60c02e6fc02eef001d296ca20b504f1f3e2a
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#163833: usb: phy3: USB3.0 PHY Tuning for S905
As the weak compatibility of USB 3.0 interface, we set some proper
values to the Parameter controls of USB3.0 PHY.
Change-Id: Icdaf4d3620f25f98f72eb9ddc7738bcc4328ded7
Signed-off-by: Jianxin Qin <jianxin.qin@amlogic.com>
PD#163431: vpp: increase the vskip count to 8 for scale down
Change-Id: I2022a031a95c0598ad31276e7a2aebd5ba2a977c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#162559: remove sd no-use caps, or UHS-I SD card will init
fail on g12a.
Change-Id: Ib4fede1e03fce87ad9766370b405eb34054f97e0
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#163846: add vblank sent while disable crtc
shutdown results in hung atomic commit cause DRM hangup a few secs
Change-Id: I54dcbe33b05ab9cb3487ae0509ce23e61e67a4ca
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
PD#163431: vpp: adjust the max process height by checking vpu clk
Change-Id: Ic7c264d9b287839a457b0cd4e2f090b459739a80
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#162854: the pcr value may be negative that should be avoided
Change-Id: I66fbe8866a23458ff1da9e2ec38ace8ae6325d48
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#163025: fix pwq null pointer
commit 44117a1d17 upstream.
setserial changes the IRQ via uart_set_info(). It invokes
uart_shutdown() which free the current used IRQ and clear
TTY_PORT_INITIALIZED. It will then update the IRQ number and invoke
uart_startup() before returning to the caller leaving
TTY_PORT_INITIALIZED cleared.
The next open will crash with
| list_add double add: new=ffffffff839fcc98, prev=ffffffff839fcc98, next=ffffffff839fcc98.
since the close from the IOCTL won't free the IRQ (and clean the list)
due to the TTY_PORT_INITIALIZED check in uart_shutdown().
There is same pattern in uart_do_autoconfig() and I *think* it also
needs to set TTY_PORT_INITIALIZED there.
Is there a reason why uart_startup() does not set the flag by itself
after the IRQ has been acquired (since it is cleared in uart_shutdown)?
Change-Id: I8c86b0aeb36986195276d94abd68917a08758a3e
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
PD#163025: fix pwq null pointer
commit b027e2298b upstream.
There can be a race, if receive_buf call comes before
tty initialization completes in n_tty_open and tty->disc_data
may be NULL.
CPU0 CPU1
---- ----
000|n_tty_receive_buf_common() n_tty_open()
-001|n_tty_receive_buf2() tty_ldisc_open.isra.3()
-002|tty_ldisc_receive_buf(inline) tty_ldisc_setup()
Using ldisc semaphore lock in tty_init_dev till disc_data
initializes completely.
Change-Id: I8a9d58a674e0267c2eda3c6bf58c7510e86e3b33
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
PD#161171: optimize di buf optimization
1.optimize di buf queue operation
2.add di task semaphone check
Change-Id: Ia60d1ebd57d839fb1783b1257d82300469038415
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#160789: sdio: optimizing the selection of sdio tuning sampling points
[problem] When all sampling points can be sampled correctly,
select 0 points as the best sampling point.M8 platform is normal,
but some S905 platform is not suitable.
[resolved] The GXL platfoarm selects the intermediate
point of all sampling points as the best sampling point
Change-Id: I59097daa8fe3d99f2f11a3e1347945c8eea4e1c9
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#163212: clk: low clk mux printk message
make the printk message at debug level
Change-Id: Id7e7864755be4f8809e5c44d5eeea2f6a7c4b5c3
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
PD#161475: ddr : add driver for ddr bandwidth measure
1. change dtsi for related chips;
2. porting driver for each dmc contoller;
3. export sysfs for debug and upper layer.
Change-Id: Iaac6ac671bae26d9bff9c7a480ef44e2b0912b3c
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#159184: cec: add the control of arc line
add audio control interface for switch
Change-Id: I7981451c449435e5974c8321d99fc6c31e66f957
Signed-off-by: hongmin hua <hongmin.hua@amlogic.com>
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>