Re: clk: Two-output clk provider with standard clk consumer

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

 



On 13/10/2015 14:30, Mason wrote:

> So the device tree would look like this:
> 
> 	clocks {
> 		ranges;
> 		#address-cells = <1>;
> 		#size-cells = <1>;
> 
> 		xtal: xtal {
> 			compatible = "fixed-clock";
> 			clock-frequency = <27000000>;
> 			#clock-cells = <0>;
> 		};
> 
> 		clkgen: clkgen@10000 {
> 			compatible = "foo,clkgen";
> 			reg = <0x10000 0x30>;
> 			clocks = <&xtal>;
> 			#clock-cells = <1>;

Missing clock-output-names property here.

> 		};
> 
> 		periphclk: periphclk {
> 			compatible = "fixed-factor-clock";
> 			clocks = <&clkgen 0>;
> 			clock-mult = <1>;
> 			clock-div  = <2>;
> 			#clock-cells = <0>;
> 		};
> 	};

Sorry for the noise.


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux