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/net/ethernet/freescale | |
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/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/mac-fcc.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/mac-scc.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/mii-fec.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/ucc_geth.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/xgmac_mdio.c | 1 |
8 files changed, 16 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c index 7583a9572bcc..f8b92864fc52 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c | |||
@@ -32,7 +32,9 @@ | |||
32 | #include <linux/fs.h> | 32 | #include <linux/fs.h> |
33 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
34 | #include <linux/phy.h> | 34 | #include <linux/phy.h> |
35 | #include <linux/of_address.h> | ||
35 | #include <linux/of_device.h> | 36 | #include <linux/of_device.h> |
37 | #include <linux/of_irq.h> | ||
36 | #include <linux/gfp.h> | 38 | #include <linux/gfp.h> |
37 | 39 | ||
38 | #include <asm/immap_cpm2.h> | 40 | #include <asm/immap_cpm2.h> |
@@ -88,7 +90,7 @@ static int do_pd_setup(struct fs_enet_private *fep) | |||
88 | struct fs_platform_info *fpi = fep->fpi; | 90 | struct fs_platform_info *fpi = fep->fpi; |
89 | int ret = -EINVAL; | 91 | int ret = -EINVAL; |
90 | 92 | ||
91 | fep->interrupt = of_irq_to_resource(ofdev->dev.of_node, 0, NULL); | 93 | fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); |
92 | if (fep->interrupt == NO_IRQ) | 94 | if (fep->interrupt == NO_IRQ) |
93 | goto out; | 95 | goto out; |
94 | 96 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c index 9ae6cdbcac2e..a9a00f39521a 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c | |||
@@ -31,7 +31,9 @@ | |||
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | #include <linux/fs.h> | 32 | #include <linux/fs.h> |
33 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
34 | #include <linux/of_address.h> | ||
34 | #include <linux/of_device.h> | 35 | #include <linux/of_device.h> |
36 | #include <linux/of_irq.h> | ||
35 | #include <linux/gfp.h> | 37 | #include <linux/gfp.h> |
36 | 38 | ||
37 | #include <asm/irq.h> | 39 | #include <asm/irq.h> |
@@ -98,7 +100,7 @@ static int do_pd_setup(struct fs_enet_private *fep) | |||
98 | { | 100 | { |
99 | struct platform_device *ofdev = to_platform_device(fep->dev); | 101 | struct platform_device *ofdev = to_platform_device(fep->dev); |
100 | 102 | ||
101 | fep->interrupt = of_irq_to_resource(ofdev->dev.of_node, 0, NULL); | 103 | fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); |
102 | if (fep->interrupt == NO_IRQ) | 104 | if (fep->interrupt == NO_IRQ) |
103 | return -EINVAL; | 105 | return -EINVAL; |
104 | 106 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c index 22a02a767069..d37cd4ebac65 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c | |||
@@ -31,6 +31,8 @@ | |||
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | #include <linux/fs.h> | 32 | #include <linux/fs.h> |
33 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
34 | #include <linux/of_address.h> | ||
35 | #include <linux/of_irq.h> | ||
34 | #include <linux/of_platform.h> | 36 | #include <linux/of_platform.h> |
35 | 37 | ||
36 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
@@ -98,7 +100,7 @@ static int do_pd_setup(struct fs_enet_private *fep) | |||
98 | { | 100 | { |
99 | struct platform_device *ofdev = to_platform_device(fep->dev); | 101 | struct platform_device *ofdev = to_platform_device(fep->dev); |
100 | 102 | ||
101 | fep->interrupt = of_irq_to_resource(ofdev->dev.of_node, 0, NULL); | 103 | fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); |
102 | if (fep->interrupt == NO_IRQ) | 104 | if (fep->interrupt == NO_IRQ) |
103 | return -EINVAL; | 105 | return -EINVAL; |
104 | 106 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c index 844ecfa84d17..67caaacd19ec 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/mii.h> | 22 | #include <linux/mii.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/mdio-bitbang.h> | 24 | #include <linux/mdio-bitbang.h> |
25 | #include <linux/of_address.h> | ||
25 | #include <linux/of_mdio.h> | 26 | #include <linux/of_mdio.h> |
26 | #include <linux/of_platform.h> | 27 | #include <linux/of_platform.h> |
27 | 28 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c index 2f1c46a12f05..ac5d447ff8c4 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/ethtool.h> | 31 | #include <linux/ethtool.h> |
32 | #include <linux/bitops.h> | 32 | #include <linux/bitops.h> |
33 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
34 | #include <linux/of_address.h> | ||
34 | #include <linux/of_platform.h> | 35 | #include <linux/of_platform.h> |
35 | 36 | ||
36 | #include <asm/pgtable.h> | 37 | #include <asm/pgtable.h> |
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index 9fbe4dda7a0e..ef95c3ae53e6 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c | |||
@@ -78,6 +78,8 @@ | |||
78 | #include <linux/if_vlan.h> | 78 | #include <linux/if_vlan.h> |
79 | #include <linux/spinlock.h> | 79 | #include <linux/spinlock.h> |
80 | #include <linux/mm.h> | 80 | #include <linux/mm.h> |
81 | #include <linux/of_address.h> | ||
82 | #include <linux/of_irq.h> | ||
81 | #include <linux/of_mdio.h> | 83 | #include <linux/of_mdio.h> |
82 | #include <linux/of_platform.h> | 84 | #include <linux/of_platform.h> |
83 | #include <linux/ip.h> | 85 | #include <linux/ip.h> |
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 5930c39672db..64b329fecf3d 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -31,6 +31,8 @@ | |||
31 | #include <linux/mii.h> | 31 | #include <linux/mii.h> |
32 | #include <linux/phy.h> | 32 | #include <linux/phy.h> |
33 | #include <linux/workqueue.h> | 33 | #include <linux/workqueue.h> |
34 | #include <linux/of_address.h> | ||
35 | #include <linux/of_irq.h> | ||
34 | #include <linux/of_mdio.h> | 36 | #include <linux/of_mdio.h> |
35 | #include <linux/of_net.h> | 37 | #include <linux/of_net.h> |
36 | #include <linux/of_platform.h> | 38 | #include <linux/of_platform.h> |
diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c index c1b6e7e31aac..d449fcb90199 100644 --- a/drivers/net/ethernet/freescale/xgmac_mdio.c +++ b/drivers/net/ethernet/freescale/xgmac_mdio.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | #include <linux/phy.h> | 18 | #include <linux/phy.h> |
19 | #include <linux/mdio.h> | 19 | #include <linux/mdio.h> |
20 | #include <linux/of_address.h> | ||
20 | #include <linux/of_platform.h> | 21 | #include <linux/of_platform.h> |
21 | #include <linux/of_mdio.h> | 22 | #include <linux/of_mdio.h> |
22 | 23 | ||