lkml.org 
[lkml]   [2015]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAT91 timer/counter as clock output from devicetree
I have run into situation with AT91 based products where I am at a
loss as to how to properly approproach implementing a driver/solution.

Several boards that I have dealt with are using the AT91's timer/counter pins
to emulate a simple clock output.

Currently, the only way I have found to emulate a clock output is to enable
the atmel,tcb-pwm driver and initialize the PWM from userspace using the
sysfs layer.

I would like to initialize the timer/counter in the kernel based on an entry
in the devicetree.

Does anyone have suggestion on how and where implement this?



\
 
 \ /
  Last update: 2015-06-26 02:41    [W:0.021 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site