[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190221134213.GD5653@lunn.ch>
Date: Thu, 21 Feb 2019 14:42:13 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Pankaj Bansal <pankaj.bansal@....com>
Cc: Leo Li <leoyang.li@....com>, Peter Rosin <peda@...ntia.se>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] drivers: net: phy: mdio-mux: Add support for Generic Mux
controls
On Thu, Feb 21, 2019 at 01:00:44PM +0000, Pankaj Bansal wrote:
> 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 <pankaj.bansal@....com>
> ---
> drivers/net/phy/Kconfig | 1 +
> drivers/net/phy/mdio-mux.c | 81 ++++++++++++++++++++++++++++++++++++
> 2 files changed, 82 insertions(+)
>
> diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
> index 3d187cd50eb0..e0e6b2b33d6d 100644
> --- a/drivers/net/phy/Kconfig
> +++ b/drivers/net/phy/Kconfig
> @@ -47,6 +47,7 @@ config MDIO_BITBANG
> config MDIO_BUS_MUX
> tristate
> depends on OF_MDIO
> + select MULTIPLEXER
> help
> This module provides a driver framework for MDIO bus
> multiplexers which connect one of several child MDIO busses
Hi Pankaj
Please add a MDIO_BUS_MUX_MULTIPLEXER and put all the code into
mdio-mux-multiplexer.c
> +static const struct of_device_id mdio_mux_match[] = {
> + { .compatible = "mdio-mux", },
mdio-mux-multiplexer
Thanks
Andrew
Powered by blists - more mailing lists