soc/tegra: pmc: Add I/O pad table for Tegra234
authorPetlozu Pravareshwar <petlozup@nvidia.com>
Fri, 30 Sep 2022 16:02:13 +0000 (16:02 +0000)
committerThierry Reding <treding@nvidia.com>
Thu, 10 Nov 2022 01:21:12 +0000 (02:21 +0100)
commitc9c4ddb20c427b19c6a2a1787bf82c7b2aac25c3
tree70091959ae43d4537e659ef4807e4b5d75306912
parentcc5b2ad5393ec237c8697bb3989a34c0c3beb2f6
soc/tegra: pmc: Add I/O pad table for Tegra234

Add I/O pad table for Tegra234 to allow configuring DPD mode and
switching the pins to 1.8V or 3.3V as needed.

On Tegra234, DPD registers are reorganized such that there is a DPD_REQ
register and a DPD_STATUS register per pad group. Update the PMC driver
accordingly.

While at it, use the generated tables from tegra-pinmux-scripts to make
the formatting of these tables more consistent.

Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
[treding@nvidia.com: generate tables from tegra-pinmux-scripts]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c
include/soc/tegra/pmc.h