diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-12 02:52:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-12 02:52:17 -0500 |
commit | 10d0c9705e80bbd3d587c5fad24599aabaca6688 (patch) | |
tree | 9456083a1b04b8d98da08d88e937cfeff80e2a7d /drivers/tty | |
parent | 85b656cf1560e27a89354a23f2c10ba229d2f173 (diff) | |
parent | c11eede69b6ad0ac44ebc1e021a8d2699c5f1f8f (diff) |
Merge tag 'devicetree-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull devicetree updates from Rob Herring:
"DeviceTree updates for 3.13. This is a bit larger pull request than
usual for this cycle with lots of clean-up.
- Cross arch clean-up and consolidation of early DT scanning code.
- Clean-up and removal of arch prom.h headers. Makes arch specific
prom.h optional on all but Sparc.
- Addition of interrupts-extended property for devices connected to
multiple interrupt controllers.
- Refactoring of DT interrupt parsing code in preparation for
deferred probe of interrupts.
- ARM cpu and cpu topology bindings documentation.
- Various DT vendor binding documentation updates"
* tag 'devicetree-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (82 commits)
powerpc: add missing explicit OF includes for ppc
dt/irq: add empty of_irq_count for !OF_IRQ
dt: disable self-tests for !OF_IRQ
of: irq: Fix interrupt-map entry matching
MIPS: Netlogic: replace early_init_devtree() call
of: Add Panasonic Corporation vendor prefix
of: Add Chunghwa Picture Tubes Ltd. vendor prefix
of: Add AU Optronics Corporation vendor prefix
of/irq: Fix potential buffer overflow
of/irq: Fix bug in interrupt parsing refactor.
of: set dma_mask to point to coherent_dma_mask
of: add vendor prefix for PHYTEC Messtechnik GmbH
DT: sort vendor-prefixes.txt
of: Add vendor prefix for Cadence
of: Add empty for_each_available_child_of_node() macro definition
arm/versatile: Fix versatile irq specifications.
of/irq: create interrupts-extended property
microblaze/pci: Drop PowerPC-ism from irq parsing
of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code.
of/irq: Use irq_of_parse_and_map()
...
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/ehv_bytechan.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/cpm_uart/cpm_uart_core.c | 4 | ||||
-rw-r--r-- | drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/pmac_zilog.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/ucc_uart.c | 2 |
5 files changed, 9 insertions, 1 deletions
diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 9bffcec5ad82..0419b69e270f 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/poll.h> | 32 | #include <linux/poll.h> |
33 | #include <asm/epapr_hcalls.h> | 33 | #include <asm/epapr_hcalls.h> |
34 | #include <linux/of.h> | 34 | #include <linux/of.h> |
35 | #include <linux/of_irq.h> | ||
35 | #include <linux/platform_device.h> | 36 | #include <linux/platform_device.h> |
36 | #include <linux/cdev.h> | 37 | #include <linux/cdev.h> |
37 | #include <linux/console.h> | 38 | #include <linux/console.h> |
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index 1a535f70dc41..7d76214612c7 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c | |||
@@ -41,6 +41,8 @@ | |||
41 | #include <linux/bootmem.h> | 41 | #include <linux/bootmem.h> |
42 | #include <linux/dma-mapping.h> | 42 | #include <linux/dma-mapping.h> |
43 | #include <linux/fs_uart_pd.h> | 43 | #include <linux/fs_uart_pd.h> |
44 | #include <linux/of_address.h> | ||
45 | #include <linux/of_irq.h> | ||
44 | #include <linux/of_platform.h> | 46 | #include <linux/of_platform.h> |
45 | #include <linux/gpio.h> | 47 | #include <linux/gpio.h> |
46 | #include <linux/of_gpio.h> | 48 | #include <linux/of_gpio.h> |
@@ -1207,7 +1209,7 @@ static int cpm_uart_init_port(struct device_node *np, | |||
1207 | pinfo->port.fifosize = pinfo->tx_nrfifos * pinfo->tx_fifosize; | 1209 | pinfo->port.fifosize = pinfo->tx_nrfifos * pinfo->tx_fifosize; |
1208 | spin_lock_init(&pinfo->port.lock); | 1210 | spin_lock_init(&pinfo->port.lock); |
1209 | 1211 | ||
1210 | pinfo->port.irq = of_irq_to_resource(np, 0, NULL); | 1212 | pinfo->port.irq = irq_of_parse_and_map(np, 0); |
1211 | if (pinfo->port.irq == NO_IRQ) { | 1213 | if (pinfo->port.irq == NO_IRQ) { |
1212 | ret = -EINVAL; | 1214 | ret = -EINVAL; |
1213 | goto out_pram; | 1215 | goto out_pram; |
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c index 18f79575894a..527a969b0952 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <linux/kernel.h> | 45 | #include <linux/kernel.h> |
46 | 46 | ||
47 | #include <linux/of.h> | 47 | #include <linux/of.h> |
48 | #include <linux/of_address.h> | ||
48 | 49 | ||
49 | #include "cpm_uart.h" | 50 | #include "cpm_uart.h" |
50 | 51 | ||
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 95917cefe14f..481b781b26e3 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c | |||
@@ -57,6 +57,8 @@ | |||
57 | #include <linux/bitops.h> | 57 | #include <linux/bitops.h> |
58 | #include <linux/sysrq.h> | 58 | #include <linux/sysrq.h> |
59 | #include <linux/mutex.h> | 59 | #include <linux/mutex.h> |
60 | #include <linux/of_address.h> | ||
61 | #include <linux/of_irq.h> | ||
60 | #include <asm/sections.h> | 62 | #include <asm/sections.h> |
61 | #include <asm/io.h> | 63 | #include <asm/io.h> |
62 | #include <asm/irq.h> | 64 | #include <asm/irq.h> |
diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 2fd1e1789811..d569ca58bab6 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c | |||
@@ -25,6 +25,8 @@ | |||
25 | #include <linux/tty.h> | 25 | #include <linux/tty.h> |
26 | #include <linux/tty_flip.h> | 26 | #include <linux/tty_flip.h> |
27 | #include <linux/io.h> | 27 | #include <linux/io.h> |
28 | #include <linux/of_address.h> | ||
29 | #include <linux/of_irq.h> | ||
28 | #include <linux/of_platform.h> | 30 | #include <linux/of_platform.h> |
29 | #include <linux/dma-mapping.h> | 31 | #include <linux/dma-mapping.h> |
30 | 32 | ||