]> git.sur5r.net Git - u-boot/commit
ARM: tegra: pinmux: add note re: drive group field defines
authorStephen Warren <swarren@nvidia.com>
Tue, 24 Feb 2015 21:08:23 +0000 (14:08 -0700)
committerTom Warren <twarren@nvidia.com>
Wed, 4 Mar 2015 17:08:58 +0000 (10:08 -0700)
commit9f21c1a378f89c6f4ee06e5aeea37c426fdec15f
tree1209cdfa5e2dd7babfea47356b412334b4af6ef2
parentc1fe92fe29c05fe5ba624a25c5d9b19824514294
ARM: tegra: pinmux: add note re: drive group field defines

Tegra's drive group registers have a remarkably inconsistent layout. The
current U-Boot driver doesn't take this into account at all. Add a
comment to describe the issue, so at least anyone debugging the driver
will be aware of this. To solve this, we'd need to add a per-drive-group
data structure describing the layout for the individual register. Since
we don't set up too many drive groups in U-Boot at present, this
hopefully isn't causing too much practical issue. Still, we probably need
to fix this sometime.

Wth Tegra210, the register layout becomes almost entirely consistent, so
this problem partially solves itself over time.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/pinmux-common.c