History log of /openbmc/u-boot/include/phy.h (Results 1 – 25 of 176)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v00.04.11
# 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 ...


# ec05ae58 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
# 17cff748 27-Oct-2020 Ryan Chen <ryan_chen@aspeedtech.com>

update phy_write


Revision tags: v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01
# 6a69dbe2 03-Nov-2019 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


# 50ed8353 23-Oct-2019 Dylan Hung <dylan_hung@aspeedtech.com>

Merge branch 'sli_clk' into aspeed-dev-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
# 87f78478 25-Jan-2019 Tom Rini <trini@konsulko.com>

Merge tag 'arc-fixes-for-2019.04-rc1' of git://git.denx.de/u-boot-arc

A couple of trivial fixes and improvements for ARC

Most notable are:
* Move of ENV_SIZE/ENV_OFFSET to Kcon

Merge tag 'arc-fixes-for-2019.04-rc1' of git://git.denx.de/u-boot-arc

A couple of trivial fixes and improvements for ARC

Most notable are:
* Move of ENV_SIZE/ENV_OFFSET to Kconfig
* Fix with private structure allocation for arc_uart
* Definition of CONFIG_SYS_CACHELINE_SIZE useful for building drivers

show more ...


# d01806a8 24-Jan-2019 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-sunxi


# 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

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 ...


# 2f07a9a6 29-Oct-2018 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-sunxi


# f749b618 25-Oct-2018 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-net


# 1ddcf5ed 10-Oct-2018 Priyanka Jain <priyanka.jain@nxp.com>

net/phy: Add phy-id for IN112525_S03

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>


# fc82e768 07-Aug-2018 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-samsung


# 20a619c6 31-Jul-2018 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-mpc85xx


# 406fd7e2 30-Jul-2018 Tom Rini <trini@konsulko.com>

Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot

Patch queue for efi - 2018-07-25

Highlights this time:

- Many small fixes to improve spec compatibility (foun

Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot

Patch queue for efi - 2018-07-25

Highlights this time:

- Many small fixes to improve spec compatibility (found by SCT)
- Almost enough to run with sandbox target
- GetTime() improvements
- Enable EFI_LOADER and HYP entry on ARMv7 with NONSEC=y

show more ...


# 0e8a8a31 27-Jul-2018 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-fsl-qoriq


# 2ae23a28 26-Jul-2018 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-dm


# 53885e76 26-Jul-2018 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-tegra


# 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 devic

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 ...


# f070b1a2 17-Jul-2018 Joe Hershberger <joe.hershberger@ni.com>

phy: Break include cycle

Because some phy wants to export some functions [1], export.h was
including the whole phy subsystem which pulls in lots of stuff that
causes some ordering an

phy: Break include cycle

Because some phy wants to export some functions [1], export.h was
including the whole phy subsystem which pulls in lots of stuff that
causes some ordering and redefinition issues. Split out the only part
that is actually needed in export.h and include it there and in phy.h.

[1] commit 95279315076c ("board/ls2085rdb: Export functions for
standalone AQ FW load apps")

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>

show more ...


# 103c45fb 17-Jun-2018 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-sh


# a715415b 15-Jun-2018 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-usb


12345678