linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@jic23.retrosnub.co.uk>
To: Tom Lebreux <tomlebreux@cock.li>
Cc: linux-iio@vger.kernel.org
Subject: Re: Moving ad2s90 out of staging
Date: Sun, 8 Apr 2018 16:40:17 +0100	[thread overview]
Message-ID: <20180408164003.6c0e7242@archlinux> (raw)
In-Reply-To: <6d00d7b9-dbae-b542-f670-473d326fa01b@cock.li>

> 
> > The velocity input could be connected to any normal ADC.  At that point we
> > could support it by using the consumer interfaces for IIO reasonably well.
> > However, for now just stick to the absolute position that we can get digitally!
> > 
> > As for other things.
> > IIO_CHAN_INFO_RAW only seems a bit odd given the nature of resolvers
> > means we know the 'units' and hence can provide the scale.
> >   
> Are you saying we should provide the scale in addition to the RAW info? I'm
> not sure what the value of the scale should be in this case.
> 

Given we have rotation defined (indirectly via angular velocity) as being 
in degrees (IIRC) it will be whatever we need to multiply the raw register
value by to get an answer in degrees.

Jonathan

      reply	other threads:[~2018-04-08 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15  1:29 Moving ad2s90 out of staging Tom Lebreux
2018-03-17 22:20 ` Jonathan Cameron
2018-04-02 18:57   ` Tom Lebreux
2018-04-08 15:40     ` Jonathan Cameron [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=20180408164003.6c0e7242@archlinux \
    --to=jic23@jic23.retrosnub.co.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=tomlebreux@cock.li \
    /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).