linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Justin Chen <justinpopo6@gmail.com>
To: linux-iio@vger.kernel.org
Cc: jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net,
	lars@metafoo.de, andriy.shevchenko@linux.intel.com,
	david@lechnology.com, Florian Fainelli <f.fainelli@gmail.com>
Subject: ti-ads7950.c GPIO Pins
Date: Wed, 23 Jan 2019 11:36:12 -0800	[thread overview]
Message-ID: <CAJx26kVrDbxrp+rKQOhao_k5O8LThLcDRs8HibcohVEvhAF3Tg@mail.gmail.com> (raw)

Hello,

I have an use case where I need to configure the 4 GPIO pins on a
ADS7953. The current driver does not support this. What would be the
proper way to implement this?

I created an IIO_VOLTAGE channel for each GPIO to enable or disable
them, but this doesn't seem right to me.

Any suggestions?

Thanks,
Justin

             reply	other threads:[~2019-01-23 19:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23 19:36 Justin Chen [this message]
2019-01-24  1:46 ` ti-ads7950.c GPIO Pins Phil Reid
2019-01-26 17:43   ` Jonathan Cameron

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=CAJx26kVrDbxrp+rKQOhao_k5O8LThLcDRs8HibcohVEvhAF3Tg@mail.gmail.com \
    --to=justinpopo6@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=david@lechnology.com \
    --cc=f.fainelli@gmail.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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).