Commit Graph

48 Commits

Author SHA1 Message Date
Zhuo Wang 5b4d5df847 eth: fix typo in comment [1/1]
PD#SWPL-183320

Problem:
fix typo in comment

Solution:
fix typo in comment

Verify:
self

Change-Id: I34c83e968d76d629c6949dab9fa0010418b14157
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-25 23:47:37 -07:00
Zhuo Wang e67c1c3ebf eth: t6d wol function [1/1]
PD#SWPL-180288

Problem:
update t6d wol and phy setting

Solution:
update t6d wol and phy setting

Verify:
HW team

Change-Id: I1642b3adc7d75bd07faac47491fd180bb81ec4d6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-22 05:45:10 -07:00
Zhuo Wang 5ca85e4ff4 eth: update t6d analog setting [1/1]
PD#SWPL-182020

Problem:
update t6d analog setting

Solution:
update t6d analog setting

Verify:
BR301-T950D5#53

Change-Id: Ie1483a00fda546a916eb271b1840335bf889f7a9
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-22 14:27:53 +08:00
Zhuo Wang 7751df3ab1 eth: update analog phy setting [1/1]
PD#SWPL-182198

Problem:
update analog phy setting

Solution:
update analog phy setting

Verify:
HW team

Change-Id: I49ec1397ee5df257dc3f325e9b3518859b2d4e64
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-20 03:45:32 -07:00
Zhuo Wang f8965568a9 eth: fix efuse position [1/1]
PD#SWPL-182198

Problem:
fix efuse tx/rx position

Solution:
fix efuse tx/rx position

Verify:
HW team

Change-Id: Ibe6744c1ffa1480c26bd8994a891b6c44c02b269
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-16 05:42:40 -07:00
xiangyang.yan 6d63338baa S6: ethernet: googlecast wakeup [1/1]
PD#SWPL-179266

Problem:
googlecast wakeup

Solution:
add function googlecast wakeup

Verify:
bl201

Change-Id: I92b40055453e65df0a7735769acb590dc41f009c
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-07-30 23:54:41 -07:00
Zhuo Wang c1c19cc5c2 s7: update phy setting from VLSI [1/1]
PD#OTT-62775

Problem:
update phy analog setting from VLSI

Solution:
update phy analog setting from VLSI
from mail <SEI S905Y5 HD+ dongle> 2024-7-29

Verify:
Verified by HW

Change-Id: I72120a57ba410604592d9e9a5ae47d3021c93475
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-07-30 02:04:46 -07:00
Zhuo Wang 9503da6d3c eth: power for exphy [3/3]
PD#SWPL-178256

Problem:
improve external phy power

Solution:
improve external phy power

Verify:
S905X5_BL209_SKT#15

Change-Id: I9a7a34b61af9e67ca848a0e7b223d57fabdc0228
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-07-25 20:34:03 -07:00
Zhuo Wang c54cd55c08 eth: s6 exphy wol [1/2]
PD#SWPL-172929

Problem:
bringup s6 exphy wol

Solution:
bringup s6 exphy wol

Verify:
s6_bl201

Change-Id: I628698c5b0d5d5a84448fb5f4306de6ad36a1b19
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-07-09 05:11:38 -07:00
Zhuo Wang 8ea713faa4 eth: s7d improve led setting [1/1]
PD#SWPL-170072

Problem:
verify s7d led setting

Solution:
verify s7d led setting

Verify:
s7d_bm209 with led modify

Change-Id: I43fd1b46723f591c917f39a15788af88af5bdc48
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-07-08 00:46:49 -07:00
Zhuo Wang aed953ba6a eth: s6 eth bringup [1/1]
PD#SWPL-172980

Problem:
bringup s6 ethernet

Solution:
bringup s6 ethernet

Verify:
s6_bl201

Change-Id: Ic73b5cd40417dcce5d9a67ebfdaf006f374252ac
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-07-05 10:40:49 +08:00
xiangyang.yan 4c6736039d eth: change txhd2/s1a analog setting [1/1]
PD#SWPL-173748

Problem:
change txhd2/s1a analog setting

Solution:
change txhd2/s1a analog setting

Verify:
S805C1-BG201

Change-Id: I6c08114e678867f25e04efe39c3533453f8a8d4d
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-06-17 03:36:04 -07:00
xiangyang.yan 6dc2af4f37 eth: fix kernel WARNING print [1/1]
PD#SWPL-170410

Problem:
fix kernel WARNING print

