ARM: tegra: create common XUSB padctl driver file
authorStephen Warren <swarren@nvidia.com>
Fri, 23 Oct 2015 16:50:49 +0000 (10:50 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 12 Nov 2015 16:21:06 +0000 (09:21 -0700)
commit1680d7b6de2c63333d3a67c2f5f852a127e412cd
tree581bffecc65f298703b8b12194d9666336d815de
parent057fd32ffce459038a1707366a7373fc3255ddc4
ARM: tegra: create common XUSB padctl driver file

A fair amount of the XUSB padctl driver will be common between Tegra124
and Tegra210. To avoid cut/paste between the two chips, create a new
file that will contain the common code, and convert the Tegra124 code to
use it. This change doesn't move every last piece of code that can/will be
shared, but rather concentrates on moving code that can be moved with zero
changes, so there are no other diffs mixed in.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/tegra124/Makefile
arch/arm/mach-tegra/tegra124/xusb-padctl.c
arch/arm/mach-tegra/xusb-padctl-common.c [new file with mode: 0644]
arch/arm/mach-tegra/xusb-padctl-common.h [new file with mode: 0644]