PD#170409: prevent the agc pin conflict when used in atv or dtv demod
Change-Id: I78359502a97d79a703e990669bd1acddae6679ce
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#170127: media: ptsserv: set pts_us64 in pts_lookup_offset
Setiting pts_us64 prevents the decoder from using uninitialized values,
Sometimes the function return pts valid only if pts is set.
Change-Id: If4b0a329bbc013902fd2045207420f0f85bfff4e
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
PD#168682: cec: modify the line check for g12a
Change-Id: Id7f318caae3230df9bd6689f566524e05fd512bd
Signed-off-by: hongmin hua <hongmin.hua@amlogic.com>
PD#170491: net: xfrm: enable compat xfrm syscall
When using 32bit user space and 64bit kernel in ARM64 platform,
we do not need to disable compat syscall, since there is struct size
difference between user space and kernel space.
This will fix error in xfrm test cases of VtsKernelNetTest.
Change-Id: Ifd6c1f5e678138286678d5c119c0efa42d5b3a59
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
PD#170346: RTC: enable rtc dev for systemclock save[1/1]
enable rtc dev for systemclock save
Change-Id: I1a055b0c2448160fa1554ac3b82da0760b26a4fd
Signed-off-by: Li Ting <ting.li@amlogic.com>
PD#170091: codec_mm: set enable_slot_from_sys to try one page
set enable_slot_from_sys to try one page
Change-Id: I53a50b666e7986abe1627a70b5112c234a6ce1ec
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
PD#170100: di: add more debug info into dumpstate_board
1. add new debugfs:
cat /sys/kernel/debug/di/state
cat /sys/kernel/debug/vdin0/state
2. Retain the original usage
echo state > /sys/class/vdin/vdin0/attr;
echo state > /sys/class/deinterlace/di0/debug;
Change-Id: I98054baa260ae5e9bf945d23b5becd2064c81a69
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
PD#168268: add support datain+loopback beyond 8 channel feature
You need add datain_datalb_total = <10>; at the end
of aml_loopback node on dts or amixer command to enable.
e.g. pdm 8ch + loopback 2ch case
pdm 8ch + loopback 8ch case
pdm 6ch + loopback 4ch case
if total number of channel beyond 8 , must utilize 16ch to capture.
so that we change relevant parameter like this:
if (lb_cfg->datain_datalb_total > 8) {
lb_cfg->datain_chnum = 8;
lb_cfg->datain_chmask = 0xff;
lb_cfg->datalb_chnum = 8;
lb_cfg->datalb_chmask = 0xff;
lb_cfg->datalb_chswap = 0x76543210;
}
capture command:
arecord -Dhw:0,3 -c 16 -r 48000 -f S32_LE /test.wav
You can use asound.conf to choose your channel.
Change-Id: I0a59c4c12da603efd8709bf36d6dac640fdf788a
Signed-off-by: Renjun Xu <renjun.xu@amlogic.com>
PD#166793: code defects in public parts
crypto: exclude the of_match_device function return value is NULL
ddr_tool: solve problems of bad_shift and use_after_free
debug: prevent the number of cpus from exceeding the total
efuse: solve the problem of buffer_size_warning
memory_ext: solve the problems of divide_by_zero and overrun
unifykey: solve the problem of buffer_size_warning,and add a variable
for useless_call
wifi: exclude the of_match_node function return value is NULL,and avoid
the problem of string_overflow
Change-Id: I099ce7c60ddd0266d067215108f0e2baeb31c234
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#169634: vlock: add dynamic switch from pll to enc mode
1.seperate vlock process from amvecm_on_vs,
avoid the influence of repeate call.
2.add dynamic switch from pll to enc mode,
pll adj firstly,then switch to enc mode do fine tuning.
3.seperate vlock reg init from amcm interface,
avoid the influence of rdma mode.
4.decrease enc line adjust limit.
5.add enc adjust range check.
Change-Id: I6352b45e9ec8869be43660c03352d1a406ca8a0a
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#169330: improve atv demod timer handler
1.Add work queue to do the time consuming operations.
2.Optimize code.
3.V2.02
Change-Id: I809179ab84fc236cc4dba234e21448d6528f9c5e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#169285: touchscreen: optimize module init flow
1.Initializing/Uninitializing resource in probe/remove function is more
appropriate in this case.
2.Use module_i2c_driver to replace module_init/exit to make code more
compact.
verify on a311d_w400
Change-Id: If02f12a6c290a6346d439785060e60a6cd815c12
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#165171: audio: auge: fix hdmi pop noise when bootup
Change-Id: Ic8186b230c5c27966467e35d23b8c041309e6922
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#168480: audio: meson: add sound card support for txl
Change-Id: I89117e1cfee2bc99289b00f8ead4acb2f1b13a98
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#168480 :dtv_demod: txl: add dtv demod support for txl
Change-Id: Ib2503aa5f626a5fff115104d0b246cc080fb1123
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#168480: deinterlace: txl: add di support for txl
Change-Id: I09e6982258291fd36a9b551bc4a6f24d68107cd2
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#168480: reboot: meson: standardize the compatible property
Use 'amlogic,reboot' instead of 'aml,reboot'.
'aml,reboot' will be removed later.
Change-Id: I7d16795c98aa293fe204121ccd7da41c7d078f77
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168480:tvafe: meson: add support for txl
Add atv/avin function for txl.
Change-Id: I1e9727b2578a19a31436ae5cbe924b4311deae9d
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
PD#168480: iio: adc: meson: add sar adc support for txl
Change-Id: I9febffdb4fef582f5a91138491ae87d11ca240ee
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168480: iomap: txl: add iomap support for txl
Change-Id: Icbd5a8811950cd806cf2b6a4b08dca37402e52e7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168480: pwm: meson: add support for txl
1、 add support for txl
2、 fix txl、txlx clock mux selection error issue
Change-Id: Iff7eeb16086604030414d4e350fd533a3d2328b1
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168480: irqchip: meson: add gpio IRQ support for txl
Change-Id: I03b32a3ffe4a7e9b63631ac5e593bcbf346b8765
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168480: i2c: meson: add support for txl
Change-Id: I0c4fe9d2e6caec0cfa812af28476774db69a4e89
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168480: pinctrl: txl: add pinctrl & gpio support for txl
Change-Id: I2496cdebfc283e90825f5dd7d20b0e16f57158d2
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168480: clk: txl: initial add clock driver
remove CLK_SET_RATE_PARENT flag for spicc.
If add CLK_SET_RATE_PARENT, it will change clk81 rate when set
spicc clock rate.
Change-Id: I80fec2c6d10611994ff40b06307e39b51ddb5a1a
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
PD#168231: block: loop: enable loop partiton scanning
If max_part is given, partition scanning is globally
enabled for loop devices.
Change-Id: I7a8ca59eff85cf9ee97264c3d8ae8dceb198cf32
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#170048: mtd: add new ATO slc nand support
add a ATO slc nand: AFND2G08U3A
Change-Id: I0263682231008c862c9f3f77d02ef7512de3a46f
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>