Re: [PATCH V7 3/3] soc/tegra: pmc: Add support for IO pads power state and voltage

From: Laxman Dewangan
Date: Thu Jun 16 2016 - 09:29:39 EST


Hi Thierry,

On Tuesday 24 May 2016 04:18 PM, Jon Hunter wrote:
On 23/05/16 10:03, Jon Hunter wrote:
On 20/05/16 15:45, Laxman Dewangan 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. The group is generally referred as IO pads. The
power state and voltage control of IO pins can be done at IO pads
level.

Tegra generation SoC supports the power down of IO pads when it
is 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 T124, hence SW need not to configure
this. But from T210, the automatically detection logic has been
removed, hence SW need to explicitly set the IO pad voltage into
IO pad configuration registers.

Add support to set the power states and voltage level of the IO pads
from client driver. The implementation for the APIs are in generic
which is applicable for all generation os Tegra SoC.

IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.

Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>

Can you please review this?

Thanks,
Laxman