Messages in this thread | | | Date | Wed, 11 Nov 2015 12:40:23 +0100 | Subject | Re: [PATCH v2 16/16] mmc: host: omap_hsmmc: use "mmc_of_parse_voltage" to get ocr_avail | From | Ulf Hansson <> |
| |
On 11 November 2015 at 11:26, Roger Quadros <rogerq@ti.com> wrote: > Hi, > > On 25/08/15 17:50, Ulf Hansson wrote: >> On 3 August 2015 at 14:26, Kishon Vijay Abraham I <kishon@ti.com> wrote: >>> From: Roger Quadros <rogerq@ti.com> >>> >>> For platforms that doesn't have explicit regulator control in MMC, >>> populate voltage-ranges in MMC device tree node and use >>> mmc_of_parse_voltage to get ocr_avail >> >> I don't like this. >> >> If we are able to fetch the OCR mask via an external regulator, that >> shall be done. > > Agreed. >> >> I think the mmc_of_parse_voltage() API and the corresponding DT >> binding it parses, should be used for those HW when we don't have an >> external regulator to use. For example if the MMC controller itself >> somehow controls the voltage levels. Is that really the case for you? > > What shall be done if there is no software control of the external regulator > and it is fixed at a certain voltage?
I think you can model that as a so called fixed regulator.
Kind regards Uffe
| |