diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2018-03-07 10:14:15 -0500 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2018-03-07 10:14:15 -0500 |
| commit | 7b80bd29482e692a7286897f4a684ee18dee0f36 (patch) | |
| tree | 0be360cae3478499e21538f2bae2c4ca70ac48dd /include/linux/platform_data | |
| parent | dbc7886164e2d4d3e842cd818d9f8f2b28b13d5f (diff) | |
| parent | e33509c19da5931e4363c85f6e83bd11803ba121 (diff) | |
Merge tag 'omap-for-v4.17/soc-signed' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
Pull "SoC changes for omaps for v4.17" from Tony Lindgren:
This series is mostly a series from Suman Anna to remove now unused
platform data that is now coming from device tree. This also make it
a bit simpler to move the timer code to live under drivers in a
separate series of patches. There are also few minor clean-ups for
omap4 PM code.
* tag 'omap-for-v4.17/soc-signed' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: Fix typo for wakeup_ns_pa_addr
ARM: OMAP2+: Use v7_invalidate_l1 in omap4_finish_suspend
ARM: OMAP2+: Remove unused gpio header file references
ARM: OMAP: Move plat/i2c.h into mach-omap1 folder
ARM: OMAP2+: Cleanup omap_mcbsp_dev_attr and other legacy data
ARM: OMAP2+: Cleanup omap2_spi_dev_attr and other legacy data
ARM: OMAP2+: Cleanup omap_timer_capability_dev_attr usage
ARM: OMAP2+: Cleanup omap_i2c_dev_attr usage
ARM: OMAP2+: Cleanup omap_gpio_dev_attr usage
ARM: OMAP2+: Include types.h directly for hwmod data
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/asoc-ti-mcbsp.h | 12 | ||||
| -rw-r--r-- | include/linux/platform_data/gpio-omap.h | 5 | ||||
| -rw-r--r-- | include/linux/platform_data/spi-omap2-mcspi.h | 8 |
3 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/platform_data/asoc-ti-mcbsp.h b/include/linux/platform_data/asoc-ti-mcbsp.h index e684543254f3..e319d0a2ec82 100644 --- a/include/linux/platform_data/asoc-ti-mcbsp.h +++ b/include/linux/platform_data/asoc-ti-mcbsp.h | |||
| @@ -25,10 +25,6 @@ | |||
| 25 | #include <linux/spinlock.h> | 25 | #include <linux/spinlock.h> |
| 26 | #include <linux/clk.h> | 26 | #include <linux/clk.h> |
| 27 | 27 | ||
| 28 | #define MCBSP_CONFIG_TYPE2 0x2 | ||
| 29 | #define MCBSP_CONFIG_TYPE3 0x3 | ||
| 30 | #define MCBSP_CONFIG_TYPE4 0x4 | ||
| 31 | |||
| 32 | /* Platform specific configuration */ | 28 | /* Platform specific configuration */ |
| 33 | struct omap_mcbsp_ops { | 29 | struct omap_mcbsp_ops { |
| 34 | void (*request)(unsigned int); | 30 | void (*request)(unsigned int); |
| @@ -47,14 +43,6 @@ struct omap_mcbsp_platform_data { | |||
| 47 | int (*force_ick_on)(struct clk *clk, bool force_on); | 43 | int (*force_ick_on)(struct clk *clk, bool force_on); |
| 48 | }; | 44 | }; |
| 49 | 45 | ||
| 50 | /** | ||
| 51 | * omap_mcbsp_dev_attr - OMAP McBSP device attributes for omap_hwmod | ||
| 52 | * @sidetone: name of the sidetone device | ||
| 53 | */ | ||
| 54 | struct omap_mcbsp_dev_attr { | ||
| 55 | const char *sidetone; | ||
| 56 | }; | ||
| 57 | |||
| 58 | void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata); | 46 | void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata); |
| 59 | 47 | ||
| 60 | #endif | 48 | #endif |
diff --git a/include/linux/platform_data/gpio-omap.h b/include/linux/platform_data/gpio-omap.h index cb2618147c34..8612855691b2 100644 --- a/include/linux/platform_data/gpio-omap.h +++ b/include/linux/platform_data/gpio-omap.h | |||
| @@ -157,11 +157,6 @@ | |||
| 157 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) | 157 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) |
| 158 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) | 158 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) |
| 159 | 159 | ||
| 160 | struct omap_gpio_dev_attr { | ||
| 161 | int bank_width; /* GPIO bank width */ | ||
| 162 | bool dbck_flag; /* dbck required or not - True for OMAP3&4 */ | ||
| 163 | }; | ||
| 164 | |||
| 165 | struct omap_gpio_reg_offs { | 160 | struct omap_gpio_reg_offs { |
| 166 | u16 revision; | 161 | u16 revision; |
| 167 | u16 direction; | 162 | u16 direction; |
diff --git a/include/linux/platform_data/spi-omap2-mcspi.h b/include/linux/platform_data/spi-omap2-mcspi.h index 13c83a25958a..0bf9fddb8306 100644 --- a/include/linux/platform_data/spi-omap2-mcspi.h +++ b/include/linux/platform_data/spi-omap2-mcspi.h | |||
| @@ -2,10 +2,6 @@ | |||
| 2 | #ifndef _OMAP2_MCSPI_H | 2 | #ifndef _OMAP2_MCSPI_H |
| 3 | #define _OMAP2_MCSPI_H | 3 | #define _OMAP2_MCSPI_H |
| 4 | 4 | ||
| 5 | #define OMAP2_MCSPI_REV 0 | ||
| 6 | #define OMAP3_MCSPI_REV 1 | ||
| 7 | #define OMAP4_MCSPI_REV 2 | ||
| 8 | |||
| 9 | #define OMAP4_MCSPI_REG_OFFSET 0x100 | 5 | #define OMAP4_MCSPI_REG_OFFSET 0x100 |
| 10 | 6 | ||
| 11 | #define MCSPI_PINDIR_D0_IN_D1_OUT 0 | 7 | #define MCSPI_PINDIR_D0_IN_D1_OUT 0 |
| @@ -17,10 +13,6 @@ struct omap2_mcspi_platform_config { | |||
| 17 | unsigned int pin_dir:1; | 13 | unsigned int pin_dir:1; |
| 18 | }; | 14 | }; |
| 19 | 15 | ||
| 20 | struct omap2_mcspi_dev_attr { | ||
| 21 | unsigned short num_chipselect; | ||
| 22 | }; | ||
| 23 | |||
| 24 | struct omap2_mcspi_device_config { | 16 | struct omap2_mcspi_device_config { |
| 25 | unsigned turbo_mode:1; | 17 | unsigned turbo_mode:1; |
| 26 | 18 | ||
