提交 a4b6916c 编写于 作者: T Tomeu Vizoso 提交者: Thierry Reding

ARM: tegra: Correct which USB controller has the UTMI pad registers

It should be the first controller, not the second. The indexes of the
usb resets were also wrong and have been fixed.

The issue was caused by the changes in 308efde2 ("ARM: tegra: Add resets
& has-utmi-pad-registers flag to all USB PHYs") being misapplied by git
due to the patch context being insufficient.

This broke USB after 6261b06d ("regulator: Defer lookup of supply to
regulator_get"), because it changed the order in which the controllers
were probed.

The fix for this issue was suggested by Mikko Perttunen and Tuomas
Tynkkynen.
Signed-off-by: NTomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Cc: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Tested-by: NJon Hunter <jonathanh@nvidia.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 b787f68c
...@@ -826,7 +826,7 @@ ...@@ -826,7 +826,7 @@
<&tegra_car TEGRA124_CLK_PLL_U>, <&tegra_car TEGRA124_CLK_PLL_U>,
<&tegra_car TEGRA124_CLK_USBD>; <&tegra_car TEGRA124_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 59>, <&tegra_car 22>; resets = <&tegra_car 22>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads"; reset-names = "usb", "utmi-pads";
nvidia,hssync-start-delay = <0>; nvidia,hssync-start-delay = <0>;
nvidia,idle-wait-delay = <17>; nvidia,idle-wait-delay = <17>;
...@@ -838,6 +838,7 @@ ...@@ -838,6 +838,7 @@
nvidia,hssquelch-level = <2>; nvidia,hssquelch-level = <2>;
nvidia,hsdiscon-level = <5>; nvidia,hsdiscon-level = <5>;
nvidia,xcvr-hsslew = <12>; nvidia,xcvr-hsslew = <12>;
nvidia,has-utmi-pad-registers;
status = "disabled"; status = "disabled";
}; };
...@@ -862,7 +863,7 @@ ...@@ -862,7 +863,7 @@
<&tegra_car TEGRA124_CLK_PLL_U>, <&tegra_car TEGRA124_CLK_PLL_U>,
<&tegra_car TEGRA124_CLK_USBD>; <&tegra_car TEGRA124_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 22>, <&tegra_car 22>; resets = <&tegra_car 58>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads"; reset-names = "usb", "utmi-pads";
nvidia,hssync-start-delay = <0>; nvidia,hssync-start-delay = <0>;
nvidia,idle-wait-delay = <17>; nvidia,idle-wait-delay = <17>;
...@@ -874,7 +875,6 @@ ...@@ -874,7 +875,6 @@
nvidia,hssquelch-level = <2>; nvidia,hssquelch-level = <2>;
nvidia,hsdiscon-level = <5>; nvidia,hsdiscon-level = <5>;
nvidia,xcvr-hsslew = <12>; nvidia,xcvr-hsslew = <12>;
nvidia,has-utmi-pad-registers;
status = "disabled"; status = "disabled";
}; };
...@@ -899,7 +899,7 @@ ...@@ -899,7 +899,7 @@
<&tegra_car TEGRA124_CLK_PLL_U>, <&tegra_car TEGRA124_CLK_PLL_U>,
<&tegra_car TEGRA124_CLK_USBD>; <&tegra_car TEGRA124_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 58>, <&tegra_car 22>; resets = <&tegra_car 59>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads"; reset-names = "usb", "utmi-pads";
nvidia,hssync-start-delay = <0>; nvidia,hssync-start-delay = <0>;
nvidia,idle-wait-delay = <17>; nvidia,idle-wait-delay = <17>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册