#include <mach/pmu.h> #ifdef CONFIG_REGULATOR_S2MPU01A #include <linux/mfd/samsung/s2mpu01a.h> #endif #include <linux/platform_data/modem_v1.h> #include "dev-shdmem.h" #include "dev-modem-ss222.h" static struct modem_io_t ss222_io_devices[] = { [0] = { .name = "umts_boot0", .id = 215, .format = IPC_BOOT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_SHMEM), .app = "CBD" }, [1] = { .name = "umts_ipc0", .id = 235, .format = IPC_FMT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_SHMEM), .app = "RIL" }, [2] = { .name = "umts_rfs0", .id = 245, .format = IPC_RAW, .io_type = IODEV_MISC,
#include <linux/regulator/machine.h> #include <plat/gpio-cfg.h> #include <linux/platform_data/modem.h> #include <mach/sec_modem.h> #include <linux/interrupt.h> /* umts target platform data */ static struct modem_io_t umts_io_devices[] = { [0] = { .name = "umts_ipc0", .id = 0x1, .format = IPC_FMT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_HSIC), }, [1] = { .name = "umts_rfs0", .id = 0x41, .format = IPC_RFS, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_HSIC), }, [2] = { .name = "umts_boot0", .id = 0x0, .format = IPC_BOOT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_HSIC), },
#include <plat/usb-phy.h> #endif static int __init init_modem(void); static void setup_dpram_access_timing(enum dpram_speed speed); static int host_port_enable(int port, int enable); static int exynos_frequency_lock(struct device *dev); static int exynos_frequency_unlock(struct device *dev); static struct modem_io_t umts_io_devices[] = { [0] = { .name = "umts_boot0", .id = 0, .format = IPC_BOOT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_DPRAM), .app = "CBD" }, [1] = { .name = "umts_ipc0", .id = 235, .format = IPC_FMT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_DPRAM), .app = "RIL" }, [2] = { .name = "umts_rfs0", .id = 245, .format = IPC_RAW, .io_type = IODEV_MISC,
#define GPIO_UART_SEL 682 /* PMA8084 GPIO_19 pin */ #define GPIO_SIM_SEL 0 /* #define ESC_SIM_DETECT_IRQ 123 */ #endif #if defined(CONFIG_GSM_MODEM_GG_DUOS) /* gsm target platform data */ static struct modem_io_t gsm_io_devices[] = { [0] = { .name = "gsm_boot0", .id = 0x1, .format = IPC_BOOT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_SPI), }, [1] = { .name = "gsm_ipc0", .id = 0x00, .format = IPC_FMT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_SPI), }, [2] = { .name = "umts_ipc0", .id = 0x01, .format = IPC_FMT, .io_type = IODEV_MISC, .links = LINKTYPE(LINKDEV_SPI), },