aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2015-07-09 18:38:16 -0400
committerKevin Hilman <khilman@linaro.org>2015-07-09 18:38:16 -0400
commit8dfbc0ab3481bb50216c1609bfd1adb0547ef83f (patch)
tree0b3648bbefe2ef4be4bc54a6e50196e555c5716d
parentd024bae2c45956bf76f375ee532305dbfb3a6ba4 (diff)
parentae745302c0a3e2b5b768690f631fc14db44467e7 (diff)
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
-rw-r--r--Documentation/devicetree/bindings/memory-controllers/ti/emif.txt1
-rw-r--r--arch/arm/boot/dts/am335x-boneblack.dts4
-rw-r--r--arch/arm/boot/dts/am4372.dtsi7
-rw-r--r--arch/arm/boot/dts/am57xx-beagle-x15.dts4
-rw-r--r--arch/arm/mach-omap2/dma.c1
-rw-r--r--drivers/memory/omap-gpmc.c8
6 files changed, 17 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
index 938f8e1ba205..0db60470ebb6 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
@@ -8,6 +8,7 @@ of the EMIF IP and memory parts attached to it.
8Required properties: 8Required properties:
9- compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev> 9- compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
10 is the IP revision of the specific EMIF instance. 10 is the IP revision of the specific EMIF instance.
11 For am437x should be ti,emif-am4372.
11 12
12- phy-type : <u32> indicating the DDR phy type. Following are the 13- phy-type : <u32> indicating the DDR phy type. Following are the
13 allowed values 14 allowed values
diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
index 901739fcb85a..5c42d259fa68 100644
--- a/arch/arm/boot/dts/am335x-boneblack.dts
+++ b/arch/arm/boot/dts/am335x-boneblack.dts
@@ -80,3 +80,7 @@
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/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index c80a3e233792..ade28c790f4b 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -132,6 +132,12 @@
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 edma: edma@49000000 { 141 edma: edma@49000000 {
136 compatible = "ti,edma3"; 142 compatible = "ti,edma3";
137 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; 143 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
@@ -941,6 +947,7 @@
941 ti,hwmods = "dss_rfbi"; 947 ti,hwmods = "dss_rfbi";
942 clocks = <&disp_clk>; 948 clocks = <&disp_clk>;
943 clock-names = "fck"; 949 clock-names = "fck";
950 status = "disabled";
944 }; 951 };
945 }; 952 };
946 953
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
index a42cc377a862..a63bf78191ea 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
@@ -605,6 +605,10 @@
605 phy-supply = <&ldousb_reg>; 605 phy-supply = <&ldousb_reg>;
606}; 606};
607 607
608&usb2_phy2 {
609 phy-supply = <&ldousb_reg>;
610};
611
608&usb1 { 612&usb1 {
609 dr_mode = "host"; 613 dr_mode = "host";
610 pinctrl-names = "default"; 614 pinctrl-names = "default";
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c
index e1a56d87599e..1ed4be184a29 100644
--- a/arch/arm/mach-omap2/dma.c
+++ b/arch/arm/mach-omap2/dma.c
@@ -117,7 +117,6 @@ static void omap2_show_dma_caps(void)
117 u8 revision = dma_read(REVISION, 0) & 0xff; 117 u8 revision = dma_read(REVISION, 0) & 0xff;
118 printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n", 118 printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n",
119 revision >> 4, revision & 0xf); 119 revision >> 4, revision & 0xf);
120 return;
121} 120}
122 121
123static unsigned configure_dma_errata(void) 122static unsigned configure_dma_errata(void)
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index 8911e51d410a..3a27a84ad3ec 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -2074,14 +2074,8 @@ static int gpmc_probe_dt(struct platform_device *pdev)
2074 ret = gpmc_probe_nand_child(pdev, child); 2074 ret = gpmc_probe_nand_child(pdev, child);
2075 else if (of_node_cmp(child->name, "onenand") == 0) 2075 else if (of_node_cmp(child->name, "onenand") == 0)
2076 ret = gpmc_probe_onenand_child(pdev, child); 2076 ret = gpmc_probe_onenand_child(pdev, child);
2077 else if (of_node_cmp(child->name, "ethernet") == 0 || 2077 else
2078 of_node_cmp(child->name, "nor") == 0 ||
2079 of_node_cmp(child->name, "uart") == 0)
2080 ret = gpmc_probe_generic_child(pdev, child); 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 return 0; 2081 return 0;