Solution:
fix kernel WARNING print

Verify:
A311D2-AN400(rev_C)#280

Change-Id: Ia7489fa106848aa395bd30d2bb0f43b64cbcfab7
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-05-24 03:53:37 -07:00
xiangyang.yan e4d2176529 eth: avoid stmmac_suspend() reentry [1/1]
PD#SWPL-168910

Problem:
avoid stmmac_suspend() reentry

Solution:
avoid stmmac_suspend() reentry

Verify:
A311D2-AN400(rev_C)#280

Change-Id: I3f1032675d47f61c7819de1335adea619fca5f2a
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-05-11 14:31:40 -07:00
xiangyang.yan ba4fe85ed9 eth: apply std pm [1/1]
PD#SWPL-165425

Problem:
apply std pm

Solution:
apply std pm

Verify:
A311D2-AN400(rev_C)#280

Change-Id: I5edc22b0bb78dfcd20c82451de21d5e441d78dd9
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-05-08 01:59:08 -07:00
Zhuo Wang 982a23ea35 eth: s7d set analog issue [1/1]
PD#SWPL-163065

Problem:
set analog will close phy clock

Solution:
fix wrong operation

Verify:
s7d_bg201

Change-Id: I38949fdb6b03c2076d3373909f803eccece9eceb
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-04-21 20:44:43 -07:00
Zhuo Wang 7e6ecbaf7e eth: fix ethernet pll issue [1/1]
PD#SWPL-163065

Problem:
fix ethernet pll issue

Solution:
fix ethernet pll issue

Verify:
s7d_bg201

Change-Id: Ib981c3cf84588d44ef0c3566f7f0a5cb62df5b9f
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-04-17 19:31:22 +08:00
Zhuo Wang d455ecde0b eth: s7d wol [1/1]
PD#SWPL-163065

Problem:
s7d wol function

Solution:
s7d wol function

Verify:
s7d_bg201

Change-Id: I8b417b6c3a0b6ffae02341630d4a4fdb1e709528
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-04-17 19:31:21 +08:00
Zhuo Wang 6546701289 eth: s7d pll fix issue [1/1]
PD#SWPL-163065

Problem:
pll may failed

Solution:
change from 0-1-3 to 0-2-3

Verify:
s7d_bg201

Change-Id: Ic5b20f22bb03582f20b9cb24d3db20f8f34a46e2
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-04-17 19:31:21 +08:00
Zhuo Wang 119a75d3c2 eth: s7d inphy analog [1/1]
PD#SWPL-163065

Problem:
s7d inphy tuning

Solution:
s7d inphy tuning

Verify:
s7d_bg201

Change-Id: I97f8942aa2f42393c0f51792066b85af98293572
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-04-17 19:31:21 +08:00
Zhuo Wang 2af3a3a213 eth: s7d ethernet bringup [1/1]
PD#SWPL-163065

Problem:
bringup s7d

Solution:
birngup s7d

Verify:
s7d_bg201

Change-Id: I89778ab17942d346d566263eb044f4e339a5cbce
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-04-17 19:31:20 +08:00
Zhuo Wang 9de60b7585 eth: S7 LED setting [1/1]
PD#SWPL-160828

Problem:
hardware rework led circuit
s7 eth led function
need support 32bit arm last week

Solution:
new parameter for new led hardware circuit
sync setting with arm 32bit

Verify:
S905Y5_BH201_REF #023

Change-Id: I85fd293a694d0714b69f2913e4381171ad36a5a6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-03-13 22:59:08 -08:00
Zhuo Wang 87d60d12ae eth: s7 update analog setting [1/1]
PD#SWPL-159605

Problem:
update analog setting

Solution:
update analog setting

Verify:
S905Y5-BH201_REF#023

Change-Id: I2fa8d12b33f19c0eebaae9b50ae7fb21c9130402
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-03-04 04:39:35 -08:00
Zhuo Wang 1ecb81b896 eth: s7 analog setting [1/1]
PD#SWPL-154623

Problem:
S7 resume crash
add analog tuning

Solution:
S7 resume crash
add analog tuning

Verify:
S905Y5-BH201_REF#023

Change-Id: I3ac7cdb32e081c42f00b1e3e0ba26e9b12149414
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-01-25 07:49:06 -07:00
Zhuo Wang edf746d1fe eth: s7 bringup [1/1]
PD#SWPL-152416

Problem:
s7 bringup

Solution:
s7 bringup

Verify:
S905Y5-BH201_REF#023

