Searched +full:an7583 +full:- +full:mdio (Results 1 – 5 of 5) sorted by relevance
/linux/Documentation/devicetree/bindings/net/ |
H A D | airoha,an7583-mdio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/airoha,an7583-mdio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Airoha AN7583 Dedicated MDIO Controller 10 - Christian Marangi <ansuelsmth@gmail.com> 13 Airoha AN7583 SoC have 3 different MDIO Controller. 20 $ref: mdio.yaml# 24 const: airoha,an7583-mdio 35 clock-frequency: [all …]
|
/linux/drivers/net/mdio/ |
H A D | mdio-airoha.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Airoha AN7583 MDIO interface driver 51 return regmap_read_poll_timeout(priv->regmap, priv->base_addr, busy, in airoha_mdio_wait_busy() 64 * - read at 0x1f report at 0x2 0x7500 in airoha_mdio_reset() 65 * - read at 0x0 report 0x7500 on every address in airoha_mdio_reset() 67 * To workaround this, we reset the Mdio BUS at every read in airoha_mdio_reset() 70 reset_control_assert(priv->reset); in airoha_mdio_reset() 71 reset_control_deassert(priv->reset); in airoha_mdio_reset() 76 struct airoha_mdio_data *priv = bus->priv; in airoha_mdio_read() 87 ret = regmap_write(priv->regmap, priv->base_addr, val); in airoha_mdio_read() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # MDIO Layer Configuration 7 tristate "MDIO bus consumer layer" 9 MDIO bus consumer layer 17 FWNODE MDIO bus (Ethernet PHY) accessors 23 OpenFirmware MDIO bus (Ethernet PHY) accessors 28 ACPI MDIO bus (Ethernet PHY) accessors 31 tristate "Airoha AN7583 MDIO bus controller" 34 This module provides a driver for the MDIO busses found in the 35 Airoha AN7583 SoC's. [all …]
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | mediatek,mt7530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Landen Chao <Landen.Chao@mediatek.com> 12 - DENG Qingfang <dqfext@gmail.com> 13 - Sean Wang <sean.wang@mediatek.com> 14 - Daniel Golle <daniel@makrotopia.org> 17 There are three versions of MT7530, standalone, in a multi-chip module and 18 built-into a SoC. [all …]
|
/linux/drivers/net/dsa/ |
H A D | mt7530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/mdio.h> 49 if (priv->bus) in mt7530_mutex_lock() 50 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mutex_lock() 56 if (priv->bus) in mt7530_mutex_unlock() 57 mutex_unlock(&priv->bus->mdio_lock); in mt7530_mutex_unlock() 63 struct mii_bus *bus = priv->bus; in core_write() 69 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 75 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 81 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() [all …]
|