[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130723221808.GA7727@pengutronix.de>
Date: Wed, 24 Jul 2013 00:18:08 +0200
From: Sascha Hauer <s.hauer@...gutronix.de>
To: Guennadi Liakhovetski <g.liakhovetski@....de>
Cc: linux-sh@...r.kernel.org, Magnus Damm <magnus.damm@...il.com>,
Simon Horman <horms@...ge.net.au>,
Steve Glendinning <steve.glendinning@...well.net>,
netdev@...r.kernel.org,
Guennadi Liakhovetski <g.liakhovetski+renesas@...il.com>,
devicetree@...r.kernel.org
Subject: Re: [PATCH 2/4] net: smsc911x: add a reset GPIO DT binding
On Tue, Jul 23, 2013 at 06:12:02PM +0200, Guennadi Liakhovetski wrote:
> Add a new DT property to specify a reset GPIO.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@...il.com>
> Cc: devicetree@...r.kernel.org
> ---
> Documentation/devicetree/bindings/net/smsc911x.txt | 1 +
> drivers/net/ethernet/smsc/smsc911x.c | 11 +++++++++++
> 2 files changed, 12 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/smsc911x.txt b/Documentation/devicetree/bindings/net/smsc911x.txt
> index adb5b57..2bf32be 100644
> --- a/Documentation/devicetree/bindings/net/smsc911x.txt
> +++ b/Documentation/devicetree/bindings/net/smsc911x.txt
> @@ -23,6 +23,7 @@ Optional properties:
> external PHY
> - smsc,save-mac-address : Indicates that mac address needs to be saved
> before resetting the controller
> +- smsc,reset-gpios : a GPIO binding to take the controller out of reset
> - local-mac-address : 6 bytes, mac address
BTW there's also:
[PATCH v10] reset: Add driver for gpio-controlled reset pins
http://www.mail-archive.com/devicetree-discuss@lists.ozlabs.org/msg36900.html
which may be a generic way to handle device resets. Not mainline yet,
though.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists