- 13 6月, 2020 2 次提交
-
-
由 Dan Murphy 提交于
Add the DP8382X generic PHY registration to the TI PHY init file. Acked-by: NMichal Simek <michal.simek@xilinx.com> Signed-off-by: NDan Murphy <dmurphy@ti.com>
-
由 Dan Murphy 提交于
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: NMichal Simek <michal.simek@xilinx.com> Signed-off-by: NDan Murphy <dmurphy@ti.com>
-
- 10 3月, 2020 1 次提交
-
-
由 Samuel Mendoza-Jonas 提交于
This introduces support for the NC-SI protocol, modelled as a phy driver for other ethernet drivers to consume. NC-SI (Network Controller Sideband Interface) is a protocol to manage a sideband connection to a proper network interface, for example a BMC (Baseboard Management Controller) sharing the NIC of the host system. Probing and configuration occurs by communicating with the "remote" NIC via NC-SI control frames (Ethernet header 0x88f8). This implementation is roughly based on the upstream Linux implementation[0], with a reduced feature set and an emphasis on getting a link up as fast as possible rather than probing the full possible topology of the bus. The current phy model relies on the network being "up", sending NC-SI command frames via net_send_packet() and receiving them from the net_loop() loop (added in a following patch). The ncsi-pkt.h header[1] is copied from the Linux kernel for consistent field definitions. [0]: https://github.com/torvalds/linux/tree/master/net/ncsi [1]: https://github.com/torvalds/linux/blob/master/net/ncsi/ncsi-pkt.hSigned-off-by: NSamuel Mendoza-Jonas <sam@mendozajonas.com> Reviewed-by: NJoel Stanley <joel@jms.id.au> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 09 12月, 2019 1 次提交
-
-
由 Anatolij Gustschin 提交于
Fix vendor name in MV88E61xx option description. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NChris Packham <judge.packham@gmail.com> Tested-by: NChris Packham <judge.packham@gmail.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 03 12月, 2019 1 次提交
-
-
由 Tom Rini 提交于
This converts the following to Kconfig: CONFIG_SYS_CORTINA_FW_IN_MMC CONFIG_SYS_CORTINA_FW_IN_NAND CONFIG_SYS_CORTINA_FW_IN_NOR CONFIG_SYS_CORTINA_FW_IN_REMOTE CONFIG_SYS_CORTINA_FW_IN_SPIFLASH Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 08 10月, 2019 1 次提交
-
-
This patch adds support for gmiitorgmii converter. This converter sits between the MAC and the external phy MAC <==> GMII2RGMII <==> RGMII_PHY. The ethernet driver probes this bridge and this bridge driver probes real phy driver and invokes the real phy functionalities as requested. This bridge just needs to be configured based on real phy negotiated speed and duplex. Signed-off-by: NSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 15 5月, 2019 1 次提交
-
-
由 James Byrne 提交于
Commit d397f7c4 ("net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers") separated the KSZ8xxx and KSZ90x1 drivers and warns that you shouldn't select both of them due to a device ID clash between the KSZ9021 and the KS8721, asserting that "it is highly unlikely for a system to contain both a KSZ8000 and a KSZ9000 PHY". Unfortunately boards like the SAMA5D3xEK do contain both types of PHY, but fortunately the Linux Micrel PHY driver provides a solution by using different PHY ID and mask values to distinguish these chips. This commit contains the following changes: - The PHY ID and mask values for the KSZ9021 and the KS8721 now match those used by the Linux driver. - The warnings about not enabling both drivers have been removed. - The description for PHY_MICREL_KSZ8XXX has been corrected (these are 10/100 PHYs, not GbE PHYs). - PHY_MICREL_KSZ9021 and PHY_MICREL_KSZ9031 no longer select PHY_GIGE since this is selected by PHY_MICREL_KSZ90X1. - All of the relevant defconfig files have been updated now that PHY_MICREL_KSZ8XXX does not default to 'Y'. Signed-off-by: NJames Byrne <james.byrne@origamienergy.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 08 5月, 2019 1 次提交
-
-
由 Carlo Caione 提交于
When EEE is supported by the PHY and the driver allows it, libphy in the kernel is configuring the PHY to stop receiving the xMII clock while it is signaling LPI. While this (usually) works fine in the kernel this is causing issues in U-Boot when rebooting from the linux kernel with this bit set (without having the possibility to reset the PHY) where the PHY suddenly stops working. A new quirk is introduced to unconditionally reset this bit. If the quirk is not enabled using the proper configuration symbol, the PHY state is not changed. Signed-off-by: NCarlo Caione <ccaione@baylibre.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 25 10月, 2018 2 次提交
-
-
由 Jeremy Gebben 提交于
Aquantia phys have firmware that can be loaded automatically from storage directly attached to the phy or via MDIO commands. Add support for loading firmware from either a file or a raw location on an MMC device. Signed-off-by: NJeremy Gebben <jgebben@sweptlaser.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Jeremy Gebben 提交于
The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G. Signed-off-by: NJeremy Gebben <jgebben@sweptlaser.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 14 4月, 2018 1 次提交
-
-
由 Joe Hershberger 提交于
Some boards expect to find more than one phy while other boards are old and need to be limited to a specific phy address. Only limit the phy address for boards that opt in. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Tested-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
- 23 3月, 2018 1 次提交
-
-
由 kevans@FreeBSD.org 提交于
Setting PHY_RTL8211E_PINE64_GIGABIT_FIX forces internal rx/tx delays off on the PHY, as well as flipping some magical undocumented bits. The magic number comes from the Pine64 engineering team, presumably as a proxy from Realtek. This configuration fixes the throughput on some Pine64 models. Packet loss of up to 60-70% has been observed without this. Signed-off-by: NKyle Evans <kevans@FreeBSD.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 14 3月, 2018 1 次提交
-
-
由 Stefan Mavrodiev 提交于
CONFIG_PHY_ADDR is used for old-style configuration. This makes impossible changing the PHY address, if multiple boards share a same config header file (for example include/configs/sunxi-common.h). Moving this to Kconfig helps overcoming this issue. It's defined as entry inside PHYLIB section. After the implemention, moveconfig was run. The issues are: - edb9315a - CONFIG_PHYLIB is not enabled. Entry is deleted. - ds414 - CONFIG_PHYLIB is in incompatible format: { 0x1, 0x0 }. This entry is also deleted. - devkit3250 - The PHY_ADDR is in hex format (0x1F). Manually CONFIG_PHY_ADDR=31 is added in the defconfig. After the changes the suspicious defconfigs passes building. Signed-off-by: NStefan Mavrodiev <stefan@olimex.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com> [jagan: rebased on master] Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
- 09 2月, 2018 1 次提交
-
-
由 Michal Simek 提交于
There is no value to enable phylib without networking support. Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 16 1月, 2018 1 次提交
-
-
由 Florian Fainelli 提交于
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: NStefan Roese <sr@denx.de> Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
-
- 17 11月, 2017 1 次提交
-
-
由 Neil Armstrong 提交于
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: NNeil Armstrong <narmstrong@baylibre.com>
-
- 08 8月, 2017 3 次提交
-
-
由 Alexandru Gagniuc 提交于
The correct option is PHY_MICREL_KSZ90X1, but some configs still select the 9021 and 9031 options, which are deprecated. Signed-off-by: NAlexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Alexandru Gagniuc 提交于
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: NAlexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Alexandru Gagniuc 提交于
Signed-off-by: NAlexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 03 6月, 2017 1 次提交
-
-
由 Philipp Tomsich 提交于
This change migrate the following configuration options for Kconfig: * PHY_GIGE, indicates that a controller (with an appropriate PHY) is Gigabit capable and enables extra support in the miiutil for parsing the status of Gigabit PHYs * adds configuration options for Micrel KSZ9021 and KSZ9031 GbE PHYs, which previously had to enabled through a board-specific config file Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 31 5月, 2017 1 次提交
-
-
由 Jagan Teki 提交于
Add kconfig entry for Micrel KSZ9021 PHY support. Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
- 26 3月, 2017 1 次提交
-
-
由 Hannes Schmelzer 提交于
This patch adds support for having a "fixed-link" to some other MAC (like some embedded switch-device). For this purpose we introduce a new phy-driver, called "Fixed PHY". Fixed PHY works only with CONFIG_DM_ETH enabled, since the fixed-link is described with a subnode below ethernet interface. Most ethernet drivers (unfortunately not all are following same scheme for searching/attaching phys) are calling "phy_connect(...)" for getting a phy-device. At this point we link in, we search here for a subnode called "fixed- link", once found we start phy_device_create(...) with the special phy- id PHY_FIXED_ID (0xa5a55a5a). During init the "Fixed PHY" driver has registered with this id and now gets probed, during probe we get all the details about fixed-link out of dts, later on the phy reports this values. Signed-off-by: NHannes Schmelzer <hannes.schmelzer@br-automation.com> Signed-off-by: NHannes Schmelzer <oe5hpm@oevsv.at> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Reviewed-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
-
- 21 3月, 2017 1 次提交
-
-
由 Tim Harvey 提交于
Signed-off-by: NTim Harvey <tharvey@gateworks.com> Reviewed-by: NStefano Babic <sbabic@denx.de> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 09 2月, 2017 1 次提交
-
-
由 John Haechten 提交于
Signed-off-by: NJohn Haechten <john.haechten@microsemi.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 08 2月, 2017 1 次提交
-
-
由 Alex 提交于
Provide the necessary Kconfig symbols so that PHYLIB support may be enabled in Kconfig, as opposed to needing to #define these symbols in C source headers. BITBANGMII and MV88E6352_SWITCH are left out of the PHYLIB submenu as they don't seem to explicitly depend on it (i.e. they do not use the phy_driver class). Signed-off-by: NAlexandru Gagniuc <alex.g@adaptrum.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-