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
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to