linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* GPIO interface between DVB sub-drivers (bridge, demod, tuner)
@ 2012-07-12 20:24 Antti Palosaari
       [not found] ` <CALzAhNVwN3TJhn-3i9SDhKfk=tvZZ49RTKkUzWC8RZ_m=v=A+w@mail.gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Antti Palosaari @ 2012-07-12 20:24 UTC (permalink / raw)
  To: linux-media

I am looking kinda standardized interface for setting GPIOs between the 
DVB drivers chip drivers. For most typical example there is LNA which is 
controlled by RF-tuner GPIO. That kind of LNA controlling logic belongs 
to interface driver thus I will need to call demod driver from bridge in 
order to set LNA.

Simply solution is to add own own callbacks, set_gpio() and get_gpio() 
for both tuner and demod ops but I will not like to that of there is 
existing solutions. Grepping Documentation reveals quite much documents, 
most interesting seems to be:
Documentation/gpio.txt
Documentation/devicetree/bindings/gpio/gpio.txt
Documentation/pinctrl.txt

Is there anyone who could say straight now what is best approach and 
where to look example?


regards
Antti

-- 
http://palosaari.fi/


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-30  7:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12 20:24 GPIO interface between DVB sub-drivers (bridge, demod, tuner) Antti Palosaari
     [not found] ` <CALzAhNVwN3TJhn-3i9SDhKfk=tvZZ49RTKkUzWC8RZ_m=v=A+w@mail.gmail.com>
2012-07-12 21:07   ` Steven Toth
2012-07-13  1:13     ` Antti Palosaari
2012-07-13 13:16       ` Steven Toth
2012-07-18  0:22         ` Antti Palosaari
2012-07-20  1:43     ` Antti Palosaari
2012-07-29 21:21       ` poma
2012-07-30  7:39         ` Antti Palosaari

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).