When we use the bindings defined in Documentation/devicetree/bindings/mux
to define mdio mux in producer and consumer terms, it results in two
devices. one is mux producer and other is mux consumer.
Add the bindings needed for Mdio mux consumer devices.
Signed-off-by: Pankaj Bansal
---
Notes
Add support for Generic Mux controls, when Mdio mux node is a consumer
of mux produced by some other device.
Signed-off-by: Pankaj Bansal
---
Notes:
V3:
- Avoid recast from platform_get_drvdata
- Check mux_control_deselect output in switch_fn
- rearrange swithc_fn code to reduce
Add support for Generic Mux controls, when Mdio mux node is a consumer
of mux produced by some other device.
Signed-off-by: Pankaj Bansal
---
Notes:
V2:
- Moved the changes from mdio-mux module to new module mdio-mux-multiplexer
- defined new CONFIG
- using new compatible "
When we use the bindings defined in Documentation/devicetree/bindings/mux
to define mdio mux in producer and consumer terms, it results in two
devices. one is mux producer and other is mux consumer.
Add the bindings needed for Mdio mux consumer devices.
Signed-off-by: Pankaj Bansal
---
Notes
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Thursday, 21 February, 2019 07:12 PM
> To: Pankaj Bansal
> Cc: Leo Li ; Peter Rosin ; Florian
> Fainelli ; Heiner Kallweit ;
> netdev@vger.kernel.org
> Subject: Re: [PATCH] drivers: net: ph
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Thursday, 21 February, 2019 07:15 PM
> To: Pankaj Bansal
> Cc: Leo Li ; Peter Rosin ; Florian
> Fainelli ; Heiner Kallweit ; Rob
> Herring ; Mark Rutland ;
> devicet...@vger.kernel.org
Add support for Generic Mux controls, when Mdio mux node is a consumer
of mux produced by some other device.
Signed-off-by: Pankaj Bansal
---
drivers/net/phy/Kconfig| 1 +
drivers/net/phy/mdio-mux.c | 81
2 files changed, 82 insertions(+)
diff --git a
When we use the bindings defined in Documentation/devicetree/bindings/mux
to define mdio mux in producer and consumer terms, it results in two
devices. one is mux producer and other is mux consumer.
Add the bindings needed for Mdio mux consumer devices.
Signed-off-by: Pankaj Bansal
> -Original Message-
> From: Li Yang [mailto:leoyang...@nxp.com]
> Sent: Friday, 15 February, 2019 04:03 AM
> To: Pankaj Bansal ; Rob Herring
> Cc: Shawn Guo ; Andrew Lunn ;
> Florian Fainelli ; netdev@vger.kernel.org; linux-arm-
> ker...@lists.infradead.org
>
> -Original Message-
> From: Leo Li
> Sent: Tuesday, 12 February, 2019 02:14 AM
> To: Shawn Guo ; Pankaj Bansal
>
> Cc: Andrew Lunn ; Florian Fainelli ;
> netdev@vger.kernel.org; linux-arm-ker...@lists.infradead.org
> Subject: RE: [PATCH v3] arm64: dts: lx2160
> -Original Message-
> From: Li Yang [mailto:leoyang...@nxp.com]
> Sent: Thursday, 7 February, 2019 05:09 AM
> To: Andrew Lunn
> Cc: Pankaj Bansal ; Shawn Guo
> ; Florian Fainelli ;
> netdev@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Rob Herring
>
to the onboard
RGMII phy devices.
The mdio1 is controlled by bits 4-7 of fpga register and mdio2 is
controlled by bits 0-3 of fpga register.
Signed-off-by: Pankaj Bansal
---
Notes:
V3:
- Add status = disabled in soc file and status = okay in board file
for external MDIO nodes
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V4:
- No change
V3:
- No change
V2:
- New file
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V4:
- Use IS_ENABLED macro in mdio-mux.h
V3:
- make the r
2380.html
V2:
- https://www.mail-archive.com/netdev@vger.kernel.org/msg282176.html
V1:
- https://www.spinics.net/lists/netdev/msg548027.html
Pankaj Bansal (2):
dt-bindings: net: add MDIO bus multiplexer driven by a regmap device
netdev/phy: add MDIO bus multiplexe
> -Original Message-
> From: Li Yang [mailto:leoyang...@nxp.com]
> Sent: Wednesday, 6 February, 2019 12:07 AM
> To: Pankaj Bansal
> Cc: Shawn Guo ; Andrew Lunn ;
> Florian Fainelli ; netdev@vger.kernel.org; linux-arm-
> ker...@lists.infradead.org
> Subject: R
Hi Shawn/Leo,
If you have no more comments, can you please merge this path in your branch?
in same branch in which you have accepted LX2160AQDS board patches.
Regards,
Pankaj Bansal
> -Original Message-
> From: David Miller [mailto:da...@davemloft.net]
> Sent: Monday, 4 Febru
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V3:
- make the return type of uninit function to void
- r
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V3:
- No change
V2:
- New file describing the device tre
2176.html
V1:
- https://www.spinics.net/lists/netdev/msg548027.html
Pankaj Bansal (2):
dt-bindings: net: add MDIO bus multiplexer driven by a regmap device
netdev/phy: add MDIO bus multiplexer driven by a regmap
.../bindings/net/mdio-mux-regmap.txt | 167 +
dri
defined if CONFIG_MDIO_BUS_MUX_REGMAP
Is NOT defined.
BUT it is defined as " CONFIG_MDIO_BUS_MUX_REGMAP = m"
Can you please help me to solve this?
Regards,
Pankaj Bansal
> -Original Message-
> From: kbuild test robot [mailto:l...@intel.com]
> Sent: Monday, 4 February, 2019 08:22
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V2:
- Added Kconfig entry for regmap based mdio mux
- re
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V2:
- New file describing the device tree bindings for regmap
to which this driver is associated.
The previous approach patches and discussion can be accessed here:
https://www.mail-archive.com/netdev@vger.kernel.org/msg252744.html
Cc: Varun Sethi
---
Notes:
V1:
- https://www.spinics.net/lists/netdev/msg548027.html
Pankaj Bansal (2):
d
to the onboard
RGMII phy devices.
The mdio1 is controlled by bits 4-7 of fpga register and mdio2 is
controlled by bits 0-3 of fpga register.
Signed-off-by: Pankaj Bansal
---
Notes:
V2:
- removed unnecassary TODO statements
- removed device_type from mdio nodes
- change the case
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Wednesday, 30 January, 2019 08:53 PM
> To: Pankaj Bansal
> Cc: Florian Fainelli ; netdev@vger.kernel.org; Varun
> Sethi
>
> Subject: Re: [PATCH 0/1] add MDIO bus multiplexer driven by a r
operty to which this
driver is associated.
The previous approach patches and discussion can be accessed here:
https://www.mail-archive.com/netdev@vger.kernel.org/msg252744.html
Cc: Varun Sethi
Pankaj Bansal (1):
netdev/phy: add MDIO bus multiplexer driven by a regmap
drivers/net/phy/Mak
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
drivers/net/phy/Makefile | 2 +-
drivers/net/phy/mdio-mux-regm
HI Shawn/Leo,
Can you please review this patch and include it in your tree ?
Regards,
Pankaj Bansal
-Original Message-
From: Pankaj Bansal [mailto:pankaj.ban...@nxp.com]
Sent: Thursday, 15 November, 2018 05:42 PM
To: Shawn Guo ; Leo Li ; Andrew Lunn
; Florian Fainelli
Cc: netdev
to the onboard
RGMII phy devices.
The mdio1 is controlled by bits 4-7 of fpga register and mdio2 is
controlled by bits 0-3 of fpga register.
Signed-off-by: Pankaj Bansal
---
Notes:
This patch depends on following patches:
[1]https://patchwork.kernel.org/cover/10658863/
[2]https
es the bit mask
that is used to select the bits from that register for a bus.
Any better alternatives?
Regards,
Pankaj Bansal
-Original Message-----
From: Pankaj Bansal
Sent: Wednesday, October 24, 2018 6:35 PM
To: Pankaj Bansal
Subject: [RFC] arm64: dts: lx2160aqds: Add mdio mux nodes
The tw
> -Original Message-
> From: Pankaj Bansal
> Sent: Thursday, October 18, 2018 10:00 AM
> To: Florian Fainelli ; Andrew Lunn
> Cc: netdev@vger.kernel.org
> Subject: RE: [PATCH v2 1/2] dt-bindings: net: add MDIO bus multiplexer driven
> by
> a regma
> -Original Message-
> From: Florian Fainelli [mailto:f.faine...@gmail.com]
> Sent: Sunday, October 7, 2018 11:39 PM
> To: Pankaj Bansal ; Andrew Lunn
> Cc: netdev@vger.kernel.org
> Subject: Re: [PATCH v2 2/2] netdev/phy: add MDIO bus multiplexer driven by a
> regma
Hi Florian
> -Original Message-
> From: Florian Fainelli [mailto:f.faine...@gmail.com]
> Sent: Sunday, October 7, 2018 11:32 PM
> To: Pankaj Bansal ; Andrew Lunn
> Cc: netdev@vger.kernel.org
> Subject: Re: [PATCH v2 1/2] dt-bindings: net: add MDIO bus multiplexer drive
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V2:
- replaced be32_to_cpup with of_property_read_u32
- in
Add support for an MDIO bus multiplexer controlled by a regmap
device, like an FPGA.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA
attached to the i2c bus.
Signed-off-by: Pankaj Bansal
---
Notes:
V2:
- Fixed formatting error caused by using space inst
controls mdio muxing and that device is controlled
using
i2c or spi, then it will not work.
Therefore, added a driver that uses regmap device to control mdio mux.
Tested on a NXP LX2160AQDS board which uses the "QIXIS" FPGA attached to the
i2c bus.
Cc: Varun Sethi
Pankaj Bansal (2):
d
Hi Andrew
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Friday, October 5, 2018 9:22 AM
> To: Pankaj Bansal
> Cc: Florian Fainelli ; netdev@vger.kernel.org;
> Alexandru Marginean
> Subject: Re: [PATCH 2/2] netdev/phy: add MDIO bus mu
Hi Andrew
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Friday, October 5, 2018 8:38 AM
> To: Pankaj Bansal
> Cc: Florian Fainelli ; netdev@vger.kernel.org;
> Alexandru Marginean
> Subject: Re: [PATCH 1/2] dt-bindings: net: add MDIO bus mu
39 matches
Mail list logo