diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-25 00:17:51 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-25 00:17:51 -0500 |
| commit | a86b4ad6da23b7d2b55813f0cf026f7149932028 (patch) | |
| tree | 216878cb17332441563797ed8768f45fee4ab198 | |
| parent | 701b259f446be2f3625fb852bceb93afe76e206d (diff) | |
| parent | 3493c85366ba09c9d0972c919e7123367a39982a (diff) | |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
powerpc: Fix build on some non-freescale platforms
powerpc/powernv: Fix PCI resource handling
powerpc/crash: Fix build error without SMP
powerpc/cpuidle: Make it a bool, not a tristate
powerpc/85xx: Add dr_mode property in USB nodes
powerpc/85xx: Enable USB2 controller node for P1020RDB
powerpc/85xx: Fix cmd12 bug and add the chip compatible for eSDHC
arch/powerpc/sysdev/fsl_pci.c: add missing iounmap
powerpc: fix compile error with 85xx/p1022_ds.c
| -rw-r--r-- | arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi | 4 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 3 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/fsl/p1020si-post.dtsi | 4 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | 3 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/fsl/p2020si-post.dtsi | 4 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/p1020rdb.dtsi | 13 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/p1021mds.dts | 3 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/p2020ds.dtsi | 3 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/p2020rdb.dts | 3 | ||||
| -rw-r--r-- | arch/powerpc/kernel/crash.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/kernel/legacy_serial.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/platforms/85xx/p1022_ds.c | 1 | ||||
| -rw-r--r-- | arch/powerpc/platforms/powernv/pci-ioda.c | 43 | ||||
| -rw-r--r-- | arch/powerpc/platforms/pseries/Kconfig | 2 | ||||
| -rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 5 |
15 files changed, 63 insertions, 32 deletions
diff --git a/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi b/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi index 89af62637707..b37da56018b6 100644 --- a/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi | |||
| @@ -236,6 +236,10 @@ | |||
| 236 | }; | 236 | }; |
| 237 | 237 | ||
| 238 | /include/ "pq3-esdhc-0.dtsi" | 238 | /include/ "pq3-esdhc-0.dtsi" |
| 239 | sdhc@2e000 { | ||
| 240 | compatible = "fsl,mpc8536-esdhc", "fsl,esdhc"; | ||
| 241 | }; | ||
| 242 | |||
| 239 | /include/ "pq3-sec3.0-0.dtsi" | 243 | /include/ "pq3-sec3.0-0.dtsi" |
| 240 | /include/ "pq3-mpic.dtsi" | 244 | /include/ "pq3-mpic.dtsi" |
| 241 | /include/ "pq3-mpic-timer-B.dtsi" | 245 | /include/ "pq3-mpic-timer-B.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi index bd9e163c764b..a97d1263372c 100644 --- a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | |||
| @@ -158,7 +158,8 @@ | |||
| 158 | /include/ "pq3-usb2-dr-0.dtsi" | 158 | /include/ "pq3-usb2-dr-0.dtsi" |
| 159 | /include/ "pq3-esdhc-0.dtsi" | 159 | /include/ "pq3-esdhc-0.dtsi" |
| 160 | sdhc@2e000 { | 160 | sdhc@2e000 { |
| 161 | fsl,sdhci-auto-cmd12; | 161 | compatible = "fsl,p1010-esdhc", "fsl,esdhc"; |
| 162 | sdhci,auto-cmd12; | ||
| 162 | }; | 163 | }; |
| 163 | 164 | ||
| 164 | /include/ "pq3-sec4.4-0.dtsi" | 165 | /include/ "pq3-sec4.4-0.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi index fc924c5ffebe..5de5fc351314 100644 --- a/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi | |||
| @@ -145,6 +145,10 @@ | |||
| 145 | /include/ "pq3-usb2-dr-1.dtsi" | 145 | /include/ "pq3-usb2-dr-1.dtsi" |
| 146 | 146 | ||
| 147 | /include/ "pq3-esdhc-0.dtsi" | 147 | /include/ "pq3-esdhc-0.dtsi" |
| 148 | sdhc@2e000 { | ||
| 149 | compatible = "fsl,p1020-esdhc", "fsl,esdhc"; | ||
| 150 | sdhci,auto-cmd12; | ||
| 151 | }; | ||
| 148 | /include/ "pq3-sec3.3-0.dtsi" | 152 | /include/ "pq3-sec3.3-0.dtsi" |
| 149 | 153 | ||
| 150 | /include/ "pq3-mpic.dtsi" | 154 | /include/ "pq3-mpic.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi index 16239b199d0a..ff9ed1d87929 100644 --- a/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | |||
| @@ -203,7 +203,8 @@ | |||
| 203 | 203 | ||
| 204 | /include/ "pq3-esdhc-0.dtsi" | 204 | /include/ "pq3-esdhc-0.dtsi" |
| 205 | sdhc@2e000 { | 205 | sdhc@2e000 { |
| 206 | fsl,sdhci-auto-cmd12; | 206 | compatible = "fsl,p1022-esdhc", "fsl,esdhc"; |
| 207 | sdhci,auto-cmd12; | ||
| 207 | }; | 208 | }; |
| 208 | 209 | ||
| 209 | /include/ "pq3-sec3.3-0.dtsi" | 210 | /include/ "pq3-sec3.3-0.dtsi" |
diff --git a/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi b/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi index c041050561a7..332e9e75e6c2 100644 --- a/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi | |||
| @@ -182,6 +182,10 @@ | |||
| 182 | /include/ "pq3-etsec1-1.dtsi" | 182 | /include/ "pq3-etsec1-1.dtsi" |
| 183 | /include/ "pq3-etsec1-2.dtsi" | 183 | /include/ "pq3-etsec1-2.dtsi" |
| 184 | /include/ "pq3-esdhc-0.dtsi" | 184 | /include/ "pq3-esdhc-0.dtsi" |
| 185 | sdhc@2e000 { | ||
| 186 | compatible = "fsl,p2020-esdhc", "fsl,esdhc"; | ||
| 187 | }; | ||
| 188 | |||
| 185 | /include/ "pq3-sec3.1-0.dtsi" | 189 | /include/ "pq3-sec3.1-0.dtsi" |
| 186 | /include/ "pq3-mpic.dtsi" | 190 | /include/ "pq3-mpic.dtsi" |
| 187 | /include/ "pq3-mpic-timer-B.dtsi" | 191 | /include/ "pq3-mpic-timer-B.dtsi" |
diff --git a/arch/powerpc/boot/dts/p1020rdb.dtsi b/arch/powerpc/boot/dts/p1020rdb.dtsi index b5bd86f4baf2..1fb7e0e0940f 100644 --- a/arch/powerpc/boot/dts/p1020rdb.dtsi +++ b/arch/powerpc/boot/dts/p1020rdb.dtsi | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * P1020 RDB Device Tree Source stub (no addresses or top-level ranges) | 2 | * P1020 RDB Device Tree Source stub (no addresses or top-level ranges) |
| 3 | * | 3 | * |
| 4 | * Copyright 2011 Freescale Semiconductor Inc. | 4 | * Copyright 2011-2012 Freescale Semiconductor Inc. |
| 5 | * | 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
| @@ -190,17 +190,16 @@ | |||
| 190 | 190 | ||
| 191 | usb@22000 { | 191 | usb@22000 { |
| 192 | phy_type = "ulpi"; | 192 | phy_type = "ulpi"; |
| 193 | dr_mode = "host"; | ||
| 193 | }; | 194 | }; |
| 194 | 195 | ||
| 195 | /* USB2 is shared with localbus, so it must be disabled | 196 | /* USB2 is shared with localbus. It is used |
| 196 | by default. We can't put 'status = "disabled";' here | 197 | only in case of SPI and SD boot after |
| 197 | since U-Boot doesn't clear the status property when | 198 | appropriate device-tree fixup done by uboot */ |
| 198 | it enables USB2. OTOH, U-Boot does create a new node | ||
| 199 | when there isn't any. So, just comment it out. | ||
| 200 | usb@23000 { | 199 | usb@23000 { |
| 201 | phy_type = "ulpi"; | 200 | phy_type = "ulpi"; |
| 201 | dr_mode = "host"; | ||
| 202 | }; | 202 | }; |
| 203 | */ | ||
| 204 | 203 | ||
| 205 | mdio@24000 { | 204 | mdio@24000 { |
| 206 | phy0: ethernet-phy@0 { | 205 | phy0: ethernet-phy@0 { |
diff --git a/arch/powerpc/boot/dts/p1021mds.dts b/arch/powerpc/boot/dts/p1021mds.dts index d9540791e434..97116f198a37 100644 --- a/arch/powerpc/boot/dts/p1021mds.dts +++ b/arch/powerpc/boot/dts/p1021mds.dts | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * P1021 MDS Device Tree Source | 2 | * P1021 MDS Device Tree Source |
| 3 | * | 3 | * |
| 4 | * Copyright 2010 Freescale Semiconductor Inc. | 4 | * Copyright 2010,2012 Freescale Semiconductor Inc. |
| 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 of the GNU General Public License as published by the | 7 | * under the terms of the GNU General Public License as published by the |
| @@ -151,6 +151,7 @@ | |||
| 151 | 151 | ||
| 152 | usb@22000 { | 152 | usb@22000 { |
| 153 | phy_type = "ulpi"; | 153 | phy_type = "ulpi"; |
| 154 | dr_mode = "host"; | ||
| 154 | }; | 155 | }; |
| 155 | 156 | ||
| 156 | mdio@24000 { | 157 | mdio@24000 { |
diff --git a/arch/powerpc/boot/dts/p2020ds.dtsi b/arch/powerpc/boot/dts/p2020ds.dtsi index c1cf6cef4dd6..d3b939c573b0 100644 --- a/arch/powerpc/boot/dts/p2020ds.dtsi +++ b/arch/powerpc/boot/dts/p2020ds.dtsi | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * P2020DS Device Tree Source stub (no addresses or top-level ranges) | 2 | * P2020DS Device Tree Source stub (no addresses or top-level ranges) |
| 3 | * | 3 | * |
| 4 | * Copyright 2011 Freescale Semiconductor Inc. | 4 | * Copyright 2011-2012 Freescale Semiconductor Inc. |
| 5 | * | 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions are met: | 7 | * modification, are permitted provided that the following conditions are met: |
| @@ -134,6 +134,7 @@ | |||
| 134 | &board_soc { | 134 | &board_soc { |
| 135 | usb@22000 { | 135 | usb@22000 { |
| 136 | phy_type = "ulpi"; | 136 | phy_type = "ulpi"; |
| 137 | dr_mode = "host"; | ||
| 137 | }; | 138 | }; |
| 138 | 139 | ||
| 139 | mdio@24520 { | 140 | mdio@24520 { |
