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

Commit afae021a authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: pfc: Shuffle PFC support core.



This follows the intc/clk changes and shuffles the PFC support code under
its own directory. This will facilitate better code sharing, and allow us
to trim down the exported interface by quite a margin.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 06d5631f
Loading
Loading
Loading
Loading
+1 −15
Original line number Diff line number Diff line
menu "SuperH / SH-Mobile Driver Options"

source "drivers/sh/intc/Kconfig"

comment "Pin function controller options"

config SH_PFC
	# XXX move off the gpio dependency
	depends on GENERIC_GPIO
	select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
	def_bool y

config GPIO_SH_PFC
	tristate "SuperH PFC GPIO support"
	depends on SH_PFC && GPIOLIB
	help
	  This enables support for GPIOs within the SoC's pin function
	  controller.
source "drivers/sh/pfc/Kconfig"

endmenu
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ obj-y := intc/

obj-$(CONFIG_HAVE_CLK)		+= clk/
obj-$(CONFIG_MAPLE)		+= maple/
obj-$(CONFIG_SH_PFC)		+= pfc/
obj-$(CONFIG_SUPERHYWAY)	+= superhyway/
obj-$(CONFIG_SH_PFC)		+= pfc.o
obj-$(CONFIG_GPIO_SH_PFC)	+= pfc-gpio.o

obj-y				+= pm_runtime.o

drivers/sh/pfc/Kconfig

0 → 100644
+14 −0
Original line number Diff line number Diff line
comment "Pin function controller options"

config SH_PFC
	# XXX move off the gpio dependency
	depends on GENERIC_GPIO
	select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
	def_bool y

config GPIO_SH_PFC
	tristate "SuperH PFC GPIO support"
	depends on SH_PFC && GPIOLIB
	help
	  This enables support for GPIOs within the SoC's pin function
	  controller.
+2 −0
Original line number Diff line number Diff line
obj-y				+= core.o
obj-$(CONFIG_GPIO_SH_PFC)	+= gpio.o
+0 −0

File moved.

Loading