Searched +full:mdio +full:- +full:multiplexer (Results 1 – 25 of 73) sorted by relevance
123
| /kernel/linux/linux-6.6/drivers/net/mdio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # MDIO Layer Configuration 7 tristate "MDIO bus device drivers" 9 MDIO devices and driver infrastructure code. 20 loadable module or built-in. 27 FWNODE MDIO bus (Ethernet PHY) accessors 35 OpenFirmware MDIO bus (Ethernet PHY) accessors 42 ACPI MDIO bus (Ethernet PHY) accessors 50 tristate "Allwinner sun4i MDIO interface support" 53 This driver supports the MDIO interface found in the network [all …]
|
| D | mdio-mux-multiplexer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* MDIO bus multiplexer using kernel multiplexer subsystem 7 #include <linux/mdio-mux.h> 19 * mdio_mux_multiplexer_switch_fn - This function is called by the mdio-mux 20 * layer when it thinks the mdio bus 21 * multiplexer needs to switch. 23 * @desired_child: value of the 'reg' property of the target child MDIO node. 27 * The first time this function is called, current_child == -1. 44 if (s->do_deselect) in mdio_mux_multiplexer_switch_fn() 45 ret = mux_control_deselect(s->muxc); in mdio_mux_multiplexer_switch_fn() [all …]
|
| D | mdio-mux-meson-gxl.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/mdio-mux.h> 60 writel(REG4_PWRUPRSTSIG, priv->regs + ETH_REG4); in gxl_enable_internal_mdio() 61 writel(val, priv->regs + ETH_REG3); in gxl_enable_internal_mdio() 67 * drivers/net/phy/meson-gxl.c to properly match the PHY. in gxl_enable_internal_mdio() 70 priv->regs + ETH_REG2); in gxl_enable_internal_mdio() 74 writel(val, priv->regs + ETH_REG3); in gxl_enable_internal_mdio() 75 writel(0, priv->regs + ETH_REG4); in gxl_enable_internal_mdio() 83 /* Reset the mdio bus mux to the external phy */ in gxl_enable_external_mdio() 84 writel(0, priv->regs + ETH_REG3); in gxl_enable_external_mdio() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # Makefile for Linux MDIO bus drivers 4 obj-$(CONFIG_ACPI_MDIO) += acpi_mdio.o 5 obj-$(CONFIG_FWNODE_MDIO) += fwnode_mdio.o 6 obj-$(CONFIG_OF_MDIO) += of_mdio.o 8 obj-$(CONFIG_MDIO_ASPEED) += mdio-aspeed.o 9 obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o 10 obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o 11 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o 12 obj-$(CONFIG_MDIO_CAVIUM) += mdio-cavium.o [all …]
|
| /kernel/linux/linux-5.10/drivers/net/mdio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # MDIO Layer Configuration 7 tristate "MDIO bus device drivers" 9 MDIO devices and driver infrastructure code. 20 loadable module or built-in. 28 OpenFirmware MDIO bus (Ethernet PHY) accessors 36 tristate "Allwinner sun4i MDIO interface support" 39 This driver supports the MDIO interface found in the network 44 tristate "APM X-Gene SoC MDIO bus controller" 47 This module provides a driver for the MDIO busses found in the [all …]
|
| D | mdio-mux-multiplexer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* MDIO bus multiplexer using kernel multiplexer subsystem 7 #include <linux/mdio-mux.h> 19 * mdio_mux_multiplexer_switch_fn - This function is called by the mdio-mux 20 * layer when it thinks the mdio bus 21 * multiplexer needs to switch. 23 * @desired_child: value of the 'reg' property of the target child MDIO node. 27 * The first time this function is called, current_child == -1. 44 if (s->do_deselect) in mdio_mux_multiplexer_switch_fn() 45 ret = mux_control_deselect(s->muxc); in mdio_mux_multiplexer_switch_fn() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # Makefile for Linux MDIO bus drivers 4 obj-$(CONFIG_OF_MDIO) += of_mdio.o 6 obj-$(CONFIG_MDIO_ASPEED) += mdio-aspeed.o 7 obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o 8 obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o 9 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o 10 obj-$(CONFIG_MDIO_CAVIUM) += mdio-cavium.o 11 obj-$(CONFIG_MDIO_GPIO) += mdio-gpio.o 12 obj-$(CONFIG_MDIO_HISI_FEMAC) += mdio-hisi-femac.o [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | mdio-mux-multiplexer.txt | 1 Properties for an MDIO bus multiplexer consumer device 3 This is a special case of MDIO mux when MDIO mux is defined as a consumer 7 Required properties in addition to the MDIO Bus multiplexer properties: 9 - compatible : should be "mmio-mux-multiplexer" 10 - mux-controls : mux controller node to use for operating the mux 11 - mdio-parent-bus : phandle to the parent MDIO bus. 13 each child node of mdio bus multiplexer consumer device represent a mdio 17 Documentation/devicetree/bindings/mux/mux-controller.txt 18 and Documentation/devicetree/bindings/net/mdio-mux.txt 25 compatible = "fsl,lx2160aqds-fpga", "fsl,fpga-qixis-i2c", [all …]
|
| D | brcm,mdio-mux-iproc.txt | 1 Properties for an MDIO bus multiplexer found in Broadcom iProc based SoCs. 3 This MDIO bus multiplexer defines buses that could be internal as well as 4 external to SoCs and could accept MDIO transaction compatible to C-22 or 5 C-45 Clause. When child bus is selected, one needs to select these two 6 properties as well to generate desired MDIO transaction on appropriate bus. 8 Required properties in addition to the generic multiplexer properties: 10 MDIO multiplexer node: 11 - compatible: brcm,mdio-mux-iproc. 13 Every non-ethernet PHY requires a compatible so that it could be probed based 17 - clocks: phandle of the core clock which drives the mdio block. [all …]
|
| D | mdio-mux-meson-g12a.txt | 1 Properties for the MDIO bus multiplexer/glue of Amlogic G12a SoC family. 3 This is a special case of a MDIO bus multiplexer. It allows to choose between 4 the internal mdio bus leading to the embedded 10/100 PHY or the external 5 MDIO bus. 7 Required properties in addition to the generic multiplexer properties: 8 - compatible : amlogic,g12a-mdio-mux 9 - reg: physical address and length of the multiplexer/glue registers 10 - clocks: list of clock phandle, one for each entry clock-names. 11 - clock-names: should contain the following: 18 mdio_mux: mdio-multiplexer@4c000 { [all …]
|
| D | mdio-mux-mmioreg.txt | 1 Properties for an MDIO bus multiplexer controlled by a memory-mapped device 3 This is a special case of a MDIO bus multiplexer. A memory-mapped device, 4 like an FPGA, is used to control which child bus is connected. The mdio-mux 5 node must be a child of the memory-mapped device. The driver currently only 6 supports devices with 8, 16 or 32-bit registers. 8 Required properties in addition to the generic multiplexer properties: 10 - compatible : string, must contain "mdio-mux-mmioreg" 12 - reg : integer, contains the offset of the register that controls the bus 13 multiplexer. The size field in the 'reg' property is the size of 16 - mux-mask : integer, contains an eight-bit mask that specifies which [all …]
|
| D | mdio-mux.txt | 1 Common MDIO bus multiplexer/switch properties. 3 An MDIO bus multiplexer/switch will have several child busses that are 4 numbered uniquely in a device dependent manner. The nodes for an MDIO 5 bus multiplexer/switch will have one child node for each child bus. 8 - #address-cells = <1>; 9 - #size-cells = <0>; 12 - mdio-parent-bus : phandle to the parent MDIO bus. 14 - Other properties specific to the multiplexer/switch hardware. 17 - #address-cells = <1>; 18 - #size-cells = <0>; [all …]
|
| D | mdio-mux-gpio.txt | 1 Properties for an MDIO bus multiplexer/switch controlled by GPIO pins. 3 This is a special case of a MDIO bus multiplexer. One or more GPIO 6 Required properties in addition to the generic multiplexer properties: 8 - compatible : mdio-mux-gpio. 9 - gpios : GPIO specifiers for each GPIO line. One or more must be specified. 14 /* The parent MDIO bus. */ 15 smi1: mdio@1180000001900 { 16 compatible = "cavium,octeon-3860-mdio"; 17 #address-cells = <1>; 18 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | mdio-mux-multiplexer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux-multiplexer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Properties for an MDIO bus multiplexer consumer device 10 - Andrew Lunn <andrew@lunn.ch> 13 This is a special case of MDIO mux when MDIO mux is defined as a consumer 19 - $ref: /schemas/net/mdio-mux.yaml# 23 const: mdio-mux-multiplexer 25 mux-controls: [all …]
|
| D | mdio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common MDIO bus multiplexer/switch properties. 10 - Andrew Lunn <andrew@lunn.ch> 13 An MDIO bus multiplexer/switch will have several child busses that are 14 numbered uniquely in a device dependent manner. The nodes for an MDIO 15 bus multiplexer/switch will have one child node for each child bus. 18 mdio-parent-bus: [all …]
|
| D | mdio-mux-mmioreg.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux-mmioreg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Properties for an MDIO bus multiplexer controlled by a memory-mapped device 10 - Andrew Lunn <andrew@lunn.ch> 13 This is a special case of a MDIO bus multiplexer. A memory-mapped device, 14 like an FPGA, is used to control which child bus is connected. The mdio-mux 15 node must be a child of the memory-mapped device. The driver currently only 16 supports devices with 8, 16 or 32-bit registers. [all …]
|
| D | amlogic,g12a-mdio-mux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/amlogic,g12a-mdio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MDIO bus multiplexer/glue of Amlogic G12a SoC family 10 This is a special case of a MDIO bus multiplexer. It allows to choose between 11 the internal mdio bus leading to the embedded 10/100 PHY or the external 12 MDIO bus. 15 - Neil Armstrong <neil.armstrong@linaro.org> 18 - $ref: mdio-mux.yaml# [all …]
|
| D | brcm,bcm6368-mdio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/brcm,bcm6368-mdio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6368 MDIO bus multiplexer 10 - Álvaro Fernández Rojas <noltari@gmail.com> 13 This MDIO bus multiplexer defines buses that could be internal as well as 15 properties as well to generate desired MDIO transaction on appropriate bus. 18 - $ref: mdio-mux.yaml# 22 const: brcm,bcm6368-mdio-mux [all …]
|
| D | amlogic,gxl-mdio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/amlogic,gxl-mdio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic GXL MDIO bus multiplexer 10 - Jerome Brunet <jbrunet@baylibre.com> 13 This is a special case of a MDIO bus multiplexer. It allows to choose between 14 the internal mdio bus leading to the embedded 10/100 PHY or the external 15 MDIO bus on the Amlogic GXL SoC family. 18 - $ref: mdio-mux.yaml# [all …]
|
| D | brcm,mdio-mux-iproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/brcm,mdio-mux-iproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MDIO bus multiplexer found in Broadcom iProc based SoCs. 10 - Florian Fainelli <f.fainelli@gmail.com> 13 This MDIO bus multiplexer defines buses that could be internal as well as 14 external to SoCs and could accept MDIO transaction compatible to C-22 or 15 C-45 Clause. When child bus is selected, one needs to select these two 16 properties as well to generate desired MDIO transaction on appropriate bus. [all …]
|
| D | mdio-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Properties for an MDIO bus multiplexer/switch controlled by GPIO pins. 10 - Andrew Lunn <andrew@lunn.ch> 13 This is a special case of a MDIO bus multiplexer. One or more GPIO 17 - $ref: /schemas/net/mdio-mux.yaml# 21 const: mdio-mux-gpio 25 List of GPIOs used to control the multiplexer, least significant bit first. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mux/ |
| D | reg-mux.txt | 1 Generic register bitfield-based multiplexer controller bindings 7 - compatible : should be one of 8 "reg-mux" : if parent device of mux controller is not syscon device 9 "mmio-mux" : if parent device of mux controller is syscon device 10 - #mux-control-cells : <1> 11 - mux-reg-masks : an array of register offset and pre-shifted bitfield mask 13 * Standard mux-controller bindings as decribed in mux-controller.txt 16 - idle-states : if present, the state the muxes will have when idle. The 19 The multiplexer state of each multiplexer is defined as the value of the 21 pair in the mux-reg-masks array. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mux/ |
| D | reg-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/reg-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic register bitfield-based multiplexer controller 10 - Peter Rosin <peda@axentia.se> 19 - reg-mux # parent device of mux controller is not syscon device 20 - mmio-mux # parent device of mux controller is syscon device 24 '#mux-control-cells': 27 mux-reg-masks: [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | mdio-mux.h | 2 * MDIO bus multiplexer framwork. 15 /* mdio_mux_init() - Initialize a MDIO mux 16 * @dev The device owning the MDIO mux 17 * @mux_node The device node of the MDIO mux 18 * @switch_fn The function called for switching target MDIO child 19 * mux_handle A pointer to a (void *) used internaly by mdio-mux
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | mdio-mux.h | 2 * MDIO bus multiplexer framwork. 15 /* mdio_mux_init() - Initialize a MDIO mux 16 * @dev The device owning the MDIO mux 17 * @mux_node The device node of the MDIO mux 18 * @switch_fn The function called for switching target MDIO child 19 * mux_handle A pointer to a (void *) used internaly by mdio-mux
|
123