sysdev: implement support for MPC8349-compatible SOC GPIOs
PATCH 1/2 sysdev: implement support for MPC8349-compatible SOC GPIOs
This patch implements GPIOLIB support for MPC8349-compatible SOC GPIOs. MPC8610 adopted this GPIO unit, so let's place it into sysdev.
We'll need these gpios to support IrDA transceiver on MPC8610HPCD.
Signed-off-by Anton Vorontsov <[email protected]>
--- arch/powerpc/sysdev/Kconfig | 7 ++ arch/powerpc/sysdev/Makefile | 2 + arch/powerpc/sysdev/fsl_mpc8349_gpio.c | 161 ++++++++++++++++++++++++++++++++ 3 files changed, 170 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/sysdev/fsl_mpc8349_gpio.c
arch/powerpc/sysdev/Kconfig +7 -0
@@ -6,3 +6,10 @@ config PPC4xx_PCI_EXPRESS bool depends on PCI && 4xx default n + +config FSL_MPC8349_GPIO + bool + select GENERIC_GPIO + select HAVE_GPIO_LIB + help + Support for Freescale MPC8349 compatible GPIOs.
arch/powerpc/sysdev/Makefile +2 -0
@@ -25,6 +25,8 @@ obj-$(CONFIG_MV64X60) += $(mv64x60-y) mv64x60_pic.o mv64x60_dev.o \ obj-$(CONFIG_RTC_DRV_CMOS) += rtc_cmos_setup.o obj-$(CONFIG_AXON_RAM) += axonram.o +obj-$(CONFIG_FSL_MPC8349_GPIO) += fsl_mpc8349_gpio.o + ifeq ($(CONFIG_PPC_MERGE),y) obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o obj-$(CONFIG_PPC_I8259) += i8259.o
arch/powerpc/sysdev/fsl_mpc8349_gpio.c new file +161 -0
161 lines not on this page · raw message
Signature · 1 line
1.5.5.1