ARM: ux500: Provide SMSC911x fixed-regulator when not booting DT
authorLee Jones <lee.jones@linaro.org>
Mon, 3 Sep 2012 13:33:39 +0000 (14:33 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Sep 2012 08:14:31 +0000 (10:14 +0200)
commit0b5ea1e230432d79ce985338bbcbab1f82ae26a0
tree30185a115d5e4638bfb31ac7ab6084b2f0bfc1ef
parent5caecb44704657b9587977eb87a397f9b25cabbc
ARM: ux500: Provide SMSC911x fixed-regulator when not booting DT

The SMSC911x Ethernet chip requires a fixed-regulator in order to
function correctly. We have previously provided a means to obtain
this during a Device Tree boot, however nothing has been put into
place when booting with a non-DT kernel. This patch aims to change
that.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
[Added a Kconfig select so the build does not break]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/Kconfig
arch/arm/mach-ux500/board-mop500-regulators.c
arch/arm/mach-ux500/board-mop500-regulators.h
arch/arm/mach-ux500/board-mop500.c