[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5239D779.7070504@skitlab.ru>
Date: Wed, 18 Sep 2013 20:40:25 +0400
From: Aida Mynzhasova <aida.mynzhasova@...tlab.ru>
To: Richard Cochran <richardcochran@...il.com>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH] powerpc/83xx: gianfar_ptp: select 1588 clock source through
dts file
On 18.09.2013 20:08, Richard Cochran wrote:
> On Wed, Sep 18, 2013 at 05:21:04PM +0400, Aida Mynzhasova wrote:
>> IEEE 1588 timer reference clock source is determined through hard-coded
>> value in gianfar_ptp driver by default. This patch allows to select ptp
>> clock source by means of device tree file node.
>>
>> For instance:
>>
>> fsl,cksel = <0>;
>>
>> for using external (TSEC_TMR_CLK input) high precision timer
>> reference clock.
>>
>> Other acceptable values:
>>
>> <1> : eTSEC system clock
>> <2> : eTSEC1 transmit clock
>> <3> : RTC clock input
>
> Do the other clock sources even work at all?
>
> We were not able to get them working.
>
> Thanks,
> Richard
>
Hi Richard,
I've tried to use 2 clock sources: external from TSEC_TMR_CLK input (for
this I had to update multiplexer settings in uboot) and eTSEC system
clock - counter worked fine with both.
My attempts to use eTSEC1 transmit clock and RTC clock were unsuccessful
(the system hanged up) irrespective of using hard-coded value or entry
in dts file.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists