All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Cross <xobs@kosagi.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	Grant Likely <grant.likely@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	linux-pwm@vger.kernel.org, devicetree@vger.kernel.org
Cc: Sean Cross <xobs@kosagi.com>
Subject: [PATCH] pwm: imx: Add support for low-speed PWM
Date: Mon, 28 Apr 2014 16:55:30 +0800	[thread overview]
Message-ID: <1398675331-10980-1-git-send-email-xobs@kosagi.com> (raw)

The i.MX PWM driver has a selectable clock source.  In order to get very
long period lengths, the driver must select the 32.768 kHz clock.

It's unclear what the threshold should be to switch clocks, so set it
arbitrarily to 100 usecs.

Sean Cross (1):
  pwm: imx: Support very long period lengths

 drivers/pwm/pwm-imx.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

-- 
1.9.2


             reply	other threads:[~2014-04-28  9:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28  8:55 Sean Cross [this message]
     [not found] ` <1398675331-10980-1-git-send-email-xobs-nXMMniAx+RbQT0dZR+AlfA@public.gmane.org>
2014-04-28  8:55   ` [PATCH] pwm: imx: Support very long period lengths Sean Cross
2014-04-28  9:22     ` Sascha Hauer
2014-04-28 12:10       ` Sean Cross
2014-04-28 12:43         ` Sascha Hauer

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=1398675331-10980-1-git-send-email-xobs@kosagi.com \
    --to=xobs@kosagi.com \
    --cc=devicetree@vger.kernel.org \
    --cc=grant.likely@linaro.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.