soc/tegra: pmc: Use X macro to generate IO pad tables
authorAapo Vienamo <avienamo@nvidia.com>
Fri, 10 Aug 2018 18:08:10 +0000 (21:08 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 27 Aug 2018 10:25:17 +0000 (12:25 +0200)
commit437c4f26f428cc2d5399442ce5d18f3c222c9c3b
tree6bb40d49b35b6131af7effa337076a2450313c49
parentf142b9d6461c4f60feb2a602bafcd582aa324288
soc/tegra: pmc: Use X macro to generate IO pad tables

Refactor the IO pad tables into macro tables so that they can be reused
to generate pinctrl pin descriptors. Also add a name field which is
needed by pinctrl.

Signed-off-by: Aapo Vienamo <avienamo@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c