diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-20 10:21:54 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-20 10:21:54 -0500 |
| commit | 1ffab3d4139533eff6e27b7568825307e575faa6 (patch) | |
| tree | eca25b2ef6b9b7c8168625c2a5dea6b08fd37756 /include/linux/platform_data | |
| parent | ddedec28b1d5144bc2c765d97003997f3505fd3a (diff) | |
| parent | 4d1839138220e7e35bf9e31c854e4e0196dea7a1 (diff) | |
Merge tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson:
"This is a batch of fixes for arm-soc platforms, most of it is for OMAP
but there are others too (i.MX, Tegra, ep93xx). Fixes warnings, some
broken platforms and drivers, etc. A bit all over the map really."
There was some concern about commit 68136b10 ("RM: sunxi: Change device
tree naming scheme for sunxi"), but Tony says:
"Looks like that's trivial to fix as needed, no need to rebuild the
branch to fix that AFAIK.
The fix can be done once Olof is available online again.
Linus, I suggest that you go ahead and pull this if there are no other
issues with this branch."
* tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (32 commits)
ARM: sunxi: Change device tree naming scheme for sunxi
ARM: ux500: fix missing include
ARM: u300: delete custom pin hog code
ARM: davinci: fix build break due to missing include
ARM: exynos: Fix warning due to missing 'inline' in stub
ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices
ARM i.MX51 clock: Fix regression since enabling MIPI/HSP clocks
ARM: dts: mx27: Fix the AIPI bus for FEC
ARM: OMAP2+: common: remove use of vram
ARM: OMAP3/4: cpuidle: fix sparse and checkpatch warnings
ARM: OMAP4: clock data: DPLLs are missing bypass clocks in their parent lists
ARM: OMAP4: clock data: div_iva_hs_clk is a power-of-two divider
ARM: OMAP4: Fix EMU clock domain always on
ARM: OMAP4460: Workaround ABE DPLL failing to turn-on
ARM: OMAP4: Enhance support for DPLLs with 4X multiplier
ARM: OMAP4: Add function table for non-M4X dplls
ARM: OMAP4: Update timer clock aliases
ARM: OMAP: Move plat/omap-serial.h to include/linux/platform_data/serial-omap.h
ARM: dts: Add build target for omap4-panda-a4
ARM: dts: OMAP2420: Correct H4 board memory size
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/serial-omap.h | 51 | ||||
| -rw-r--r-- | include/linux/platform_data/usb-omap.h | 3 |
2 files changed, 54 insertions, 0 deletions
diff --git a/include/linux/platform_data/serial-omap.h b/include/linux/platform_data/serial-omap.h new file mode 100644 index 000000000000..ff9b0aab5281 --- /dev/null +++ b/include/linux/platform_data/serial-omap.h | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | /* | ||
| 2 | * Driver for OMAP-UART controller. | ||
| 3 | * Based on drivers/serial/8250.c | ||
| 4 | * | ||
| 5 | * Copyright (C) 2010 Texas Instruments. | ||
| 6 | * | ||
| 7 | * Authors: | ||
| 8 | * Govindraj R <govindraj.raja@ti.com> | ||
| 9 | * Thara Gopinath <thara@ti.com> | ||
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License as published by | ||
| 13 | * the Free Software Foundation; either version 2 of the License, or | ||
| 14 | * (at your option) any later version. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef __OMAP_SERIAL_H__ | ||
| 18 | #define __OMAP_SERIAL_H__ | ||
| 19 | |||
| 20 | #include <linux/serial_core.h> | ||
| 21 | #include <linux/device.h> | ||
| 22 | #include <linux/pm_qos.h> | ||
| 23 | |||
| 24 | #define DRIVER_NAME "omap_uart" | ||
| 25 | |||
| 26 | /* | ||
| 27 | * Use tty device name as ttyO, [O -> OMAP] | ||
| 28 | * in bootargs we specify as console=ttyO0 if uart1 | ||
| 29 | * is used as console uart. | ||
| 30 | */ | ||
| 31 | #define OMAP_SERIAL_NAME "ttyO" | ||
| 32 | |||
| 33 | struct omap_uart_port_info { | ||
| 34 | bool dma_enabled; /* To specify DMA Mode */ | ||
| 35 | unsigned int uartclk; /* UART clock rate */ | ||
| 36 | upf_t flags; /* UPF_* flags */ | ||
| 37 | unsigned int dma_rx_buf_size; | ||
| 38 | unsigned int dma_rx_timeout; | ||
| 39 | unsigned int autosuspend_timeout; | ||
| 40 | unsigned int dma_rx_poll_rate; | ||
| 41 | int DTR_gpio; | ||
| 42 | int DTR_inverted; | ||
| 43 | int DTR_present; | ||
| 44 | |||
| 45 | int (*get_context_loss_count)(struct device *); | ||
| 46 | void (*set_forceidle)(struct device *); | ||
| 47 | void (*set_noidle)(struct device *); | ||
| 48 | void (*enable_wakeup)(struct device *, bool); | ||
| 49 | }; | ||
| 50 | |||
| 51 | #endif /* __OMAP_SERIAL_H__ */ | ||
diff --git a/include/linux/platform_data/usb-omap.h b/include/linux/platform_data/usb-omap.h index 8570bcfe6311..ef65b67c56c3 100644 --- a/include/linux/platform_data/usb-omap.h +++ b/include/linux/platform_data/usb-omap.h | |||
| @@ -59,6 +59,9 @@ struct usbhs_omap_platform_data { | |||
| 59 | 59 | ||
| 60 | struct ehci_hcd_omap_platform_data *ehci_data; | 60 | struct ehci_hcd_omap_platform_data *ehci_data; |
| 61 | struct ohci_hcd_omap_platform_data *ohci_data; | 61 | struct ohci_hcd_omap_platform_data *ohci_data; |
| 62 | |||
| 63 | /* OMAP3 <= ES2.1 have a single ulpi bypass control bit */ | ||
| 64 | unsigned single_ulpi_bypass:1; | ||
| 62 | }; | 65 | }; |
| 63 | 66 | ||
| 64 | /*-------------------------------------------------------------------------*/ | 67 | /*-------------------------------------------------------------------------*/ |
