PD#SWPL-165259
Problem:
1. T5W/T3 do not support SPI_LSB_FIRST.
2. T5W suspend/resume will reset the reg.
3. ldim_pwm_level is 0 when power on.
Solution:
1. ldim software implementation of big-endian
and little-endian data conversion.
2. ldim send mode base on spi controller.
3. When resume ldim_fw reset the reg value again.
4. Set ldim_set_duty_pwm after set pwm pinmux.
Verify:
T5W/T5M
Change-Id: I409c4d378fc972f7f643ee64a6588119e1494e1b
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
PD#SWPL-166960
Problem:
need inlinecrypt for emmc
Solution:
support inlinecrypt feature
Verify:
S7
Change-Id: I1d328d527a714b1f4661b0d0c328ecedec30d0d4
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-167292
Problem:
need cvbs video mute api for special test
Solution:
add cvbs video mute api for drm: call
cvbs_video_mute(true / false) to mute/unmute
CVBS video output, it will keep video mute
even set cvbs output again, until drm call unmute.
Verify:
s1a
Test:
CVBS video mute/unmute + hotplug hdmitx and check cvbs mute
Change-Id: I5f6d5c28596f0cdf26c9356a2500b1fe8fe43fd7
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-164404
Problem:
Back permissions are not separated from
front permissions.
Solution:
Separate back's permissions from front
and control them separately
Verify:
s5
Change-Id: I9e6465d5b8b45143a51c440d1a24160ad80087fb
Signed-off-by: xing.xu <xing.xu@amlogic.com>
PD#SWPL-160457
Problem:
memcpy beyond individual struct members
Solution:
create a named mirror of an anonymous struct union
Verify:
sc2&sm1
Change-Id: If86c3581ac473bb8e4c2b2021bedcbe44ad406e2
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-166758
Problem:
Some customer neeed to support gpio sysfs in gki mode
Solution:
Porting common gpiolib-sysfs to common_driver
Verify:
T7_an400 & txhd2_be311
Change-Id: I72f60644fa383abe05409bfe0bf978c7ea901d92
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-160150
Problem:
play HDR video under DV_STD, output as SDR
Solution:
auto change the color depth to support HDR under DV_STD
Verify:
SC2
S5
Test:
DRM-TX-90
Change-Id: Ifd830c91c68a600f5ac4c3b9e00b0709083b74e8
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-151581
Problem:
Need di post-link mode
Solution:
add new DI post-link flow
Verify:
Verified on txhd2
Change-Id: I37b9c080699844a472859a1e2aced82434c82739
Signed-off-by: brian.zhu <brian.zhu@amlogic.com>
PD#SWPL-158050
Problem:
it will block suspend if send kobject uevent
when suspend
Solution:
not send uevent after suspend
Verify:
ohm
Test:
DRM-TX-105
Change-Id: I66f13e24076290f99defca8badb8d94d8b2e3e2a
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-163105
Problem:
new earc Rx design
Solution:
changelist from https://scgit.amlogic.com/#/c/417153
1. new default setting for arc in
2. remove pll refresh when startup
3. when cmdc init, need refresh pll after pll default setting
4. force channel sync for channel mapping
5. add dmac bit29 check for common arc check
6. add iec raw channel status check
7. use chip info(arc_ch_sync/arc_in_new)
Verify:
use s7d
Change-Id: Id681334bfde57bfe71a870a16859e24712e262e3
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-163931
Problem:
new feature of hdmi source based tone mapping.
Solution:
add sbtm corresponding flow and APIs.
Verify:
s5
Change-Id: Iee87b4762bfacff94856b972569e03cf0796b031
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
PD#SWPL-162491
Problem:
calculating checksum error when there are more than 2 blocks
Solution:
Change the calculation method
Verify:
t3x
Change-Id: I71d212144273705a8eba62823fc27b0cdbec75d5
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-163896
Problem:
1.need to clean out the power that
is always on to save power.
2.Some modules related to mempd have
been added for debugging later.
Solution:
1.Clean up an open power supply.
2.add power domain config.
Verify:
S7D
Change-Id: Ic313a24168041cb925483202bc26f9c53c6b1548
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-163059
Problem:
legacy ir controller was updated to multi-format ir controller
and each controller have a IRQ
Solution:
support 2 IRQs in ir driver
Verify:
s7d_bm201
Change-Id: I268562144440d642e4f635dbe76bb45f799d6bee
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-163760
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
S7D-BM209
Change-Id: I285a300313c1439be2ed50fafc58c4a92fa032ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-163061
Problem:
If there are more requirements of mailbox channels
application for other modules, mailbox driver should
be changed to add more channels, this is inconvenient
for other drivers usage
Solution:
Allocate more reserved mailbox channels for other
modules application in the future
Verify:
S7D-BM209
Change-Id: I669d42aa386676d959e27ebb51c6d7dedd7d54ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-163077
Problem:
Some new power domains have been added.
Solution:
Add the relevant configuration.
Verify:
S7D
Change-Id: I7f5bc148d0034ffad96b1f04f00417ec5796dced
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-158288
Problem:
1 Adding the logic associated with the en0p5 member makes the driver's
processing more complicated and messy.
2 Added clocks with security permissions.
Solution:
1 Only add CLK_MESON_PLL_FIXED_EN0P5 flag to implement the functions
of en0p5, so that the driver change cost is minimal.
2 Determine whether to add the CLK_MESON_PLL_FIXED_EN0P5 flag based
on whether en0p5 is enabled in init_regs.
3 Added scmi clocks
Verify:
pxp
Change-Id: I2f9e258569f4bed44cb5fd9b57368dbfa3c425cb
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-154090
Problem:
The S7D and S7 power domain names overlap
and need to be repaired.
Solution:
modify config.
Verify:
Compile through.
Change-Id: Ia0d18a5a2684184b8c5938c77b8b7adccd8b0ad6
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-146595
Problem:
S7D need power domain in kernel.
Solution:
add power domain in kernel.
Verify:
pxp
Change-Id: Ia05ec9960f38388444ae14869576f8cd1d51cf78
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-158147
Problem:
not hardcode dummy_panel timing
Solution:
get vinfo2 timing and set for dummy_panel
Verify:
txhd2
Test:
DRM-OSD-55
Change-Id: I6b899edfc9445f880cb217d6b1e96d63acbdd249
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-156902
Problem:
hwc need get lcd connector's vrr range info
Solution:
add get_vrr_range function for lcd connector
Verify:
t3x
Test:
DRM-LCD-1
Change-Id: I562929b06bdfcfc4bb514b2d67e93e84a6925814
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-163867
Problem:
modify FRC urgent control function
Solution:
modify FRC urgent control function
Verify:
T3X
Change-Id: I1f992ce77937733f10df1eaa0ed005e43619d302
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
PD#SWPL-161721
Problem:
new function
Solution:
1.DV_IOC_GET_DV_PRECISION_DETAIL_SUPPORT get cap from cfg
2.DV_IOC_SET_DV_PRECISION_DETAIL_BYPASS set bypass
Verify:
t3x
Change-Id: I01e1f01e942349aa2241df6748100015603e185b
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-163844
Problem:
switch to 59.94hz, not set 60hz mode when qms enable
because frac mode
Solution:
set frac 0 when brr mode
Verify:
s7d
Test:
DRM-TX-75
Change-Id: I69fc38ffee456d2a917f586e7ed04dad3aa8a22d
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>