Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12 |
|
#
d473bc78 |
| 27-Jul-2022 |
Chia-Wei Wang <chiawei_wang@aspeedtech.com> |
Merge branch pull request #13 into aspeed-dev-v2019.04
Change-Id: I642bbbb0700c982119137d7cdae034635f9dc3d2
|
Revision tags: v00.04.11 |
|
#
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 ...
|
Revision tags: v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01 |
|
#
e87eb270 |
| 05-Dec-2019 |
Johnny Huang <johnny_huang@aspeedtech.com> |
Merge branch 'aspeed-dev-v2019.04' into aspeed-master-v2019.04
|
#
97ebe011 |
| 23-Oct-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
Merge branch 'feature/rmii' into aspeed-dev-v2019.04
|
#
9ab23354 |
| 15-Oct-2019 |
Dylan Hung <dylan_hung@aspeedtech.com> |
apply ncsi patch
|
Revision tags: v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04 |
|
#
afbc3194 |
| 29-Mar-2019 |
Hannes Schmelzer <hannes.schmelzer@br-automation.com> |
net: phy: implement fallback mechanism for negative phy adresses
Negative phy-addresses can occour if the caller function was not able to determine a valid phy address (from device-tree for example)
net: phy: implement fallback mechanism for negative phy adresses
Negative phy-addresses can occour if the caller function was not able to determine a valid phy address (from device-tree for example). In this case we catch this here and search for ANY phy device on the given mdio- bus.
Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Tested-by: Lukasz Majewski <lukma@denx.de>
show more ...
|
#
68489ed0 |
| 24-Jan-2019 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
#
b3eabd82 |
| 16-Nov-2018 |
Pankaj Bansal <pankaj.bansal@nxp.com> |
net: phy: Add clause 45 identifier to phy_device
The phy devices can be accessed via clause 22 or via clause 45. This information can be deduced when we read phy id. if the phy id is read without gi
net: phy: Add clause 45 identifier to phy_device
The phy devices can be accessed via clause 22 or via clause 45. This information can be deduced when we read phy id. if the phy id is read without giving any MDIO Manageable Device Address (MMD), then it conforms to clause 22. otherwise it conforms to clause 45.
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
ce0d1e48 |
| 24-Jan-2019 |
Tom Rini <trini@konsulko.com> |
Merge tag 'xilinx-for-v2019.04' of git://git.denx.de/u-boot-microblaze
Xilinx changes for v2019.04
tools: - Fix zynqmpimage generation
zynq: - Some configs/Kconfig/DT updates - Enable REMAKE_ELF a
Merge tag 'xilinx-for-v2019.04' of git://git.denx.de/u-boot-microblaze
Xilinx changes for v2019.04
tools: - Fix zynqmpimage generation
zynq: - Some configs/Kconfig/DT updates - Enable REMAKE_ELF and OF_SEPARATE - Topic boards update - i2c cleanups and conversion to DM_I2C
zynqmp: - Some configs/Kconfig/DT updates - Board config cleanup - Move arch folder to mach-zynqmp
versal: - Enable DM_I2C, CMD_DM
zynq-gem: - Fix driver cache handling
i2c: - Live tree simple update
phy: - Fixed phy cleanup
travis: - Wire Versal SoC
show more ...
|
#
c256d3f7 |
| 27-Nov-2018 |
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> |
net: phy: Move fixed link code to separate routine
This patch moves fixed-link functionality code to a separate routine inorder to make it more modular and cleaner.
Signed-off-by: Siva Durga Prasad
net: phy: Move fixed link code to separate routine
This patch moves fixed-link functionality code to a separate routine inorder to make it more modular and cleaner.
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
b47b3810 |
| 27-Dec-2018 |
Tom Rini <trini@konsulko.com> |
Merge branch '2018-12-26-master-imports'
- Misc TI platform fixes - mt7629 fix for Linux compatible SMP support - Other small regression fixes
|
#
7b4ea2d8 |
| 19-Dec-2018 |
Michal Simek <michal.simek@xilinx.com> |
phy: Fix u-boot coruption when fixed-phy is used
When fixed-link phy is used subnode offset is used as phy address. This number is bigger then space allocated for bus structure (allocated via mdio_a
phy: Fix u-boot coruption when fixed-phy is used
When fixed-link phy is used subnode offset is used as phy address. This number is bigger then space allocated for bus structure (allocated via mdio_alloc). bus->phymap[] array has PHY_MAX_ADDR size (32). That's why writing bus->phymap[addr] where addr is < 0 or > PHY_MAX_ADDR is causing write to memory which can caused full U-Boot crash.
The patch is checking if address is in correct range.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|
#
a57d45db |
| 26-Jul-2018 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
Revision tags: v2018.07 |
|
#
eef0b8a9 |
| 05-Jul-2018 |
Grygorii Strashko <grygorii.strashko@ti.com> |
net: phy: add ofnode node to struct phy_device
Now the UCLASS_ETH device "node" field is owerwritten by some network drivers in case of Ethernet PHYs which are linked to UCLASS_ETH device using "phy
net: phy: add ofnode node to struct phy_device
Now the UCLASS_ETH device "node" field is owerwritten by some network drivers in case of Ethernet PHYs which are linked to UCLASS_ETH device using "phy-handle" DT property and when Ethernet PHY driver needs to read some additional information from DT. In such cases following happens (in general):
- network drivers priv->phydev = phy_connect(priv->bus, priv->phyaddr, dev, priv->interface); <-- phydev is connected to dev which is UCLASS_ETH device
if (priv->phy_of_handle > 0) dev_set_of_offset(priv->phydev->dev, priv->phy_of_handle); <-- phydev->dev->node is overwritten by phy-handle DT node
- PHY driver in .config() callback int node = dev_of_offset(dev); <-- PHY driver uses overwritten dev->node const void *fdt = gd->fdt_blob;
if (fdtdec_get_bool(fdt, node, "property")) ...
As result, UCLASS_ETH device can't be used any more for DT accessing.
This patch adds additional ofnode node field to struct phy_device which can be set explicitly by network drivers and used by PHY drivers, so overwriting can be avoided. Also add helper function phy_get_ofnode() which will check and return phy_device->node or dev_ofnode(phydev->dev) for backward compatibility with existing drivers.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
05b60ac5 |
| 25-Jul-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: phy: Clean up includes of common.h
We want to be able to include some other system headers in phy.h but that requires us to have included common.h in the top-level first.
Also, common.h includ
net: phy: Clean up includes of common.h
We want to be able to include some other system headers in phy.h but that requires us to have included common.h in the top-level first.
Also, common.h includes config.h as the first thing it does, so don't include it directly.
Series-to: u-boot Series-cc: Grygorii Strashko <grygorii.strashko@ti.com> Seried-cc: ti Series-process-log: sort, uniq Cover-letter: Prepare for net: phy: prevent uclass_eth device "node" field overwriting Prepare for [1] so that it doesn't break the build for a bunch of boards. There are a number of reasons this series broke the build but none of them depend on changes in the series, so fix up those situations ahead of applying that series.
[1] https://patchwork.ozlabs.org/cover/940104/ END Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
83d290c5 |
| 06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
Revision tags: v2018.03 |
|
#
d2311824 |
| 27-Feb-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-net
|
#
8d631203 |
| 15-Jan-2018 |
Mario Six <mario.six@gdsys.cc> |
phy: Fix style violations
Fix some style violations in the generic PHY management code.
Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Mario Six <mario.six@gdsys.cc>
|
#
fdb6c323 |
| 15-Jan-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-net
|
Revision tags: v2018.01 |
|
#
137963d7 |
| 09-Dec-2017 |
Florian Fainelli <f.fainelli@gmail.com> |
net: phy: Add Broadcom BCM53xx switch driver
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar to the Marvell MV88E617x. This takes care of configuring the minimum amount out of
net: phy: Add Broadcom BCM53xx switch driver
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar to the Marvell MV88E617x. This takes care of configuring the minimum amount out of the switch hardware such that each user visible port (configurable) and the CPU port can forward packets between each other while preserving isolation with other ports.
This is useful for e.g: the Lamobo R1 board featuring a Broadcom BCM53125 switch.
Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
show more ...
|
Revision tags: v2017.11 |
|
#
8995a96d |
| 18-Oct-2017 |
Neil Armstrong <narmstrong@baylibre.com> |
net: phy: Add Amlogic Meson GXL Internal PHY support
The Amlogic Meson GXL/GXM families embeds an internal RMII Ethernet PHY.
The PHY acts as a generic PHY but needs a slight configuration right be
net: phy: Add Amlogic Meson GXL Internal PHY support
The Amlogic Meson GXL/GXM families embeds an internal RMII Ethernet PHY.
The PHY acts as a generic PHY but needs a slight configuration right before it's configuration.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
show more ...
|
#
6e7adf70 |
| 07-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
#
d397f7c4 |
| 07-Jul-2017 |
Alexandru Gagniuc <alex.g@adaptrum.com> |
net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers
The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they share the same ID. Drivers for bothe PHYs cannot safely coexist, so
net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers
The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they share the same ID. Drivers for bothe PHYs cannot safely coexist, so the solution was to use #ifdefs to select between the two drivers.
As a result KSZ9031, which has a unique ID, is now caught in the crossfire. Unless CONFIG_PHY_MICREL_KSZ9031 is defined, the KSZ9031 will not function properly, as some essential configuration code is ifdef'd-out.
To prevent such situations, move the KSZ9000 drivers to a separate file, and place them under a separate Kconfig option. While it is possible to enable both KSZ8000 and KSZ9000 drivers at the same time, the assumption is that it is highly unlikely for a system to contain both a KSZ8000 and a KSZ9000 PHY, and that only one of the drivers will be enabled at any given time.
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
da409ccc |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Replace of_offset with accessor (part 2)
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live devi
dm: core: Replace of_offset with accessor (part 2)
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live device tree, which uses a node pointer instead, refactor existing code to access this field through an inline function.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|