]> git.baikalelectronics.ru Git - kernel.git/commit
net/smsc911x: Add regulator support
authorRobert Marklund <robert.marklund@stericsson.com>
Thu, 24 Nov 2011 01:03:07 +0000 (01:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 23:36:56 +0000 (18:36 -0500)
commit97ea9fcb6b1ea851f8e13f3ce50281efa98c4b2e
tree5eb1267457573a711b98928f04fcb73c49b123e9
parentf7cc5f78f2626a47e2a31c0df7a7f2e4217d8280
net/smsc911x: Add regulator support

Add some basic regulator support for the power pins, as needed
by the ST-Ericsson Snowball platform that powers up the SMSC911
chip using an external regulator.

Platforms that use regulators and the smsc911x and have no defined
regulator for the smsc911x and claim complete regulator
constraints with no dummy regulators will need to provide it, for
example using a fixed voltage regulator. It appears that this may
affect (apart from Ux500 Snowball) possibly these archs/machines
that from some grep:s appear to define both CONFIG_SMSC911X and
CONFIG_REGULATOR:

- ARM Freescale mx3 and OMAP 2 plus, Raumfeld machines
- Blackfin
- Super-H

Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c