Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'omap-for-v4.2/fixes-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes

Merge "omap fixes against v4.2-rc1" from Tony Lindgren:

Minor fixes for omaps against v4.2-rc1. Mostly just minor dts changes
except for a GPMC fix to not use names for probing devices. Also a
one liner clean-up to remove unecessary return from a void function.

The summary for the changes being:

- Fix probe for GPMC devices by reoving limitations based on device
name

- Remove unnecessary return from a void function

- Revert beaglebone RTC sleep fix, we now have a better fix merged

- Add am4372 EMIF node to fix a warning

- Add am57xx-beagle-x15 power supply to fix USB2 if USB1 is disabled

- Disable rfbi for am4372 as it does not have a driver

* tag 'omap-for-v4.2/fixes-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: dts: am4372.dtsi: disable rfbi
ARM: dts: am57xx-beagle-x15: Provide supply for usb2_phy2
ARM: dts: am4372: Add emif node
Revert "ARM: dts: am335x-boneblack: disable RTC-only sleep"
ARM: OMAP2+: Remove unnessary return statement from the void function, omap2_show_dma_caps
memory: omap-gpmc: Fix parsing of devices

+17 -8
+1
Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
··· 8 8 Required properties: 9 9 - compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev> 10 10 is the IP revision of the specific EMIF instance. 11 + For am437x should be ti,emif-am4372. 11 12 12 13 - phy-type : <u32> indicating the DDR phy type. Following are the 13 14 allowed values
+4
arch/arm/boot/dts/am335x-boneblack.dts
··· 80 80 status = "okay"; 81 81 }; 82 82 }; 83 + 84 + &rtc { 85 + system-power-controller; 86 + };
+7
arch/arm/boot/dts/am4372.dtsi
··· 132 132 }; 133 133 }; 134 134 135 + emif: emif@4c000000 { 136 + compatible = "ti,emif-am4372"; 137 + reg = <0x4c000000 0x1000000>; 138 + ti,hwmods = "emif"; 139 + }; 140 + 135 141 edma: edma@49000000 { 136 142 compatible = "ti,edma3"; 137 143 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; ··· 947 941 ti,hwmods = "dss_rfbi"; 948 942 clocks = <&disp_clk>; 949 943 clock-names = "fck"; 944 + status = "disabled"; 950 945 }; 951 946 }; 952 947
+4
arch/arm/boot/dts/am57xx-beagle-x15.dts
··· 605 605 phy-supply = <&ldousb_reg>; 606 606 }; 607 607 608 + &usb2_phy2 { 609 + phy-supply = <&ldousb_reg>; 610 + }; 611 + 608 612 &usb1 { 609 613 dr_mode = "host"; 610 614 pinctrl-names = "default";
-1
arch/arm/mach-omap2/dma.c
··· 117 117 u8 revision = dma_read(REVISION, 0) & 0xff; 118 118 printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n", 119 119 revision >> 4, revision & 0xf); 120 - return; 121 120 } 122 121 123 122 static unsigned configure_dma_errata(void)
+1 -7
drivers/memory/omap-gpmc.c
··· 2074 2074 ret = gpmc_probe_nand_child(pdev, child); 2075 2075 else if (of_node_cmp(child->name, "onenand") == 0) 2076 2076 ret = gpmc_probe_onenand_child(pdev, child); 2077 - else if (of_node_cmp(child->name, "ethernet") == 0 || 2078 - of_node_cmp(child->name, "nor") == 0 || 2079 - of_node_cmp(child->name, "uart") == 0) 2077 + else 2080 2078 ret = gpmc_probe_generic_child(pdev, child); 2081 - 2082 - if (WARN(ret < 0, "%s: probing gpmc child %s failed\n", 2083 - __func__, child->full_name)) 2084 - of_node_put(child); 2085 2079 } 2086 2080 2087 2081 return 0;