On Thursday, October 8, 2015 at 4:44:11 PM UTC+2, Chen-Yu Tsai wrote:

> On Thu, Oct 8, 2015 at 10:41 PM,  <[email protected] <javascript:>> 
> wrote: 
> > Good morning all 
> > 
> > I am trying to output allwinner A20 clk_out_a to the relevant PI12 of 
> the 
> > cpu 
> > That should be possible in theory and olimex board actually has a pin 
> where 
> > I can test it. 
> > 
> > My current setup is uBoot bootloader that can successfully boot Linux 
> > version 4.3.0-rc1-96427-g904c778-dirty 
> > I am using the sun7i-a20-olinuxino-micro.dts where I have removed the 
> uart6 
> > (that should be conflicting with clk_out_a) and I have added 
> > 
> > &clk_out_a { 
> >         pinctrl-names = "default"; 
> >         pinctrl-0 = <&clk_out_a_pins_a>; 
> >         status = "okay"; 
> > }; 
> > 
> > in the dts file, compiled and installed 
> > 
> > Now, there is nothing whatsoever in the relevant pin and the question is 
> > 
> > What am I missing ? 
> > 
> > Thanks for any hints you may give me 
> > 
> > P.S. Yes, I have read quite a lot documentation on dts, but evidently 
> not 
> > enough to find the solution myself. 
>
> The clock on that pin is by default off. You still need a driver to 
> acquire 
> and enable it. 
>
>
I was thinking that by adding 

pinctrl-0 = <&clk_out_a_pins_a>;

I did indeed reference a driver to be added to the clock source, but this 
is then not correct

Can you point to the correct syntax to bind clk_out_a_pins_a to clk_out_a ?

 

> ChenYu 
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to