Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e54d8d2 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
Browse files

sh-pfc: Move driver from drivers/sh/ to drivers/pinctrl/

parent 56dc04af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ config PINCTRL_EXYNOS5440
	select PINCONF

source "drivers/pinctrl/mvebu/Kconfig"

source "drivers/pinctrl/sh-pfc/Kconfig"
source "drivers/pinctrl/spear/Kconfig"

config PINCTRL_XWAY
+2 −0
Original line number Diff line number Diff line
@@ -42,4 +42,6 @@ obj-$(CONFIG_PINCTRL_XWAY) += pinctrl-xway.o
obj-$(CONFIG_PINCTRL_LANTIQ)	+= pinctrl-lantiq.o

obj-$(CONFIG_PLAT_ORION)        += mvebu/
obj-$(CONFIG_ARCH_SHMOBILE)	+= sh-pfc/
obj-$(CONFIG_SUPERH)		+= sh-pfc/
obj-$(CONFIG_PLAT_SPEAR)	+= spear/
+11 −5
Original line number Diff line number Diff line
comment "Pin function controller options"
#
# Renesas SH and SH Mobile PINCTRL drivers
#

config SH_PFC
if ARCH_SHMOBILE || SUPERH

config PINCTRL_SH_PFC
	# XXX move off the gpio dependency
	depends on GENERIC_GPIO
	select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
	select PINCTRL_SH_PFC
	select PINCTRL
	select PINMUX
	select PINCONF
	def_bool y
	help
	  This enables pin control drivers for SH and SH Mobile platforms

config GPIO_SH_PFC
	bool "SuperH PFC GPIO support"
	depends on SH_PFC && GPIOLIB
	depends on PINCTRL_SH_PFC && GPIOLIB
	help
	  This enables support for GPIOs within the SoC's pin function
	  controller.

endif
+1 −1
Original line number Diff line number Diff line
@@ -2,4 +2,4 @@ sh-pfc-objs = core.o pinctrl.o
ifeq ($(CONFIG_GPIO_SH_PFC),y)
sh-pfc-objs			+= gpio.o
endif
obj-y				+= sh-pfc.o
obj-$(CONFIG_PINCTRL_SH_PFC)	+= sh-pfc.o
+0 −0

File moved.

Loading