linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gordon Hollingworth <gordon@raspberrypi.org>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: "linux-pwm@vger.kernel.org" <linux-pwm@vger.kernel.org>
Subject: Re: PWM DMA interface
Date: Thu, 19 Jun 2014 15:12:03 +0000	[thread overview]
Message-ID: <CFC8BBA1.43AEA%gordon@raspberrypi.org> (raw)
In-Reply-To: <20140618221200.GE26514@mithrandir>

On 18/06/2014 23:12, "Thierry Reding" <thierry.reding@gmail.com> wrote:


>On Wed, Jun 18, 2014 at 08:20:58AM +0000, Gordon Hollingworth wrote:
>> Yes within the limitations of the simple RC filter but basically it's
>> working like a one bit DAC
>
>Perhaps a better way to expose this, then, would be as a proper sound
>device so that the standard ALSA tools can be used to play back audio
>rather than needing a set of custom tools.
>
>Thierry

Yes, although it would be better to expose the PWM DMA interface through a
PWM class and then implement an ALSA driver on top of this rather than
just hacking in a Pi specific pwm driver...

Mostly because I want to write a different driver that uses the PWM DMA
interface on the Pi but it seems wrong to do this without having a common
PWM_DMA interface


Gordon


      reply	other threads:[~2014-06-19 15:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09 10:49 PWM DMA interface Gordon Hollingworth
2014-06-17 22:54 ` Thierry Reding
2014-06-18  8:20   ` Gordon Hollingworth
2014-06-18 22:12     ` Thierry Reding
2014-06-19 15:12       ` Gordon Hollingworth [this message]

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=CFC8BBA1.43AEA%gordon@raspberrypi.org \
    --to=gordon@raspberrypi.org \
    --cc=linux-pwm@vger.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 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).