cc4af21a | 10-Apr-2023 |
Dylan Hung <dylan_hung@aspeedtech.com> |
net: phy: Add Broadcom BCM54210E driver
Add Broadcom BCM54210E 1G ethernet PHY driver.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I71e601536a50682465765c53127d8cd9d4d5aa27 |
4298c59c | 03-Nov-2022 |
Dylan Hung <dylan_hung@aspeedtech.com> |
net: ftgmac100: use %p for pointer variable printf
use %p to print pointer type variable so that we don't need to use different casting for 32-bit and 64-bit system.
Signed-off-by: Dylan Hung <dyla
net: ftgmac100: use %p for pointer variable printf
use %p to print pointer type variable so that we don't need to use different casting for 32-bit and 64-bit system.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: Ifa6225331e84257f36fdff19abd6821b79ac6f53 (cherry picked from commit 1ec0786b9ffd8f53cbb79597f395d639c0c5d462)
show more ...
|
c2963734 | 13-Jul-2022 |
Joel Stanley <joel@jms.id.au> |
ftgmac100: Fail probe when NCSI selected but not enabled
When NCSI has been selected by the device tree we will skip allocating a phy bus in ftgmac100_mdio_init, resulting in a null pointer derefere
ftgmac100: Fail probe when NCSI selected but not enabled
When NCSI has been selected by the device tree we will skip allocating a phy bus in ftgmac100_mdio_init, resulting in a null pointer dereference when calling phy_connect (in phy_find_by_mask).
Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
1a74e652 | 10-Jun-2022 |
Joel Stanley <joel@jms.id.au> |
phy: Only create NCSI PHY when it's present
phy_connect would unconditionally create a NCSI PHY device if the driver was configured.
By detecting what the phy type is at runtime we can support NCSI
phy: Only create NCSI PHY when it's present
phy_connect would unconditionally create a NCSI PHY device if the driver was configured.
By detecting what the phy type is at runtime we can support NCSI and non-NCSI system with the same defconfig,
Link: https://lore.kernel.org/r/20220610080059.2333501-3-joel@jms.id.au Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
8731f296 | 10-Jun-2022 |
Cédric Le Goater <clg@kaod.org> |
net: phy: ncsi: Add phy_interface_is_ncsi() helper
and use it to avoid configuring NCSI in net_loop() when the DT has no support for it.
Link: https://lore.kernel.org/r/20220610080059.2333501-2-joe
net: phy: ncsi: Add phy_interface_is_ncsi() helper
and use it to avoid configuring NCSI in net_loop() when the DT has no support for it.
Link: https://lore.kernel.org/r/20220610080059.2333501-2-joel@jms.id.au Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
79c77598 | 16-May-2022 |
Zev Weiss <zev@bewilderbeest.net> |
ftgmac100: Use bus name in mdio error messages
Previously we'd been using a device name retrieved via ftgmac100_data->phydev, but the mdio read/write functions may be called before that member is in
ftgmac100: Use bus name in mdio error messages
Previously we'd been using a device name retrieved via ftgmac100_data->phydev, but the mdio read/write functions may be called before that member is initialized in ftgmac100_phy_init(), leading to a NULL pointer dereference while printing the error message issued if the mdio access fails. We can instead use bus->name, which is already available at that point.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Fixes: 538e75d3fc54 ("net: ftgmac100: add MDIO bus and phylib support") Link: https://lore.kernel.org/r/20220517043825.26893-1-zev@bewilderbeest.net Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
d4e3d798 | 01-Apr-2022 |
Dylan Hung <dylan_hung@aspeedtech.com> |
net: phy: realtek: Add RTL8211F-VD driver support
RTL8211F(D)-VD-CG is basically the same with typical RTL8211F, except the PHY ID is 0x1cc870 or 0x1cc878.
Signed-off-by: Dylan Hung <dylan_hung@asp
net: phy: realtek: Add RTL8211F-VD driver support
RTL8211F(D)-VD-CG is basically the same with typical RTL8211F, except the PHY ID is 0x1cc870 or 0x1cc878.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I91acd1ad11a32586476b271c5298146cba5c365c
show more ...
|
9e93b9a9 | 07-Jul-2021 |
Dylan Hung <dylan_hung@aspeedtech.com> |
net: phy: realtek: Add RTL8211FD_VX driver support
RTL8211FD-VX is basically the same with typical RTL8211F, except: 1. the PHY ID is 0x1cc859 2. 10M/100M is disabled by default, and needs for a pat
net: phy: realtek: Add RTL8211FD_VX driver support
RTL8211FD-VX is basically the same with typical RTL8211F, except: 1. the PHY ID is 0x1cc859 2. 10M/100M is disabled by default, and needs for a patch (TBD)
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I1092b51c9e3a4a5a41246560128e37d825124bfd
show more ...
|
459611b1 | 19-Apr-2021 |
Joel Stanley <joel@jms.id.au> |
net/ncsi: Remove debugging
These were left over from someone's previous debugging. Remove all of the internal NCSI state changes. There is still a message printed about configuring NCSI when first e
net/ncsi: Remove debugging
These were left over from someone's previous debugging. Remove all of the internal NCSI state changes. There is still a message printed about configuring NCSI when first enabling the ethernet device:
ast# dhcp Configuring NCSI ftgmac@1e670000: link up, 100 Mbps full-duplex mac:32:5a:38:0f:ec:e9 BOOTP broadcast 1 DHCP client bound to address 10.0.2.15 (1 ms) Using ftgmac@1e670000 device TFTP from server 10.0.2.2; our IP address is 10.0.2.15
Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
ceede6d1 | 15-Apr-2021 |
Dylan Hung <dylan_hung@aspeedtech.com> |
net:phy: add phy-mode support on broadcom 5461 series
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I92cfd6a661dfeee3fffa4dd912465520fafa0bb8 |
7643081d | 03-May-2020 |
Fugang Duan <fugang.duan@nxp.com> |
net: phy: realtek: add rx delay support for RTL8211F
Add RX delay enable support for RTL8211F PHY.
Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by:
net: phy: realtek: add rx delay support for RTL8211F
Add RX delay enable support for RTL8211F PHY.
Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Change-Id: If7ab581532c6a53c336e9f86da0b166aa1ee4b32
show more ...
|
e16ad9ca | 24-Sep-2020 |
Joel Stanley <joel@jms.id.au> |
net/ncsi: Disable DEBUG
This was left on. For refrence, it produces output like this:
ast# dhcp net_loop: configuring NCSI first ftgmac@1e670000: link up, 100 Mbps full-duplex mac:00:00:00:00:00:00
net/ncsi: Disable DEBUG
This was left on. For refrence, it produces output like this:
ast# dhcp net_loop: configuring NCSI first ftgmac@1e670000: link up, 100 Mbps full-duplex mac:00:00:00:00:00:00 ncsi_probe_packages: NCSI_PROBE_PACKAGE_SP current_package 0 ncsi_send_sp ncsi_probe_packages: NCSI_PROBE_PACKAGE_DP current_package 0 ncsi_rsp_dp NCSI: probing channels ncsi_probe_packages: NCSI_PROBE_CHANNEL_SP ncsi_send_sp ncsi_rsp_sp NCSI: package 0x00 selected ncsi_probe_packages NCSI_PROBE_CHANNEL package 0 channel 0 NCSI: Duplicate channel 0x00 NCSI: configuring channel 0 NCSI: configuration done! BOOTP broadcast 1 DHCP client bound to address 10.1.1.5 (3 ms) Using ftgmac@1e670000 device
Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
468f3913 | 22-Jul-2020 |
ryan_chen <ryan_chen@aspeedtech.com> |
add mac for ast2400 |
419ca28e | 16-Dec-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
patch for BCM54612 Eth PHY |
785eb4e9 | 16-Dec-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
assign phy address in dts |
813df3e2 | 27-Nov-2019 |
Chia-Wei, Wang <chiawei_wang@aspeedtech.com> |
net: ftgmac100: Fix misaligned cache operation
The TX/RX descriptor structure does not align to CONFIG_SYS_CACHELINE_SIZE, leading to failed cache flushing and invalidating operations.
This patch m
net: ftgmac100: Fix misaligned cache operation
The TX/RX descriptor structure does not align to CONFIG_SYS_CACHELINE_SIZE, leading to failed cache flushing and invalidating operations.
This patch make the descriptor structures cache line size-aligned. The descriptor size setting in FTGMAC100 register is accordingly configured as well.
show more ...
|
54fa41af | 23-Sep-2019 |
Joel Stanley <joel@jms.id.au> |
pinctrl/aspeed: Add RMII definitions for ast2600
Signed-off-by: Joel Stanley <joel@jms.id.au> |
70668ffd | 10-Nov-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
rollback the fix for the unaligned access.
since it has be fixed on the pathch 47e4960 |
f53e0bf4 | 17-Oct-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
resolve the unaligned access issue |
85fe28f6 | 17-Oct-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
correct the endian of the checksum |
9ab23354 | 15-Oct-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
apply ncsi patch |
516d4ba9 | 08-Jun-2019 |
ryan_chen <ryan_chen@aspeedtech.com> |
update ftgmac driver |
6eb9f3eb | 08-Jun-2019 |
ryan_chen <ryan_chen@aspeedtech.com> |
add for broadcom phy |
0f02bc6a | 08-Jun-2019 |
ryan_chen <ryan_chen@aspeedtech.com> |
update aspeed mdio driver |
1b171c6c | 08-Jun-2019 |
ryan_chen <ryan_chen@aspeedtech.com> |
update aspeed mdio driver |