video: mxsfb: Introduce regulator support
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 7 Apr 2013 18:44:59 +0000 (15:44 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 8 Apr 2013 07:44:55 +0000 (15:44 +0800)
commit4344429d3d926d219671f607125cff51223a140a
tree38d3c3c93f5af889d98f8866962f142ff99f90d8
parentac77bc227e96bb6d42b86ee5e20e4fa6a743d632
video: mxsfb: Introduce regulator support

Instead of using a custom binding for retrieving the GPIO that activates the
LCD from devicetree, use a standard regulator.

This approach has the advantage to be more generic.

For example: in the case of a board that has a PMIC supplying the LCD voltage,
the current approach would not work, as it only searches for a GPIO pin.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Documentation/devicetree/bindings/fb/mxsfb.txt
arch/arm/boot/dts/imx23-evk.dts
arch/arm/boot/dts/imx28-evk.dts
drivers/video/mxsfb.c