Change-Id: Ib12ad0a5fbcb36d3e4c747f742a19a5267e96eaa
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-01-22 12:48:44 +08:00
qi duan eabb27b88e ethernet: stmmac: remove tgz file [1/1]
PD#SWPL-152600

Problem:
remove tgz file

Solution:
remove tgz file

Verify:
ah212

Change-Id: I627e6bae1c7392850dfd335601573badfa0b3a12
Signed-off-by: qi duan <qi.duan@amlogic.com>
2024-01-09 22:22:02 -07:00
qi duan 7f6fba8cb2 eth: stmmac: move stmmac driver to common_driver for u [1/1]
PD#SWPL-152600

Problem:
stmmac driver move to common_driver for u

Solution:
stmmac driver move to common_driver for u

Verify:
ah212

Change-Id: I0edfb3bebbd2384d740ff6a4d3f6c162d8f5664d
Signed-off-by: qi duan <qi.duan@amlogic.com>
2024-01-05 05:05:55 -07:00
xiangyang.yan c51871bbc6 eth: fix phy init for upstream code [1/1]
PD#SWPL-151662

Problem:
some sc2 platform get ip slowly when use upstream setting code

Solution:
use the code before this commit

Verify:
ah212

Change-Id: Id922f45947d2fd4b43437fd35a4eb447fe4fc24c
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-01-05 03:09:30 -07:00
Zhuo Wang 9145aa5d5e eth: change txhd2 s1a analog setting [1/1]
PD#SWPL-145603

Problem:
update txhd2 and s1a analog setting

Solution:
update txhd2 and s1a analog setting

Verify:
HW

Change-Id: I9faccea739eb79dca538115278eec470758475b0
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-11-24 04:59:15 -07:00
Zhuo Wang 6f67613746 eth: add delay for resume flow [1/1]
PD#SWPL-142439

Problem:
phy can't read right setting when resume

Solution:
add delay for resume flow

Verify:
s905x4-ah212#009

Change-Id: I18639e0a59a3d5671a463be6a928c4d958ad7185
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-10-25 02:48:36 -07:00
Zhuo Wang cf822465e7 eth: txhd2 add new flow for suspend [2/2]
PD#SWPL-138487

Problem:
add new flow for txhd2

Solution:
add new flow for txhd2

Verify:
BE311

Change-Id: I6548a965c6e6e5b577c30b32b22049aa089f4d3c
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-09-05 20:14:02 -07:00
qinglin.li 9f54c42bbd break_gki: adjust break gki config [2/2]
PD#SWPL-137861

Problem:
adjust break gki config

Solution:
CONFIG_AMLOGIC_BREAK_GKI_20 only break gki2.0
CONFIG_AMLOGIC_BREAK_GKI break gki 1.0 and 2.0

Verify:
local

Change-Id: Ic86c771027980aa24c638d5f89c014240d65ec91
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-30 20:13:49 -07:00
Zhuo Wang 606f3965a6 eth: s1a bringup [1/1]
PD#SWPL-133130

Problem:
s1a ethernet bringup

Solution:
s1a ethernet bringup

Verify:
bg201

Change-Id: I0829cc0c7de381d2306d307d724024e8f83400d2
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-08-16 22:08:53 -07:00
lei.chen d8de113ad6 BT: fix kernel 5.15 issue for RDK linux system [1/2]
PD#SWPL-128975
PD#SWPL-118242

Problem:
1.rdk kernel 5.15 bt not support deep sleep wake-up
2.rdk kernel 5.15 need user confirm

Solution:
support it

Verify:
T5W T3X

Change-Id: I9bb5adf332ff2fb2d11fc31ec08d845465debe6d
Signed-off-by: lei.chen <lei.chen@amlogic.com>
2023-08-16 00:18:40 -07:00
Zhuo Wang 86d9ec00c9 eth: txhd2 resume eth0 link down [2/2]
PD#SWPL-128836

Problem:
txhd2 resume eth0 down

Solution:
txhd2 use new pll

Verify:
be311

Change-Id: I0ef2b40623ee1642a2241bb5e551f3725235069c
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-06-29 10:38:53 +08:00
Zhuo Wang 905994a9d9 eth: fix test command issue [1/1]
PD#SWPL-127715

Problem:
first with "echo tw/tr >/sys/class/ethernet/phyreg" will not work.

Solution:
complete test register init flow

Verify:
be311

