aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-01-22 19:12:25 -0500
committerStephen Warren <swarren@nvidia.com>2013-01-28 13:20:05 -0500
commit540fc9d971a6b38339dfcccb5364640b907ae423 (patch)
tree7a04028d56c85e4a359d8445716e9f9c83295727 /arch/arm
parente374b65c9b15c17685925e45a3f8e97c80a75e5e (diff)
ARM: tegra: add clocks properties to USB PHY nodes
The patch to add USB PHY nodes to device tree was written before Tegra supported the clocks property in device tree. Now that it does, add the required clocks properties to these nodes. This will allow all clk_get_sys() calls in tegra_usb_phy.c to be replaced by clk_get(phy->dev, clock_name), as part of converting the PHY driver to a platform driver. Acked-by: Venu Byravarasu <vbyravarasu@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/tegra20.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index 3d7ab220ae49..649391579871 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -405,18 +405,24 @@
405 reg = <0xc5000400 0x3c00>; 405 reg = <0xc5000400 0x3c00>;
406 phy_type = "utmi"; 406 phy_type = "utmi";
407 nvidia,has-legacy-mode; 407 nvidia,has-legacy-mode;
408 clocks = <&tegra_car 22>, <&tegra_car 127>;
409 clock-names = "phy", "pll_u";
408 }; 410 };
409 411
410 phy2: usb-phy@c5004400 { 412 phy2: usb-phy@c5004400 {
411 compatible = "nvidia,tegra20-usb-phy"; 413 compatible = "nvidia,tegra20-usb-phy";
412 reg = <0xc5004400 0x3c00>; 414 reg = <0xc5004400 0x3c00>;
413 phy_type = "ulpi"; 415 phy_type = "ulpi";
416 clocks = <&tegra_car 94>, <&tegra_car 127>;
417 clock-names = "phy", "pll_u";
414 }; 418 };
415 419
416 phy3: usb-phy@c5008400 { 420 phy3: usb-phy@c5008400 {
417 compatible = "nvidia,tegra20-usb-phy"; 421 compatible = "nvidia,tegra20-usb-phy";
418 reg = <0xc5008400 0x3C00>; 422 reg = <0xc5008400 0x3C00>;
419 phy_type = "utmi"; 423 phy_type = "utmi";
424 clocks = <&tegra_car 22>, <&tegra_car 127>;
425 clock-names = "phy", "pll_u";
420 }; 426 };
421 427
422 usb@c5000000 { 428 usb@c5000000 {