PD#SWPL-5366
Problem:
g12b cpucore cooling devices hotplug a little core and a big
when hot trippoint trigger, need to update cooling devices that
hotplug one core one hotstep for big core to little core.
Solution:
1.modify cpucore cooling for new solution.
2.modify hotplug core for can hotplug all big core.
3.ipa dts no cluster id, all cpucore is one cooling device
dts have cluster id, one cluster is one cooling devices.
Verify:
test on g12b w400.
Change-Id: I3320b007e35e7ac415cf7623f74f0a5153fed9b5
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
PD#SWPL-17541
Problem:
gp0 is not power-off when suspend
Solution:
switch gp0 to xtal when poweroff
Verify:
passed on tl1_t962x2_x301
Change-Id: I7a6988d7bdb7af446645ac1b71428435d0b2cf33
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#SWPL-18275
Problem:
gp0 is not disabled when suspend
Solution:
disable gp0 when suspend is called
Verify:
passed on tl1
Change-Id: I19013659a5a7c9d565a19197ff59c77059e37c75
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#SWPL-16815
Problem:
commit e9dc698c503b8171e77f631427a360835c387e8e
The code has warning.
Solution:
modify code log2i().
Verify:
TL1
Change-Id: If7f66b8856f791c05781c5eb3f8691e2c63e033d
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-16530
Problem:
The code has coverity warning.
Solution:
modify code.
Verify:
TL1
Change-Id: I0bbd1fc9ae39fb269b35e0a18f8ddeb01f3bffab
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-16036
Problem:
When the system starts up, wifi is turned on.
When we manually turn off wifi and start the
suspend & resume operation, we will find that
the sdio error is reported when we wake up
Solution:
Add the sdio_notify() interface to notify the
sdio controller when wifi is on/off, enabling
the keep_power standard to be configured when suspend.
Verify:
TL1
Change-Id: I48e0c31bf7ea80d3efd4b0d41b4af378e859dc15
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-15797
Problem:
commit a5c3731f5d
this patch has err, the print buf will be out of bounds.
Solution:
Reposition the pointer before each loop.
Verify:
tl1
Change-Id: I8f44269c375147c5290af9c6d84fd5d85be271f0
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-14443
Problem:
sdio tuning print info is too much.
Solution:
optimize tuning print.
Verify:
tl1
Change-Id: Ia0a0315eb30480b0014aa1e35d12b50576221f2e
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-13914
Problem:
G12A TDMA affects the tuning, make tuning process
+/- dly is useless.
Solution:
add pdata save val operation.
Verify:
G12A_u212
Change-Id: I204dd989fae0d400b14725df068378be0262b1cc
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-12209
Problem:
fixed SWPL-11917
When all the sample points are valid,
they fall into the changes of 111917
Solution:
flag is set when all sampling points are valid
so tuning does not enter the changes of 11197
Verify:
txlx
Change-Id: I591993f3007db913b0030b108dcb18c304bf1042
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#SWPL-4858
Problem:
Soc not support sduart
Solution:
add not supported flag in dts
Verify:
verify by tl1 skt
Change-Id: Ifd1f975bd13b150aac9d99f60423ab4f0b903c98
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-11917
Problem:
Data sampling window has discontinuity
Solution:
Move the data as a whole to find a continuous data window
Verify:
txlx
Change-Id: I76fd41c22ff4c9e2e40b2b47580e25e0284ffbfa
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#SWPL-5404
Problem:
emmc report data crc error in hs200 busmode
Solution:
set hs200 co_phase to 2 and did not reset the
hs200 co_phase and tx_phase when adjust tuning is
find the error point in sm1
Verify:
verify pass on sm1_s905d3_ac200
Change-Id: I56aa8eb666fb55641db75878a3488f66c721bd6d
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
Conflicts:
arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts
arch/arm64/boot/dts/amlogic/sm1_s905d3_skt.dts
drivers/amlogic/mmc/aml_sd_emmc.c
PD#SWPL-10095
Problem:
command delay may too close to the command edge
Solution:
rescan cmd delay windows and find cmd delay value
after data alignment
Verify:
passed on g12b
Change-Id: I258e93aa87e35c843c45f62c58af3609bebe0901
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#SWPL-9075
Problem:
Because the CMD tune flag was not cleared before standby,
debug printing was performed during auto tune
Solution:
After standby sleep, clear the CMD tuning flag
Verify:
passed on TL1
Change-Id: Ie4a531346f50983009477131408d81c76d5c020f
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#SWPL-8670
Problem:
G12B report response crc error when hs400 200M busmode
Solution:
find a eyetest hole between 14-20 or 48-54, otherwise
tuning tx_delay and find again and
adjust CMD rx timing dynamically in HS400 mode
Verify:
passed on G12B
Change-Id: I23e4d5118e0ca0564367a77102aea9e1085633a9
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#SWPL-7740
Problem:
tl1 report response crc error on tl1 when hs400 200M busmode
Solution:
find a eyetest hole between 14-20 or 48-54, otherwise
tuning tx_delay and find again
Verify:
passed on tl1_skt
Change-Id: I46e2c3c4d7ef24bcac7b44fee73112894540fc33
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#SWPL-7181
Problem:
switch to high-speed from hs200 failed for resume process.
Solution:
set tx_delay as 0 for legacy mode.
clear cfg_cmd_setup
Verify:
verify by TL1
Change-Id: I5dbb1bbc391da864464bf137837a2b0f54ccda42
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#SWPL-5334
Problem:
TX window is not stable
Solution:
Reduce the drive capability of emmc controller pins
Verify:
TL1-T962X2_X301
Change-Id: Ib641c66131c2dee41eb68fb262f4770f431676b9
Signed-off-by: long yu <long.yu@amlogic.com>
PD#SWPL-5040
Problem:
not support HS400 busmode
Solution:
add HS400 busmode support for G12B-RevB
Verify:
T962X-R311,TL1-T962X2_X301,G12B-W400
Change-Id: I11a1f47b9473fa341c7d754a51d6e270551758a7
Signed-off-by: long yu <long.yu@amlogic.com>
PD#SWPL-5206
Problem:
Setup time in sdio highspeed mode of txlx is
inconsistent with the protocol standard.
Solution:
set co_phase = 2.
Verify:
r321
Change-Id: I3e5a1bca335faea6397513de772d3ee35ea76d40
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-4858
Problem:
tl1 not support sduart
Solution:
add not supported flag in match_data
Verify:
verify by tl1 skt
Change-Id: I651765433bb62892fad770c85a5eccd4805e7c79
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-2311
Problem:
not support HS400 busmode
Solution:
add HS400 busmode support for TL1
Verify:
TL1-T962X2_X301
Change-Id: I95ac19e9c0c5b84c9225602cda6964aaaee4151e
Signed-off-by: Long Yu <long.yu@amlogic.com>
PD#TV-2112
Problem:
eMMC timing test failed on item tISU
Solution:
set core_phase to 2 for HS200 busmode
Verify:
TL1-T962X2_X301
Change-Id: I1025b6b6b66b2591b7a8faca68ff1852eeb9b85c
Signed-off-by: long yu <long.yu@amlogic.com>
PD#172587
Problem:
emmc data crc error
Solution:
modify cophase under kernel for tl1
Verify:
test pass on skt
Change-Id: Id4997ef2288a53e6f401744664aaf6b05cf36e38
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#SWPL-16541
Problem:
defect clean up overrun
Solution:
defect clean up overrun
Verify:
test pass on g12a_u200
Change-Id: Ib9b5c1f5da9fed34a552eb7ee539e7276d922e38
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-15315
Problem:
add different freqs variable for big&little core
Solution:
add different freqs variable for big&little core
Verify:
test pass on g12b_w400
Change-Id: I3fbe4c6ee4f2a0868c84b362acddf16ac41a3dbd
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-15315
Problem:
add different freqs variable for big&little core
Solution:
add different freqs variable for big&little core
Verify:
test pass on g12b_w400
Change-Id: I2a5e00b5bbd4a1d084b925733a051497c6e92b0b
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-4035
Problem:
Setting different cpufreq tables according to efuse information.
Solution:
Setting different cpufreq tables according to efuse information.
Verify:
g12a_u200, verify pass
Change-Id: I1bf571f332244f5727ef3cd8743f215f71248146
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-6980
Problem:
memory bound tasks running in a high freq cluster will get a low performance
when another cluster freq is too low.
Solution:
We boost big cluster freq for a appropriate duration when we detect that
little cluster have lasting a period with highest freq.
Verify:
w400
Change-Id: Ic513604cb329992782c9c2e1d71273080e2e336a
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#TV-8401
Problem:
Customer needs to access spi nor by the spicc.
Solution:
add spi nor interfaces in spicc driver.
add gd25q80c/FM25Q08A surpport
Verify:
tl1 x301
Change-Id: If94858d46c31fea6b37034a8b1dfe94a9e9f4603
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#SWPL-9815
Problem:
spi_register_board_info's export has been removed in kernel 4.9,
but TV need to use it in ko.
Solution:
package it in a new dirspi_register_board_info and export
Verify:
T312
Change-Id: Ic7e5d8cef6840551e2925eda6162156320877833
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>