Get the AST2500 SCUE0/E4 value using kernel device driver?

Andrew Jeffery andrew at aj.id.au
Fri May 17 09:17:10 AEST 2019



On Wed, 15 May 2019, at 17:12, Yong Li wrote:
> Hi All,
> 
> 
> Just want to know if there is any existing device driver provides the 
> interface to get the SCUE0/E4 register values on AST2500?
> 
> 
> If no, I would like to know if there is any examples/similar drivers 
> for reference? By the way, the two registers are used for the uptime

I'm not aware of any, but I'm interested in what you're trying to measure.
Are you after something that can't be satisfied by CLOCK_MONOTONIC
and friends for clock_gettime()? Or is that what you're wanting to drive?

Andrew

> 
> 
> Thanks,
> 
> Yong
> 
>


More information about the openbmc mailing list