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

Merge tag 'imx-dt-3.7-2' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

From Shawn Guo:
This is the second round of imx-dt patches for 3.7. It's based on
and imx-dt-3.7 and imx-clk-dt-lookup which have already been pulled.

* tag 'imx-dt-3.7-2' of git://git.linaro.org/people/shawnguo/linux-2.6:
ARM: imx6q: use pll2_pfd2_396m as the enfc_sel's parent
ARM: dts: imx6q-sabrelite: add usbotg pinctrl support
ARM: dts: imx6q-sabrelite: add usbmisc device

+29
+3
arch/arm/boot/dts/imx6q-sabrelite.dts
··· 68 68 aips-bus@02100000 { /* AIPS2 */ 69 69 usb@02184000 { /* USB OTG */ 70 70 vbus-supply = <&reg_usb_otg_vbus>; 71 + pinctrl-names = "default"; 72 + pinctrl-0 = <&pinctrl_usbotg_1>; 73 + disable-over-current; 71 74 status = "okay"; 72 75 }; 73 76
+19
arch/arm/boot/dts/imx6q.dtsi
··· 661 661 }; 662 662 }; 663 663 664 + usbotg { 665 + pinctrl_usbotg_1: usbotggrp-1 { 666 + fsl,pins = < 667 + 1592 0x17059 /* MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID */ 668 + >; 669 + }; 670 + }; 671 + 664 672 usdhc2 { 665 673 pinctrl_usdhc2_1: usdhc2grp-1 { 666 674 fsl,pins = < ··· 785 777 interrupts = <0 43 0x04>; 786 778 clocks = <&clks 162>; 787 779 fsl,usbphy = <&usbphy1>; 780 + fsl,usbmisc = <&usbmisc 0>; 788 781 status = "disabled"; 789 782 }; 790 783 ··· 795 786 interrupts = <0 40 0x04>; 796 787 clocks = <&clks 162>; 797 788 fsl,usbphy = <&usbphy2>; 789 + fsl,usbmisc = <&usbmisc 1>; 798 790 status = "disabled"; 799 791 }; 800 792 ··· 804 794 reg = <0x02184400 0x200>; 805 795 interrupts = <0 41 0x04>; 806 796 clocks = <&clks 162>; 797 + fsl,usbmisc = <&usbmisc 2>; 807 798 status = "disabled"; 808 799 }; 809 800 ··· 813 802 reg = <0x02184600 0x200>; 814 803 interrupts = <0 42 0x04>; 815 804 clocks = <&clks 162>; 805 + fsl,usbmisc = <&usbmisc 3>; 816 806 status = "disabled"; 807 + }; 808 + 809 + usbmisc: usbmisc@02184800 { 810 + #index-cells = <1>; 811 + compatible = "fsl,imx6q-usbmisc"; 812 + reg = <0x02184800 0x200>; 813 + clocks = <&clks 162>; 817 814 }; 818 815 819 816 ethernet@02188000 {
+7
arch/arm/mach-imx/clk-imx6q.c
··· 406 406 clk_register_clkdev(clk[ahb], "ahb", NULL); 407 407 clk_register_clkdev(clk[cko1], "cko1", NULL); 408 408 409 + /* 410 + * The gpmi needs 100MHz frequency in the EDO/Sync mode, 411 + * We can not get the 100MHz from the pll2_pfd0_352m. 412 + * So choose pll2_pfd2_396m as enfc_sel's parent. 413 + */ 414 + clk_set_parent(clk[enfc_sel], clk[pll2_pfd2_396m]); 415 + 409 416 for (i = 0; i < ARRAY_SIZE(clks_init_on); i++) 410 417 clk_prepare_enable(clk[clks_init_on[i]]); 411 418