Re: [PATCHv10 22/41] ARM: dts: omap5 clock data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/16/2013 12:51 PM, Paul Walmsley wrote:
On Tue, 26 Nov 2013, Tero Kristo wrote:

This patch creates a unique node for each clock in the OMAP5 power,
reset and clock manager (PRCM).

...

+&cm_core_aon {
+	pad_clks_src_ck: pad_clks_src_ck {
+		#clock-cells = <0>;
+		compatible = "fixed-clock";
+		clock-frequency = <12000000>;
+	};
+
+	pad_clks_ck: pad_clks_ck {
+		#clock-cells = <0>;
+		compatible = "ti,gate-clock";
+		clocks = <&pad_clks_src_ck>;
+		ti,bit-shift = <8>;
+		reg = <0x0108>;
+	};

All of the clock data should be underneath a "clocks {" node, for all of
the chips.  Please see the Calxeda ECX clocks DT data as an example of how
this should look:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/ecx-common.dtsi#n141

Any reason why?

Should be relatively trivial to change though, however I am not too sure if this works:

&core_core_aon {
  &clocks {
    pad_clks_src_ck: ...
  };
};

... as I want to modify nodes under the structure. Does it?

-Tero

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux