Re: [PATCH V3 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thursday 24 November 2016 07:41 PM, Linus Walleij wrote:
On Wed, Nov 23, 2016 at 12:42 PM, Laxman Dewangan <ldewangan@xxxxxxxxxx> wrote:

Here, we need the regulator handle which can support the other regulator
APIs.

In some of platforms, we do not use some of the io-pins and on this case, we
do not connect the IO rail supply for these pins. So this is like a hardware
optional.

If the IO pins are used then it need to have the proper regulator handle.
Missing regulator handle on DT will be like that IO pads are not used.
OK I buy that argument, unless Mark (Brown) has comments.


BTW, I resolved this in different way in V4 which I sent today, if regulator_get() succeed for dummy then regulator_get_voltage() failed and if it failed then assume that it is dummy and just ignore the further handling based on regulator.

So when we really need the configuration based on voltage, we must supply the regulator handle.


--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux