From mboxrd@z Thu Jan 1 00:00:00 1970 From: slash.tmp@free.fr (Mason) Date: Mon, 19 Oct 2015 13:20:51 +0200 Subject: clk: Two-output clk provider with standard clk consumer In-Reply-To: <561CF977.2090808@free.fr> References: <561CF977.2090808@free.fr> Message-ID: <5624D213.6050103@free.fr> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 at 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.