ARM: tegra: Add resets & has-utmi-pad-registers flag to all USB PHYs

Add new properties to all of the Tegra PHYs that are now required
according to the binding.

In order to stay compatible with old device trees, the USB drivers
will still function without these reset properties but with the old,
potentially buggy behaviour.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tuomas Tynkkynen 2014-07-04 04:09:37 +03:00 committed by Greg Kroah-Hartman
parent 883df42abf
commit 308efde202
4 changed files with 26 additions and 0 deletions

View File

@ -657,6 +657,8 @@
<&tegra_car TEGRA114_CLK_PLL_U>, <&tegra_car TEGRA114_CLK_PLL_U>,
<&tegra_car TEGRA114_CLK_USBD>; <&tegra_car TEGRA114_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 22>, <&tegra_car 22>;
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>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;
@ -667,6 +669,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";
}; };
@ -690,6 +693,8 @@
<&tegra_car TEGRA114_CLK_PLL_U>, <&tegra_car TEGRA114_CLK_PLL_U>,
<&tegra_car TEGRA114_CLK_USBD>; <&tegra_car TEGRA114_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 59>, <&tegra_car 22>;
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>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;

View File

@ -613,6 +613,8 @@
<&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>;
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>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;
@ -647,6 +649,8 @@
<&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>;
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>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;
@ -657,6 +661,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";
}; };
@ -681,6 +686,8 @@
<&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>;
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>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;

View File

@ -630,6 +630,8 @@
<&tegra_car TEGRA20_CLK_CLK_M>, <&tegra_car TEGRA20_CLK_CLK_M>,
<&tegra_car TEGRA20_CLK_USBD>; <&tegra_car TEGRA20_CLK_USBD>;
clock-names = "reg", "pll_u", "timer", "utmi-pads"; clock-names = "reg", "pll_u", "timer", "utmi-pads";
resets = <&tegra_car 22>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads";
nvidia,has-legacy-mode; nvidia,has-legacy-mode;
nvidia,hssync-start-delay = <9>; nvidia,hssync-start-delay = <9>;
nvidia,idle-wait-delay = <17>; nvidia,idle-wait-delay = <17>;
@ -638,6 +640,7 @@
nvidia,xcvr-setup = <9>; nvidia,xcvr-setup = <9>;
nvidia,xcvr-lsfslew = <1>; nvidia,xcvr-lsfslew = <1>;
nvidia,xcvr-lsrslew = <1>; nvidia,xcvr-lsrslew = <1>;
nvidia,has-utmi-pad-registers;
status = "disabled"; status = "disabled";
}; };
@ -661,6 +664,8 @@
<&tegra_car TEGRA20_CLK_PLL_U>, <&tegra_car TEGRA20_CLK_PLL_U>,
<&tegra_car TEGRA20_CLK_CDEV2>; <&tegra_car TEGRA20_CLK_CDEV2>;
clock-names = "reg", "pll_u", "ulpi-link"; clock-names = "reg", "pll_u", "ulpi-link";
resets = <&tegra_car 58>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads";
status = "disabled"; status = "disabled";
}; };
@ -685,6 +690,8 @@
<&tegra_car TEGRA20_CLK_CLK_M>, <&tegra_car TEGRA20_CLK_CLK_M>,
<&tegra_car TEGRA20_CLK_USBD>; <&tegra_car TEGRA20_CLK_USBD>;
clock-names = "reg", "pll_u", "timer", "utmi-pads"; clock-names = "reg", "pll_u", "timer", "utmi-pads";
resets = <&tegra_car 59>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads";
nvidia,hssync-start-delay = <9>; nvidia,hssync-start-delay = <9>;
nvidia,idle-wait-delay = <17>; nvidia,idle-wait-delay = <17>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;

View File

@ -775,6 +775,8 @@
<&tegra_car TEGRA30_CLK_PLL_U>, <&tegra_car TEGRA30_CLK_PLL_U>,
<&tegra_car TEGRA30_CLK_USBD>; <&tegra_car TEGRA30_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 22>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads";
nvidia,hssync-start-delay = <9>; nvidia,hssync-start-delay = <9>;
nvidia,idle-wait-delay = <17>; nvidia,idle-wait-delay = <17>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;
@ -786,6 +788,7 @@
nvidia,xcvr-hsslew = <32>; nvidia,xcvr-hsslew = <32>;
nvidia,hssquelch-level = <2>; nvidia,hssquelch-level = <2>;
nvidia,hsdiscon-level = <5>; nvidia,hsdiscon-level = <5>;
nvidia,has-utmi-pad-registers;
status = "disabled"; status = "disabled";
}; };
@ -809,6 +812,8 @@
<&tegra_car TEGRA30_CLK_PLL_U>, <&tegra_car TEGRA30_CLK_PLL_U>,
<&tegra_car TEGRA30_CLK_USBD>; <&tegra_car TEGRA30_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 58>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads";
nvidia,hssync-start-delay = <9>; nvidia,hssync-start-delay = <9>;
nvidia,idle-wait-delay = <17>; nvidia,idle-wait-delay = <17>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;
@ -843,6 +848,8 @@
<&tegra_car TEGRA30_CLK_PLL_U>, <&tegra_car TEGRA30_CLK_PLL_U>,
<&tegra_car TEGRA30_CLK_USBD>; <&tegra_car TEGRA30_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads"; clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 59>, <&tegra_car 22>;
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>;
nvidia,elastic-limit = <16>; nvidia,elastic-limit = <16>;