Re: What is the purpose of a GPIO controller

From: Ian Campbell (ijc_at_hellion.org.uk)
Date: 02/15/05

  • Next message: Stephen C. Tweedie: "Re: [PATCH] ext3: Fix sparse -Wbitwise warnings."
    To: krishna <krishna.c@globaledgesoft.com>
    Date:	Tue, 15 Feb 2005 14:08:33 +0000
    
    

    On Tue, 2005-02-15 at 19:19 +0530, krishna wrote:
    > Can any one tell me what is the purpose of GPIO controllers.

    I'm not sure what question you are asking... GPIO controllers are
    clearly for the purpose of controlling GPIO pins. GPIO stands for
    general purpose i/o, so they are used for all sorts of things.

    For example, hardware designers hook up all sorts of things to GPIO
    lines: input switches, reset lines to other chips on the board, leds,
    relays. I have boards where an i2c bus has been constructed using 2 gpio
    lines, another gpio is used to control the LCD backlight, etc, etc.

    Ian.

    -- 
    Ian Campbell
    Current Noise: Opeth - To Rid the Disease
    The pollution's at that awkward stage.  Too thick to navigate and too
    thin to cultivate.
    		-- Doug Sneyd
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Stephen C. Tweedie: "Re: [PATCH] ext3: Fix sparse -Wbitwise warnings."

    Relevant Pages

    • Re: [patch 2.6.20-rc1 0/6] arch-neutral GPIO calls
      ... The _interface_ allows those additional GPIO controllers though. ... Note that the current implementations are a win even without yet ... +static inline int gpiolib_request ...
      (Linux-Kernel)
    • Re: [patch/rfc 2.6.19-rc5] arch-neutral GPIO calls
      ... This API absolutely allows for multiple GPIO controllers ... ... IRQs into the system ... ...
      (Linux-Kernel)
    • Re: [PATCH 2.6.8.1 0/2] leds: new class for led devices
      ... One sysfs node plus attributes per GPIO line? ... the GPIO interface proposed by Robert Schwebel should be ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: best way to handle LEDs
      ... >> I also have issues with a generic GPIO layer. ... >> implies you can not sleep in GPIO state changing functions. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: GPIO device class driver
      ... I'm willing to write a gpio driver and I am considering taking Robert Schwebel ... embedded PowerPC and would prefer to produce a driver towards a standard kernel interface. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)