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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVnjdMAAoJEBvUPslcq6VzDKoP/jgmjk4PwILrpu7P94RFpT2L Jp6mu8zg+LIJ+c/TtsDX/uVxw2VKfiXEjt4onLIPA4PyYJw+oj87dXIKooP8olCH 6qoBqGzs7EtM/u+HAMifgCI0hshRoH4SinPb6Pq96cNSpvBrnckJaV5ZZ/yBgJAG uNUGZZKGs4RkKt6mybIaZgsDlrTMV0pQ+iSIYR9kHumnwq4PUMfFsECDfoI87W6I 2ug962Co4e9+BNGhqpzqq8Xa5SJJrVatMrVKeAC5Eg54F+FihbnjncMBdqW4cZfv FYZDd//hIqDTE9t/2xy70+yHgtW7qgxmUCfNH62rdsMvVWsTzjcpaLw2G/bTALkz n0X3dCSNdMInjaFBxun93C63kNJUBLEWzKZ1TiR9uQEcS2O9wiH2NzZ8dfDEse2L qP+/G95M4mAQeePOZpTCcu3x6v3SA6AIgWepB8bat1kglL7OPaa08nO33RAIWfv+ 1iyZ6XY+N8bNYy7fCt6X4byws8woApKU4Fp28rTDwbm/jRD0GWz/AHSXz1Xoimz1 R47IT3eyMrB4c6yDvIqm0ghKt+QXspblcElCVGuvV0iKfbKUrtwV00z3/dKCxMtc gfJHQOkZobfro4fCpMvg4jeTOpqAX9g9UdqotrsEtV0xZfbwrfbSRpuSVbLHz3Io dNG3MP164dB4SuxUWo7T =uoa8 -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
8dfbc0ab34
|
@ -8,6 +8,7 @@ of the EMIF IP and memory parts attached to it.
|
||||||
Required properties:
|
Required properties:
|
||||||
- compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
|
- compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
|
||||||
is the IP revision of the specific EMIF instance.
|
is the IP revision of the specific EMIF instance.
|
||||||
|
For am437x should be ti,emif-am4372.
|
||||||
|
|
||||||
- phy-type : <u32> indicating the DDR phy type. Following are the
|
- phy-type : <u32> indicating the DDR phy type. Following are the
|
||||||
allowed values
|
allowed values
|
||||||
|
|
|
@ -80,3 +80,7 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&rtc {
|
||||||
|
system-power-controller;
|
||||||
|
};
|
||||||
|
|
|
@ -132,6 +132,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emif: emif@4c000000 {
|
||||||
|
compatible = "ti,emif-am4372";
|
||||||
|
reg = <0x4c000000 0x1000000>;
|
||||||
|
ti,hwmods = "emif";
|
||||||
|
};
|
||||||
|
|
||||||
edma: edma@49000000 {
|
edma: edma@49000000 {
|
||||||
compatible = "ti,edma3";
|
compatible = "ti,edma3";
|
||||||
ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
|
ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
|
||||||
|
@ -941,6 +947,7 @@
|
||||||
ti,hwmods = "dss_rfbi";
|
ti,hwmods = "dss_rfbi";
|
||||||
clocks = <&disp_clk>;
|
clocks = <&disp_clk>;
|
||||||
clock-names = "fck";
|
clock-names = "fck";
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -605,6 +605,10 @@
|
||||||
phy-supply = <&ldousb_reg>;
|
phy-supply = <&ldousb_reg>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usb2_phy2 {
|
||||||
|
phy-supply = <&ldousb_reg>;
|
||||||
|
};
|
||||||
|
|
||||||
&usb1 {
|
&usb1 {
|
||||||
dr_mode = "host";
|
dr_mode = "host";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
|
@ -117,7 +117,6 @@ static void omap2_show_dma_caps(void)
|
||||||
u8 revision = dma_read(REVISION, 0) & 0xff;
|
u8 revision = dma_read(REVISION, 0) & 0xff;
|
||||||
printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n",
|
printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n",
|
||||||
revision >> 4, revision & 0xf);
|
revision >> 4, revision & 0xf);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned configure_dma_errata(void)
|
static unsigned configure_dma_errata(void)
|
||||||
|
|
|
@ -2074,14 +2074,8 @@ static int gpmc_probe_dt(struct platform_device *pdev)
|
||||||
ret = gpmc_probe_nand_child(pdev, child);
|
ret = gpmc_probe_nand_child(pdev, child);
|
||||||
else if (of_node_cmp(child->name, "onenand") == 0)
|
else if (of_node_cmp(child->name, "onenand") == 0)
|
||||||
ret = gpmc_probe_onenand_child(pdev, child);
|
ret = gpmc_probe_onenand_child(pdev, child);
|
||||||
else if (of_node_cmp(child->name, "ethernet") == 0 ||
|
else
|
||||||
of_node_cmp(child->name, "nor") == 0 ||
|
|
||||||
of_node_cmp(child->name, "uart") == 0)
|
|
||||||
ret = gpmc_probe_generic_child(pdev, child);
|
ret = gpmc_probe_generic_child(pdev, child);
|
||||||
|
|
||||||
if (WARN(ret < 0, "%s: probing gpmc child %s failed\n",
|
|
||||||
__func__, child->full_name))
|
|
||||||
of_node_put(child);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue