linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mwelling@ieee.org (Michael Welling)
To: linux-arm-kernel@lists.infradead.org
Subject: AT91 timer/counter as clock output from devicetree
Date: Thu, 25 Jun 2015 19:16:48 -0500	[thread overview]
Message-ID: <20150626001648.GA20565@deathray> (raw)

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?

                 reply	other threads:[~2015-06-26  0:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150626001648.GA20565@deathray \
    --to=mwelling@ieee.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).