linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Toth <stoth@kernellabs.com>
To: "David T. L. Wong" <davidtlwong@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: CX23885 card Analog/Digital Switch
Date: Mon, 28 Sep 2009 12:25:42 -0400	[thread overview]
Message-ID: <4AC0E386.7070803@kernellabs.com> (raw)
In-Reply-To: <4AC0DC20.2070307@gmail.com>

On 9/28/09 11:54 AM, David T. L. Wong wrote:
> Hello List,
>
> cx23885 card Magic-Pro ProHDTV Extreme 2, has a cx23885 GPIO pin to
> select Analog TV+Radio or Digital TV. How should I add that GPIO setting
> code into cx23885?
> The current model that all operations goes to FE instead of card is not
> very appropriate to model this case.
> I thought of adding a callback code for the tuner (XC5000), but my case
> is that this behavior is card specific, but not XC5000 generic.
>
> Is there any "Input Selection" hook / callback mechanism to notify the
> card, the device.

Digital TV is about to have mkrufky's ioctl override patch merged so that the 
bridge can be informed before/after a dtv frontend is opened, this is an entry 
point for you. The bridge can flip the GPIO on demand based on current hardware 
state.

Analog tv entry point could be the hooked into one of the video open ops, such 
as video_open(). Likewise, the bridge would be involved.

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com

      parent reply	other threads:[~2009-09-28 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 15:54 CX23885 card Analog/Digital Switch David T. L. Wong
2009-09-28 16:20 ` Devin Heitmueller
2009-09-28 16:30   ` David T. L. Wong
2009-09-28 16:25 ` Steven Toth [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=4AC0E386.7070803@kernellabs.com \
    --to=stoth@kernellabs.com \
    --cc=davidtlwong@gmail.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;
as well as URLs for NNTP newsgroup(s).