diff options
36 files changed, 160 insertions, 167 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 63ce3a38b332..f87589075552 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -925,14 +925,14 @@ S: Maintained | |||
| 925 | 925 | ||
| 926 | ARM/NOMADIK ARCHITECTURE | 926 | ARM/NOMADIK ARCHITECTURE |
| 927 | M: Alessandro Rubini <rubini@unipv.it> | 927 | M: Alessandro Rubini <rubini@unipv.it> |
| 928 | M: Linus Walleij <linus.walleij@stericsson.com> | 928 | M: Linus Walleij <linus.walleij@linaro.org> |
| 929 | M: STEricsson <STEricsson_nomadik_linux@list.st.com> | 929 | M: STEricsson <STEricsson_nomadik_linux@list.st.com> |
| 930 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 930 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
| 931 | S: Maintained | 931 | S: Maintained |
| 932 | F: arch/arm/mach-nomadik/ | 932 | F: arch/arm/mach-nomadik/ |
| 933 | F: arch/arm/plat-nomadik/ | 933 | F: arch/arm/plat-nomadik/ |
| 934 | F: drivers/i2c/busses/i2c-nomadik.c | 934 | F: drivers/i2c/busses/i2c-nomadik.c |
| 935 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git | 935 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git |
| 936 | 936 | ||
| 937 | ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT | 937 | ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT |
| 938 | M: Nelson Castillo <arhuaco@freaks-unidos.net> | 938 | M: Nelson Castillo <arhuaco@freaks-unidos.net> |
| @@ -1146,7 +1146,7 @@ F: drivers/usb/host/ehci-w90x900.c | |||
| 1146 | F: drivers/video/nuc900fb.c | 1146 | F: drivers/video/nuc900fb.c |
| 1147 | 1147 | ||
| 1148 | ARM/U300 MACHINE SUPPORT | 1148 | ARM/U300 MACHINE SUPPORT |
| 1149 | M: Linus Walleij <linus.walleij@stericsson.com> | 1149 | M: Linus Walleij <linus.walleij@linaro.org> |
| 1150 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 1150 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
| 1151 | S: Supported | 1151 | S: Supported |
| 1152 | F: arch/arm/mach-u300/ | 1152 | F: arch/arm/mach-u300/ |
| @@ -1161,15 +1161,20 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git | |||
| 1161 | 1161 | ||
| 1162 | ARM/Ux500 ARM ARCHITECTURE | 1162 | ARM/Ux500 ARM ARCHITECTURE |
| 1163 | M: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> | 1163 | M: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> |
| 1164 | M: Linus Walleij <linus.walleij@stericsson.com> | 1164 | M: Linus Walleij <linus.walleij@linaro.org> |
| 1165 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 1165 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
| 1166 | S: Maintained | 1166 | S: Maintained |
| 1167 | F: arch/arm/mach-ux500/ | 1167 | F: arch/arm/mach-ux500/ |
| 1168 | F: drivers/clocksource/clksrc-dbx500-prcmu.c | ||
| 1168 | F: drivers/dma/ste_dma40* | 1169 | F: drivers/dma/ste_dma40* |
| 1170 | F: drivers/hwspinlock/u8500_hsem.c | ||
| 1169 | F: drivers/mfd/abx500* | 1171 | F: drivers/mfd/abx500* |
| 1170 | F: drivers/mfd/ab8500* | 1172 | F: drivers/mfd/ab8500* |
| 1171 | F: drivers/mfd/stmpe* | 1173 | F: drivers/mfd/dbx500* |
| 1174 | F: drivers/mfd/db8500* | ||
| 1175 | F: drivers/pinctrl/pinctrl-nomadik* | ||
| 1172 | F: drivers/rtc/rtc-ab8500.c | 1176 | F: drivers/rtc/rtc-ab8500.c |
| 1177 | F: drivers/rtc/rtc-pl031.c | ||
| 1173 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git | 1178 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git |
| 1174 | 1179 | ||
| 1175 | ARM/VFP SUPPORT | 1180 | ARM/VFP SUPPORT |
| @@ -3094,7 +3099,7 @@ F: include/linux/gigaset_dev.h | |||
| 3094 | 3099 | ||
| 3095 | GPIO SUBSYSTEM | 3100 | GPIO SUBSYSTEM |
| 3096 | M: Grant Likely <grant.likely@secretlab.ca> | 3101 | M: Grant Likely <grant.likely@secretlab.ca> |
| 3097 | M: Linus Walleij <linus.walleij@stericsson.com> | 3102 | M: Linus Walleij <linus.walleij@linaro.org> |
| 3098 | S: Maintained | 3103 | S: Maintained |
| 3099 | T: git git://git.secretlab.ca/git/linux-2.6.git | 3104 | T: git git://git.secretlab.ca/git/linux-2.6.git |
| 3100 | F: Documentation/gpio.txt | 3105 | F: Documentation/gpio.txt |
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index a874dbfb5ae6..e6138310e5ce 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi | |||
| @@ -51,11 +51,11 @@ | |||
| 51 | 51 | ||
| 52 | dma-apbh@80004000 { | 52 | dma-apbh@80004000 { |
| 53 | compatible = "fsl,imx23-dma-apbh"; | 53 | compatible = "fsl,imx23-dma-apbh"; |
| 54 | reg = <0x80004000 2000>; | 54 | reg = <0x80004000 0x2000>; |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | ecc@80008000 { | 57 | ecc@80008000 { |
| 58 | reg = <0x80008000 2000>; | 58 | reg = <0x80008000 0x2000>; |
| 59 | status = "disabled"; | 59 | status = "disabled"; |
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| @@ -63,7 +63,7 @@ | |||
| 63 | compatible = "fsl,imx23-gpmi-nand"; | 63 | compatible = "fsl,imx23-gpmi-nand"; |
| 64 | #address-cells = <1>; | 64 | #address-cells = <1>; |
| 65 | #size-cells = <1>; | 65 | #size-cells = <1>; |
| 66 | reg = <0x8000c000 2000>, <0x8000a000 2000>; | 66 | reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; |
| 67 | reg-names = "gpmi-nand", "bch"; | 67 | reg-names = "gpmi-nand", "bch"; |
| 68 | interrupts = <13>, <56>; | 68 | interrupts = <13>, <56>; |
| 69 | interrupt-names = "gpmi-dma", "bch"; | 69 | interrupt-names = "gpmi-dma", "bch"; |
| @@ -72,14 +72,14 @@ | |||
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| 74 | ssp0: ssp@80010000 { | 74 | ssp0: ssp@80010000 { |
| 75 | reg = <0x80010000 2000>; | 75 | reg = <0x80010000 0x2000>; |
| 76 | interrupts = <15 14>; | 76 | interrupts = <15 14>; |
| 77 | fsl,ssp-dma-channel = <1>; | 77 | fsl,ssp-dma-channel = <1>; |
| 78 | status = "disabled"; | 78 | status = "disabled"; |
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | etm@80014000 { | 81 | etm@80014000 { |
| 82 | reg = <0x80014000 2000>; | 82 | reg = <0x80014000 0x2000>; |
| 83 | status = "disabled"; | 83 | status = "disabled"; |
| 84 | }; | 84 | }; |
| 85 | 85 | ||
| @@ -87,7 +87,7 @@ | |||
| 87 | #address-cells = <1>; | 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; | 88 | #size-cells = <0>; |
| 89 | compatible = "fsl,imx23-pinctrl", "simple-bus"; | 89 | compatible = "fsl,imx23-pinctrl", "simple-bus"; |
| 90 | reg = <0x80018000 2000>; | 90 | reg = <0x80018000 0x2000>; |
| 91 | 91 | ||
| 92 | gpio0: gpio@0 { | 92 | gpio0: gpio@0 { |
| 93 | compatible = "fsl,imx23-gpio", "fsl,mxs-gpio"; | 93 | compatible = "fsl,imx23-gpio", "fsl,mxs-gpio"; |
| @@ -273,32 +273,32 @@ | |||
| 273 | }; | 273 | }; |
| 274 | 274 | ||
| 275 | emi@80020000 { | 275 | emi@80020000 { |
| 276 | reg = <0x80020000 2000>; | 276 | reg = <0x80020000 0x2000>; |
| 277 | status = "disabled"; | 277 | status = "disabled"; |
| 278 | }; | 278 | }; |
| 279 | 279 | ||
| 280 | dma-apbx@80024000 { | 280 | dma-apbx@80024000 { |
| 281 | compatible = "fsl,imx23-dma-apbx"; | 281 | compatible = "fsl,imx23-dma-apbx"; |
| 282 | reg = <0x80024000 2000>; | 282 | reg = <0x80024000 0x2000>; |
| 283 | }; | 283 | }; |
| 284 | 284 | ||
| 285 | dcp@80028000 { | 285 | dcp@80028000 { |
| 286 | reg = <0x80028000 2000>; | 286 | reg = <0x80028000 0x2000>; |
| 287 | status = "disabled"; | 287 | status = "disabled"; |
| 288 | }; | 288 | }; |
| 289 | 289 | ||
| 290 | pxp@8002a000 { | 290 | pxp@8002a000 { |
| 291 | reg = <0x8002a000 2000>; | 291 | reg = <0x8002a000 0x2000>; |
| 292 | status = "disabled"; | 292 | status = "disabled"; |
| 293 | }; | 293 | }; |
| 294 | 294 | ||
| 295 | ocotp@8002c000 { | 295 | ocotp@8002c000 { |
| 296 | reg = <0x8002c000 2000>; | 296 | reg = <0x8002c000 0x2000>; |
| 297 | status = "disabled"; | 297 | status = "disabled"; |
| 298 | }; | 298 | }; |
| 299 | 299 | ||
| 300 | axi-ahb@8002e000 { | 300 | axi-ahb@8002e000 { |
| 301 | reg = <0x8002e000 2000>; | 301 | reg = <0x8002e000 0x2000>; |
| 302 | status = "disabled"; | 302 | status = "disabled"; |
| 303 | }; | 303 | }; |
| 304 | 304 | ||
| @@ -310,14 +310,14 @@ | |||
| 310 | }; | 310 | }; |
| 311 | 311 | ||
| 312 | ssp1: ssp@80034000 { | 312 | ssp1: ssp@80034000 { |
| 313 | reg = <0x80034000 2000>; | 313 | reg = <0x80034000 0x2000>; |
| 314 | interrupts = <2 20>; | 314 | interrupts = <2 20>; |
| 315 | fsl,ssp-dma-channel = <2>; | 315 | fsl,ssp-dma-channel = <2>; |
| 316 | status = "disabled"; | 316 | status = "disabled"; |
| 317 | }; | 317 | }; |
| 318 | 318 | ||
| 319 | tvenc@80038000 { | 319 | tvenc@80038000 { |
| 320 | reg = <0x80038000 2000>; | 320 | reg = <0x80038000 0x2000>; |
| 321 | status = "disabled"; | 321 | status = "disabled"; |
| 322 | }; | 322 | }; |
| 323 | }; | 323 | }; |
| @@ -330,37 +330,37 @@ | |||
| 330 | ranges; | 330 | ranges; |
| 331 | 331 | ||
| 332 | clkctl@80040000 { | 332 | clkctl@80040000 { |
| 333 | reg = <0x80040000 2000>; | 333 | reg = <0x80040000 0x2000>; |
| 334 | status = "disabled"; | 334 | status = "disabled"; |
| 335 | }; | 335 | }; |
| 336 | 336 | ||
| 337 | saif0: saif@80042000 { | 337 | saif0: saif@80042000 { |
| 338 | reg = <0x80042000 2000>; | 338 | reg = <0x80042000 0x2000>; |
| 339 | status = "disabled"; | 339 | status = "disabled"; |
| 340 | }; | 340 | }; |
| 341 | 341 | ||
| 342 | power@80044000 { | 342 | power@80044000 { |
| 343 | reg = <0x80044000 2000>; | 343 | reg = <0x80044000 0x2000>; |
| 344 | status = "disabled"; | 344 | status = "disabled"; |
| 345 | }; | 345 | }; |
| 346 | 346 | ||
| 347 | saif1: saif@80046000 { | 347 | saif1: saif@80046000 { |
| 348 | reg = <0x80046000 2000>; | 348 | reg = <0x80046000 0x2000>; |
| 349 | status = "disabled"; | 349 | status = "disabled"; |
| 350 | }; | 350 | }; |
| 351 | 351 | ||
| 352 | audio-out@80048000 { | 352 | audio-out@80048000 { |
| 353 | reg = <0x80048000 2000>; | 353 | reg = <0x80048000 0x2000>; |
| 354 | status = "disabled"; | 354 | status = "disabled"; |
| 355 | }; | 355 | }; |
| 356 | 356 | ||
| 357 | audio-in@8004c000 { | 357 | audio-in@8004c000 { |
| 358 | reg = <0x8004c000 2000>; | 358 | reg = <0x8004c000 0x2000>; |
| 359 | status = "disabled"; | 359 | status = "disabled"; |
| 360 | }; | 360 | }; |
| 361 | 361 | ||
| 362 | lradc@80050000 { | 362 | lradc@80050000 { |
| 363 | reg = <0x80050000 2000>; | 363 | reg = <0x80050000 0x2000>; |
| 364 | status = "disabled"; | 364 | status = "disabled"; |
| 365 | }; | 365 | }; |
| 366 | 366 | ||
| @@ -370,26 +370,26 @@ | |||
| 370 | }; | 370 | }; |
| 371 | 371 | ||
| 372 | i2c@80058000 { | 372 | i2c@80058000 { |
| 373 | reg = <0x80058000 2000>; | 373 | reg = <0x80058000 0x2000>; |
| 374 | status = "disabled"; | 374 | status = "disabled"; |
| 375 | }; | 375 | }; |
| 376 | 376 | ||
| 377 | rtc@8005c000 { | 377 | rtc@8005c000 { |
| 378 | compatible = "fsl,imx23-rtc", "fsl,stmp3xxx-rtc"; | 378 | compatible = "fsl,imx23-rtc", "fsl,stmp3xxx-rtc"; |
| 379 | reg = <0x8005c000 2000>; | 379 | reg = <0x8005c000 0x2000>; |
| 380 | interrupts = <22>; | 380 | interrupts = <22>; |
| 381 | }; | 381 | }; |
| 382 | 382 | ||
| 383 | pwm: pwm@80064000 { | 383 | pwm: pwm@80064000 { |
| 384 | compatible = "fsl,imx23-pwm"; | 384 | compatible = "fsl,imx23-pwm"; |
| 385 | reg = <0x80064000 2000>; | 385 | reg = <0x80064000 0x2000>; |
| 386 | #pwm-cells = <2>; | 386 | #pwm-cells = <2>; |
| 387 | fsl,pwm-number = <5>; | 387 | fsl,pwm-number = <5>; |
| 388 | status = "disabled"; | 388 | status = "disabled"; |
| 389 | }; | 389 | }; |
| 390 | 390 | ||
| 391 | timrot@80068000 { | 391 | timrot@80068000 { |
| 392 | reg = <0x80068000 2000>; | 392 | reg = <0x80068000 0x2000>; |
| 393 | status = "disabled"; | 393 | status = "disabled"; |
| 394 | }; | 394 | }; |
| 395 | 395 | ||
| @@ -429,7 +429,7 @@ | |||
| 429 | ranges; | 429 | ranges; |
| 430 | 430 | ||
| 431 | usbctrl@80080000 { | 431 | usbctrl@80080000 { |
| 432 | reg = <0x80080000 0x10000>; | 432 | reg = <0x80080000 0x40000>; |
| 433 | status = "disabled"; | 433 | status = "disabled"; |
| 434 | }; | 434 | }; |
| 435 | }; | 435 | }; |
diff --git a/arch/arm/boot/dts/imx27-3ds.dts b/arch/arm/boot/dts/imx27-3ds.dts index d3f8296e19e0..0a8978a40ece 100644 --- a/arch/arm/boot/dts/imx27-3ds.dts +++ b/arch/arm/boot/dts/imx27-3ds.dts | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | status = "okay"; | 27 | status = "okay"; |
| 28 | }; | 28 | }; |
| 29 | 29 | ||
| 30 | uart@1000a000 { | 30 | uart1: serial@1000a000 { |
| 31 | fsl,uart-has-rtscts; | 31 | fsl,uart-has-rtscts; |
| 32 | status = "okay"; | 32 | status = "okay"; |
| 33 | }; | 33 | }; |
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index 787efac68da8..3fa6d190fab4 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi | |||
| @@ -57,18 +57,18 @@ | |||
| 57 | }; | 57 | }; |
| 58 | 58 | ||
| 59 | hsadc@80002000 { | 59 | hsadc@80002000 { |
| 60 | reg = <0x80002000 2000>; | 60 | reg = <0x80002000 0x2000>; |
| 61 | interrupts = <13 87>; | 61 | interrupts = <13 87>; |
| 62 | status = "disabled"; | 62 | status = "disabled"; |
| 63 | }; | 63 | }; |
| 64 | 64 | ||
| 65 | dma-apbh@80004000 { | 65 | dma-apbh@80004000 { |
| 66 | compatible = "fsl,imx28-dma-apbh"; | 66 | compatible = "fsl,imx28-dma-apbh"; |
| 67 | reg = <0x80004000 2000>; | 67 | reg = <0x80004000 0x2000>; |
| 68 | }; | 68 | }; |
| 69 | 69 | ||
| 70 | perfmon@80006000 { | 70 | perfmon@80006000 { |
| 71 | reg = <0x80006000 800>; | 71 | reg = <0x80006000 0x800>; |
| 72 | interrupts = <27>; | 72 | interrupts = <27>; |
| 73 | status = "disabled"; | 73 | status = "disabled"; |
| 74 | }; | 74 | }; |
| @@ -77,7 +77,7 @@ | |||
| 77 | compatible = "fsl,imx28-gpmi-nand"; | 77 | compatible = "fsl,imx28-gpmi-nand"; |
| 78 | #address-cells = <1>; | 78 | #address-cells = <1>; |
| 79 | #size-cells = <1>; | 79 | #size-cells = <1>; |
| 80 | reg = <0x8000c000 2000>, <0x8000a000 2000>; | 80 | reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; |
| 81 | reg-names = "gpmi-nand", "bch"; | 81 | reg-names = "gpmi-nand", "bch"; |
| 82 | interrupts = <88>, <41>; | 82 | interrupts = <88>, <41>; |
| 83 | interrupt-names = "gpmi-dma", "bch"; | 83 | interrupt-names = "gpmi-dma", "bch"; |
| @@ -86,28 +86,28 @@ | |||
| 86 | }; | 86 | }; |
| 87 | 87 | ||
| 88 | ssp0: ssp@80010000 { | 88 | ssp0: ssp@80010000 { |
| 89 | reg = <0x80010000 2000>; | 89 | reg = <0x80010000 0x2000>; |
| 90 | interrupts = <96 82>; | 90 | interrupts = <96 82>; |
| 91 | fsl,ssp-dma-channel = <0>; | 91 | fsl,ssp-dma-channel = <0>; |
| 92 | status = "disabled"; | 92 | status = "disabled"; |
| 93 | }; | 93 | }; |
| 94 | 94 | ||
| 95 | ssp1: ssp@80012000 { | 95 | ssp1: ssp@80012000 { |
| 96 | reg = <0x80012000 2000>; | 96 | reg = <0x80012000 0x2000>; |
| 97 | interrupts = <97 83>; | 97 | interrupts = <97 83>; |
| 98 | fsl,ssp-dma-channel = <1>; | 98 | fsl,ssp-dma-channel = <1>; |
| 99 | status = "disabled"; | 99 | status = "disabled"; |
| 100 | }; | 100 | }; |
| 101 | 101 | ||
| 102 | ssp2: ssp@80014000 { | 102 | ssp2: ssp@80014000 { |
| 103 | reg = <0x80014000 2000>; | 103 | reg = <0x80014000 0x2000>; |
| 104 | interrupts = <98 84>; | 104 | interrupts = <98 84>; |
| 105 | fsl,ssp-dma-channel = <2>; | 105 | fsl,ssp-dma-channel = <2>; |
| 106 | status = "disabled"; | 106 | status = "disabled"; |
| 107 | }; | 107 | }; |
| 108 | 108 | ||
| 109 | ssp3: ssp@80016000 { | 109 | ssp3: ssp@80016000 { |
| 110 | reg = <0x80016000 2000>; | 110 | reg = <0x80016000 0x2000>; |
| 111 | interrupts = <99 85>; | 111 | interrupts = <99 85>; |
| 112 | fsl,ssp-dma-channel = <3>; | 112 | fsl,ssp-dma-channel = <3>; |
| 113 | status = "disabled"; | 113 | status = "disabled"; |
| @@ -117,7 +117,7 @@ | |||
| 117 | #address-cells = <1>; | 117 | #address-cells = <1>; |
| 118 | #size-cells = <0>; | 118 | #size-cells = <0>; |
| 119 | compatible = "fsl,imx28-pinctrl", "simple-bus"; | 119 | compatible = "fsl,imx28-pinctrl", "simple-bus"; |
| 120 | reg = <0x80018000 2000>; | 120 | reg = <0x80018000 0x2000>; |
| 121 | 121 | ||
| 122 | gpio0: gpio@0 { | 122 | gpio0: gpio@0 { |
| 123 | compatible = "fsl,imx28-gpio", "fsl,mxs-gpio"; | 123 | compatible = "fsl,imx28-gpio", "fsl,mxs-gpio"; |
| @@ -510,96 +510,96 @@ | |||
| 510 | }; | 510 | }; |
| 511 | 511 | ||
| 512 | digctl@8001c000 { | 512 | digctl@8001c000 { |
| 513 | reg = <0x8001c000 2000>; | 513 | reg = <0x8001c000 0x2000>; |
| 514 | interrupts = <89>; | 514 | interrupts = <89>; |
| 515 | status = "disabled"; | 515 | status = "disabled"; |
| 516 | }; | 516 | }; |
| 517 | 517 | ||
| 518 | etm@80022000 { | 518 | etm@80022000 { |
| 519 | reg = <0x80022000 2000>; | 519 | reg = <0x80022000 0x2000>; |
| 520 | status = "disabled"; | 520 | status = "disabled"; |
| 521 | }; | 521 | }; |
| 522 | 522 | ||
| 523 | dma-apbx@80024000 { | 523 | dma-apbx@80024000 { |
| 524 | compatible = "fsl,imx28-dma-apbx"; | 524 | compatible = "fsl,imx28-dma-apbx"; |
| 525 | reg = <0x80024000 2000>; | 525 | reg = <0x80024000 0x2000>; |
| 526 | }; | 526 | }; |
| 527 | 527 | ||
| 528 | dcp@80028000 { | 528 | dcp@80028000 { |
| 529 | reg = <0x80028000 2000>; | 529 | reg = <0x80028000 0x2000>; |
| 530 | interrupts = <52 53 54>; | 530 | interrupts = <52 53 54>; |
| 531 | status = "disabled"; | 531 | status = "disabled"; |
| 532 | }; | 532 | }; |
| 533 | 533 | ||
| 534 | pxp@8002a000 { | 534 | pxp@8002a000 { |
| 535 | reg = <0x8002a000 2000>; | 535 | reg = <0x8002a000 0x2000>; |
| 536 | interrupts = <39>; | 536 | interrupts = <39>; |
| 537 | status = "disabled"; | 537 | status = "disabled"; |
| 538 | }; | 538 | }; |
| 539 | 539 | ||
| 540 | ocotp@8002c000 { | 540 | ocotp@8002c000 { |
| 541 | reg = <0x8002c000 2000>; | 541 | reg = <0x8002c000 0x2000>; |
| 542 | status = "disabled"; | 542 | status = "disabled"; |
| 543 | }; | 543 | }; |
| 544 | 544 | ||
| 545 | axi-ahb@8002e000 { | 545 | axi-ahb@8002e000 { |
| 546 | reg = <0x8002e000 2000>; | 546 | reg = <0x8002e000 0x2000>; |
| 547 | status = "disabled"; | 547 | status = "disabled"; |
| 548 | }; | 548 | }; |
| 549 | 549 | ||
| 550 | lcdif@80030000 { | 550 | lcdif@80030000 { |
| 551 | compatible = "fsl,imx28-lcdif"; | 551 | compatible = "fsl,imx28-lcdif"; |
| 552 | reg = <0x80030000 2000>; | 552 | reg = <0x80030000 0x2000>; |
| 553 | interrupts = <38 86>; | 553 | interrupts = <38 86>; |
| 554 | status = "disabled"; | 554 | status = "disabled"; |
| 555 | }; | 555 | }; |
| 556 | 556 | ||
| 557 | can0: can@80032000 { | 557 | can0: can@80032000 { |
| 558 | compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan"; | 558 | compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan"; |
| 559 | reg = <0x80032000 2000>; | 559 | reg = <0x80032000 0x2000>; |
| 560 | interrupts = <8>; | 560 | interrupts = <8>; |
| 561 | status = "disabled"; | 561 | status = "disabled"; |
| 562 | }; | 562 | }; |
| 563 | 563 | ||
| 564 | can1: can@80034000 { | 564 | can1: can@80034000 { |
| 565 | compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan"; | 565 | compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan"; |
| 566 | reg = <0x80034000 2000>; | 566 | reg = <0x80034000 0x2000>; |
| 567 | interrupts = <9>; | 567 | interrupts = <9>; |
| 568 | status = "disabled"; | 568 | status = "disabled"; |
| 569 | }; | 569 | }; |
| 570 | 570 | ||
| 571 | simdbg@8003c000 { | 571 | simdbg@8003c000 { |
| 572 | reg = <0x8003c000 200>; | 572 | reg = <0x8003c000 0x200>; |
| 573 | status = "disabled"; | 573 | status = "disabled"; |
| 574 | }; | 574 | }; |
| 575 | 575 | ||
| 576 | simgpmisel@8003c200 { | 576 | simgpmisel@8003c200 { |
| 577 | reg = <0x8003c200 100>; | 577 | reg = <0x8003c200 0x100>; |
| 578 | status = "disabled"; | 578 | status = "disabled"; |
| 579 | }; | 579 | }; |
| 580 | 580 | ||
| 581 | simsspsel@8003c300 { | 581 | simsspsel@8003c300 { |
| 582 | reg = <0x8003c300 100>; | 582 | reg = <0x8003c300 0x100>; |
| 583 | status = "disabled"; | 583 | status = "disabled"; |
| 584 | }; | 584 | }; |
| 585 | 585 | ||
| 586 | simmemsel@8003c400 { | 586 | simmemsel@8003c400 { |
| 587 | reg = <0x8003c400 100>; | 587 | reg = <0x8003c400 0x100>; |
| 588 | status = "disabled"; | 588 | status = "disabled"; |
| 589 | }; | 589 | }; |
| 590 | 590 | ||
| 591 | gpiomon@8003c500 { | 591 | gpiomon@8003c500 { |
| 592 | reg = <0x8003c500 100>; | 592 | reg = <0x8003c500 0x100>; |
| 593 | status = "disabled"; | 593 | status = "disabled"; |
| 594 | }; | 594 | }; |
| 595 | 595 | ||
| 596 | simenet@8003c700 { | 596 | simenet@8003c700 { |
| 597 | reg = <0x8003c700 100>; | 597 | reg = <0x8003c700 0x100>; |
| 598 | status = "disabled"; | 598 | status = "disabled"; |
| 599 | }; | 599 | }; |
| 600 | 600 | ||
| 601 | armjtag@8003c800 { | 601 | armjtag@8003c800 { |
| 602 | reg = <0x8003c800 100>; | 602 | reg = <0x8003c800 0x100>; |
| 603 | status = "disabled"; | 603 | status = "disabled"; |
| 604 | }; | 604 | }; |
| 605 | }; | 605 | }; |
| @@ -612,45 +612,45 @@ | |||
| 612 | ranges; | 612 | ranges; |
| 613 | 613 | ||
| 614 | clkctl@80040000 { | 614 | clkctl@80040000 { |
| 615 | reg = <0x80040000 2000>; | 615 | reg = <0x80040000 0x2000>; |
| 616 | status = "disabled"; | 616 | status = "disabled"; |
| 617 | }; | 617 | }; |
| 618 | 618 | ||
| 619 | saif0: saif@80042000 { | 619 | saif0: saif@80042000 { |
| 620 | compatible = "fsl,imx28-saif"; | 620 | compatible = "fsl,imx28-saif"; |
| 621 | reg = <0x80042000 2000>; | 621 | reg = <0x80042000 0x2000>; |
| 622 | interrupts = <59 80>; | 622 | interrupts = <59 80>; |
| 623 | fsl,saif-dma-channel = <4>; | 623 | fsl,saif-dma-channel = <4>; |
| 624 | status = "disabled"; | 624 | status = "disabled"; |
| 625 | }; | 625 | }; |
| 626 | 626 | ||
| 627 | power@80044000 { | 627 | power@80044000 { |
| 628 | reg = <0x80044000 2000>; | 628 | reg = <0x80044000 0x2000>; |
| 629 | status = "disabled"; | 629 | status = "disabled"; |
| 630 | }; | 630 | }; |
| 631 | 631 | ||
| 632 | saif1: saif@80046000 { | 632 | saif1: saif@80046000 { |
| 633 | compatible = "fsl,imx28-saif"; | 633 | compatible = "fsl,imx28-saif"; |
| 634 | reg = <0x80046000 2000>; | 634 | reg = <0x80046000 0x2000>; |
| 635 | interrupts = <58 81>; | 635 | interrupts = <58 81>; |
| 636 | fsl,saif-dma-channel = <5>; | 636 | fsl,saif-dma-channel = <5>; |
| 637 | status = "disabled"; | 637 | status = "disabled"; |
| 638 | }; | 638 | }; |
| 639 | 639 | ||
| 640 | lradc@80050000 { | 640 | lradc@80050000 { |
| 641 | reg = <0x80050000 2000>; | 641 | reg = <0x80050000 0x2000>; |
| 642 | status = "disabled"; | 642 | status = "disabled"; |
| 643 | }; | 643 | }; |
| 644 | 644 | ||
| 645 | spdif@80054000 { | 645 | spdif@80054000 { |
| 646 | reg = <0x80054000 2000>; | 646 | reg = <0x80054000 0x2000>; |
| 647 | interrupts = <45 66>; | 647 | interrupts = <45 66>; |
| 648 | status = "disabled"; | 648 | status = "disabled"; |
| 649 | }; | 649 | }; |
| 650 | 650 | ||
| 651 | rtc@80056000 { | 651 | rtc@80056000 { |
| 652 | compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc"; | 652 | compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc"; |
| 653 | reg = <0x80056000 2000>; | 653 | reg = <0x80056000 0x2000>; |
| 654 | interrupts = <29>; | 654 | interrupts = <29>; |
| 655 | }; | 655 | }; |
| 656 | 656 | ||
| @@ -658,7 +658,7 @@ | |||
| 658 | #address-cells = <1>; | 658 | #address-cells = <1>; |
| 659 | #size-cells = <0>; | 659 | #size-cells = <0>; |
| 660 | compatible = "fsl,imx28-i2c"; | 660 | compatible = "fsl,imx28-i2c"; |
| 661 | reg = <0x80058000 2000>; | 661 | reg = <0x80058000 0x2000>; |
| 662 | interrupts = <111 68>; | 662 | interrupts = <111 68>; |
| 663 | clock-frequency = <100000>; | 663 | clock-frequency = <100000>; |
| 664 | status = "disabled"; | 664 | status = "disabled"; |
| @@ -668,7 +668,7 @@ | |||
| 668 | #address-cells = <1>; | 668 | #address-cells = <1>; |
| 669 | #size-cells = <0>; | 669 | #size-cells = <0>; |
| 670 | compatible = "fsl,imx28-i2c"; | 670 | compatible = "fsl,imx28-i2c"; |
| 671 | reg = <0x8005a000 2000>; | 671 | reg = <0x8005a000 0x2000>; |
| 672 | interrupts = <110 69>; | 672 | interrupts = <110 69>; |
| 673 | clock-frequency = <100000>; | 673 | clock-frequency = <100000>; |
| 674 | status = "disabled"; | 674 | status = "disabled"; |
| @@ -676,14 +676,14 @@ | |||
| 676 | 676 | ||
| 677 | pwm: pwm@80064000 { | 677 | pwm: pwm@80064000 { |
| 678 | compatible = "fsl,imx28-pwm", "fsl,imx23-pwm"; | 678 | compatible = "fsl,imx28-pwm", "fsl,imx23-pwm"; |
| 679 | reg = <0x80064000 2000>; | 679 | reg = <0x80064000 0x2000>; |
| 680 | #pwm-cells = <2>; | 680 | #pwm-cells = <2>; |
| 681 | fsl,pwm-number = <8>; | 681 | fsl,pwm-number = <8>; |
| 682 | status = "disabled"; | 682 | status = "disabled"; |
| 683 | }; | 683 | }; |
| 684 | 684 | ||
| 685 | timrot@80068000 { | 685 | timrot@80068000 { |
| 686 | reg = <0x80068000 2000>; | 686 | reg = <0x80068000 0x2000>; |
| 687 | status = "disabled"; | 687 | status = "disabled"; |
| 688 | }; | 688 | }; |
| 689 | 689 | ||
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index de065b5976e6..cd86177a3ea2 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts | |||
| @@ -53,7 +53,7 @@ | |||
| 53 | spi-max-frequency = <6000000>; | 53 | spi-max-frequency = <6000000>; |
| 54 | reg = <0>; | 54 | reg = <0>; |
| 55 | interrupt-parent = <&gpio1>; | 55 | interrupt-parent = <&gpio1>; |
| 56 | interrupts = <8>; | 56 | interrupts = <8 0x4>; |
| 57 | 57 | ||
| 58 | regulators { | 58 | regulators { |
| 59 | sw1_reg: sw1 { | 59 | sw1_reg: sw1 { |
diff --git a/arch/arm/boot/dts/imx53-ard.dts b/arch/arm/boot/dts/imx53-ard.dts index 5b8eafcdbeec..da895e93a999 100644 --- a/arch/arm/boot/dts/imx53-ard.dts +++ b/arch/arm/boot/dts/imx53-ard.dts | |||
| @@ -64,12 +64,32 @@ | |||
| 64 | reg = <0xf4000000 0x2000000>; | 64 | reg = <0xf4000000 0x2000000>; |
| 65 | phy-mode = "mii"; | 65 | phy-mode = "mii"; |
| 66 | interrupt-parent = <&gpio2>; | 66 | interrupt-parent = <&gpio2>; |
| 67 | interrupts = <31>; | 67 | interrupts = <31 0x8>; |
| 68 | reg-io-width = <4>; | 68 | reg-io-width = <4>; |
| 69 | /* | ||
| 70 | * VDD33A and VDDVARIO of LAN9220 are supplied by | ||
| 71 | * SW4_3V3 of LTC3589. Before the regulator driver | ||
| 72 | * for this PMIC is available, we use a fixed dummy | ||
| 73 | * 3V3 regulator to get LAN9220 driver probing work. | ||
| 74 | */ | ||
| 75 | vdd33a-supply = <®_3p3v>; | ||
| 76 | vddvario-supply = <®_3p3v>; | ||
| 69 | smsc,irq-push-pull; | 77 | smsc,irq-push-pull; |
| 70 | }; | 78 | }; |
| 71 | }; | 79 | }; |
| 72 | 80 | ||
| 81 | regulators { | ||
| 82 | compatible = "simple-bus"; | ||
| 83 | |||
| 84 | reg_3p3v: 3p3v { | ||
| 85 | compatible = "regulator-fixed"; | ||
| 86 | regulator-name = "3P3V"; | ||
| 87 | regulator-min-microvolt = <3300000>; | ||
| 88 | regulator-max-microvolt = <3300000>; | ||
| 89 | regulator-always-on; | ||
| 90 | }; | ||
| 91 | }; | ||
| 92 | |||
| 73 | gpio-keys { | 93 | gpio-keys { |
| 74 | compatible = "gpio-keys"; | 94 | compatible = "gpio-keys"; |
| 75 | 95 | ||
diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts index d42e851ceb97..72f30f3e6171 100644 --- a/arch/arm/boot/dts/imx6q-sabrelite.dts +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts | |||
| @@ -53,6 +53,7 @@ | |||
| 53 | fsl,pins = < | 53 | fsl,pins = < |
| 54 | 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */ | 54 | 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */ |
| 55 | 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */ | 55 | 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */ |
| 56 | 953 0x80000000 /* MX6Q_PAD_GPIO_0__CCM_CLKO */ | ||
| 56 | >; | 57 | >; |
| 57 | }; | 58 | }; |
| 58 | }; | 59 | }; |
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index f725b9637b33..3c9f32f9b6b4 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig | |||
| @@ -192,6 +192,7 @@ CONFIG_RTC_DRV_MC13XXX=y | |||
| 192 | CONFIG_RTC_DRV_MXC=y | 192 | CONFIG_RTC_DRV_MXC=y |
| 193 | CONFIG_DMADEVICES=y | 193 | CONFIG_DMADEVICES=y |
| 194 | CONFIG_IMX_SDMA=y | 194 | CONFIG_IMX_SDMA=y |
| 195 | CONFIG_MXS_DMA=y | ||
| 195 | CONFIG_COMMON_CLK_DEBUG=y | 196 | CONFIG_COMMON_CLK_DEBUG=y |
| 196 | # CONFIG_IOMMU_SUPPORT is not set | 197 | # CONFIG_IOMMU_SUPPORT is not set |
| 197 | CONFIG_EXT2_FS=y | 198 | CONFIG_EXT2_FS=y |
diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig index ccdb6357fb74..4edcfb4e4dee 100644 --- a/arch/arm/configs/mxs_defconfig +++ b/arch/arm/configs/mxs_defconfig | |||
| @@ -34,7 +34,6 @@ CONFIG_NO_HZ=y | |||
| 34 | CONFIG_HIGH_RES_TIMERS=y | 34 | CONFIG_HIGH_RES_TIMERS=y |
| 35 | CONFIG_PREEMPT_VOLUNTARY=y | 35 | CONFIG_PREEMPT_VOLUNTARY=y |
| 36 | CONFIG_AEABI=y | 36 | CONFIG_AEABI=y |
| 37 | CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 | ||
| 38 | CONFIG_AUTO_ZRELADDR=y | 37 | CONFIG_AUTO_ZRELADDR=y |
| 39 | CONFIG_FPE_NWFPE=y | 38 | CONFIG_FPE_NWFPE=y |
| 40 | CONFIG_NET=y | 39 | CONFIG_NET=y |
diff --git a/arch/arm/configs/tct_hammer_defconfig b/arch/arm/configs/tct_hammer_defconfig index 1d24f8458bef..71277a1591ba 100644 --- a/arch/arm/configs/tct_hammer_defconfig +++ b/arch/arm/configs/tct_hammer_defconfig | |||
| @@ -7,7 +7,7 @@ CONFIG_SYSFS_DEPRECATED_V2=y | |||
| 7 | CONFIG_BLK_DEV_INITRD=y | 7 | CONFIG_BLK_DEV_INITRD=y |
| 8 | CONFIG_EXPERT=y | 8 | CONFIG_EXPERT=y |
| 9 | # CONFIG_KALLSYMS is not set | 9 | # CONFIG_KALLSYMS is not set |
| 10 | # CONFIG_BUG is not set | 10 | # CONFIG_BUGVERBOSE is not set |
| 11 | # CONFIG_ELF_CORE is not set | 11 | # CONFIG_ELF_CORE is not set |
| 12 | # CONFIG_SHMEM is not set | 12 | # CONFIG_SHMEM is not set |
| 13 | CONFIG_SLOB=y | 13 | CONFIG_SLOB=y |
diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c index 5de69f2fcca9..f6b9fc70161b 100644 --- a/arch/arm/mach-davinci/board-neuros-osd2.c +++ b/arch/arm/mach-davinci/board-neuros-osd2.c | |||
| @@ -162,38 +162,6 @@ static void __init davinci_ntosd2_map_io(void) | |||
| 162 | dm644x_init(); | 162 | dm644x_init(); |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | /* | ||
| 166 | I2C initialization | ||
| 167 | */ | ||
| 168 | static struct davinci_i2c_platform_data ntosd2_i2c_pdata = { | ||
| 169 | .bus_freq = 20 /* kHz */, | ||
| 170 | .bus_delay = 100 /* usec */, | ||
| 171 | }; | ||
| 172 | |||
| 173 | static struct i2c_board_info __initdata ntosd2_i2c_info[] = { | ||
| 174 | }; | ||
| 175 | |||
| 176 | static int ntosd2_init_i2c(void) | ||
| 177 | { | ||
| 178 | int status; | ||
| 179 | |||
| 180 | davinci_init_i2c(&ntosd2_i2c_pdata); | ||
| 181 | status = gpio_request(NTOSD2_MSP430_IRQ, ntosd2_i2c_info[0].type); | ||
| 182 | if (status == 0) { | ||
| 183 | status = gpio_direction_input(NTOSD2_MSP430_IRQ); | ||
| 184 | if (status == 0) { | ||
| 185 | status = gpio_to_irq(NTOSD2_MSP430_IRQ); | ||
| 186 | if (status > 0) { | ||
| 187 | ntosd2_i2c_info[0].irq = status; | ||
| 188 | i2c_register_board_info(1, | ||
| 189 | ntosd2_i2c_info, | ||
| 190 | ARRAY_SIZE(ntosd2_i2c_info)); | ||
| 191 | } | ||
| 192 | } | ||
| 193 | } | ||
| 194 | return status; | ||
| 195 | } | ||
| 196 | |||
| 197 | static struct davinci_mmc_config davinci_ntosd2_mmc_config = { | 165 | static struct davinci_mmc_config davinci_ntosd2_mmc_config = { |
| 198 | .wires = 4, | 166 | .wires = 4, |
| 199 | .version = MMC_CTLR_VERSION_1 | 167 | .version = MMC_CTLR_VERSION_1 |
| @@ -218,7 +186,6 @@ static __init void davinci_ntosd2_init(void) | |||
| 218 | { | 186 | { |
| 219 | struct clk *aemif_clk; | 187 | struct clk *aemif_clk; |
| 220 | struct davinci_soc_info *soc_info = &davinci_soc_info; | 188 | struct davinci_soc_info *soc_info = &davinci_soc_info; |
| 221 | int status; | ||
| 222 | 189 | ||
| 223 | aemif_clk = clk_get(NULL, "aemif"); | 190 | aemif_clk = clk_get(NULL, "aemif"); |
| 224 | clk_enable(aemif_clk); | 191 | clk_enable(aemif_clk); |
| @@ -242,12 +209,6 @@ static __init void davinci_ntosd2_init(void) | |||
| 242 | platform_add_devices(davinci_ntosd2_devices, | 209 | platform_add_devices(davinci_ntosd2_devices, |
| 243 | ARRAY_SIZE(davinci_ntosd2_devices)); | 210 | ARRAY_SIZE(davinci_ntosd2_devices)); |
| 244 | 211 | ||
| 245 | /* Initialize I2C interface specific for this board */ | ||
| 246 | status = ntosd2_init_i2c(); | ||
| 247 | if (status < 0) | ||
| 248 | pr_warning("davinci_ntosd2_init: msp430 irq setup failed:" | ||
| 249 | " %d\n", status); | ||
| 250 | |||
| 251 | davinci_serial_init(&uart_config); | 212 | davinci_serial_init(&uart_config); |
| 252 | dm644x_init_asp(&dm644x_ntosd2_snd_data); | 213 | dm644x_init_asp(&dm644x_ntosd2_snd_data); |
| 253 | 214 | ||
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c index 373c3c00d24c..c0bc83a7663e 100644 --- a/arch/arm/mach-exynos/pm_domains.c +++ b/arch/arm/mach-exynos/pm_domains.c | |||
| @@ -115,7 +115,7 @@ static __init int exynos_pm_dt_parse_domains(void) | |||
| 115 | } | 115 | } |
| 116 | #endif /* CONFIG_OF */ | 116 | #endif /* CONFIG_OF */ |
| 117 | 117 | ||
| 118 | static __init void exynos_pm_add_dev_to_genpd(struct platform_device *pdev, | 118 | static __init __maybe_unused void exynos_pm_add_dev_to_genpd(struct platform_device *pdev, |
| 119 | struct exynos_pm_domain *pd) | 119 | struct exynos_pm_domain *pd) |
| 120 | { | 120 | { |
| 121 | if (pdev->dev.bus) { | 121 | if (pdev->dev.bus) { |
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c index 7aa6313fb167..f69ca4680049 100644 --- a/arch/arm/mach-imx/clk-imx27.c +++ b/arch/arm/mach-imx/clk-imx27.c | |||
| @@ -223,7 +223,7 @@ int __init mx27_clocks_init(unsigned long fref) | |||
| 223 | clk_register_clkdev(clk[per3_gate], "per", "imx-fb.0"); | 223 | clk_register_clkdev(clk[per3_gate], "per", "imx-fb.0"); |
| 224 | clk_register_clkdev(clk[lcdc_ipg_gate], "ipg", "imx-fb.0"); | 224 | clk_register_clkdev(clk[lcdc_ipg_gate], "ipg", "imx-fb.0"); |
| 225 | clk_register_clkdev(clk[lcdc_ahb_gate], "ahb", "imx-fb.0"); | 225 | clk_register_clkdev(clk[lcdc_ahb_gate], "ahb", "imx-fb.0"); |
| 226 | clk_register_clkdev(clk[csi_ahb_gate], NULL, "mx2-camera.0"); | 226 | clk_register_clkdev(clk[csi_ahb_gate], "ahb", "mx2-camera.0"); |
| 227 | clk_register_clkdev(clk[usb_div], "per", "fsl-usb2-udc"); | 227 | clk_register_clkdev(clk[usb_div], "per", "fsl-usb2-udc"); |
| 228 | clk_register_clkdev(clk[usb_ipg_gate], "ipg", "fsl-usb2-udc"); | 228 | clk_register_clkdev(clk[usb_ipg_gate], "ipg", "fsl-usb2-udc"); |
| 229 | clk_register_clkdev(clk[usb_ahb_gate], "ahb", "fsl-usb2-udc"); | 229 | clk_register_clkdev(clk[usb_ahb_gate], "ahb", "fsl-usb2-udc"); |
| @@ -250,8 +250,10 @@ int __init mx27_clocks_init(unsigned long fref) | |||
| 250 | clk_register_clkdev(clk[i2c2_ipg_gate], NULL, "imx-i2c.1"); | 250 | clk_register_clkdev(clk[i2c2_ipg_gate], NULL, "imx-i2c.1"); |
| 251 | clk_register_clkdev(clk[owire_ipg_gate], NULL, "mxc_w1.0"); | 251 | clk_register_clkdev(clk[owire_ipg_gate], NULL, "mxc_w1.0"); |
| 252 | clk_register_clkdev(clk[kpp_ipg_gate], NULL, "imx-keypad"); | 252 | clk_register_clkdev(clk[kpp_ipg_gate], NULL, "imx-keypad"); |
| 253 | clk_register_clkdev(clk[emma_ahb_gate], "ahb", "imx-emma"); | 253 | clk_register_clkdev(clk[emma_ahb_gate], "emma-ahb", "mx2-camera.0"); |
| 254 | clk_register_clkdev(clk[emma_ipg_gate], "ipg", "imx-emma"); | 254 | clk_register_clkdev(clk[emma_ipg_gate], "emma-ipg", "mx2-camera.0"); |
| 255 | clk_register_clkdev(clk[emma_ahb_gate], "ahb", "m2m-emmaprp.0"); | ||
| 256 | clk_register_clkdev(clk[emma_ipg_gate], "ipg", "m2m-emmaprp.0"); | ||
| 255 | clk_register_clkdev(clk[iim_ipg_gate], "iim", NULL); | 257 | clk_register_clkdev(clk[iim_ipg_gate], "iim", NULL); |
| 256 | clk_register_clkdev(clk[gpio_ipg_gate], "gpio", NULL); | 258 | clk_register_clkdev(clk[gpio_ipg_gate], "gpio", NULL); |
| 257 | clk_register_clkdev(clk[brom_ahb_gate], "brom", NULL); | 259 | clk_register_clkdev(clk[brom_ahb_gate], "brom", NULL); |
diff --git a/arch/arm/mach-imx/clk-imx31.c b/arch/arm/mach-imx/clk-imx31.c index 8e19e70f90f9..1253af2d9971 100644 --- a/arch/arm/mach-imx/clk-imx31.c +++ b/arch/arm/mach-imx/clk-imx31.c | |||
| @@ -130,7 +130,7 @@ int __init mx31_clocks_init(unsigned long fref) | |||
| 130 | clk_register_clkdev(clk[nfc], NULL, "mxc_nand.0"); | 130 | clk_register_clkdev(clk[nfc], NULL, "mxc_nand.0"); |
| 131 | clk_register_clkdev(clk[ipu_gate], NULL, "ipu-core"); | 131 | clk_register_clkdev(clk[ipu_gate], NULL, "ipu-core"); |
| 132 | clk_register_clkdev(clk[ipu_gate], NULL, "mx3_sdc_fb"); | 132 | clk_register_clkdev(clk[ipu_gate], NULL, "mx3_sdc_fb"); |
| 133 | clk_register_clkdev(clk[kpp_gate], "kpp", NULL); | 133 | clk_register_clkdev(clk[kpp_gate], NULL, "imx-keypad"); |
| 134 | clk_register_clkdev(clk[usb_div_post], "per", "mxc-ehci.0"); | 134 | clk_register_clkdev(clk[usb_div_post], "per", "mxc-ehci.0"); |
| 135 | clk_register_clkdev(clk[usb_gate], "ahb", "mxc-ehci.0"); | 135 | clk_register_clkdev(clk[usb_gate], "ahb", "mxc-ehci.0"); |
| 136 | clk_register_clkdev(clk[ipg], "ipg", "mxc-ehci.0"); | 136 | clk_register_clkdev(clk[ipg], "ipg", "mxc-ehci.0"); |
diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c index f6086693ebd2..4bdcaa97bd98 100644 --- a/arch/arm/mach-imx/clk-imx51-imx53.c +++ b/arch/arm/mach-imx/clk-imx51-imx53.c | |||
| @@ -303,6 +303,7 @@ static void __init mx5_clocks_common_init(unsigned long rate_ckil, | |||
| 303 | clk_prepare_enable(clk[aips_tz2]); /* fec */ | 303 | clk_prepare_enable(clk[aips_tz2]); /* fec */ |
| 304 | clk_prepare_enable(clk[spba]); | 304 | clk_prepare_enable(clk[spba]); |
| 305 | clk_prepare_enable(clk[emi_fast_gate]); /* fec */ | 305 | clk_prepare_enable(clk[emi_fast_gate]); /* fec */ |
| 306 | clk_prepare_enable(clk[emi_slow_gate]); /* eim */ | ||
| 306 | clk_prepare_enable(clk[tmax1]); | 307 | clk_prepare_enable(clk[tmax1]); |
| 307 | clk_prepare_enable(clk[tmax2]); /* esdhc2, fec */ | 308 | clk_prepare_enable(clk[tmax2]); /* esdhc2, fec */ |
| 308 | clk_prepare_enable(clk[tmax3]); /* esdhc1, esdhc4 */ | 309 | clk_prepare_enable(clk[tmax3]); /* esdhc1, esdhc4 */ |
diff --git a/arch/arm/mach-integrator/core.c b/arch/arm/mach-integrator/core.c index ebf680bebdf2..3fa6c51390da 100644 --- a/arch/arm/mach-integrator/core.c +++ b/arch/arm/mach-integrator/core.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
| 13 | #include <linux/device.h> | 13 | #include <linux/device.h> |
| 14 | #include <linux/export.h> | ||
| 14 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
| 15 | #include <linux/interrupt.h> | 16 | #include <linux/interrupt.h> |
| 16 | #include <linux/irq.h> | 17 | #include <linux/irq.h> |
diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index 7b1055c8e0b9..3b2267529f5e 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c | |||
| @@ -456,7 +456,7 @@ static void __init ap_init_timer(void) | |||
| 456 | 456 | ||
| 457 | clk = clk_get_sys("ap_timer", NULL); | 457 | clk = clk_get_sys("ap_timer", NULL); |
| 458 | BUG_ON(IS_ERR(clk)); | 458 | BUG_ON(IS_ERR(clk)); |
| 459 | clk_enable(clk); | 459 | clk_prepare_enable(clk); |
| 460 | rate = clk_get_rate(clk); | 460 | rate = clk_get_rate(clk); |
| 461 | 461 | ||
| 462 | writel(0, TIMER0_VA_BASE + TIMER_CTRL); | 462 | writel(0, TIMER0_VA_BASE + TIMER_CTRL); |
diff --git a/arch/arm/mach-kirkwood/Makefile.boot b/arch/arm/mach-kirkwood/Makefile.boot index 2a576abf409b..a5717558ee89 100644 --- a/arch/arm/mach-kirkwood/Makefile.boot +++ b/arch/arm/mach-kirkwood/Makefile.boot | |||
| @@ -9,5 +9,5 @@ dtb-$(CONFIG_MACH_ICONNECT_DT) += kirkwood-iconnect.dtb | |||
| 9 | dtb-$(CONFIG_MACH_IB62X0_DT) += kirkwood-ib62x0.dtb | 9 | dtb-$(CONFIG_MACH_IB62X0_DT) += kirkwood-ib62x0.dtb |
| 10 | dtb-$(CONFIG_MACH_TS219_DT) += kirkwood-qnap-ts219.dtb | 10 | dtb-$(CONFIG_MACH_TS219_DT) += kirkwood-qnap-ts219.dtb |
| 11 | dtb-$(CONFIG_MACH_GOFLEXNET_DT) += kirkwood-goflexnet.dtb | 11 | dtb-$(CONFIG_MACH_GOFLEXNET_DT) += kirkwood-goflexnet.dtb |
| 12 | dbt-$(CONFIG_MACH_LSXL_DT) += kirkwood-lschlv2.dtb | 12 | dtb-$(CONFIG_MACH_LSXL_DT) += kirkwood-lschlv2.dtb |
| 13 | dbt-$(CONFIG_MACH_LSXL_DT) += kirkwood-lsxhl.dtb | 13 | dtb-$(CONFIG_MACH_LSXL_DT) += kirkwood-lsxhl.dtb |
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig index ccdf83b17cf1..9a8bbda195b2 100644 --- a/arch/arm/mach-mxs/Kconfig +++ b/arch/arm/mach-mxs/Kconfig | |||
| @@ -2,9 +2,6 @@ if ARCH_MXS | |||
| 2 | 2 | ||
| 3 | source "arch/arm/mach-mxs/devices/Kconfig" | 3 | source "arch/arm/mach-mxs/devices/Kconfig" |
| 4 | 4 | ||
| 5 | config MXS_OCOTP | ||
| 6 | bool | ||
| 7 | |||
| 8 | config SOC_IMX23 | 5 | config SOC_IMX23 |
| 9 | bool | 6 | bool |
| 10 | select ARM_AMBA | 7 | select ARM_AMBA |
| @@ -66,7 +63,6 @@ config MACH_MX28EVK | |||
| 66 | select MXS_HAVE_PLATFORM_MXS_SAIF | 63 | select MXS_HAVE_PLATFORM_MXS_SAIF |
| 67 | select MXS_HAVE_PLATFORM_MXS_I2C | 64 | select MXS_HAVE_PLATFORM_MXS_I2C |
| 68 | select MXS_HAVE_PLATFORM_RTC_STMP3XXX | 65 | select MXS_HAVE_PLATFORM_RTC_STMP3XXX |
| 69 | select MXS_OCOTP | ||
| 70 | help | 66 | help |
| 71 | Include support for MX28EVK platform. This includes specific | 67 | Include support for MX28EVK platform. This includes specific |
| 72 | configurations for the board and its peripherals. | 68 | configurations for the board and its peripherals. |
| @@ -94,7 +90,6 @@ config MODULE_M28 | |||
| 94 | select MXS_HAVE_PLATFORM_MXS_I2C | 90 | select MXS_HAVE_PLATFORM_MXS_I2C |
| 95 | select MXS_HAVE_PLATFORM_MXS_MMC | 91 | select MXS_HAVE_PLATFORM_MXS_MMC |
| 96 | select MXS_HAVE_PLATFORM_MXSFB | 92 | select MXS_HAVE_PLATFORM_MXSFB |
| 97 | select MXS_OCOTP | ||
| 98 | 93 | ||
| 99 | config MODULE_APX4 | 94 | config MODULE_APX4 |
| 100 | bool | 95 | bool |
| @@ -106,7 +101,6 @@ config MODULE_APX4 | |||
| 106 | select MXS_HAVE_PLATFORM_MXS_I2C | 101 | select MXS_HAVE_PLATFORM_MXS_I2C |
| 107 | select MXS_HAVE_PLATFORM_MXS_MMC | 102 | select MXS_HAVE_PLATFORM_MXS_MMC |
| 108 | select MXS_HAVE_PLATFORM_MXS_SAIF | 103 | select MXS_HAVE_PLATFORM_MXS_SAIF |
| 109 | select MXS_OCOTP | ||
| 110 | 104 | ||
| 111 | config MACH_TX28 | 105 | config MACH_TX28 |
| 112 | bool "Ka-Ro TX28 module" | 106 | bool "Ka-Ro TX28 module" |
diff --git a/arch/arm/mach-mxs/Makefile b/arch/arm/mach-mxs/Makefile index e41590ccb437..fed3695a1339 100644 --- a/arch/arm/mach-mxs/Makefile +++ b/arch/arm/mach-mxs/Makefile | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # Common support | 1 | # Common support |
| 2 | obj-y := devices.o icoll.o iomux.o system.o timer.o mm.o | 2 | obj-y := devices.o icoll.o iomux.o ocotp.o system.o timer.o mm.o |
| 3 | 3 | ||
| 4 | obj-$(CONFIG_MXS_OCOTP) += ocotp.o | ||
| 5 | obj-$(CONFIG_PM) += pm.o | 4 | obj-$(CONFIG_PM) += pm.o |
| 6 | 5 | ||
| 7 | obj-$(CONFIG_MACH_MXS_DT) += mach-mxs.o | 6 | obj-$(CONFIG_MACH_MXS_DT) += mach-mxs.o |
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c index 5905ed130e94..d89d87ae144c 100644 --- a/arch/arm/mach-pxa/raumfeld.c +++ b/arch/arm/mach-pxa/raumfeld.c | |||
| @@ -953,12 +953,12 @@ static struct i2c_board_info raumfeld_connector_i2c_board_info __initdata = { | |||
| 953 | 953 | ||
| 954 | static struct eeti_ts_platform_data eeti_ts_pdata = { | 954 | static struct eeti_ts_platform_data eeti_ts_pdata = { |
| 955 | .irq_active_high = 1, | 955 | .irq_active_high = 1, |
| 956 | .irq_gpio = GPIO_TOUCH_IRQ, | ||
| 956 | }; | 957 | }; |
| 957 | 958 | ||
| 958 | static struct i2c_board_info raumfeld_controller_i2c_board_info __initdata = { | 959 | static struct i2c_board_info raumfeld_controller_i2c_board_info __initdata = { |
| 959 | .type = "eeti_ts", | 960 | .type = "eeti_ts", |
| 960 | .addr = 0x0a, | 961 | .addr = 0x0a, |
| 961 | .irq = PXA_GPIO_TO_IRQ(GPIO_TOUCH_IRQ), | ||
| 962 | .platform_data = &eeti_ts_pdata, | 962 | .platform_data = &eeti_ts_pdata, |
| 963 | }; | 963 | }; |
| 964 | 964 | ||
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index e24961109b70..d56b0f7f2b20 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
| @@ -483,7 +483,7 @@ config MACH_NEO1973_GTA02 | |||
| 483 | select I2C | 483 | select I2C |
| 484 | select POWER_SUPPLY | 484 | select POWER_SUPPLY |
| 485 | select MACH_NEO1973 | 485 | select MACH_NEO1973 |
| 486 | select S3C2410_PWM | 486 | select S3C24XX_PWM |
| 487 | select S3C_DEV_USB_HOST | 487 | select S3C_DEV_USB_HOST |
| 488 | help | 488 | help |
| 489 | Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone | 489 | Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone |
| @@ -493,7 +493,7 @@ config MACH_RX1950 | |||
| 493 | select S3C24XX_DCLK | 493 | select S3C24XX_DCLK |
| 494 | select PM_H1940 if PM | 494 | select PM_H1940 if PM |
| 495 | select I2C | 495 | select I2C |
| 496 | select S3C2410_PWM | 496 | select S3C24XX_PWM |
| 497 | select S3C_DEV_NAND | 497 | select S3C_DEV_NAND |
| 498 | select S3C2410_IOTIMING if S3C2440_CPUFREQ | 498 | select S3C2410_IOTIMING if S3C2440_CPUFREQ |
| 499 | select S3C2440_XTAL_16934400 | 499 | select S3C2440_XTAL_16934400 |
diff --git a/arch/arm/mach-sa1100/leds-hackkit.c b/arch/arm/mach-sa1100/leds-hackkit.c index 6a2352436e62..f8e47235babe 100644 --- a/arch/arm/mach-sa1100/leds-hackkit.c +++ b/arch/arm/mach-sa1100/leds-hackkit.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | * as cpu led, the green one is used as timer led. | 10 | * as cpu led, the green one is used as timer led. |
| 11 | */ | 11 | */ |
| 12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
| 13 | #include <linux/io.h> | ||
| 13 | 14 | ||
| 14 | #include <mach/hardware.h> | 15 | #include <mach/hardware.h> |
| 15 | #include <asm/leds.h> | 16 | #include <asm/leds.h> |
diff --git a/arch/arm/mach-tegra/board-harmony-power.c b/arch/arm/mach-tegra/board-harmony-power.c index 8fd387bf31f0..b7344beec102 100644 --- a/arch/arm/mach-tegra/board-harmony-power.c +++ b/arch/arm/mach-tegra/board-harmony-power.c | |||
| @@ -51,7 +51,7 @@ static struct regulator_init_data ldo0_data = { | |||
| 51 | .consumer_supplies = tps658621_ldo0_supply, | 51 | .consumer_supplies = tps658621_ldo0_supply, |
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | #define HARMONY_REGULATOR_INIT(_id, _name, _supply, _minmv, _maxmv) \ | 54 | #define HARMONY_REGULATOR_INIT(_id, _name, _supply, _minmv, _maxmv, _on)\ |
| 55 | static struct regulator_init_data _id##_data = { \ | 55 | static struct regulator_init_data _id##_data = { \ |
| 56 | .supply_regulator = _supply, \ | 56 | .supply_regulator = _supply, \ |
| 57 | .constraints = { \ | 57 | .constraints = { \ |
| @@ -63,21 +63,22 @@ static struct regulator_init_data ldo0_data = { | |||
| 63 | .valid_ops_mask = (REGULATOR_CHANGE_MODE | \ | 63 | .valid_ops_mask = (REGULATOR_CHANGE_MODE | \ |
| 64 | REGULATOR_CHANGE_STATUS | \ | 64 | REGULATOR_CHANGE_STATUS | \ |
| 65 | REGULATOR_CHANGE_VOLTAGE), \ | 65 | REGULATOR_CHANGE_VOLTAGE), \ |
| 66 | .always_on = _on, \ | ||
| 66 | }, \ | 67 | }, \ |
| 67 | } | 68 | } |
| 68 | 69 | ||
| 69 | HARMONY_REGULATOR_INIT(sm0, "vdd_sm0", "vdd_sys", 725, 1500); | 70 | HARMONY_REGULATOR_INIT(sm0, "vdd_sm0", "vdd_sys", 725, 1500, 1); |
| 70 | HARMONY_REGULATOR_INIT(sm1, "vdd_sm1", "vdd_sys", 725, 1500); | 71 | HARMONY_REGULATOR_INIT(sm1, "vdd_sm1", "vdd_sys", 725, 1500, 1); |
| 71 | HARMONY_REGULATOR_INIT(sm2, "vdd_sm2", "vdd_sys", 3000, 4550); | 72 | HARMONY_REGULATOR_INIT(sm2, "vdd_sm2", "vdd_sys", 3000, 4550, 1); |
| 72 | HARMONY_REGULATOR_INIT(ldo1, "vdd_ldo1", "vdd_sm2", 725, 1500); | 73 | HARMONY_REGULATOR_INIT(ldo1, "vdd_ldo1", "vdd_sm2", 725, 1500, 1); |
| 73 | HARMONY_REGULATOR_INIT(ldo2, "vdd_ldo2", "vdd_sm2", 725, 1500); | 74 | HARMONY_REGULATOR_INIT(ldo2, "vdd_ldo2", "vdd_sm2", 725, 1500, 0); |
| 74 | HARMONY_REGULATOR_INIT(ldo3, "vdd_ldo3", "vdd_sm2", 1250, 3300); | 75 | HARMONY_REGULATOR_INIT(ldo3, "vdd_ldo3", "vdd_sm2", 1250, 3300, 1); |
| 75 | HARMONY_REGULATOR_INIT(ldo4, "vdd_ldo4", "vdd_sm2", 1700, 2475); | 76 | HARMONY_REGULATOR_INIT(ldo4, "vdd_ldo4", "vdd_sm2", 1700, 2475, 1); |
| 76 | HARMONY_REGULATOR_INIT(ldo5, "vdd_ldo5", NULL, 1250, 3300); | 77 | HARMONY_REGULATOR_INIT(ldo5, "vdd_ldo5", NULL, 1250, 3300, 1); |
| 77 | HARMONY_REGULATOR_INIT(ldo6, "vdd_ldo6", "vdd_sm2", 1250, 3300); | 78 | HARMONY_REGULATOR_INIT(ldo6, "vdd_ldo6", "vdd_sm2", 1250, 3300, 0); |
| 78 | HARMONY_REGULATOR_INIT(ldo7, "vdd_ldo7", "vdd_sm2", 1250, 3300); | 79 | HARMONY_REGULATOR_INIT(ldo7, "vdd_ldo7", "vdd_sm2", 1250, 3300, 0); |
| 79 | HARMONY_REGULATOR_INIT(ldo8, "vdd_ldo8", "vdd_sm2", 1250, 3300); | 80 | HARMONY_REGULATOR_INIT(ldo8, "vdd_ldo8", "vdd_sm2", 1250, 3300, 0); |
| 80 | HARMONY_REGULATOR_INIT(ldo9, "vdd_ldo9", "vdd_sm2", 1250, 3300); | 81 | HARMONY_REGULATOR_INIT(ldo9, "vdd_ldo9", "vdd_sm2", 1250, 3300, 1); |
| 81 | 82 | ||
| 82 | #define TPS_REG(_id, _data) \ | 83 | #define TPS_REG(_id, _data) \ |
| 83 | { \ | 84 | { \ |
| @@ -119,9 +120,10 @@ static struct i2c_board_info __initdata harmony_regulators[] = { | |||
| 119 | 120 | ||
| 120 | int __init harmony_regulator_init(void) | 121 | int __init harmony_regulator_init(void) |
| 121 | { | 122 | { |
| 123 | regulator_register_always_on(0, "vdd_sys", | ||
| 124 | NULL, 0, 5000000); | ||
| 125 | |||
| 122 | if (machine_is_harmony()) { | 126 | if (machine_is_harmony()) { |
| 123 | regulator_register_always_on(0, "vdd_sys", | ||
| 124 | NULL, 0, 5000000); | ||
| 125 | i2c_register_board_info(3, harmony_regulators, 1); | 127 | i2c_register_board_info(3, harmony_regulators, 1); |
| 126 | } else { /* Harmony, booted using device tree */ | 128 | } else { /* Harmony, booted using device tree */ |
| 127 | struct device_node *np; | 129 | struct device_node *np; |
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 7aca31c1df1f..9c3b90c3538e 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
| @@ -403,7 +403,8 @@ config S5P_DEV_USB_EHCI | |||
| 403 | 403 | ||
| 404 | config S3C24XX_PWM | 404 | config S3C24XX_PWM |
| 405 | bool "PWM device support" | 405 | bool "PWM device support" |
| 406 | select HAVE_PWM | 406 | select PWM |
| 407 | select PWM_SAMSUNG | ||
| 407 | help | 408 | help |
| 408 | Support for exporting the PWM timer blocks via the pwm device | 409 | Support for exporting the PWM timer blocks via the pwm device |
| 409 | system | 410 | system |
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c index d706bd0e9e80..4fbdceb6f773 100644 --- a/drivers/char/hw_random/omap-rng.c +++ b/drivers/char/hw_random/omap-rng.c | |||
| @@ -160,7 +160,7 @@ static int __exit omap_rng_remove(struct platform_device *pdev) | |||
| 160 | return 0; | 160 | return 0; |
| 161 | } | 161 | } |
| 162 | 162 | ||
| 163 | #ifdef CONFIG_PM | 163 | #ifdef CONFIG_PM_SLEEP |
| 164 | 164 | ||
| 165 | static int omap_rng_suspend(struct device *dev) | 165 | static int omap_rng_suspend(struct device *dev) |
| 166 | { | 166 | { |
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c index 150d9768811d..ae37181798b3 100644 --- a/drivers/gpio/gpio-em.c +++ b/drivers/gpio/gpio-em.c | |||
| @@ -266,7 +266,7 @@ static int __devinit em_gio_irq_domain_init(struct em_gio_priv *p) | |||
| 266 | return 0; | 266 | return 0; |
| 267 | } | 267 | } |
| 268 | 268 | ||
| 269 | static void __devexit em_gio_irq_domain_cleanup(struct em_gio_priv *p) | 269 | static void em_gio_irq_domain_cleanup(struct em_gio_priv *p) |
| 270 | { | 270 | { |
| 271 | struct gpio_em_config *pdata = p->pdev->dev.platform_data; | 271 | struct gpio_em_config *pdata = p->pdev->dev.platform_data; |
| 272 | 272 | ||
diff --git a/drivers/input/touchscreen/eeti_ts.c b/drivers/input/touchscreen/eeti_ts.c index 503c7096ed36..908407efc672 100644 --- a/drivers/input/touchscreen/eeti_ts.c +++ b/drivers/input/touchscreen/eeti_ts.c | |||
| @@ -48,7 +48,7 @@ struct eeti_ts_priv { | |||
| 48 | struct input_dev *input; | 48 | struct input_dev *input; |
| 49 | struct work_struct work; | 49 | struct work_struct work; |
| 50 | struct mutex mutex; | 50 | struct mutex mutex; |
| 51 | int irq, irq_active_high; | 51 | int irq_gpio, irq, irq_active_high; |
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | #define EETI_TS_BITDEPTH (11) | 54 | #define EETI_TS_BITDEPTH (11) |
| @@ -62,7 +62,7 @@ struct eeti_ts_priv { | |||
| 62 | 62 | ||
| 63 | static inline int eeti_ts_irq_active(struct eeti_ts_priv *priv) | 63 | static inline int eeti_ts_irq_active(struct eeti_ts_priv *priv) |
| 64 | { | 64 | { |
| 65 | return gpio_get_value(irq_to_gpio(priv->irq)) == priv->irq_active_high; | 65 | return gpio_get_value(priv->irq_gpio) == priv->irq_active_high; |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | static void eeti_ts_read(struct work_struct *work) | 68 | static void eeti_ts_read(struct work_struct *work) |
| @@ -157,7 +157,7 @@ static void eeti_ts_close(struct input_dev *dev) | |||
| 157 | static int __devinit eeti_ts_probe(struct i2c_client *client, | 157 | static int __devinit eeti_ts_probe(struct i2c_client *client, |
| 158 | const struct i2c_device_id *idp) | 158 | const struct i2c_device_id *idp) |
| 159 | { | 159 | { |
| 160 | struct eeti_ts_platform_data *pdata; | 160 | struct eeti_ts_platform_data *pdata = client->dev.platform_data; |
| 161 | struct eeti_ts_priv *priv; | 161 | struct eeti_ts_priv *priv; |
| 162 | struct input_dev *input; | 162 | struct input_dev *input; |
| 163 | unsigned int irq_flags; | 163 | unsigned int irq_flags; |
| @@ -199,9 +199,12 @@ static int __devinit eeti_ts_probe(struct i2c_client *client, | |||
| 199 | 199 | ||
| 200 | priv->client = client; | 200 | priv->client = client; |
| 201 | priv->input = input; | 201 | priv->input = input; |
| 202 | priv->irq = client->irq; | 202 | priv->irq_gpio = pdata->irq_gpio; |
| 203 | priv->irq = gpio_to_irq(pdata->irq_gpio); | ||
| 203 | 204 | ||
| 204 | pdata = client->dev.platform_data; | 205 | err = gpio_request_one(pdata->irq_gpio, GPIOF_IN, client->name); |
| 206 | if (err < 0) | ||
| 207 | goto err1; | ||
| 205 | 208 | ||
| 206 | if (pdata) | 209 | if (pdata) |
| 207 | priv->irq_active_high = pdata->irq_active_high; | 210 | priv->irq_active_high = pdata->irq_active_high; |
| @@ -215,13 +218,13 @@ static int __devinit eeti_ts_probe(struct i2c_client *client, | |||
| 215 | 218 | ||
| 216 | err = input_register_device(input); | 219 | err = input_register_device(input); |
| 217 | if (err) | 220 | if (err) |
| 218 | goto err1; | 221 | goto err2; |
| 219 | 222 | ||
| 220 | err = request_irq(priv->irq, eeti_ts_isr, irq_flags, | 223 | err = request_irq(priv->irq, eeti_ts_isr, irq_flags, |
| 221 | client->name, priv); | 224 | client->name, priv); |
| 222 | if (err) { | 225 | if (err) { |
| 223 | dev_err(&client->dev, "Unable to request touchscreen IRQ.\n"); | 226 | dev_err(&client->dev, "Unable to request touchscreen IRQ.\n"); |
| 224 | goto err2; | 227 | goto err3; |
| 225 | } | 228 | } |
| 226 | 229 | ||
| 227 | /* | 230 | /* |
| @@ -233,9 +236,11 @@ static int __devinit eeti_ts_probe(struct i2c_client *client, | |||
| 233 | device_init_wakeup(&client->dev, 0); | 236 | device_init_wakeup(&client->dev, 0); |
| 234 | return 0; | 237 | return 0; |
| 235 | 238 | ||
| 236 | err2: | 239 | err3: |
| 237 | input_unregister_device(input); | 240 | input_unregister_device(input); |
| 238 | input = NULL; /* so we dont try to free it below */ | 241 | input = NULL; /* so we dont try to free it below */ |
| 242 | err2: | ||
| 243 | gpio_free(pdata->irq_gpio); | ||
| 239 | err1: | 244 | err1: |
| 240 | input_free_device(input); | 245 | input_free_device(input); |
| 241 | kfree(priv); | 246 | kfree(priv); |
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 383421bf5760..683e18a23329 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c | |||
| @@ -925,6 +925,7 @@ static int __init asic3_mfd_probe(struct platform_device *pdev, | |||
| 925 | goto out; | 925 | goto out; |
| 926 | } | 926 | } |
| 927 | 927 | ||
| 928 | ret = 0; | ||
| 928 | if (pdata->leds) { | 929 | if (pdata->leds) { |
| 929 | int i; | 930 | int i; |
| 930 | 931 | ||
diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c index 43a76c41cfcc..db662e2dcfa5 100644 --- a/drivers/mfd/ezx-pcap.c +++ b/drivers/mfd/ezx-pcap.c | |||
| @@ -202,7 +202,7 @@ static void pcap_isr_work(struct work_struct *work) | |||
| 202 | } | 202 | } |
| 203 | local_irq_enable(); | 203 | local_irq_enable(); |
| 204 | ezx_pcap_write(pcap, PCAP_REG_MSR, pcap->msr); | 204 | ezx_pcap_write(pcap, PCAP_REG_MSR, pcap->msr); |
| 205 | } while (gpio_get_value(irq_to_gpio(pcap->spi->irq))); | 205 | } while (gpio_get_value(pdata->gpio)); |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | static void pcap_irq_handler(unsigned int irq, struct irq_desc *desc) | 208 | static void pcap_irq_handler(unsigned int irq, struct irq_desc *desc) |
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 31bb7e5b504a..8ca417614c57 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
| @@ -480,7 +480,7 @@ config MTD_NAND_NANDSIM | |||
| 480 | 480 | ||
| 481 | config MTD_NAND_GPMI_NAND | 481 | config MTD_NAND_GPMI_NAND |
| 482 | bool "GPMI NAND Flash Controller driver" | 482 | bool "GPMI NAND Flash Controller driver" |
| 483 | depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q) | 483 | depends on MTD_NAND && MXS_DMA |
| 484 | help | 484 | help |
| 485 | Enables NAND Flash support for IMX23 or IMX28. | 485 | Enables NAND Flash support for IMX23 or IMX28. |
| 486 | The GPMI controller is very powerful, with the help of BCH | 486 | The GPMI controller is very powerful, with the help of BCH |
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index e9309b3659e7..ac4fd756eda3 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
| @@ -1245,7 +1245,6 @@ static int __devinit omap_nand_probe(struct platform_device *pdev) | |||
| 1245 | goto out_release_mem_region; | 1245 | goto out_release_mem_region; |
| 1246 | } else { | 1246 | } else { |
| 1247 | struct dma_slave_config cfg; | 1247 | struct dma_slave_config cfg; |
| 1248 | int rc; | ||
| 1249 | 1248 | ||
| 1250 | memset(&cfg, 0, sizeof(cfg)); | 1249 | memset(&cfg, 0, sizeof(cfg)); |
| 1251 | cfg.src_addr = info->phys_base; | 1250 | cfg.src_addr = info->phys_base; |
| @@ -1254,10 +1253,10 @@ static int __devinit omap_nand_probe(struct platform_device *pdev) | |||
| 1254 | cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; | 1253 | cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; |
| 1255 | cfg.src_maxburst = 16; | 1254 | cfg.src_maxburst = 16; |
| 1256 | cfg.dst_maxburst = 16; | 1255 | cfg.dst_maxburst = 16; |
| 1257 | rc = dmaengine_slave_config(info->dma, &cfg); | 1256 | err = dmaengine_slave_config(info->dma, &cfg); |
| 1258 | if (rc) { | 1257 | if (err) { |
| 1259 | dev_err(&pdev->dev, "DMA engine slave config failed: %d\n", | 1258 | dev_err(&pdev->dev, "DMA engine slave config failed: %d\n", |
| 1260 | rc); | 1259 | err); |
| 1261 | goto out_release_mem_region; | 1260 | goto out_release_mem_region; |
| 1262 | } | 1261 | } |
| 1263 | info->nand.read_buf = omap_read_buf_dma_pref; | 1262 | info->nand.read_buf = omap_read_buf_dma_pref; |
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 646a7657fe62..cfa2c35dfeed 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
| @@ -826,7 +826,7 @@ static struct s3c64xx_spi_csinfo *s3c64xx_get_slave_ctrldata( | |||
| 826 | struct spi_device *spi) | 826 | struct spi_device *spi) |
| 827 | { | 827 | { |
| 828 | struct s3c64xx_spi_csinfo *cs; | 828 | struct s3c64xx_spi_csinfo *cs; |
| 829 | struct device_node *slave_np, *data_np; | 829 | struct device_node *slave_np, *data_np = NULL; |
| 830 | u32 fb_delay = 0; | 830 | u32 fb_delay = 0; |
| 831 | 831 | ||
| 832 | slave_np = spi->dev.of_node; | 832 | slave_np = spi->dev.of_node; |
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index e7d75d295988..f8b2d91851f7 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
| @@ -403,8 +403,6 @@ err0: | |||
| 403 | static inline void | 403 | static inline void |
| 404 | usb_hcd_omap_remove (struct usb_hcd *hcd, struct platform_device *pdev) | 404 | usb_hcd_omap_remove (struct usb_hcd *hcd, struct platform_device *pdev) |
| 405 | { | 405 | { |
| 406 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); | ||
| 407 | |||
| 408 | usb_remove_hcd(hcd); | 406 | usb_remove_hcd(hcd); |
| 409 | if (!IS_ERR_OR_NULL(hcd->phy)) { | 407 | if (!IS_ERR_OR_NULL(hcd->phy)) { |
| 410 | (void) otg_set_host(hcd->phy->otg, 0); | 408 | (void) otg_set_host(hcd->phy->otg, 0); |
diff --git a/include/linux/input/eeti_ts.h b/include/linux/input/eeti_ts.h index f875b316249d..16625d799b6f 100644 --- a/include/linux/input/eeti_ts.h +++ b/include/linux/input/eeti_ts.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define LINUX_INPUT_EETI_TS_H | 2 | #define LINUX_INPUT_EETI_TS_H |
| 3 | 3 | ||
| 4 | struct eeti_ts_platform_data { | 4 | struct eeti_ts_platform_data { |
| 5 | int irq_gpio; | ||
| 5 | unsigned int irq_active_high; | 6 | unsigned int irq_active_high; |
| 6 | }; | 7 | }; |
| 7 | 8 | ||
diff --git a/include/linux/mfd/ezx-pcap.h b/include/linux/mfd/ezx-pcap.h index 40c372165f3e..32a1b5cfeba1 100644 --- a/include/linux/mfd/ezx-pcap.h +++ b/include/linux/mfd/ezx-pcap.h | |||
| @@ -16,6 +16,7 @@ struct pcap_subdev { | |||
| 16 | struct pcap_platform_data { | 16 | struct pcap_platform_data { |
| 17 | unsigned int irq_base; | 17 | unsigned int irq_base; |
| 18 | unsigned int config; | 18 | unsigned int config; |
| 19 | int gpio; | ||
| 19 | void (*init) (void *); /* board specific init */ | 20 | void (*init) (void *); /* board specific init */ |
| 20 | int num_subdevs; | 21 | int num_subdevs; |
| 21 | struct pcap_subdev *subdevs; | 22 | struct pcap_subdev *subdevs; |
