diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-09-03 13:01:44 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-09-03 13:01:44 -0400 |
| commit | 01b944fe1cd4e21a2a9ed51adbdbafe2d5e905ba (patch) | |
| tree | 85f506cf9fce3d8fd47cf624dd8698472bffc13f /include/linux/platform_data | |
| parent | e51e38494a8ecc18650efb0c840600637891de2c (diff) | |
| parent | 58f1eae48e5372200553de07b5ecc7574803ee91 (diff) | |
Merge branch 'next' into for-linus
Prepare first round of input updates for 4.3 merge window.
Diffstat (limited to 'include/linux/platform_data')
25 files changed, 339 insertions, 346 deletions
diff --git a/include/linux/platform_data/atmel_mxt_ts.h b/include/linux/platform_data/atmel_mxt_ts.h new file mode 100644 index 000000000000..695035a8d7fb --- /dev/null +++ b/include/linux/platform_data/atmel_mxt_ts.h | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | /* | ||
| 2 | * Atmel maXTouch Touchscreen driver | ||
| 3 | * | ||
| 4 | * Copyright (C) 2010 Samsung Electronics Co.Ltd | ||
| 5 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 10 | * option) any later version. | ||
| 11 | */ | ||
| 12 | |||
| 13 | #ifndef __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H | ||
| 14 | #define __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H | ||
| 15 | |||
| 16 | #include <linux/types.h> | ||
| 17 | |||
| 18 | enum mxt_suspend_mode { | ||
| 19 | MXT_SUSPEND_DEEP_SLEEP = 0, | ||
| 20 | MXT_SUSPEND_T9_CTRL = 1, | ||
| 21 | }; | ||
| 22 | |||
| 23 | /* The platform data for the Atmel maXTouch touchscreen driver */ | ||
| 24 | struct mxt_platform_data { | ||
| 25 | unsigned long irqflags; | ||
| 26 | u8 t19_num_keys; | ||
| 27 | const unsigned int *t19_keymap; | ||
| 28 | enum mxt_suspend_mode suspend_mode; | ||
| 29 | }; | ||
| 30 | |||
| 31 | #endif /* __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H */ | ||
diff --git a/include/linux/platform_data/dma-hsu.h b/include/linux/platform_data/dma-hsu.h new file mode 100644 index 000000000000..8a1f6a4920b2 --- /dev/null +++ b/include/linux/platform_data/dma-hsu.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* | ||
| 2 | * Driver for the High Speed UART DMA | ||
| 3 | * | ||
| 4 | * Copyright (C) 2015 Intel Corporation | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef _PLATFORM_DATA_DMA_HSU_H | ||
| 12 | #define _PLATFORM_DATA_DMA_HSU_H | ||
| 13 | |||
| 14 | #include <linux/device.h> | ||
| 15 | |||
| 16 | struct hsu_dma_slave { | ||
| 17 | struct device *dma_dev; | ||
| 18 | int chan_id; | ||
| 19 | }; | ||
| 20 | |||
| 21 | struct hsu_dma_platform_data { | ||
| 22 | unsigned short nr_channels; | ||
| 23 | }; | ||
| 24 | |||
| 25 | #endif /* _PLATFORM_DATA_DMA_HSU_H */ | ||
diff --git a/include/linux/platform_data/dma-imx-sdma.h b/include/linux/platform_data/dma-imx-sdma.h index eabac4e2fc99..2d08816720f6 100644 --- a/include/linux/platform_data/dma-imx-sdma.h +++ b/include/linux/platform_data/dma-imx-sdma.h | |||
| @@ -48,6 +48,9 @@ struct sdma_script_start_addrs { | |||
| 48 | s32 ssish_2_mcu_addr; | 48 | s32 ssish_2_mcu_addr; |
| 49 | s32 hdmi_dma_addr; | 49 | s32 hdmi_dma_addr; |
| 50 | /* End of v2 array */ | 50 | /* End of v2 array */ |
| 51 | s32 zcanfd_2_mcu_addr; | ||
| 52 | s32 zqspi_2_mcu_addr; | ||
| 53 | /* End of v3 array */ | ||
| 51 | }; | 54 | }; |
| 52 | 55 | ||
| 53 | /** | 56 | /** |
diff --git a/include/linux/platform_data/dma-rcar-audmapp.h b/include/linux/platform_data/dma-rcar-audmapp.h deleted file mode 100644 index 471fffebbeb4..000000000000 --- a/include/linux/platform_data/dma-rcar-audmapp.h +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * This is for Renesas R-Car Audio-DMAC-peri-peri. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2014 Renesas Electronics Corporation | ||
| 5 | * Copyright (C) 2014 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | ||
| 6 | * | ||
| 7 | * This file is based on the include/linux/sh_dma.h | ||
| 8 | * | ||
| 9 | * Header for the new SH dmaengine driver | ||
| 10 | * | ||
| 11 | * Copyright (C) 2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> | ||
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | */ | ||
| 17 | #ifndef SH_AUDMAPP_H | ||
| 18 | #define SH_AUDMAPP_H | ||
| 19 | |||
| 20 | #include <linux/dmaengine.h> | ||
| 21 | |||
| 22 | struct audmapp_slave_config { | ||
| 23 | int slave_id; | ||
| 24 | dma_addr_t src; | ||
| 25 | dma_addr_t dst; | ||
| 26 | u32 chcr; | ||
| 27 | }; | ||
| 28 | |||
| 29 | struct audmapp_pdata { | ||
| 30 | struct audmapp_slave_config *slave; | ||
| 31 | int slave_num; | ||
| 32 | }; | ||
| 33 | |||
| 34 | #endif /* SH_AUDMAPP_H */ | ||
diff --git a/include/linux/platform_data/gpio-ath79.h b/include/linux/platform_data/gpio-ath79.h new file mode 100644 index 000000000000..88b0db7bee74 --- /dev/null +++ b/include/linux/platform_data/gpio-ath79.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* | ||
| 2 | * Atheros AR7XXX/AR9XXX GPIO controller platform data | ||
| 3 | * | ||
| 4 | * Copyright (C) 2015 Alban Bedel <albeu@free.fr> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_H | ||
| 12 | #define __LINUX_PLATFORM_DATA_GPIO_ATH79_H | ||
| 13 | |||
| 14 | struct ath79_gpio_platform_data { | ||
| 15 | unsigned ngpios; | ||
| 16 | bool oe_inverted; | ||
| 17 | }; | ||
| 18 | |||
| 19 | #endif | ||
diff --git a/include/linux/platform_data/gpio-omap.h b/include/linux/platform_data/gpio-omap.h index 5d50b25a73d7..cb2618147c34 100644 --- a/include/linux/platform_data/gpio-omap.h +++ b/include/linux/platform_data/gpio-omap.h | |||
| @@ -208,9 +208,17 @@ struct omap_gpio_platform_data { | |||
| 208 | int (*get_context_loss_count)(struct device *dev); | 208 | int (*get_context_loss_count)(struct device *dev); |
| 209 | }; | 209 | }; |
| 210 | 210 | ||
| 211 | #if IS_BUILTIN(CONFIG_GPIO_OMAP) | ||
| 211 | extern void omap2_gpio_prepare_for_idle(int off_mode); | 212 | extern void omap2_gpio_prepare_for_idle(int off_mode); |
| 212 | extern void omap2_gpio_resume_after_idle(void); | 213 | extern void omap2_gpio_resume_after_idle(void); |
| 213 | extern void omap_set_gpio_debounce(int gpio, int enable); | 214 | #else |
| 214 | extern void omap_set_gpio_debounce_time(int gpio, int enable); | 215 | static inline void omap2_gpio_prepare_for_idle(int off_mode) |
| 216 | { | ||
| 217 | } | ||
| 218 | |||
| 219 | static inline void omap2_gpio_resume_after_idle(void) | ||
| 220 | { | ||
| 221 | } | ||
| 222 | #endif | ||
| 215 | 223 | ||
| 216 | #endif | 224 | #endif |
diff --git a/include/linux/platform_data/hsmmc-omap.h b/include/linux/platform_data/hsmmc-omap.h index 67bbcf0785f6..8e981be2e2c2 100644 --- a/include/linux/platform_data/hsmmc-omap.h +++ b/include/linux/platform_data/hsmmc-omap.h | |||
| @@ -55,9 +55,6 @@ struct omap_hsmmc_platform_data { | |||
| 55 | u32 caps; /* Used for the MMC driver on 2430 and later */ | 55 | u32 caps; /* Used for the MMC driver on 2430 and later */ |
| 56 | u32 pm_caps; /* PM capabilities of the mmc */ | 56 | u32 pm_caps; /* PM capabilities of the mmc */ |
| 57 | 57 | ||
| 58 | /* switch pin can be for card detect (default) or card cover */ | ||
| 59 | unsigned cover:1; | ||
| 60 | |||
| 61 | /* use the internal clock */ | 58 | /* use the internal clock */ |
| 62 | unsigned internal_clock:1; | 59 | unsigned internal_clock:1; |
| 63 | 60 | ||
| @@ -73,7 +70,8 @@ struct omap_hsmmc_platform_data { | |||
| 73 | #define HSMMC_HAS_HSPE_SUPPORT (1 << 2) | 70 | #define HSMMC_HAS_HSPE_SUPPORT (1 << 2) |
| 74 | unsigned features; | 71 | unsigned features; |
| 75 | 72 | ||
| 76 | int switch_pin; /* gpio (card detect) */ | 73 | int gpio_cd; /* gpio (card detect) */ |
| 74 | int gpio_cod; /* gpio (cover detect) */ | ||
| 77 | int gpio_wp; /* gpio (write protect) */ | 75 | int gpio_wp; /* gpio (write protect) */ |
| 78 | 76 | ||
| 79 | int (*set_power)(struct device *dev, int power_on, int vdd); | 77 | int (*set_power)(struct device *dev, int power_on, int vdd); |
diff --git a/include/linux/platform_data/i2c-davinci.h b/include/linux/platform_data/i2c-davinci.h index 2312d197dfb7..89fd34727a24 100644 --- a/include/linux/platform_data/i2c-davinci.h +++ b/include/linux/platform_data/i2c-davinci.h | |||
| @@ -18,6 +18,7 @@ struct davinci_i2c_platform_data { | |||
| 18 | unsigned int bus_delay; /* post-transaction delay (usec) */ | 18 | unsigned int bus_delay; /* post-transaction delay (usec) */ |
| 19 | unsigned int sda_pin; /* GPIO pin ID to use for SDA */ | 19 | unsigned int sda_pin; /* GPIO pin ID to use for SDA */ |
| 20 | unsigned int scl_pin; /* GPIO pin ID to use for SCL */ | 20 | unsigned int scl_pin; /* GPIO pin ID to use for SCL */ |
| 21 | bool has_pfunc; /*chip has a ICPFUNC register */ | ||
| 21 | }; | 22 | }; |
| 22 | 23 | ||
| 23 | /* for board setup code */ | 24 | /* for board setup code */ |
diff --git a/include/linux/platform_data/irq-renesas-irqc.h b/include/linux/platform_data/irq-renesas-irqc.h deleted file mode 100644 index 3ae17b3e00ed..000000000000 --- a/include/linux/platform_data/irq-renesas-irqc.h +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Renesas IRQC Driver | ||
| 3 | * | ||
| 4 | * Copyright (C) 2013 Magnus Damm | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 18 | */ | ||
| 19 | |||
| 20 | #ifndef __IRQ_RENESAS_IRQC_H__ | ||
| 21 | #define __IRQ_RENESAS_IRQC_H__ | ||
| 22 | |||
| 23 | struct renesas_irqc_config { | ||
| 24 | unsigned int irq_base; | ||
| 25 | }; | ||
| 26 | |||
| 27 | #endif /* __IRQ_RENESAS_IRQC_H__ */ | ||
diff --git a/include/linux/platform_data/mmc-msm_sdcc.h b/include/linux/platform_data/mmc-msm_sdcc.h deleted file mode 100644 index 55aa873c9396..000000000000 --- a/include/linux/platform_data/mmc-msm_sdcc.h +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | #ifndef __MMC_MSM_SDCC_H | ||
| 2 | #define __MMC_MSM_SDCC_H | ||
| 3 | |||
| 4 | #include <linux/mmc/host.h> | ||
| 5 | #include <linux/mmc/card.h> | ||
| 6 | #include <linux/mmc/sdio_func.h> | ||
| 7 | |||
| 8 | struct msm_mmc_gpio { | ||
| 9 | unsigned no; | ||
| 10 | const char *name; | ||
| 11 | }; | ||
| 12 | |||
| 13 | struct msm_mmc_gpio_data { | ||
| 14 | struct msm_mmc_gpio *gpio; | ||
| 15 | u8 size; | ||
| 16 | }; | ||
| 17 | |||
| 18 | struct msm_mmc_platform_data { | ||
| 19 | unsigned int ocr_mask; /* available voltages */ | ||
| 20 | u32 (*translate_vdd)(struct device *, unsigned int); | ||
| 21 | unsigned int (*status)(struct device *); | ||
| 22 | int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id); | ||
| 23 | struct msm_mmc_gpio_data *gpio_data; | ||
| 24 | void (*init_card)(struct mmc_card *card); | ||
| 25 | }; | ||
| 26 | |||
| 27 | #endif | ||
diff --git a/include/linux/platform_data/msm_serial_hs.h b/include/linux/platform_data/msm_serial_hs.h deleted file mode 100644 index 98a2046f8b31..000000000000 --- a/include/linux/platform_data/msm_serial_hs.h +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2008 Google, Inc. | ||
| 3 | * Author: Nick Pelly <npelly@google.com> | ||
| 4 | * | ||
| 5 | * This software is licensed under the terms of the GNU General Public | ||
| 6 | * License version 2, as published by the Free Software Foundation, and | ||
| 7 | * may be copied, distributed, and modified under those terms. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #ifndef __ASM_ARCH_MSM_SERIAL_HS_H | ||
| 16 | #define __ASM_ARCH_MSM_SERIAL_HS_H | ||
| 17 | |||
| 18 | #include <linux/serial_core.h> | ||
| 19 | |||
| 20 | /* API to request the uart clock off or on for low power management | ||
| 21 | * Clients should call request_clock_off() when no uart data is expected, | ||
| 22 | * and must call request_clock_on() before any further uart data can be | ||
| 23 | * received. */ | ||
| 24 | extern void msm_hs_request_clock_off(struct uart_port *uport); | ||
| 25 | extern void msm_hs_request_clock_on(struct uart_port *uport); | ||
| 26 | |||
| 27 | /** | ||
| 28 | * struct msm_serial_hs_platform_data | ||
| 29 | * @rx_wakeup_irq: Rx activity irq | ||
| 30 | * @rx_to_inject: extra character to be inserted to Rx tty on wakeup | ||
| 31 | * @inject_rx: 1 = insert rx_to_inject. 0 = do not insert extra character | ||
| 32 | * @exit_lpm_cb: function called before every Tx transaction | ||
| 33 | * | ||
| 34 | * This is an optional structure required for UART Rx GPIO IRQ based | ||
| 35 | * wakeup from low power state. UART wakeup can be triggered by RX activity | ||
| 36 | * (using a wakeup GPIO on the UART RX pin). This should only be used if | ||
| 37 | * there is not a wakeup GPIO on the UART CTS, and the first RX byte is | ||
| 38 | * known (eg., with the Bluetooth Texas Instruments HCILL protocol), | ||
| 39 | * since the first RX byte will always be lost. RTS will be asserted even | ||
| 40 | * while the UART is clocked off in this mode of operation. | ||
| 41 | */ | ||
| 42 | struct msm_serial_hs_platform_data { | ||
| 43 | int rx_wakeup_irq; | ||
| 44 | unsigned char inject_rx_on_wakeup; | ||
| 45 | char rx_to_inject; | ||
| 46 | void (*exit_lpm_cb)(struct uart_port *); | ||
| 47 | }; | ||
| 48 | |||
| 49 | #endif | ||
diff --git a/include/linux/platform_data/nfcmrvl.h b/include/linux/platform_data/nfcmrvl.h new file mode 100644 index 000000000000..ac91707dabcb --- /dev/null +++ b/include/linux/platform_data/nfcmrvl.h | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2015, Marvell International Ltd. | ||
| 3 | * | ||
| 4 | * This software file (the "File") is distributed by Marvell International | ||
| 5 | * Ltd. under the terms of the GNU General Public License Version 2, June 1991 | ||
| 6 | * (the "License"). You may use, redistribute and/or modify this File in | ||
| 7 | * accordance with the terms and conditions of the License, a copy of which | ||
| 8 | * is available on the worldwide web at | ||
| 9 | * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. | ||
| 10 | * | ||
| 11 | * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE | ||
| 12 | * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE | ||
| 13 | * ARE EXPRESSLY DISCLAIMED. The License provides additional details about | ||
| 14 | * this warranty disclaimer. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef _NFCMRVL_PTF_H_ | ||
| 18 | #define _NFCMRVL_PTF_H_ | ||
| 19 | |||
| 20 | struct nfcmrvl_platform_data { | ||
| 21 | /* | ||
| 22 | * Generic | ||
| 23 | */ | ||
| 24 | |||
| 25 | /* GPIO that is wired to RESET_N signal */ | ||
| 26 | unsigned int reset_n_io; | ||
| 27 | /* Tell if transport is muxed in HCI one */ | ||
| 28 | unsigned int hci_muxed; | ||
| 29 | |||
| 30 | /* | ||
| 31 | * UART specific | ||
| 32 | */ | ||
| 33 | |||
| 34 | /* Tell if UART needs flow control at init */ | ||
| 35 | unsigned int flow_control; | ||
| 36 | /* Tell if firmware supports break control for power management */ | ||
| 37 | unsigned int break_control; | ||
| 38 | }; | ||
| 39 | |||
| 40 | #endif /* _NFCMRVL_PTF_H_ */ | ||
diff --git a/include/linux/platform_data/ntc_thermistor.h b/include/linux/platform_data/ntc_thermistor.h index 0a6de4ca4930..aed170588b74 100644 --- a/include/linux/platform_data/ntc_thermistor.h +++ b/include/linux/platform_data/ntc_thermistor.h | |||
| @@ -27,6 +27,7 @@ enum ntc_thermistor_type { | |||
| 27 | TYPE_NCPXXWB473, | 27 | TYPE_NCPXXWB473, |
| 28 | TYPE_NCPXXWL333, | 28 | TYPE_NCPXXWL333, |
| 29 | TYPE_B57330V2103, | 29 | TYPE_B57330V2103, |
| 30 | TYPE_NCPXXWF104, | ||
| 30 | }; | 31 | }; |
| 31 | 32 | ||
| 32 | struct ntc_thermistor_platform_data { | 33 | struct ntc_thermistor_platform_data { |
diff --git a/include/linux/platform_data/nxp-nci.h b/include/linux/platform_data/nxp-nci.h new file mode 100644 index 000000000000..d6ed28679bb2 --- /dev/null +++ b/include/linux/platform_data/nxp-nci.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* | ||
| 2 | * Generic platform data for the NXP NCI NFC chips. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2014 NXP Semiconductors All rights reserved. | ||
| 5 | * | ||
| 6 | * Authors: Clément Perrochaud <clement.perrochaud@nxp.com> | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms and conditions of the GNU General Public License, | ||
| 10 | * version 2, as published by the Free Software Foundation. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #ifndef _NXP_NCI_H_ | ||
| 19 | #define _NXP_NCI_H_ | ||
| 20 | |||
| 21 | struct nxp_nci_nfc_platform_data { | ||
| 22 | unsigned int gpio_en; | ||
| 23 | unsigned int gpio_fw; | ||
| 24 | unsigned int irq; | ||
| 25 | }; | ||
| 26 | |||
| 27 | #endif /* _NXP_NCI_H_ */ | ||
diff --git a/include/linux/platform_data/pixcir_i2c_ts.h b/include/linux/platform_data/pixcir_i2c_ts.h new file mode 100644 index 000000000000..646af6f8b838 --- /dev/null +++ b/include/linux/platform_data/pixcir_i2c_ts.h | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | #ifndef _PIXCIR_I2C_TS_H | ||
| 2 | #define _PIXCIR_I2C_TS_H | ||
| 3 | |||
| 4 | /* | ||
| 5 | * Register map | ||
| 6 | */ | ||
| 7 | #define PIXCIR_REG_POWER_MODE 51 | ||
| 8 | #define PIXCIR_REG_INT_MODE 52 | ||
| 9 | |||
| 10 | /* | ||
| 11 | * Power modes: | ||
| 12 | * active: max scan speed | ||
| 13 | * idle: lower scan speed with automatic transition to active on touch | ||
| 14 | * halt: datasheet says sleep but this is more like halt as the chip | ||
| 15 | * clocks are cut and it can only be brought out of this mode | ||
| 16 | * using the RESET pin. | ||
| 17 | */ | ||
| 18 | enum pixcir_power_mode { | ||
| 19 | PIXCIR_POWER_ACTIVE, | ||
| 20 | PIXCIR_POWER_IDLE, | ||
| 21 | PIXCIR_POWER_HALT, | ||
| 22 | }; | ||
| 23 | |||
| 24 | #define PIXCIR_POWER_MODE_MASK 0x03 | ||
| 25 | #define PIXCIR_POWER_ALLOW_IDLE (1UL << 2) | ||
| 26 | |||
| 27 | /* | ||
| 28 | * Interrupt modes: | ||
| 29 | * periodical: interrupt is asserted periodicaly | ||
| 30 | * diff coordinates: interrupt is asserted when coordinates change | ||
| 31 | * level on touch: interrupt level asserted during touch | ||
| 32 | * pulse on touch: interrupt pulse asserted druing touch | ||
| 33 | * | ||
| 34 | */ | ||
| 35 | enum pixcir_int_mode { | ||
| 36 | PIXCIR_INT_PERIODICAL, | ||
| 37 | PIXCIR_INT_DIFF_COORD, | ||
| 38 | PIXCIR_INT_LEVEL_TOUCH, | ||
| 39 | PIXCIR_INT_PULSE_TOUCH, | ||
| 40 | }; | ||
| 41 | |||
| 42 | #define PIXCIR_INT_MODE_MASK 0x03 | ||
| 43 | #define PIXCIR_INT_ENABLE (1UL << 3) | ||
| 44 | #define PIXCIR_INT_POL_HIGH (1UL << 2) | ||
| 45 | |||
| 46 | /** | ||
| 47 | * struct pixcir_irc_chip_data - chip related data | ||
| 48 | * @max_fingers: Max number of fingers reported simultaneously by h/w | ||
| 49 | * @has_hw_ids: Hardware supports finger tracking IDs | ||
| 50 | * | ||
| 51 | */ | ||
| 52 | struct pixcir_i2c_chip_data { | ||
| 53 | u8 max_fingers; | ||
| 54 | bool has_hw_ids; | ||
| 55 | }; | ||
| 56 | |||
| 57 | struct pixcir_ts_platform_data { | ||
| 58 | int x_max; | ||
| 59 | int y_max; | ||
| 60 | struct pixcir_i2c_chip_data chip; | ||
| 61 | }; | ||
| 62 | |||
| 63 | #endif | ||
diff --git a/include/linux/platform_data/serial-imx.h b/include/linux/platform_data/serial-imx.h index 3cc2e3c40914..a938eba2f18e 100644 --- a/include/linux/platform_data/serial-imx.h +++ b/include/linux/platform_data/serial-imx.h | |||
| @@ -20,14 +20,9 @@ | |||
| 20 | #define ASMARM_ARCH_UART_H | 20 | #define ASMARM_ARCH_UART_H |
| 21 | 21 | ||
| 22 | #define IMXUART_HAVE_RTSCTS (1<<0) | 22 | #define IMXUART_HAVE_RTSCTS (1<<0) |
| 23 | #define IMXUART_IRDA (1<<1) | ||
| 24 | 23 | ||
| 25 | struct imxuart_platform_data { | 24 | struct imxuart_platform_data { |
| 26 | unsigned int flags; | 25 | unsigned int flags; |
| 27 | void (*irda_enable)(int enable); | ||
| 28 | unsigned int irda_inv_rx:1; | ||
| 29 | unsigned int irda_inv_tx:1; | ||
| 30 | unsigned short transceiver_delay; | ||
| 31 | }; | 26 | }; |
| 32 | 27 | ||
| 33 | #endif | 28 | #endif |
diff --git a/include/linux/platform_data/si5351.h b/include/linux/platform_data/si5351.h index a947ab8b441a..533d9807e543 100644 --- a/include/linux/platform_data/si5351.h +++ b/include/linux/platform_data/si5351.h | |||
| @@ -5,8 +5,6 @@ | |||
| 5 | #ifndef __LINUX_PLATFORM_DATA_SI5351_H__ | 5 | #ifndef __LINUX_PLATFORM_DATA_SI5351_H__ |
| 6 | #define __LINUX_PLATFORM_DATA_SI5351_H__ | 6 | #define __LINUX_PLATFORM_DATA_SI5351_H__ |
| 7 | 7 | ||
| 8 | struct clk; | ||
| 9 | |||
| 10 | /** | 8 | /** |
| 11 | * enum si5351_pll_src - Si5351 pll clock source | 9 | * enum si5351_pll_src - Si5351 pll clock source |
| 12 | * @SI5351_PLL_SRC_DEFAULT: default, do not change eeprom config | 10 | * @SI5351_PLL_SRC_DEFAULT: default, do not change eeprom config |
| @@ -107,8 +105,6 @@ struct si5351_clkout_config { | |||
| 107 | * @clkout: array of clkout configuration | 105 | * @clkout: array of clkout configuration |
| 108 | */ | 106 | */ |
| 109 | struct si5351_platform_data { | 107 | struct si5351_platform_data { |
| 110 | struct clk *clk_xtal; | ||
| 111 | struct clk *clk_clkin; | ||
| 112 | enum si5351_pll_src pll_src[2]; | 108 | enum si5351_pll_src pll_src[2]; |
| 113 | struct si5351_clkout_config clkout[8]; | 109 | struct si5351_clkout_config clkout[8]; |
| 114 | }; | 110 | }; |
diff --git a/include/linux/platform_data/sky81452-backlight.h b/include/linux/platform_data/sky81452-backlight.h new file mode 100644 index 000000000000..1231e9bb00f1 --- /dev/null +++ b/include/linux/platform_data/sky81452-backlight.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* | ||
| 2 | * sky81452.h SKY81452 backlight driver | ||
| 3 | * | ||
| 4 | * Copyright 2014 Skyworks Solutions Inc. | ||
| 5 | * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com> | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 | ||
| 9 | * as published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 14 | * General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along | ||
| 17 | * with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #ifndef _SKY81452_BACKLIGHT_H | ||
| 21 | #define _SKY81452_BACKLIGHT_H | ||
| 22 | |||
| 23 | /** | ||
| 24 | * struct sky81452_platform_data | ||
| 25 | * @name: backlight driver name. | ||
| 26 | If it is not defined, default name is lcd-backlight. | ||
| 27 | * @gpio_enable:GPIO number which control EN pin | ||
| 28 | * @enable: Enable mask for current sink channel 1, 2, 3, 4, 5 and 6. | ||
| 29 | * @ignore_pwm: true if DPWMI should be ignored. | ||
| 30 | * @dpwm_mode: true is DPWM dimming mode, otherwise Analog dimming mode. | ||
| 31 | * @phase_shift:true is phase shift mode. | ||
| 32 | * @short_detecion_threshold: It should be one of 4, 5, 6 and 7V. | ||
| 33 | * @boost_current_limit: It should be one of 2300, 2750mA. | ||
| 34 | */ | ||
| 35 | struct sky81452_bl_platform_data { | ||
| 36 | const char *name; | ||
| 37 | int gpio_enable; | ||
| 38 | unsigned int enable; | ||
| 39 | bool ignore_pwm; | ||
| 40 | bool dpwm_mode; | ||
| 41 | bool phase_shift; | ||
| 42 | unsigned int short_detection_threshold; | ||
| 43 | unsigned int boost_current_limit; | ||
| 44 | }; | ||
| 45 | |||
| 46 | #endif | ||
diff --git a/include/linux/platform_data/st21nfcb.h b/include/linux/platform_data/st-nci.h index b023373d9874..d9d400a297bd 100644 --- a/include/linux/platform_data/st21nfcb.h +++ b/include/linux/platform_data/st-nci.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Driver include for the ST21NFCB NFC chip. | 2 | * Driver include for ST NCI NFC chip family. |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved. | 4 | * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
| @@ -16,14 +16,14 @@ | |||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #ifndef _ST21NFCB_NCI_H_ | 19 | #ifndef _ST_NCI_H_ |
| 20 | #define _ST21NFCB_NCI_H_ | 20 | #define _ST_NCI_H_ |
| 21 | 21 | ||
| 22 | #define ST21NFCB_NCI_DRIVER_NAME "st21nfcb_nci" | 22 | #define ST_NCI_DRIVER_NAME "st_nci" |
| 23 | 23 | ||
| 24 | struct st21nfcb_nfc_platform_data { | 24 | struct st_nci_nfc_platform_data { |
| 25 | unsigned int gpio_reset; | 25 | unsigned int gpio_reset; |
| 26 | unsigned int irq_polarity; | 26 | unsigned int irq_polarity; |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | #endif /* _ST21NFCB_NCI_H_ */ | 29 | #endif /* _ST_NCI_H_ */ |
diff --git a/include/linux/platform_data/tpm_stm_st33.h b/include/linux/platform_data/st33zp24.h index ff75310c0f47..817dfdb37885 100644 --- a/include/linux/platform_data/tpm_stm_st33.h +++ b/include/linux/platform_data/st33zp24.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * STMicroelectronics TPM I2C Linux driver for TPM ST33ZP24 | 2 | * STMicroelectronics TPM Linux driver for TPM 1.2 ST33ZP24 |
| 3 | * Copyright (C) 2009, 2010 STMicroelectronics | 3 | * Copyright (C) 2009 - 2015 STMicroelectronics |
| 4 | * | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
| @@ -14,20 +14,9 @@ | |||
| 14 | * | 14 | * |
| 15 | * You should have received a copy of the GNU General Public License | 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 17 | * | ||
| 18 | * STMicroelectronics version 1.2.0, Copyright (C) 2010 | ||
| 19 | * STMicroelectronics comes with ABSOLUTELY NO WARRANTY. | ||
| 20 | * This is free software, and you are welcome to redistribute it | ||
| 21 | * under certain conditions. | ||
| 22 | * | ||
| 23 | * @Author: Christophe RICARD tpmsupport@st.com | ||
| 24 | * | ||
| 25 | * @File: stm_st33_tpm.h | ||
| 26 | * | ||
| 27 | * @Date: 09/15/2010 | ||
| 28 | */ | 17 | */ |
| 29 | #ifndef __STM_ST33_TPM_H__ | 18 | #ifndef __ST33ZP24_H__ |
| 30 | #define __STM_ST33_TPM_H__ | 19 | #define __ST33ZP24_H__ |
| 31 | 20 | ||
| 32 | #define TPM_ST33_I2C "st33zp24-i2c" | 21 | #define TPM_ST33_I2C "st33zp24-i2c" |
| 33 | #define TPM_ST33_SPI "st33zp24-spi" | 22 | #define TPM_ST33_SPI "st33zp24-spi" |
| @@ -36,4 +25,4 @@ struct st33zp24_platform_data { | |||
| 36 | int io_lpcpd; | 25 | int io_lpcpd; |
| 37 | }; | 26 | }; |
| 38 | 27 | ||
| 39 | #endif /* __STM_ST33_TPM_H__ */ | 28 | #endif /* __ST33ZP24_H__ */ |
diff --git a/include/linux/platform_data/st_nci.h b/include/linux/platform_data/st_nci.h new file mode 100644 index 000000000000..d9d400a297bd --- /dev/null +++ b/include/linux/platform_data/st_nci.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /* | ||
| 2 | * Driver include for ST NCI NFC chip family. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms and conditions of the GNU General Public License, | ||
| 8 | * version 2, as published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #ifndef _ST_NCI_H_ | ||
| 20 | #define _ST_NCI_H_ | ||
| 21 | |||
| 22 | #define ST_NCI_DRIVER_NAME "st_nci" | ||
| 23 | |||
| 24 | struct st_nci_nfc_platform_data { | ||
| 25 | unsigned int gpio_reset; | ||
| 26 | unsigned int irq_polarity; | ||
| 27 | }; | ||
| 28 | |||
| 29 | #endif /* _ST_NCI_H_ */ | ||
diff --git a/include/linux/platform_data/usb-rcar-gen2-phy.h b/include/linux/platform_data/usb-rcar-gen2-phy.h deleted file mode 100644 index dd3ba46c0d90..000000000000 --- a/include/linux/platform_data/usb-rcar-gen2-phy.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2013 Renesas Solutions Corp. | ||
| 3 | * Copyright (C) 2013 Cogent Embedded, Inc. | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef __USB_RCAR_GEN2_PHY_H | ||
| 11 | #define __USB_RCAR_GEN2_PHY_H | ||
| 12 | |||
| 13 | #include <linux/types.h> | ||
| 14 | |||
| 15 | struct rcar_gen2_phy_platform_data { | ||
| 16 | /* USB channel 0 configuration */ | ||
| 17 | bool chan0_pci:1; /* true: PCI USB host 0, false: USBHS */ | ||
| 18 | /* USB channel 2 configuration */ | ||
| 19 | bool chan2_pci:1; /* true: PCI USB host 2, false: USBSS */ | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif | ||
diff --git a/include/linux/platform_data/video-msm_fb.h b/include/linux/platform_data/video-msm_fb.h deleted file mode 100644 index 31449be3eadb..000000000000 --- a/include/linux/platform_data/video-msm_fb.h +++ /dev/null | |||
| @@ -1,146 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Internal shared definitions for various MSM framebuffer parts. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2007 Google Incorporated | ||
| 5 | * | ||
| 6 | * This software is licensed under the terms of the GNU General Public | ||
| 7 | * License version 2, as published by the Free Software Foundation, and | ||
| 8 | * may be copied, distributed, and modified under those terms. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | */ | ||
| 15 | |||
| 16 | #ifndef _MSM_FB_H_ | ||
| 17 | #define _MSM_FB_H_ | ||
| 18 | |||
| 19 | #include <linux/device.h> | ||
| 20 | |||
| 21 | struct mddi_info; | ||
| 22 | |||
| 23 | struct msm_fb_data { | ||
| 24 | int xres; /* x resolution in pixels */ | ||
| 25 | int yres; /* y resolution in pixels */ | ||
| 26 | int width; /* disply width in mm */ | ||
| 27 | int height; /* display height in mm */ | ||
| 28 | unsigned output_format; | ||
| 29 | }; | ||
| 30 | |||
| 31 | struct msmfb_callback { | ||
| 32 | void (*func)(struct msmfb_callback *); | ||
| 33 | }; | ||
| 34 | |||
| 35 | enum { | ||
| 36 | MSM_MDDI_PMDH_INTERFACE, | ||
| 37 | MSM_MDDI_EMDH_INTERFACE, | ||
| 38 | MSM_EBI2_INTERFACE, | ||
| 39 | }; | ||
| 40 | |||
| 41 | #define MSMFB_CAP_PARTIAL_UPDATES (1 << 0) | ||
| 42 | |||
| 43 | struct msm_panel_data { | ||
| 44 | /* turns off the fb memory */ | ||
| 45 | int (*suspend)(struct msm_panel_data *); | ||
| 46 | /* turns on the fb memory */ | ||
| 47 | int (*resume)(struct msm_panel_data *); | ||
| 48 | /* turns off the panel */ | ||
| 49 | int (*blank)(struct msm_panel_data *); | ||
| 50 | /* turns on the panel */ | ||
| 51 | int (*unblank)(struct msm_panel_data *); | ||
| 52 | void (*wait_vsync)(struct msm_panel_data *); | ||
| 53 | void (*request_vsync)(struct msm_panel_data *, struct msmfb_callback *); | ||
| 54 | void (*clear_vsync)(struct msm_panel_data *); | ||
| 55 | /* from the enum above */ | ||
| 56 | unsigned interface_type; | ||
| 57 | /* data to be passed to the fb driver */ | ||
| 58 | struct msm_fb_data *fb_data; | ||
| 59 | |||
| 60 | /* capabilities supported by the panel */ | ||
| 61 | uint32_t caps; | ||
| 62 | }; | ||
| 63 | |||
| 64 | struct msm_mddi_client_data { | ||
| 65 | void (*suspend)(struct msm_mddi_client_data *); | ||
| 66 | void (*resume)(struct msm_mddi_client_data *); | ||
| 67 | void (*activate_link)(struct msm_mddi_client_data *); | ||
| 68 | void (*remote_write)(struct msm_mddi_client_data *, uint32_t val, | ||
| 69 | uint32_t reg); | ||
| 70 | uint32_t (*remote_read)(struct msm_mddi_client_data *, uint32_t reg); | ||
| 71 | void (*auto_hibernate)(struct msm_mddi_client_data *, int); | ||
| 72 | /* custom data that needs to be passed from the board file to a | ||
| 73 | * particular client */ | ||
| 74 | void *private_client_data; | ||
| 75 | struct resource *fb_resource; | ||
| 76 | /* from the list above */ | ||
| 77 | unsigned interface_type; | ||
| 78 | }; | ||
| 79 | |||
| 80 | struct msm_mddi_platform_data { | ||
| 81 | unsigned int clk_rate; | ||
| 82 | void (*power_client)(struct msm_mddi_client_data *, int on); | ||
| 83 | |||
| 84 | /* fixup the mfr name, product id */ | ||
| 85 | void (*fixup)(uint16_t *mfr_name, uint16_t *product_id); | ||
| 86 | |||
| 87 | struct resource *fb_resource; /*optional*/ | ||
| 88 | /* number of clients in the list that follows */ | ||
| 89 | int num_clients; | ||
| 90 | /* array of client information of clients */ | ||
| 91 | struct { | ||
| 92 | unsigned product_id; /* mfr id in top 16 bits, product id | ||
| 93 | * in lower 16 bits | ||
| 94 | */ | ||
| 95 | char *name; /* the device name will be the platform | ||
| 96 | * device name registered for the client, | ||
| 97 | * it should match the name of the associated | ||
| 98 | * driver | ||
| 99 | */ | ||
| 100 | unsigned id; /* id for mddi client device node, will also | ||
| 101 | * be used as device id of panel devices, if | ||
| 102 | * the client device will have multiple panels | ||
| 103 | * space must be left here for them | ||
| 104 | */ | ||
| 105 | void *client_data; /* required private client data */ | ||
| 106 | unsigned int clk_rate; /* optional: if the client requires a | ||
| 107 | * different mddi clk rate | ||
| 108 | */ | ||
| 109 | } client_platform_data[]; | ||
| 110 | }; | ||
| 111 | |||
| 112 | struct mdp_blit_req; | ||
| 113 | struct fb_info; | ||
| 114 | struct mdp_device { | ||
| 115 | struct device dev; | ||
| 116 | void (*dma)(struct mdp_device *mpd, uint32_t addr, | ||
| 117 | uint32_t stride, uint32_t w, uint32_t h, uint32_t x, | ||
| 118 | uint32_t y, struct msmfb_callback *callback, int interface); | ||
| 119 | void (*dma_wait)(struct mdp_device *mdp); | ||
| 120 | int (*blit)(struct mdp_device *mdp, struct fb_info *fb, | ||
| 121 | struct mdp_blit_req *req); | ||
| 122 | void (*set_grp_disp)(struct mdp_device *mdp, uint32_t disp_id); | ||
| 123 | }; | ||
| 124 | |||
| 125 | struct class_interface; | ||
| 126 | int register_mdp_client(struct class_interface *class_intf); | ||
| 127 | |||
| 128 | /**** private client data structs go below this line ***/ | ||
| 129 | |||
| 130 | struct msm_mddi_bridge_platform_data { | ||
| 131 | /* from board file */ | ||
| 132 | int (*init)(struct msm_mddi_bridge_platform_data *, | ||
| 133 | struct msm_mddi_client_data *); | ||
| 134 | int (*uninit)(struct msm_mddi_bridge_platform_data *, | ||
| 135 | struct msm_mddi_client_data *); | ||
| 136 | /* passed to panel for use by the fb driver */ | ||
| 137 | int (*blank)(struct msm_mddi_bridge_platform_data *, | ||
| 138 | struct msm_mddi_client_data *); | ||
| 139 | int (*unblank)(struct msm_mddi_bridge_platform_data *, | ||
| 140 | struct msm_mddi_client_data *); | ||
| 141 | struct msm_fb_data fb_data; | ||
| 142 | }; | ||
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | #endif | ||
diff --git a/include/linux/platform_data/wkup_m3.h b/include/linux/platform_data/wkup_m3.h new file mode 100644 index 000000000000..3f1d77effd71 --- /dev/null +++ b/include/linux/platform_data/wkup_m3.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* | ||
| 2 | * TI Wakeup M3 remote processor platform data | ||
| 3 | * | ||
| 4 | * Copyright (C) 2014-2015 Texas Instruments, Inc. | ||
| 5 | * | ||
| 6 | * Dave Gerlach <d-gerlach@ti.com> | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #ifndef _LINUX_PLATFORM_DATA_WKUP_M3_H | ||
| 19 | #define _LINUX_PLATFORM_DATA_WKUP_M3_H | ||
| 20 | |||
| 21 | struct platform_device; | ||
| 22 | |||
| 23 | struct wkup_m3_platform_data { | ||
| 24 | const char *reset_name; | ||
| 25 | |||
| 26 | int (*assert_reset)(struct platform_device *pdev, const char *name); | ||
| 27 | int (*deassert_reset)(struct platform_device *pdev, const char *name); | ||
| 28 | }; | ||
| 29 | |||
| 30 | #endif /* _LINUX_PLATFORM_DATA_WKUP_M3_H */ | ||
diff --git a/include/linux/platform_data/zforce_ts.h b/include/linux/platform_data/zforce_ts.h index 0472ab2f6ede..7bdece8ef33e 100644 --- a/include/linux/platform_data/zforce_ts.h +++ b/include/linux/platform_data/zforce_ts.h | |||
| @@ -16,9 +16,6 @@ | |||
| 16 | #define _LINUX_INPUT_ZFORCE_TS_H | 16 | #define _LINUX_INPUT_ZFORCE_TS_H |
| 17 | 17 | ||
| 18 | struct zforce_ts_platdata { | 18 | struct zforce_ts_platdata { |
| 19 | int gpio_int; | ||
| 20 | int gpio_rst; | ||
| 21 | |||
| 22 | unsigned int x_max; | 19 | unsigned int x_max; |
| 23 | unsigned int y_max; | 20 | unsigned int y_max; |
| 24 | }; | 21 | }; |
