GPIO

From OMAPpedia

(Difference between revisions)
Jump to: navigation, search
m (Added category tag)
 
Line 169: Line 169:
==Current Status of Patches in Omapzoom Tree==
==Current Status of Patches in Omapzoom Tree==
None
None
 +
 +
 +
[[Category:Input Output]]

Latest revision as of 22:13, 24 May 2010

Welcome to the General Purpose Input Output (GPIO) Driver wiki.


Contents

[edit] Introduction

This webpage describes the GPIO driver software development effort, mainly its current status and features planned in the road map.

The devices without the dedicated input/output and/or interrupt controllers can make use of the GPIO interface to accomplish their functionalities, the device list includes touch screen, keypad, Ethernet etc.


[edit] List of Features Supported


[edit] Design

OMAP GPIO Design1.JPG


[edit] Feature Status Summary

Here is the summary of completed, ongoing and planned features in the GPIO driver.

GPIO Driver

ID Title Target Week Upstream Status Link to Patches Priority Owner Dev Status Comments & Link to Details
GPIO01 Support GPIO driver for configuring, managing and interrupt handling of available GPIO pins NA Already supported GPIO Driver NA Charulatha Released in XXXX See details
GPIO02 HWMOD support for GPIO driver NA External review is in progress

Platform Device Implementation Support for OMAP15xx chips Support for OMAP16xx chips Support for OMAP7xx chips Support for OMAP2PLUS chips hwmods for OMAP3 hwmod for omap2420 hwmods for omap2430 GPIO as platform device

NA Charulatha Released in L24.6 See details

[edit] Defect Status Summary

Here is the summary of completed, ongoing and planned defect fixes in the GPIO driver.

GPIO Driver

ID Title Target Week Upstream Status Link to Patches Features Impacted Priority Owner Dev Status Comments & Link to Details
Nothing to Report NA NA NA NA NA NA NA NA NA


[edit] FAQ

1. Is it possible to control OMAP GPIOs from userspace?

Yes, by using some nodes exported to sysfs. For example: To toggle GPIO155, do the following:

Mux the pad to gpio mode.

To bring out the gpio to userspace:

echo 155 > /sys/class/gpio/export

To set as an output:

echo out > /sys/class/gpio/gpio155/direction

To set high:

echo 1 > /sys/class/gpio/gpio155/value

To set low:

echo 0 > /sys/class/gpio/gpio155/value

Similarly cat these nodes to read the value of input gpios.

For more info click here


[edit] Feature Status Details

[edit] GPIO01 : Support GPIO driver for configuring, managing and interrupt handling of available GPIO pins

This feature is already supported in the driver.

[edit] GPIO02 : HWMOD support for GPIO driver

The hwmod support for gpio driver is reviewed in open source mailing list.

[edit] Defect Status Details

None reported so far


[edit] Future Development Plan

None at present


[edit] Information on Testing Procedures

To be added

[edit] Submit Your Ideas Here

Please list them as separate subsections (use ===title===). Please include your name, email ID and date for easy processing.


[edit] Owner

Charulatha V <charu[at]ti[dot]com>


[edit] Contributors

Charulatha V <charu[at]ti[dot]com>


[edit] Patches Merged in kernel.org

None


[edit] Recent Submissions to Open Source


[edit] Current Status of Patches in Omapzoom Tree

None

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox