pinctrl: tegra: move Tegra pinctrl drivers to sub-directory
Tegra has several pinctrl drivers. Now it is reasonable enough to move them into drivers/pinctrl/tegra/. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
3a42a042f5
commit
25cbac7716
|
@ -168,37 +168,6 @@ config PINCTRL_ST
|
||||||
select PINCONF
|
select PINCONF
|
||||||
select GPIOLIB_IRQCHIP
|
select GPIOLIB_IRQCHIP
|
||||||
|
|
||||||
config PINCTRL_TEGRA
|
|
||||||
bool
|
|
||||||
select PINMUX
|
|
||||||
select PINCONF
|
|
||||||
|
|
||||||
config PINCTRL_TEGRA20
|
|
||||||
bool
|
|
||||||
select PINCTRL_TEGRA
|
|
||||||
|
|
||||||
config PINCTRL_TEGRA30
|
|
||||||
bool
|
|
||||||
select PINCTRL_TEGRA
|
|
||||||
|
|
||||||
config PINCTRL_TEGRA114
|
|
||||||
bool
|
|
||||||
select PINCTRL_TEGRA
|
|
||||||
|
|
||||||
config PINCTRL_TEGRA124
|
|
||||||
bool
|
|
||||||
select PINCTRL_TEGRA
|
|
||||||
|
|
||||||
config PINCTRL_TEGRA210
|
|
||||||
bool
|
|
||||||
select PINCTRL_TEGRA
|
|
||||||
|
|
||||||
config PINCTRL_TEGRA_XUSB
|
|
||||||
def_bool y if ARCH_TEGRA
|
|
||||||
select GENERIC_PHY
|
|
||||||
select PINCONF
|
|
||||||
select PINMUX
|
|
||||||
|
|
||||||
config PINCTRL_TZ1090
|
config PINCTRL_TZ1090
|
||||||
bool "Toumaz Xenif TZ1090 pin control driver"
|
bool "Toumaz Xenif TZ1090 pin control driver"
|
||||||
depends on SOC_TZ1090
|
depends on SOC_TZ1090
|
||||||
|
@ -259,6 +228,7 @@ source "drivers/pinctrl/sh-pfc/Kconfig"
|
||||||
source "drivers/pinctrl/spear/Kconfig"
|
source "drivers/pinctrl/spear/Kconfig"
|
||||||
source "drivers/pinctrl/stm32/Kconfig"
|
source "drivers/pinctrl/stm32/Kconfig"
|
||||||
source "drivers/pinctrl/sunxi/Kconfig"
|
source "drivers/pinctrl/sunxi/Kconfig"
|
||||||
|
source "drivers/pinctrl/tegra/Kconfig"
|
||||||
source "drivers/pinctrl/uniphier/Kconfig"
|
source "drivers/pinctrl/uniphier/Kconfig"
|
||||||
source "drivers/pinctrl/vt8500/Kconfig"
|
source "drivers/pinctrl/vt8500/Kconfig"
|
||||||
source "drivers/pinctrl/mediatek/Kconfig"
|
source "drivers/pinctrl/mediatek/Kconfig"
|
||||||
|
|
|
@ -22,13 +22,7 @@ obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o
|
||||||
obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
|
obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
|
||||||
obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
|
obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
|
||||||
obj-$(CONFIG_PINCTRL_SIRF) += sirf/
|
obj-$(CONFIG_PINCTRL_SIRF) += sirf/
|
||||||
obj-$(CONFIG_PINCTRL_TEGRA) += pinctrl-tegra.o
|
obj-$(CONFIG_PINCTRL_TEGRA) += tegra/
|
||||||
obj-$(CONFIG_PINCTRL_TEGRA20) += pinctrl-tegra20.o
|
|
||||||
obj-$(CONFIG_PINCTRL_TEGRA30) += pinctrl-tegra30.o
|
|
||||||
obj-$(CONFIG_PINCTRL_TEGRA114) += pinctrl-tegra114.o
|
|
||||||
obj-$(CONFIG_PINCTRL_TEGRA124) += pinctrl-tegra124.o
|
|
||||||
obj-$(CONFIG_PINCTRL_TEGRA210) += pinctrl-tegra210.o
|
|
||||||
obj-$(CONFIG_PINCTRL_TEGRA_XUSB) += pinctrl-tegra-xusb.o
|
|
||||||
obj-$(CONFIG_PINCTRL_TZ1090) += pinctrl-tz1090.o
|
obj-$(CONFIG_PINCTRL_TZ1090) += pinctrl-tz1090.o
|
||||||
obj-$(CONFIG_PINCTRL_TZ1090_PDC) += pinctrl-tz1090-pdc.o
|
obj-$(CONFIG_PINCTRL_TZ1090_PDC) += pinctrl-tz1090-pdc.o
|
||||||
obj-$(CONFIG_PINCTRL_U300) += pinctrl-u300.o
|
obj-$(CONFIG_PINCTRL_U300) += pinctrl-u300.o
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
config PINCTRL_TEGRA
|
||||||
|
bool
|
||||||
|
select PINMUX
|
||||||
|
select PINCONF
|
||||||
|
|
||||||
|
config PINCTRL_TEGRA20
|
||||||
|
bool
|
||||||
|
select PINCTRL_TEGRA
|
||||||
|
|
||||||
|
config PINCTRL_TEGRA30
|
||||||
|
bool
|
||||||
|
select PINCTRL_TEGRA
|
||||||
|
|
||||||
|
config PINCTRL_TEGRA114
|
||||||
|
bool
|
||||||
|
select PINCTRL_TEGRA
|
||||||
|
|
||||||
|
config PINCTRL_TEGRA124
|
||||||
|
bool
|
||||||
|
select PINCTRL_TEGRA
|
||||||
|
|
||||||
|
config PINCTRL_TEGRA210
|
||||||
|
bool
|
||||||
|
select PINCTRL_TEGRA
|
||||||
|
|
||||||
|
config PINCTRL_TEGRA_XUSB
|
||||||
|
def_bool y if ARCH_TEGRA
|
||||||
|
select GENERIC_PHY
|
||||||
|
select PINCONF
|
||||||
|
select PINMUX
|
|
@ -0,0 +1,7 @@
|
||||||
|
obj-y += pinctrl-tegra.o
|
||||||
|
obj-$(CONFIG_PINCTRL_TEGRA20) += pinctrl-tegra20.o
|
||||||
|
obj-$(CONFIG_PINCTRL_TEGRA30) += pinctrl-tegra30.o
|
||||||
|
obj-$(CONFIG_PINCTRL_TEGRA114) += pinctrl-tegra114.o
|
||||||
|
obj-$(CONFIG_PINCTRL_TEGRA124) += pinctrl-tegra124.o
|
||||||
|
obj-$(CONFIG_PINCTRL_TEGRA210) += pinctrl-tegra210.o
|
||||||
|
obj-$(CONFIG_PINCTRL_TEGRA_XUSB) += pinctrl-tegra-xusb.o
|
|
@ -24,8 +24,8 @@
|
||||||
|
|
||||||
#include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h>
|
#include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h>
|
||||||
|
|
||||||
#include "core.h"
|
#include "../core.h"
|
||||||
#include "pinctrl-utils.h"
|
#include "../pinctrl-utils.h"
|
||||||
|
|
||||||
#define XUSB_PADCTL_ELPG_PROGRAM 0x01c
|
#define XUSB_PADCTL_ELPG_PROGRAM 0x01c
|
||||||
#define XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_VCORE_DOWN (1 << 26)
|
#define XUSB_PADCTL_ELPG_PROGRAM_AUX_MUX_LP0_VCORE_DOWN (1 << 26)
|
|
@ -30,9 +30,9 @@
|
||||||
#include <linux/pinctrl/pinconf.h>
|
#include <linux/pinctrl/pinconf.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
#include "core.h"
|
#include "../core.h"
|
||||||
|
#include "../pinctrl-utils.h"
|
||||||
#include "pinctrl-tegra.h"
|
#include "pinctrl-tegra.h"
|
||||||
#include "pinctrl-utils.h"
|
|
||||||
|
|
||||||
struct tegra_pmx {
|
struct tegra_pmx {
|
||||||
struct device *dev;
|
struct device *dev;
|
Loading…
Reference in New Issue