public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Augusto Destrero <destrero@imavis.com>
To: linux-media@vger.kernel.org
Subject: bttv-gpio.c
Date: Fri, 14 Oct 2011 16:11:49 +0200	[thread overview]
Message-ID: <201110141611.50034.destrero@imavis.com> (raw)

Hi,
I'm trying to understand how to control GPIOs on a bt878 card, as described in 
this earlier post:

http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/39342

I came across the file bttv-gpio.c in drivers/media/video/bt8xx, and the 
starting comment seems what I'm looking for:

"sysfs-based sub driver interface for bttv mainly intented for gpio access"

But I cannot understand how to enable this sysfs based access. Is there a 
kernel configuration somewhere? Where the gpios are supposed to show up in 
/sys?

Thank you in advance for your help and excuse me if my question is trivial.

-- 
Augusto Destrero, PhD

                 reply	other threads:[~2011-10-14 14:11 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=201110141611.50034.destrero@imavis.com \
    --to=destrero@imavis.com \
    --cc=linux-media@vger.kernel.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