Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379554

Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO rails

From Laxman Dewangan <ldewangan@nvidia.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO rails
Date 2016-04-15 10:40 +0200
Message-ID <ro7sf-91-19@gated-at.bofh.it> (permalink)
References <rn8gF-10N-7@gated-at.bofh.it> <rn8gF-10N-5@gated-at.bofh.it> <ro6Pw-81V-11@gated-at.bofh.it> <ro6Zd-8mQ-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Friday 15 April 2016 01:30 PM, Mark Brown wrote:
> * PGP Signed by an unknown key
>
> On Fri, Apr 15, 2016 at 09:54:34AM +0200, Linus Walleij wrote:
>> On Tue, Apr 12, 2016 at 4:56 PM, Laxman Dewangan <ldewangan@nvidia.com> wrote:
>>> NVIDIA Tegra210 supports some of the IO interface which can operate
>>> at 1.8V or 3.3V I/O rail voltage levels. SW needs to configure
>>> Tegra PMC register to set different voltage level of IO interface based
>>> on IO rail voltage from power supply i.e. power regulators.
>> Nobody seems to mention the elephant in the room: why is this
>> not using the regulator subsystem and instead using custom
>> code under drivers/soc? We have worried before about drivers/soc
>> becoming a dumping ground akin to drivers/misc
> The above changelog sounds like a regulator consumer not a regulator -
> based on what I'm reading there it's a driver that looks at the voltage
> being supplied to the device and sets some configuration in the device
> based on that voltage.  This isn't that unusual for analogue circuits
> but it's definitely not something that's actually doing voltage
> regulation.

Yes, this is not the voltage regulation or supply the voltage and hence 
can not be in regulator.


The IO pads voltage need to be configure by SW based on voltage level on 
this it is connected.
Some of tegra IO pads design like that they do not have auto detect for 
voltage level and SW needs to explicitly  set.

Because this is for making IO interface to be proper functioning, I put 
this in the pin controller rather than some other folder.
Other place my be soc/tegra but as the interfaces are from pin control 
framework, it is here.

Hope I have not confused  with APIs, tegra_io_rail_voltage_set(). 
Otherwise, tegra_io_rail_voltage_configure()??

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO rails Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-12 17:20 +0200
  Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Jon Hunter <jonathanh@nvidia.com> - 2016-04-13 10:50 +0200
    Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-13 11:20 +0200
      Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Jon Hunter <jonathanh@nvidia.com> - 2016-04-13 11:30 +0200
        Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-13 11:40 +0200
          Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Jon Hunter <jonathanh@nvidia.com> - 2016-04-13 12:00 +0200
  Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO rails Linus Walleij <linus.walleij@linaro.org> - 2016-04-15 10:00 +0200
    Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Mark Brown <broonie@kernel.org> - 2016-04-15 10:10 +0200
      Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-15 10:40 +0200
        Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO rails Linus Walleij <linus.walleij@linaro.org> - 2016-04-15 11:30 +0200
  Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Stephen Warren <swarren@wwwdotorg.org> - 2016-04-15 18:30 +0200
    Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-15 18:40 +0200
      Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-15 18:50 +0200
        Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Stephen Warren <swarren@wwwdotorg.org> - 2016-04-15 19:00 +0200
      Re: [PATCH 4/7] soc/tegra: pmc: Add interface to set voltage of IO  rails Stephen Warren <swarren@wwwdotorg.org> - 2016-04-15 18:50 +0200

csiph-web