Thread (34 messages) flat view 34 messages, 4 authors, 2013-02-07

[PATCH v5 09/10] clk: tegra: Implement clocks for Tegra114

From: pgaikwad@nvidia.com (Prashant Gaikwad)
Date: 2013-02-05 05:42:54
Also in: linux-devicetree, linux-tegra, lkml

On Monday 04 February 2013 08:04 PM, Peter De Schrijver wrote:
On Mon, Feb 04, 2013 at 08:08:55AM +0100, Prashant Gaikwad wrote:
quoted
On Friday 01 February 2013 03:48 PM, Peter De Schrijver wrote:
...
quoted
quoted
+       /* xusb_hs_src */
+       val = readl(clk_base + CLK_SOURCE_XUSB_SS_SRC);
+       val |= BIT(25); /* always select PLLU_60M */
+       writel(val, clk_base + CLK_SOURCE_XUSB_SS_SRC);
+
+       clk = clk_register_fixed_factor(NULL, "xusb_hs_src", "pll_u_60M", 0,
+                                       1, 1);
+       clks[xusb_hs_src] = clk;
+
With device tree we can directly use pll_u_60M, no need to register
clock with fixed factor 1.
Same comment for dis1-fixed, dsi2-fixed and mipi-cal-fast clocks.
Does it make sense to have separate DT IDs at all then?
We can use same DT ID.
Cheers,

Peter.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help