Change-Id: I85eb185ddf08beb510e98c01614ccabd65b5688a
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-06-29 10:38:53 +08:00
Zhuo Wang 95bbfedf8a eth: support txhd2 tx_amp [1/1]
PD#SWPL-125788

Problem:
txhd2 tx_amp

Solution:
txhd2 tx_amp

Verify:
be311

Change-Id: Idc3772a53d1d7d5232912c42ed8ed9b398b0adca
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-06-29 10:38:51 +08:00
Zhuo Wang 525ca8977c eth: support txhd2 [1/1]
PD#SWPL-125788

Problem:
bringup txhd2

Solution:
bringup txhd2

Verify:
be319

Change-Id: I3fc2578cff53a12b7a9613436d6ee9499f2072fb
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-06-29 10:34:00 +08:00
Zhuo Wang d6c3d089a5 eth: txhd2 resume eth0 link down [2/2]
PD#SWPL-128836

Problem:
txhd2 resume eth0 down

Solution:
txhd2 use new pll

Verify:
be311

Change-Id: I0ef2b40623ee1642a2241bb5e551f3725235069c
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-06-20 06:56:08 -07:00
Zhuo Wang 5593cea458 ethernet: t3x amp tuning [1/1]
PD#SWPL-119736

Problem:
add tx_amp for t3x

Solution:
add tx_amp for t3x

Verify:
BC309

Change-Id: I52112d54be7bcc26509de98d3bac029286761af0
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-05-18 21:08:41 +08:00
hong.wang e08523aff0 BT: The UI cannot bind the remote control [2/3]
PD#SWPL-118242

Problem:
5.15 need user confirm.

Solution:
if JUST_WORKS no need user confirm.

Verify:
T3X

Change-Id: If2d505148ddd38e03a7cb5fbb0b99a853ea4164e
Signed-off-by: hong.wang <hong.wang@amlogic.com>
2023-04-28 01:41:50 -07:00
Zhuo Wang c704db15be eth: c3 buildroot compile problem [2/2]
PD#SWPL-105841

Problem:
C3_5.15 buildroot use different config
not arm64 arm32

Solution:
add control for c3_5.15

Verify:
compile no error

Change-Id: I788f324aa3067c490f9f492568582d0d7f949459
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2022-12-18 23:17:19 -08:00
Zhuo Wang 3d16eeccd1 eth: mac wol function [2/2]
PD#SWPL-98490

Problem:
porting wol function

Solution:
porting wol function

Verify:
AR321-T965D4_X9#REF#049

Change-Id: Ieaa67398c5ee09d0e8e7940163bed080b01af718
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2022-12-14 02:24:55 -08:00
dian.shao ae8e23ed34 coverity: usb and ethernet driver [1/1]
PD#SWPL-100740

Problem:
10897  Whitelist.
12436  added a null ptr check.
141141 added a return value check.
225361 Deleted the dead code.

Solution:
10897  Whitelist.
12436  added a null ptr check.
141141 added a return value check.
225361 Deleted the dead code.

Verify:
coverity.

Change-Id: I31a85828a1d0890d06348d415ce5a6da1ac0e932
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2022-11-22 05:03:09 -07:00
Zhuo Wang 235c0f3804 ethernet: jiejue suspend issue. [1/1]
PD#SWPL-98760

Problem:
suspend/resume will disconnect

Solution:
set right parameter

Verify:
s805x2-aq222

Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: I051b82bc779b09d4a20f33a5ba936eb8f1fc5dad
2022-11-02 19:13:16 -07:00
Zhuo Wang f1aa4a8430 eth: C3 bringup [1/1]
PD#SWPL-83846

Problem:
C3 eth bringup

Solution:
C3 eth bringup

Verify:
AW419-C308L-SOCKET#57

Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: I559cfe34b678b03656011bfa7060348443a267aa
2022-06-30 18:09:28 +08:00
Zhuo Wang 8dc6174e33 eth: patch for c2 [1/1]
PD#SWPL-80142

Problem:
fix compile problem

Solution:
fix compile problem

Verify:
Verified on AP222_S905Y4#005

Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: If93e4917a4391c2252ecabb458fd8f9243139d20
2022-04-28 12:02:48 +08:00
Zhuo Wang 486030f422 eth: gki bringup [2/2]
PD#SWPL-77313

Problem:
bringup eth

Solution:
bringup eth

Verify:
Verified on AP222_S905Y4#005

Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Change-Id: I39ce9e905790c8a62ce8b5705a6443e0c56c81b5
2022-04-26 05:03:35 -07:00