mmc: esdhc: add support to get voltage from device-tree
authorHaijun Zhang <Haijun.Zhang@freescale.com>
Mon, 26 Aug 2013 01:19:24 +0000 (09:19 +0800)
committerChris Ball <cjb@laptop.org>
Mon, 26 Aug 2013 15:32:43 +0000 (11:32 -0400)
Add suppport to get voltage from device-tree node for esdhc host,
if voltage-ranges was specified in device-tree node we can get
ocr_mask instead of read from host capacity register. If not voltages
still can be get from host capacity register.

Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
Acked-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found