diff options
Diffstat (limited to 'arch/arm/mach-omap2')
| -rw-r--r-- | arch/arm/mach-omap2/Makefile | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-minnow-cpcap-client.c | 50 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-minnow.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-minnow.h | 21 |
4 files changed, 1 insertions, 75 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 7cd16a65a8b..50daf4181a7 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -253,8 +253,7 @@ obj-$(CONFIG_MACH_IGEP0020) += board-igep0020.o obj-$(CONFIG_MACH_TOUCHBOOK) += board-omap3touchbook.o obj-$(CONFIG_MACH_OMAP_4430SDP) += board-4430sdp.o obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o -obj-$(CONFIG_MACH_MINNOW) += board-minnow.o \ - board-minnow-cpcap-client.o +obj-$(CONFIG_MACH_MINNOW) += board-minnow.o obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o diff --git a/arch/arm/mach-omap2/board-minnow-cpcap-client.c b/arch/arm/mach-omap2/board-minnow-cpcap-client.c deleted file mode 100644 index 2f2e9dde3b4..00000000000 --- a/arch/arm/mach-omap2/board-minnow-cpcap-client.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * arch/arm/mach-omap2/board-minnow-cpcap-client.c - * - * Copyright (C) 2009-2010 Motorola, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#include <linux/kernel.h> -#include <linux/device.h> -#include <linux/irq.h> -#include <linux/platform_device.h> -#include <linux/spi/cpcap.h> -#include "omap34xx.h" - -/* - * CPCAP devcies are common for different HW Rev. - * - */ - - -static struct platform_device cpcap_usb_device = { - .name = "cpcap_usb", - .id = -1, - .dev.platform_data = NULL, -}; -static struct platform_device cpcap_usb_det_device = { - .name = "cpcap_usb_det", - .id = -1, - .dev = { - .platform_data = NULL, - }, -}; - -static struct platform_device *cpcap_devices[] = { - &cpcap_usb_device, - &cpcap_usb_det_device, -}; - - -void __init minnow_cpcap_client_init(void) -{ - int i; - - for (i = 0; i < ARRAY_SIZE(cpcap_devices); i++) - cpcap_device_register(cpcap_devices[i]); - -} diff --git a/arch/arm/mach-omap2/board-minnow.c b/arch/arm/mach-omap2/board-minnow.c index afe71d8809e..6aaffd2950d 100644 --- a/arch/arm/mach-omap2/board-minnow.c +++ b/arch/arm/mach-omap2/board-minnow.c @@ -20,7 +20,6 @@ #include "mux.h" #include "common.h" #include "dss-common.h" -#include "board-minnow.h" #include "control.h" #include "sdram-toshiba-hynix-numonyx.h" @@ -43,7 +42,6 @@ static void __init minnow_init(void) omap_sdrc_init(JEDEC_JESD209A_sdrc_params, JEDEC_JESD209A_sdrc_params); omap3_enable_usim_buffer(); /* Needed for GPIOs in USIM block */ omap_minnow_display_init(); - minnow_cpcap_client_init(); } MACHINE_START(MINNOW, "minnow") diff --git a/arch/arm/mach-omap2/board-minnow.h b/arch/arm/mach-omap2/board-minnow.h deleted file mode 100644 index d34eda34fe0..00000000000 --- a/arch/arm/mach-omap2/board-minnow.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * linux/arch/arm/mach-omap2/board-minnow.h - * - * Copyright (C) 2013 Motorola Mobility, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -#include <linux/i2c.h> - -extern void __init minnow_spi_init(void); -extern void __init minnow_sensors_init(void); -extern void __init minnow_touch_init(struct i2c_board_info *i2c_info); -extern void __init minnow_cpcap_client_init(void); - -#if defined(CONFIG_MFD_M4SENSORHUB) || defined(CONFIG_MFD_M4SENSORHUB_MODULE) -extern int m4sensorhub_stillmode_exit(void); -/* m4_ctrl == 0 OMAP and 1 Sensorhub */ -extern int m4sensorhub_set_display_control(int m4_ctrl, int gpio_mipi_mux); -#endif |