mmc: core: parse voltage from device-tree
authorHaijun Zhang <Haijun.Zhang@freescale.com>
Mon, 26 Aug 2013 01:19:22 +0000 (09:19 +0800)
committerChris Ball <cjb@laptop.org>
Mon, 26 Aug 2013 15:31:40 +0000 (11:31 -0400)
commit6e9e318b304fd7373a0754805a76a02ddbc69a41
tree43c05fa267bf780264a154e7145fe29aa0ad6c77
parentbcf24e1daa94f4c52ef7a3f657e43cc6bc50d46b
mmc: core: parse voltage from device-tree

Add function to support getting voltage from device-tree.
If voltage-range is specified in device-tree node, this function
will parse it and return the available voltage mask.

Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
Acked-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
drivers/mmc/core/core.c
include/linux/mmc/core.h