Sunny Luo
d54b3fffed
spi: fix spicc timed out issue(speed low than 200K) [1/1]
...
PD#SWPL-137044
Problem:
transfer timed out when spicc works at low speed(200K)
Solution:
TC is triggered by tx-fifo empty, but the last data is not yet transferred
at this time. we have to wait the last data which is sending/receiving.
Verify:
C1
Change-Id: I7e0fca3fdf6ed6c3b40a8399564eae2cf6d3a9b0
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-08-21 22:54:03 -07:00
Sunny Luo
c48e7843e4
spi: back sync with t5m openliux/tv/s-amlogic [1/1]
...
PD#SWPL-136205
Problem:
back sync with t5m openliux/tv/s-amlogic
Solution:
- configure spicc1 ss leading/trailing gap for local-dimming;
- add dirspi support in test entry;
- remove the limit of min_speed_hz.
Verify:
t5m
Change-Id: If84e2a5a5cac080f543c18988524da58fabeda0a
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-08-15 04:19:20 -07:00
Bichao Zheng
6210ca19b3
spinfc: add QUAD IO support [1/1]
...
PD#SWPL-133132
Problem:
need support QUAD IO
Solution:
add QUAD IO support
Verify:
s1a
Change-Id: I77e189cf55c10e6a51be7d940400173deb8720d5
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com >
2023-08-15 10:36:51 +08:00
Bichao Zheng
c50c808ed1
spinfc: fix typo error [1/1]
...
PD#SWPL-133132
Problem:
need fix typo error
Solution:
fixed typo error
Verify:
s1a
Change-Id: Iea5de11905a8ea584671d15b147d3756c1d9a31b
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com >
2023-08-15 10:36:49 +08:00
Bichao Zheng
540d825988
spinfc: add new spi nfc driver [1/1]
...
PD#SWPL-133132
Problem:
adopt new spi flash controller with ecc engine
Solution:
add a new spi nfc flash driver
Verify:
s1a
Change-Id: I551d27ac29effe2bd0bb090a8cc9bc9897080a20
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com >
2023-08-15 10:36:49 +08:00
Bichao Zheng
baa120160b
spifc: add buildin support [1/1]
...
PD#SWPL-135127
Problem:
no register driver on buildin.
Solution:
add register driver on buildin.
Verify:
C3
Change-Id: Ie7d0cb27f936dfff1419f2cad65dc234b68a0b49
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com >
2023-08-13 21:58:49 -07:00
Sunny Luo
e6ca294947
spi: spicc(v2): add suspend/resume clk control [1/1]
...
PD#SWPL-133609
Problem:
spicc(v2) clk works in suspend
Solution:
disable/enable spicc(v2) clk when suspend/resume
Verify:
T3X BC309
Change-Id: Id9589de0238400731a9cc6a218016c558690da0a
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-08-04 02:18:45 -07:00
Feng Chen
26f07efab0
spicc: spi mode polarity error [1/1]
...
PD#SWPL-128741
Problem:
spi mode3 initial polarity error.
Solution:
change the use rule of spic clk_ao.
Verify:
c3
Change-Id: Ic1113f9fb29f450d1e5bf565869e795356401de9
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-07-21 07:01:43 -07:00
Sunny Luo
8620a28dac
spi: spicc(v2) add dma sg mode support [1/1]
...
PD#SWPL-119667
Problem:
spicc(v2) add dma sg mode support
Solution:
spicc(v2) add dma sg mode support
Verify:
T3X BC309
Change-Id: I9ecfcee3e8456c3d857b205cafc6a1b6130a2214
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-07-04 21:08:41 -07:00
Sunny Luo
3f835c8f25
spi: spicc(v2) test entry optimize [1/1]
...
PD#SWPL-124874
Problem:
spi: spicc(v2) test entry optimize
Solution:
spi: spicc(v2) test entry optimize
Verify:
T3X BC309
Change-Id: Id0c3ebff5ea0eb02771e8652a58ecda3c3c2bee4
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-06-16 05:34:14 -07:00
Feng Chen
b74b9630b4
spicc: spi transfer time optimization [1/1]
...
PD#SWPL-128155
Problem:
optimize SPI transaction time.
Solution:
optimize SPI transaction time.
Verify:
c3
Change-Id: If8a7d2b1e1d1234f12baca6471ebf2bb64d96ac9
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-06-15 05:06:55 -07:00
Sunny Luo
aa855ca63d
spi: add dirspi interface for new spicc(v2) controller driver [1/1]
...
PD#SWPL-124874
Problem:
add dirspi interface for new spicc(v2) controller driver
Solution:
1. add dirspi interface for new spicc(v2) controller driver
2. remove dirspi EXPORT_SYMBOL of old spicc driver, replace with
callback APIs from controller_data
Verify:
T3X BC309
Change-Id: I407b5d3dfa7d88bbe834853817666c9234dabe60
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-06-12 00:48:15 -07:00
Sunny Luo
cf18a587d2
spi: new spicc(v2) controller 9bit/DC mode bringup [1/1]
...
PD#SWPL-119664
Problem:
new spicc(v2) controller 9bit/DC mode bringup
Solution:
new spicc(v2) controller 9bit/DC mode bringup
Verify:
T3X BC309
Change-Id: I7115488e35aaba698883ee22bc0b6f6bbfe96788
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-06-06 22:43:38 -07:00
Sunny Luo
e978b126a5
spi: new spicc(v2) controller slave mode bringup [1/1]
...
PD#SWPL-119660
Problem:
new spicc(v2) controller slave mode bringup
Solution:
new spicc(v2) controller slave mode bringup
Verify:
T3X BC309
Change-Id: I91aab0f038d452f2eb65b651efe8afb21b0160ad
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-05-18 21:08:42 +08:00
Sunny Luo
def9f94e2d
spi: T3X spicc bringup [1/1]
...
PD#SWPL-117197
Problem:
T3X SOCs new spi controller driver bringup
Solution:
T3X SOCs new spi controller driver bringup
Verify:
T3X BC302
Change-Id: I90a560f840dea7c3f9ee5984b7795154eca06bd9
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-05-18 21:08:41 +08:00
Sunny Luo
e7261bb40d
spicc: fix xfer timed out error on g12 serials [1/1]
...
PD#SWPL-122937
Problem:
xfer timed out or set clk rate failed on g12 serials,
because of SCLK parent clk missed
Solution:
Assign the async clk as the parent of SCLK
Verify:
t3
Change-Id: I02247d677c17705f4af413f74baf17625fbd8f41
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2023-05-10 01:36:07 -07:00
Feng Chen
973a3ca6f7
spicc: add driver support [1/1]
...
PD#SWPL-113267
Problem:
t5w bringup
Solution:
add spicc support
Verify:
t5w
Change-Id: I45a9390517f625e8876e8448a323b1ede587484d
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-04-27 06:55:20 +00:00
Feng Chen
0c699bb18f
spicc: c3 build error [1/1]
...
PD#SWPL-119671
Problem:
no need sram pm
Solution:
add CONFIG_PM control
Verify:
c3
Change-Id: Iaeaaeb31b9c028f4e81b4515f34956c1d86dbbfc
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-04-17 22:10:13 -07:00
Feng Chen
01ca21bede
spicc: s5 bringup [1/1]
...
PD#SWPL-108747
Problem:
s5 bringup
Solution:
add spicc support
Verify:
s5
Change-Id: I39c58d142948079b88fc548183479075c213bb18
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-04-15 08:59:04 +08:00
Feng Chen
775041f87d
spicc: spicc not work [1/1]
...
PD#SWPL-115993
Problem:
spicc not work in android r release
Solution:
make spicc platform driver register
successfully in builtin way
Verify:
t5m
Change-Id: I35edfba35e05a13d895b421a98cebcbd07f4ef55
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-04-05 22:13:39 -07:00
Feng Chen
3bca29f408
spicc: dma transfer timeout [1/1]
...
PD#SWPL-117579
Problem:
spicc transfer timeout in dma mode
Solution:
fill txbuf in dma read operation
Verify:
t5m
Change-Id: Id9d6cb25f4971b5f0529909110a04a2e6851c42b
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-04-03 22:41:28 -07:00
Feng Chen
5187f9c349
spifc: modify ahb read addr in different soc platform [1/1]
...
PD#SWPL-107882
Problem:
fault address error cause by error
spifc ahb read addr.
Solution:
add ahb reg property in dts.
Verify:
c3
Change-Id: I5c125d20750df5f4e2ad756f02d111a128b10c46
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-01-11 03:29:14 -08:00
Feng Chen
598144a9ab
spicc: build failure in 32bit platform [1/1]
...
PD#SWPL-107507
Problem:
build failure in 32bit platform cause
by new spicc code.
Solution:
comment out unnecessary code
Verify:
c3_aw419
Change-Id: I1ff053377ff756df429e585001bb8fff781b1e9d
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-01-09 21:17:16 -08:00
Feng Chen
91274e7e6d
spicc: t5m bringup [1/1]
...
PD#SWPL-104744
Problem:
add spicc support for t5m
Solution:
1.porting new feature spicc
source file
2.modify dts files
Verify:
t5m_ay301
Change-Id: I3d63166b160208e99e6e91bb14849f89c516c12d
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
2023-01-04 20:11:49 -08:00
Sunny Luo
c6077ace20
spi: typo check fix [1/1]
...
PD#SWPL-103904
Problem:
spicc driver typo check failed
Solution:
correct it
Verify:
SC2 AH212
Change-Id: I1a90f6e967ae17e0f53e3ac46760455c26af8bdc
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2022-12-12 22:30:57 -08:00
Feng Chen
806bb99581
spifc: spifc v2 add ahb mode [1/1]
...
PD#SWPL-102488
Problem:
in spifc apb mode, spinand read speed is
slow, add ahb mode to improve read speed
Solution:
spifc v2 add ahb mode
Verify:
c3_aw419
Signed-off-by: Feng Chen <feng.chen@amlogic.com >
Change-Id: I08b9daeb650de11a71fbf1f77f06baf2e9301041
2022-12-07 02:02:49 -07:00
yao zhang1
37365df098
config: C3 Kernel size optimize. [1/1]
...
PD#SWPL-95000
Problem:
Kernel size is too big
Solution:
Remove some CONFIGs
Verify:
c3 pass
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com >
Change-Id: I13303e5e1e967961c6d1cc32a67465c423816276
Signed-off-by: yongbing.he <yongbing.he@amlogic.com >
2022-09-29 19:58:15 +08:00
Bichao Zheng
b16ac8e44d
spifc: fix typo error [1/1]
...
PD#SWPL-93146
Problem:
1. need fix typo error
Solution:
1. fix typo error
Verify:
SC2
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com >
Change-Id: Ie2493a38726f3df34abf39230136feca78a3d92a
2022-09-09 00:02:21 -07:00
Bichao Zheng
e90766ec13
spinand: sc2 add spinand support [1/1]
...
PD#SWPL-83293
Problem:
Need to support sc2 spinand driver
Solution:
add spinand support.
Verify:
sc2_a219
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com >
Change-Id: I4abbbf5546b4097df903ff287255314ec7ab25b2
2022-09-07 20:06:42 +08:00
Bichao Zheng
0d4c1967ad
spinand: add spi nand support [1/1]
...
PD#SWPL-77466
Problem:
need to support spi nand
Solution:
1. add spi nand support
2. add spifc v2 support
Verify:
A1
Change-Id: I183e52931a3b87b7d13ce6b7d930c2e16a6e0a25
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com >
2022-05-12 17:50:20 +08:00
Sunny Luo
b790d32e40
spi: a1 bringup [1/1]
...
PD#SWPL-77457
Problem:
a1 bringup
Solution:
remove dirspi test entry;
fix min speed limit
Verify:
ad401
Change-Id: I5bcf78dcff3ebb098180562be5fd1218fcb7d14c
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com >
2022-05-11 23:49:56 -07:00
qinglin.li
7c6316bebd
printk : printk optimization [2/2]
...
PD#SWPL-70486
Problem:
use common tag in driver when printf
Solution:
set common pr_fmt in driver
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2
2022-02-14 19:55:32 -07:00
wanwei.jiang
7f5461b0f1
spi: porting spi driver [1/1]
...
PD#SWPL-68123
Problem:
porting spi driver
Solution:
porting spi driver
Verify:
s4d
Change-Id: I846bf0d796774ed5c85be80ec9dcba5600551da9
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-22 15:48:10 +08:00