diff options
author | Olof Johansson <olof@lixom.net> | 2013-05-09 16:12:31 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-05-09 16:13:57 -0400 |
commit | 474dbaa78c9fedbe4fe7e49abb27f0ce766ec9fc (patch) | |
tree | 9259b30a20dbd15b4d09b55ff463f79def6311af | |
parent | 27d4cdca7500ddc42002b96c0ea818e6da61ad91 (diff) | |
parent | b1dd11d60e5357c13d3f3decfb69bd07dde159bd (diff) |
Merge tag 'omap-for-v3.10/fixes-for-merge-window-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
From Tony Lindgren:
Omap fixes for things that were discovered during the merge window:
- Few GPMC fixes and binding doc updates noted after sending
pull requests for the GPMC branch.
- Board fixes for beagle usb host and rx51 spi probe order
- SoC fixes dt earlyprintk, omap1 dma and omap2+ id.c error
handling fixes
Then few minor things that are not strictly fixes but are good
to get out of the way:
- Add missing legacy mux registers for am/dm73x gpio
- Add detection for am33xx pg2.1 silicon
- Enable twl4030 audio modules in defconfig
* tag 'omap-for-v3.10/fixes-for-merge-window-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: Remove bogus IS_ERR_OR_NULL checking from id.c
ARM: OMAP4+: omap2plus_defconfig: Enable audio via TWL6040 as module
ARM: OMAP2: AM33XX: id: Add support for new AM335x PG2.1 Si
omap: mux: add AM/DM37x gpios
ARM: OMAP1: DMA: fix error handling in omap1_system_dma_init()
ARM: OMAP2+: omap_device: use late_initcall_sync
ARM: OMAP: RX-51: change probe order of touchscreen and panel SPI devices
ARM: OMAP3: Beagle: Fix USB Host on beagle xM Ax/Bx
ARM: OMAP2+: only WARN if a GPMC child probe function fail
ARM: OMAP2+: only search for GPMC DT child nodes on probe
Documentation: dt: update properties in TI GPMC NAND example
Documentation: dt: update TI GPMC ethernet binding properties
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | Documentation/devicetree/bindings/mtd/gpmc-nand.txt | 28 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/gpmc-eth.txt | 56 | ||||
-rw-r--r-- | arch/arm/configs/omap2plus_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/dma.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 38 | ||||
-rw-r--r-- | arch/arm/mach-omap2/id.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-omap2/mux34xx.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_device.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/soc.h | 2 |
11 files changed, 81 insertions, 84 deletions
diff --git a/Documentation/devicetree/bindings/mtd/gpmc-nand.txt b/Documentation/devicetree/bindings/mtd/gpmc-nand.txt index e7f8d7ed47eb..6a983c1d87cd 100644 --- a/Documentation/devicetree/bindings/mtd/gpmc-nand.txt +++ b/Documentation/devicetree/bindings/mtd/gpmc-nand.txt | |||
@@ -56,20 +56,20 @@ Example for an AM33xx board: | |||
56 | nand-bus-width = <16>; | 56 | nand-bus-width = <16>; |
57 | ti,nand-ecc-opt = "bch8"; | 57 | ti,nand-ecc-opt = "bch8"; |
58 | 58 | ||
59 | gpmc,sync-clk = <0>; | 59 | gpmc,sync-clk-ps = <0>; |
60 | gpmc,cs-on = <0>; | 60 | gpmc,cs-on-ns = <0>; |
61 | gpmc,cs-rd-off = <44>; | 61 | gpmc,cs-rd-off-ns = <44>; |
62 | gpmc,cs-wr-off = <44>; | 62 | gpmc,cs-wr-off-ns = <44>; |
63 | gpmc,adv-on = <6>; | 63 | gpmc,adv-on-ns = <6>; |
64 | gpmc,adv-rd-off = <34>; | 64 | gpmc,adv-rd-off-ns = <34>; |
65 | gpmc,adv-wr-off = <44>; | 65 | gpmc,adv-wr-off-ns = <44>; |
66 | gpmc,we-off = <40>; | 66 | gpmc,we-off-ns = <40>; |
67 | gpmc,oe-off = <54>; | 67 | gpmc,oe-off-ns = <54>; |
68 | gpmc,access = <64>; | 68 | gpmc,access-ns = <64>; |
69 | gpmc,rd-cycle = <82>; | 69 | gpmc,rd-cycle-ns = <82>; |
70 | gpmc,wr-cycle = <82>; | 70 | gpmc,wr-cycle-ns = <82>; |
71 | gpmc,wr-access = <40>; | 71 | gpmc,wr-access-ns = <40>; |
72 | gpmc,wr-data-mux-bus = <0>; | 72 | gpmc,wr-data-mux-bus-ns = <0>; |
73 | 73 | ||
74 | #address-cells = <1>; | 74 | #address-cells = <1>; |
75 | #size-cells = <1>; | 75 | #size-cells = <1>; |
diff --git a/Documentation/devicetree/bindings/net/gpmc-eth.txt b/Documentation/devicetree/bindings/net/gpmc-eth.txt index 24cb4e46f675..ace4a64b3695 100644 --- a/Documentation/devicetree/bindings/net/gpmc-eth.txt +++ b/Documentation/devicetree/bindings/net/gpmc-eth.txt | |||
@@ -26,16 +26,16 @@ Required properties: | |||
26 | - bank-width: Address width of the device in bytes. GPMC supports 8-bit | 26 | - bank-width: Address width of the device in bytes. GPMC supports 8-bit |
27 | and 16-bit devices and so must be either 1 or 2 bytes. | 27 | and 16-bit devices and so must be either 1 or 2 bytes. |
28 | - compatible: Compatible string property for the ethernet child device. | 28 | - compatible: Compatible string property for the ethernet child device. |
29 | - gpmc,cs-on: Chip-select assertion time | 29 | - gpmc,cs-on-ns: Chip-select assertion time |
30 | - gpmc,cs-rd-off: Chip-select de-assertion time for reads | 30 | - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads |
31 | - gpmc,cs-wr-off: Chip-select de-assertion time for writes | 31 | - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes |
32 | - gpmc,oe-on: Output-enable assertion time | 32 | - gpmc,oe-on-ns: Output-enable assertion time |
33 | - gpmc,oe-off Output-enable de-assertion time | 33 | - gpmc,oe-off-ns: Output-enable de-assertion time |
34 | - gpmc,we-on: Write-enable assertion time | 34 | - gpmc,we-on-ns: Write-enable assertion time |
35 | - gpmc,we-off: Write-enable de-assertion time | 35 | - gpmc,we-off-ns: Write-enable de-assertion time |
36 | - gpmc,access: Start cycle to first data capture (read access) | 36 | - gpmc,access-ns: Start cycle to first data capture (read access) |
37 | - gpmc,rd-cycle: Total read cycle time | 37 | - gpmc,rd-cycle-ns: Total read cycle time |
38 | - gpmc,wr-cycle: Total write cycle time | 38 | - gpmc,wr-cycle-ns: Total write cycle time |
39 | - reg: Chip-select, base address (relative to chip-select) | 39 | - reg: Chip-select, base address (relative to chip-select) |
40 | and size of the memory mapped for the device. | 40 | and size of the memory mapped for the device. |
41 | Note that base address will be typically 0 as this | 41 | Note that base address will be typically 0 as this |
@@ -65,24 +65,24 @@ gpmc: gpmc@6e000000 { | |||
65 | bank-width = <2>; | 65 | bank-width = <2>; |
66 | 66 | ||
67 | gpmc,mux-add-data; | 67 | gpmc,mux-add-data; |
68 | gpmc,cs-on = <0>; | 68 | gpmc,cs-on-ns = <0>; |
69 | gpmc,cs-rd-off = <186>; | 69 | gpmc,cs-rd-off-ns = <186>; |
70 | gpmc,cs-wr-off = <186>; | 70 | gpmc,cs-wr-off-ns = <186>; |
71 | gpmc,adv-on = <12>; | 71 | gpmc,adv-on-ns = <12>; |
72 | gpmc,adv-rd-off = <48>; | 72 | gpmc,adv-rd-off-ns = <48>; |
73 | gpmc,adv-wr-off = <48>; | 73 | gpmc,adv-wr-off-ns = <48>; |
74 | gpmc,oe-on = <54>; | 74 | gpmc,oe-on-ns = <54>; |
75 | gpmc,oe-off = <168>; | 75 | gpmc,oe-off-ns = <168>; |
76 | gpmc,we-on = <54>; | 76 | gpmc,we-on-ns = <54>; |
77 | gpmc,we-off = <168>; | 77 | gpmc,we-off-ns = <168>; |
78 | gpmc,rd-cycle = <186>; | 78 | gpmc,rd-cycle-ns = <186>; |
79 | gpmc,wr-cycle = <186>; | 79 | gpmc,wr-cycle-ns = <186>; |
80 | gpmc,access = <114>; | 80 | gpmc,access-ns = <114>; |
81 | gpmc,page-burst-access = <6>; | 81 | gpmc,page-burst-access-ns = <6>; |
82 | gpmc,bus-turnaround = <12>; | 82 | gpmc,bus-turnaround-ns = <12>; |
83 | gpmc,cycle2cycle-delay = <18>; | 83 | gpmc,cycle2cycle-delay-ns = <18>; |
84 | gpmc,wr-data-mux-bus = <90>; | 84 | gpmc,wr-data-mux-bus-ns = <90>; |
85 | gpmc,wr-access = <186>; | 85 | gpmc,wr-access-ns = <186>; |
86 | gpmc,cycle2cycle-samecsen; | 86 | gpmc,cycle2cycle-samecsen; |
87 | gpmc,cycle2cycle-diffcsen; | 87 | gpmc,cycle2cycle-diffcsen; |
88 | 88 | ||
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 51a20a441773..c1ef64bc5abd 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig | |||
@@ -155,6 +155,7 @@ CONFIG_OMAP_WATCHDOG=y | |||
155 | CONFIG_TWL4030_WATCHDOG=y | 155 | CONFIG_TWL4030_WATCHDOG=y |
156 | CONFIG_MFD_TPS65217=y | 156 | CONFIG_MFD_TPS65217=y |
157 | CONFIG_MFD_TPS65910=y | 157 | CONFIG_MFD_TPS65910=y |
158 | CONFIG_TWL6040_CORE=y | ||
158 | CONFIG_REGULATOR_TWL4030=y | 159 | CONFIG_REGULATOR_TWL4030=y |
159 | CONFIG_REGULATOR_TPS65023=y | 160 | CONFIG_REGULATOR_TPS65023=y |
160 | CONFIG_REGULATOR_TPS6507X=y | 161 | CONFIG_REGULATOR_TPS6507X=y |
@@ -197,6 +198,7 @@ CONFIG_SND_USB_AUDIO=m | |||
197 | CONFIG_SND_SOC=m | 198 | CONFIG_SND_SOC=m |
198 | CONFIG_SND_OMAP_SOC=m | 199 | CONFIG_SND_OMAP_SOC=m |
199 | CONFIG_SND_OMAP_SOC_OMAP_TWL4030=m | 200 | CONFIG_SND_OMAP_SOC_OMAP_TWL4030=m |
201 | CONFIG_SND_OMAP_SOC_OMAP_ABE_TWL6040=m | ||
200 | CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=m | 202 | CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=m |
201 | CONFIG_USB=y | 203 | CONFIG_USB=y |
202 | CONFIG_USB_DEBUG=y | 204 | CONFIG_USB_DEBUG=y |
diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 1a4e887f028d..68ab858e27b7 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c | |||
@@ -301,7 +301,7 @@ static int __init omap1_system_dma_init(void) | |||
301 | if (ret) { | 301 | if (ret) { |
302 | dev_err(&pdev->dev, "%s: Unable to add resources for %s%d\n", | 302 | dev_err(&pdev->dev, "%s: Unable to add resources for %s%d\n", |
303 | __func__, pdev->name, pdev->id); | 303 | __func__, pdev->name, pdev->id); |
304 | goto exit_device_put; | 304 | goto exit_iounmap; |
305 | } | 305 | } |
306 | 306 | ||
307 | p = kzalloc(sizeof(struct omap_system_dma_plat_info), GFP_KERNEL); | 307 | p = kzalloc(sizeof(struct omap_system_dma_plat_info), GFP_KERNEL); |
@@ -309,7 +309,7 @@ static int __init omap1_system_dma_init(void) | |||
309 | dev_err(&pdev->dev, "%s: Unable to allocate 'p' for %s\n", | 309 | dev_err(&pdev->dev, "%s: Unable to allocate 'p' for %s\n", |
310 | __func__, pdev->name); | 310 | __func__, pdev->name); |
311 | ret = -ENOMEM; | 311 | ret = -ENOMEM; |
312 | goto exit_device_del; | 312 | goto exit_iounmap; |
313 | } | 313 | } |
314 | 314 | ||
315 | d = kzalloc(sizeof(struct omap_dma_dev_attr), GFP_KERNEL); | 315 | d = kzalloc(sizeof(struct omap_dma_dev_attr), GFP_KERNEL); |
@@ -402,8 +402,8 @@ exit_release_d: | |||
402 | kfree(d); | 402 | kfree(d); |
403 | exit_release_p: | 403 | exit_release_p: |
404 | kfree(p); | 404 | kfree(p); |
405 | exit_device_del: | 405 | exit_iounmap: |
406 | platform_device_del(pdev); | 406 | iounmap(dma_base); |
407 | exit_device_put: | 407 | exit_device_put: |
408 | platform_device_put(pdev); | 408 | platform_device_put(pdev); |
409 | 409 | ||
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 6de78605c0af..04c116555412 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -112,13 +112,13 @@ static u8 omap3_beagle_version; | |||
112 | */ | 112 | */ |
113 | static struct { | 113 | static struct { |
114 | int mmc1_gpio_wp; | 114 | int mmc1_gpio_wp; |
115 | int usb_pwr_level; | 115 | bool usb_pwr_level; /* 0 - Active Low, 1 - Active High */ |
116 | int dvi_pd_gpio; | 116 | int dvi_pd_gpio; |
117 | int usr_button_gpio; | 117 | int usr_button_gpio; |
118 | int mmc_caps; | 118 | int mmc_caps; |
119 | } beagle_config = { | 119 | } beagle_config = { |
120 | .mmc1_gpio_wp = -EINVAL, | 120 | .mmc1_gpio_wp = -EINVAL, |
121 | .usb_pwr_level = GPIOF_OUT_INIT_LOW, | 121 | .usb_pwr_level = 0, |
122 | .dvi_pd_gpio = -EINVAL, | 122 | .dvi_pd_gpio = -EINVAL, |
123 | .usr_button_gpio = 4, | 123 | .usr_button_gpio = 4, |
124 | .mmc_caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, | 124 | .mmc_caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, |
@@ -178,7 +178,7 @@ static void __init omap3_beagle_init_rev(void) | |||
178 | case 0: | 178 | case 0: |
179 | printk(KERN_INFO "OMAP3 Beagle Rev: xM Ax/Bx\n"); | 179 | printk(KERN_INFO "OMAP3 Beagle Rev: xM Ax/Bx\n"); |
180 | omap3_beagle_version = OMAP3BEAGLE_BOARD_XM; | 180 | omap3_beagle_version = OMAP3BEAGLE_BOARD_XM; |
181 | beagle_config.usb_pwr_level = GPIOF_OUT_INIT_HIGH; | 181 | beagle_config.usb_pwr_level = 1; |
182 | beagle_config.mmc_caps &= ~MMC_CAP_8_BIT_DATA; | 182 | beagle_config.mmc_caps &= ~MMC_CAP_8_BIT_DATA; |
183 | break; | 183 | break; |
184 | case 2: | 184 | case 2: |
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 1a884670a6c4..18ca61e300b3 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -73,11 +73,11 @@ | |||
73 | #define LIS302_IRQ1_GPIO 181 | 73 | #define LIS302_IRQ1_GPIO 181 |
74 | #define LIS302_IRQ2_GPIO 180 /* Not yet in use */ | 74 | #define LIS302_IRQ2_GPIO 180 /* Not yet in use */ |
75 | 75 | ||
76 | /* list all spi devices here */ | 76 | /* List all SPI devices here. Note that the list/probe order seems to matter! */ |
77 | enum { | 77 | enum { |
78 | RX51_SPI_WL1251, | 78 | RX51_SPI_WL1251, |
79 | RX51_SPI_MIPID, /* LCD panel */ | ||
80 | RX51_SPI_TSC2005, /* Touch Controller */ | 79 | RX51_SPI_TSC2005, /* Touch Controller */ |
80 | RX51_SPI_MIPID, /* LCD panel */ | ||
81 | }; | 81 | }; |
82 | 82 | ||
83 | static struct wl12xx_platform_data wl1251_pdata; | 83 | static struct wl12xx_platform_data wl1251_pdata; |
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index ed946df5ad8a..6c4da1254f53 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -1520,36 +1520,22 @@ static int gpmc_probe_dt(struct platform_device *pdev) | |||
1520 | return ret; | 1520 | return ret; |
1521 | } | 1521 | } |
1522 | 1522 | ||
1523 | for_each_node_by_name(child, "nand") { | 1523 | for_each_child_of_node(pdev->dev.of_node, child) { |
1524 | ret = gpmc_probe_nand_child(pdev, child); | ||
1525 | if (ret < 0) { | ||
1526 | of_node_put(child); | ||
1527 | return ret; | ||
1528 | } | ||
1529 | } | ||
1530 | 1524 | ||
1531 | for_each_node_by_name(child, "onenand") { | 1525 | if (!child->name) |
1532 | ret = gpmc_probe_onenand_child(pdev, child); | 1526 | continue; |
1533 | if (ret < 0) { | ||
1534 | of_node_put(child); | ||
1535 | return ret; | ||
1536 | } | ||
1537 | } | ||
1538 | 1527 | ||
1539 | for_each_node_by_name(child, "nor") { | 1528 | if (of_node_cmp(child->name, "nand") == 0) |
1540 | ret = gpmc_probe_generic_child(pdev, child); | 1529 | ret = gpmc_probe_nand_child(pdev, child); |
1541 | if (ret < 0) { | 1530 | else if (of_node_cmp(child->name, "onenand") == 0) |
1542 | of_node_put(child); | 1531 | ret = gpmc_probe_onenand_child(pdev, child); |
1543 | return ret; | 1532 | else if (of_node_cmp(child->name, "ethernet") == 0 || |
1544 | } | 1533 | of_node_cmp(child->name, "nor") == 0) |
1545 | } | 1534 | ret = gpmc_probe_generic_child(pdev, child); |
1546 | 1535 | ||
1547 | for_each_node_by_name(child, "ethernet") { | 1536 | if (WARN(ret < 0, "%s: probing gpmc child %s failed\n", |
1548 | ret = gpmc_probe_generic_child(pdev, child); | 1537 | __func__, child->full_name)) |
1549 | if (ret < 0) { | ||
1550 | of_node_put(child); | 1538 | of_node_put(child); |
1551 | return ret; | ||
1552 | } | ||
1553 | } | 1539 | } |
1554 | 1540 | ||
1555 | return 0; | 1541 | return 0; |
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 0f4c18e6e60c..1272c41d4749 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -419,11 +419,15 @@ void __init omap3xxx_check_revision(void) | |||
419 | cpu_rev = "1.0"; | 419 | cpu_rev = "1.0"; |
420 | break; | 420 | break; |
421 | case 1: | 421 | case 1: |
422 | /* FALLTHROUGH */ | ||
423 | default: | ||
424 | omap_revision = AM335X_REV_ES2_0; | 422 | omap_revision = AM335X_REV_ES2_0; |
425 | cpu_rev = "2.0"; | 423 | cpu_rev = "2.0"; |
426 | break; | 424 | break; |
425 | case 2: | ||
426 | /* FALLTHROUGH */ | ||
427 | default: | ||
428 | omap_revision = AM335X_REV_ES2_1; | ||
429 | cpu_rev = "2.1"; | ||
430 | break; | ||
427 | } | 431 | } |
428 | break; | 432 | break; |
429 | case 0xb8f2: | 433 | case 0xb8f2: |
@@ -644,13 +648,12 @@ void __init omap_soc_device_init(void) | |||
644 | soc_dev_attr->revision = soc_rev; | 648 | soc_dev_attr->revision = soc_rev; |
645 | 649 | ||
646 | soc_dev = soc_device_register(soc_dev_attr); | 650 | soc_dev = soc_device_register(soc_dev_attr); |
647 | if (IS_ERR_OR_NULL(soc_dev)) { | 651 | if (IS_ERR(soc_dev)) { |
648 | kfree(soc_dev_attr); | 652 | kfree(soc_dev_attr); |
649 | return; | 653 | return; |
650 | } | 654 | } |
651 | 655 | ||
652 | parent = soc_device_to_device(soc_dev); | 656 | parent = soc_device_to_device(soc_dev); |
653 | if (!IS_ERR_OR_NULL(parent)) | 657 | device_create_file(parent, &omap_soc_attr); |
654 | device_create_file(parent, &omap_soc_attr); | ||
655 | } | 658 | } |
656 | #endif /* CONFIG_SOC_BUS */ | 659 | #endif /* CONFIG_SOC_BUS */ |
diff --git a/arch/arm/mach-omap2/mux34xx.h b/arch/arm/mach-omap2/mux34xx.h index 6543ebf8ecfc..3f26d297c082 100644 --- a/arch/arm/mach-omap2/mux34xx.h +++ b/arch/arm/mach-omap2/mux34xx.h | |||
@@ -393,6 +393,10 @@ | |||
393 | #define OMAP3_CONTROL_PADCONF_SAD2D_SWAKEUP_OFFSET 0xa1c | 393 | #define OMAP3_CONTROL_PADCONF_SAD2D_SWAKEUP_OFFSET 0xa1c |
394 | #define OMAP3_CONTROL_PADCONF_JTAG_RTCK_OFFSET 0xa1e | 394 | #define OMAP3_CONTROL_PADCONF_JTAG_RTCK_OFFSET 0xa1e |
395 | #define OMAP3_CONTROL_PADCONF_JTAG_TDO_OFFSET 0xa20 | 395 | #define OMAP3_CONTROL_PADCONF_JTAG_TDO_OFFSET 0xa20 |
396 | #define OMAP3_CONTROL_PADCONF_GPIO_127 0xa24 | ||
397 | #define OMAP3_CONTROL_PADCONF_GPIO_126 0xa26 | ||
398 | #define OMAP3_CONTROL_PADCONF_GPIO_128 0xa28 | ||
399 | #define OMAP3_CONTROL_PADCONF_GPIO_129 0xa2a | ||
396 | 400 | ||
397 | #define OMAP3_CONTROL_PADCONF_MUX_SIZE \ | 401 | #define OMAP3_CONTROL_PADCONF_MUX_SIZE \ |
398 | (OMAP3_CONTROL_PADCONF_JTAG_TDO_OFFSET + 0x2) | 402 | (OMAP3_CONTROL_PADCONF_GPIO_129 + 0x2) |
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c index eeea4fa28fbc..e6d230700b2b 100644 --- a/arch/arm/mach-omap2/omap_device.c +++ b/arch/arm/mach-omap2/omap_device.c | |||
@@ -876,4 +876,4 @@ static int __init omap_device_late_init(void) | |||
876 | bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle); | 876 | bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle); |
877 | return 0; | 877 | return 0; |
878 | } | 878 | } |
879 | omap_late_initcall(omap_device_late_init); | 879 | omap_late_initcall_sync(omap_device_late_init); |
diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h index 18fdeeb3a44a..197cc16870d9 100644 --- a/arch/arm/mach-omap2/soc.h +++ b/arch/arm/mach-omap2/soc.h | |||
@@ -396,6 +396,7 @@ IS_OMAP_TYPE(3430, 0x3430) | |||
396 | #define AM335X_CLASS 0x33500033 | 396 | #define AM335X_CLASS 0x33500033 |
397 | #define AM335X_REV_ES1_0 AM335X_CLASS | 397 | #define AM335X_REV_ES1_0 AM335X_CLASS |
398 | #define AM335X_REV_ES2_0 (AM335X_CLASS | (0x1 << 8)) | 398 | #define AM335X_REV_ES2_0 (AM335X_CLASS | (0x1 << 8)) |
399 | #define AM335X_REV_ES2_1 (AM335X_CLASS | (0x2 << 8)) | ||
399 | 400 | ||
400 | #define OMAP443X_CLASS 0x44300044 | 401 | #define OMAP443X_CLASS 0x44300044 |
401 | #define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8)) | 402 | #define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8)) |
@@ -496,6 +497,7 @@ level(__##fn); | |||
496 | #define omap_subsys_initcall(fn) omap_initcall(subsys_initcall, fn) | 497 | #define omap_subsys_initcall(fn) omap_initcall(subsys_initcall, fn) |
497 | #define omap_device_initcall(fn) omap_initcall(device_initcall, fn) | 498 | #define omap_device_initcall(fn) omap_initcall(device_initcall, fn) |
498 | #define omap_late_initcall(fn) omap_initcall(late_initcall, fn) | 499 | #define omap_late_initcall(fn) omap_initcall(late_initcall, fn) |
500 | #define omap_late_initcall_sync(fn) omap_initcall(late_initcall_sync, fn) | ||
499 | 501 | ||
500 | #endif /* __ASSEMBLY__ */ | 502 | #endif /* __ASSEMBLY__ */ |
501 | 503 | ||