diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-05-04 16:14:39 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-12 13:17:23 -0400 |
commit | bc0e578f903d24b5291d34959ad534138ced0780 (patch) | |
tree | ff72aabb0c421770aab7ecd9613925ade24151cc /drivers/net/phy/ti_phy_init.h | |
parent | 535247a9e455a165943efcdbb7e144e816d6e904 (diff) | |
download | u-boot-bc0e578f903d24b5291d34959ad534138ced0780.zip u-boot-bc0e578f903d24b5291d34959ad534138ced0780.tar.gz u-boot-bc0e578f903d24b5291d34959ad534138ced0780.tar.bz2 |
net: phy: Add support for TI PHY init
ti_phy_init function was allocated to the DP83867 PHY. This function
name is to generic for a specific PHY. The function can be moved to a
TI specific file that can register all TI PHYs that are defined in the
defconfig. The ti_phy_init file will contain all TI PHYs initialization
so that only phy_ti_init can be called from the framework.
In addition to the above the config flag for the DP83867 needs to be changed
in the Kconfig and dependent defconfig files. The config flag that was
used for the DP83867 was also generic in nature so a more specific
config flag for the DP83867 was created.
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Diffstat (limited to 'drivers/net/phy/ti_phy_init.h')
-rw-r--r-- | drivers/net/phy/ti_phy_init.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/phy/ti_phy_init.h b/drivers/net/phy/ti_phy_init.h new file mode 100644 index 0000000..6c7f6c6 --- /dev/null +++ b/drivers/net/phy/ti_phy_init.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * TI Generic Ethernet PHY + * + * Author: Dan Murphy <dmurphy@ti.com> + * + * Copyright (C) 2019-20 Texas Instruments Inc. + */ + +#ifndef _TI_GEN_PHY_H +#define _TI_GEN_PHY_H + +int phy_dp83867_init(void); + +#endif /* _TI_GEN_PHY_H */ |