soc/tegra: pmc: Configure core power request polarity
authorSowjanya Komatineni <skomatineni@nvidia.com>
Fri, 16 Aug 2019 19:42:04 +0000 (12:42 -0700)
committerThierry Reding <treding@nvidia.com>
Tue, 29 Oct 2019 12:29:59 +0000 (13:29 +0100)
commit455271d9dc5f4cce3d35c5819f8f01c723bca94c
treebcc09e2f191579e88d326df0f00b66e0b6f4f85a
parent7e9ae849eb1ea4617a9c7229a78c622a214283f2
soc/tegra: pmc: Configure core power request polarity

This patch configures polarity of the core power request signal
in PMC control register based on the device tree property.

PMC asserts and de-asserts power request signal based on it polarity
when it need to power-up and power-down the core rail during SC7.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c