Hi Stephen. On 19 April 2016 at 14:59, Stephen Warren <swar...@wwwdotorg.org> wrote: > From: Stephen Warren <swar...@nvidia.com> > > The existing funcmux APIs have the disadvantage that clients call a single > monolithic/IOCTL-style function which performs different operations based > on its parameter. All branches of that function are always compiled into > the binary even when they're not used. > > Another disadvantage is that funcmux is pinmux functionality, but > implemented outside the Tegra pinmux driver. > > This patch creates a separate function per operation, and implements them > as part of the pinmux driver. Later patches will convert callers to these > functions and eventually remove the funcmux files. > > Signed-off-by: Stephen Warren <swar...@nvidia.com> > --- > arch/arm/mach-tegra/tegra114/include/mach/pinmux.h | 2 + > arch/arm/mach-tegra/tegra114/pinmux.c | 18 ++ > arch/arm/mach-tegra/tegra124/include/mach/pinmux.h | 3 + > arch/arm/mach-tegra/tegra124/pinmux.c | 30 +++ > arch/arm/mach-tegra/tegra20/include/mach/pinmux.h | 22 +++ > arch/arm/mach-tegra/tegra20/pinmux.c | 208 > +++++++++++++++++++++ > arch/arm/mach-tegra/tegra30/include/mach/pinmux.h | 2 + > arch/arm/mach-tegra/tegra30/pinmux.c | 12 ++ > 8 files changed, 297 insertions(+)
This should go in a pinctrl driver for each SoC. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot