diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-29 17:48:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-29 17:48:58 -0400 |
commit | 2a6451718627eb60e85691053cb9820ae7ed3913 (patch) | |
tree | fa7d623561434cd556d5693018035c80e1682b30 /arch/arm | |
parent | 0f1e5b5d19f6c06fe2078f946377db9861f3910d (diff) | |
parent | 5530c84f62b49a2e9f8c11a079d00f85ea20bb09 (diff) |
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Arnd Bergmann:
"Two weeks worth of small bug fixes this time, nothing sticking out
this time:
- one defconfig change to adapt to a modified Kconfig symbol
- two fixes for i.MX for backwards compatibility with older DT files
that was accidentally broken
- one regression fix for irq handling on pxa
- three small dt files on omap, and one each for imx and exynos"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: multi_v7_defconfig: Replace CONFIG_USB_ISP1760_HCD by CONFIG_USB_ISP1760
ARM: imx6: gpc: don't register power domain if DT data is missing
ARM: imx6: allow booting with old DT
ARM: dts: set display clock correctly for exynos4412-trats2
ARM: pxa: pxa_cplds: signedness bug in probe
ARM: dts: Fix WLAN interrupt line for AM335x EVM-SK
ARM: dts: omap3-devkit8000: Fix NAND DT node
ARM: dts: am335x-boneblack: disable RTC-only sleep
ARM: dts: fix imx27 dtb build rule
ARM: dts: imx27: only map 4 Kbyte for fec registers
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-boneblack.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx27.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-devkit8000.dts | 2 | ||||
-rw-r--r-- | arch/arm/configs/multi_v7_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/gpc.c | 16 | ||||
-rw-r--r-- | arch/arm/mach-pxa/pxa_cplds_irqs.c | 2 |
9 files changed, 21 insertions, 13 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 86217db2937a..992736b5229b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -223,7 +223,7 @@ dtb-$(CONFIG_SOC_IMX25) += \ | |||
223 | imx25-eukrea-mbimxsd25-baseboard-dvi-vga.dtb \ | 223 | imx25-eukrea-mbimxsd25-baseboard-dvi-vga.dtb \ |
224 | imx25-karo-tx25.dtb \ | 224 | imx25-karo-tx25.dtb \ |
225 | imx25-pdk.dtb | 225 | imx25-pdk.dtb |
226 | dtb-$(CONFIG_SOC_IMX31) += \ | 226 | dtb-$(CONFIG_SOC_IMX27) += \ |
227 | imx27-apf27.dtb \ | 227 | imx27-apf27.dtb \ |
228 | imx27-apf27dev.dtb \ | 228 | imx27-apf27dev.dtb \ |
229 | imx27-eukrea-mbimxsd27-baseboard.dtb \ | 229 | imx27-eukrea-mbimxsd27-baseboard.dtb \ |
diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts index 5c42d259fa68..901739fcb85a 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts | |||
@@ -80,7 +80,3 @@ | |||
80 | status = "okay"; | 80 | status = "okay"; |
81 | }; | 81 | }; |
82 | }; | 82 | }; |
83 | |||
84 | &rtc { | ||
85 | system-power-controller; | ||
86 | }; | ||
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 87fc7a35e802..156d05efcb70 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
@@ -654,7 +654,7 @@ | |||
654 | wlcore: wlcore@2 { | 654 | wlcore: wlcore@2 { |
655 | compatible = "ti,wl1271"; | 655 | compatible = "ti,wl1271"; |
656 | reg = <2>; | 656 | reg = <2>; |
657 | interrupt-parent = <&gpio1>; | 657 | interrupt-parent = <&gpio0>; |
658 | interrupts = <31 IRQ_TYPE_LEVEL_HIGH>; /* gpio 31 */ | 658 | interrupts = <31 IRQ_TYPE_LEVEL_HIGH>; /* gpio 31 */ |
659 | ref-clock-frequency = <38400000>; | 659 | ref-clock-frequency = <38400000>; |
660 | }; | 660 | }; |
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 173ffa479ad3..792394dd0f2a 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts | |||
@@ -736,7 +736,7 @@ | |||
736 | 736 | ||
737 | display-timings { | 737 | display-timings { |
738 | timing-0 { | 738 | timing-0 { |
739 | clock-frequency = <0>; | 739 | clock-frequency = <57153600>; |
740 | hactive = <720>; | 740 | hactive = <720>; |
741 | vactive = <1280>; | 741 | vactive = <1280>; |
742 | hfront-porch = <5>; | 742 | hfront-porch = <5>; |
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index 6951b66d1ab7..bc215e4b75fd 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++ b/arch/arm/boot/dts/imx27.dtsi | |||
@@ -533,7 +533,7 @@ | |||
533 | 533 | ||
534 | fec: ethernet@1002b000 { | 534 | fec: ethernet@1002b000 { |
535 | compatible = "fsl,imx27-fec"; | 535 | compatible = "fsl,imx27-fec"; |
536 | reg = <0x1002b000 0x4000>; | 536 | reg = <0x1002b000 0x1000>; |
537 | interrupts = <50>; | 537 | interrupts = <50>; |
538 | clocks = <&clks IMX27_CLK_FEC_IPG_GATE>, | 538 | clocks = <&clks IMX27_CLK_FEC_IPG_GATE>, |
539 | <&clks IMX27_CLK_FEC_AHB_GATE>; | 539 | <&clks IMX27_CLK_FEC_AHB_GATE>; |
diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index 134d3f27a8ec..921de6605f07 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts | |||
@@ -110,6 +110,8 @@ | |||
110 | nand@0,0 { | 110 | nand@0,0 { |
111 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ | 111 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
112 | nand-bus-width = <16>; | 112 | nand-bus-width = <16>; |
113 | gpmc,device-width = <2>; | ||
114 | ti,nand-ecc-opt = "sw"; | ||
113 | 115 | ||
114 | gpmc,sync-clk-ps = <0>; | 116 | gpmc,sync-clk-ps = <0>; |
115 | gpmc,cs-on-ns = <0>; | 117 | gpmc,cs-on-ns = <0>; |
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 0ca4a3eaf65d..fbbb1915c6a9 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig | |||
@@ -429,7 +429,7 @@ CONFIG_USB_EHCI_EXYNOS=y | |||
429 | CONFIG_USB_EHCI_TEGRA=y | 429 | CONFIG_USB_EHCI_TEGRA=y |
430 | CONFIG_USB_EHCI_HCD_STI=y | 430 | CONFIG_USB_EHCI_HCD_STI=y |
431 | CONFIG_USB_EHCI_HCD_PLATFORM=y | 431 | CONFIG_USB_EHCI_HCD_PLATFORM=y |
432 | CONFIG_USB_ISP1760_HCD=y | 432 | CONFIG_USB_ISP1760=y |
433 | CONFIG_USB_OHCI_HCD=y | 433 | CONFIG_USB_OHCI_HCD=y |
434 | CONFIG_USB_OHCI_HCD_STI=y | 434 | CONFIG_USB_OHCI_HCD_STI=y |
435 | CONFIG_USB_OHCI_HCD_PLATFORM=y | 435 | CONFIG_USB_OHCI_HCD_PLATFORM=y |
diff --git a/arch/arm/mach-imx/gpc.c b/arch/arm/mach-imx/gpc.c index 4d60005e9277..6d0893a3828e 100644 --- a/arch/arm/mach-imx/gpc.c +++ b/arch/arm/mach-imx/gpc.c | |||
@@ -280,9 +280,15 @@ void __init imx_gpc_check_dt(void) | |||
280 | struct device_node *np; | 280 | struct device_node *np; |
281 | 281 | ||
282 | np = of_find_compatible_node(NULL, NULL, "fsl,imx6q-gpc"); | 282 | np = of_find_compatible_node(NULL, NULL, "fsl,imx6q-gpc"); |
283 | if (WARN_ON(!np || | 283 | if (WARN_ON(!np)) |
284 | !of_find_property(np, "interrupt-controller", NULL))) | 284 | return; |
285 | pr_warn("Outdated DT detected, system is about to crash!!!\n"); | 285 | |
286 | if (WARN_ON(!of_find_property(np, "interrupt-controller", NULL))) { | ||
287 | pr_warn("Outdated DT detected, suspend/resume will NOT work\n"); | ||
288 | |||
289 | /* map GPC, so that at least CPUidle and WARs keep working */ | ||
290 | gpc_base = of_iomap(np, 0); | ||
291 | } | ||
286 | } | 292 | } |
287 | 293 | ||
288 | #ifdef CONFIG_PM_GENERIC_DOMAINS | 294 | #ifdef CONFIG_PM_GENERIC_DOMAINS |
@@ -443,6 +449,10 @@ static int imx_gpc_probe(struct platform_device *pdev) | |||
443 | struct regulator *pu_reg; | 449 | struct regulator *pu_reg; |
444 | int ret; | 450 | int ret; |
445 | 451 | ||
452 | /* bail out if DT too old and doesn't provide the necessary info */ | ||
453 | if (!of_property_read_bool(pdev->dev.of_node, "#power-domain-cells")) | ||
454 | return 0; | ||
455 | |||
446 | pu_reg = devm_regulator_get_optional(&pdev->dev, "pu"); | 456 | pu_reg = devm_regulator_get_optional(&pdev->dev, "pu"); |
447 | if (PTR_ERR(pu_reg) == -ENODEV) | 457 | if (PTR_ERR(pu_reg) == -ENODEV) |
448 | pu_reg = NULL; | 458 | pu_reg = NULL; |
diff --git a/arch/arm/mach-pxa/pxa_cplds_irqs.c b/arch/arm/mach-pxa/pxa_cplds_irqs.c index f1aeb54fabe3..2385052b0ce1 100644 --- a/arch/arm/mach-pxa/pxa_cplds_irqs.c +++ b/arch/arm/mach-pxa/pxa_cplds_irqs.c | |||
@@ -107,7 +107,7 @@ static int cplds_probe(struct platform_device *pdev) | |||
107 | struct resource *res; | 107 | struct resource *res; |
108 | struct cplds *fpga; | 108 | struct cplds *fpga; |
109 | int ret; | 109 | int ret; |
110 | unsigned int base_irq = 0; | 110 | int base_irq; |
111 | unsigned long irqflags = 0; | 111 | unsigned long irqflags = 0; |
112 | 112 | ||
113 | fpga = devm_kzalloc(&pdev->dev, sizeof(*fpga), GFP_KERNEL); | 113 | fpga = devm_kzalloc(&pdev->dev, sizeof(*fpga), GFP_KERNEL); |