On 02/08/18 12:59, Venkat Reddy Talla wrote:
The IO pins of Tegra SoCs are grouped for common control of IO interface like setting voltage signal levels and power state of the interface. These groups are referred to as IO pads.The power state and voltage control of IO pins can be done at IO pads level.
Tegra SoCs support powering down IO pads when they are not used even in the active state of system. This saves power from that IO interface. Also it supports multiple voltage level in IO pins for interfacing on some of pads. The IO pad voltage is automatically detected till Tegra124, hence SW need not to configure this. But from Tegra210, the automatic detection logic has been removed, hence SW need to explicitly set the IO pad voltage into IO pad configuration registers.
Add support to configure the power state and voltage level of the IO pads from client driver via pincontrol framework.
Signed-off-by: Venkat Reddy Talla vreddytalla@nvidia.com
This appears to be a duplicate effort of the following which we have been reviewing ...
https://marc.info/?l=linux-tegra&m=153295930808915&w=2
Cheers Jon