public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: What is the Purpose of GPIO Controller.
@ 2005-02-15 14:27 krishna
  2005-02-15 15:11 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: krishna @ 2005-02-15 14:27 UTC (permalink / raw)
  To: ijc; +Cc: Linux Kernel

Hi Ian,

    Thank you very much.
    My doubt is,
    I have a board here where all lines to the peripherals are highly 
multiplexed and
    I had to configure these lines. Now my Wireless Ethernet Driver has 
a conflict with
    the audiocodec driver. What I mean is, if I load the WLAN driver and 
try to load the
    audiocodec driver next, the audiocodec driver is not responding.

    I traced the bug to be sharing of GPIO Lines.

    Form your mail I understand GPIO controller serves some Hardware 
designers purpose.
    But what _purpose_ is it serving a _programmer_.

Regards,
Krishna Chaitanya

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

* Re: What is the Purpose of GPIO Controller.
  2005-02-15 14:27 What is the Purpose " krishna
@ 2005-02-15 15:11 ` Ian Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2005-02-15 15:11 UTC (permalink / raw)
  To: krishna; +Cc: Linux Kernel

On Tue, 2005-02-15 at 19:57 +0530, krishna wrote:
> Form your mail I understand GPIO controller serves some Hardware 
> designers purpose.
> But what _purpose_ is it serving a _programmer_.

All a gpio controller does is allows the programmer to configure a line
as an input or an output, and then either read it or make it high or
low.

This allows the programmer to control the hardware. Exactly how and what
you control it is 100% a function of what the hardware designer has
done.

Unless you have access to documentation or the hardware engineers brain
you'll just have to work out what each line does by trial and error.

Ian.



-- 
Ian Campbell
Current Noise: Opeth - To Rid the Disease

Variables don't; constants aren't.


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

* Re: What is the purpose of GPIO Controller.
@ 2005-02-15 17:31 krishna
  0 siblings, 0 replies; 3+ messages in thread
From: krishna @ 2005-02-15 17:31 UTC (permalink / raw)
  To: ijc; +Cc: Linux Kernel

Thank you very much.

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

end of thread, other threads:[~2005-02-15 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-15 17:31 What is the purpose of GPIO Controller krishna
  -- strict thread matches above, loose matches on Subject: below --
2005-02-15 14:27 What is the Purpose " krishna
2005-02-15 15:11 ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox