Skip to content

Commit

Permalink
ARM: tegra30: convert device tree files to use CLK defines
Browse files Browse the repository at this point in the history
Use the Tegra30 CAR binding header (tegra30-car.h) to replace magic
numbers in the device tree. For example,

-               clocks = <&tegra_car 28>;
+               clocks = <&tegra_car CLK_HOST1X>;

Signed-off-by: Hiroshi Doyu <[email protected]>
[swarren, updated since tegra30-car.h moved for consistency]
Signed-off-by: Stephen Warren <[email protected]>
  • Loading branch information
hdoyu authored and nvswarren committed May 28, 2013
1 parent 885a8cf commit 05849c9
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 48 deletions.
4 changes: 3 additions & 1 deletion arch/arm/boot/dts/tegra30-cardhu.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,9 @@
nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
GPIO_ACTIVE_HIGH>;

clocks = <&tegra_car 184>, <&tegra_car 185>, <&tegra_car 120>;
clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
<&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
<&tegra_car TEGRA30_CLK_EXTERN1>;
clock-names = "pll_a", "pll_a_out0", "mclk";
};
};
Loading

0 comments on commit 05849c9

Please sign in to comment.