<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hi All,</div>
<div>When working on gpio driver for tegra, I found that gpio_request() does not make the corresponding soc pins to gpio mode. It still keeps the pins in SFIO mode.</div>
<div>So we need to call two extra function along with gpio_request():</div>
<div>Tegra_gpio_enable() and function for setting the pins in no non-tristate.</div>
<div> </div>
<div>Sue to this, the gpio sysfs interface does not work properly from user space /sys/class/gpio/.</div>
<div>To make the pin in gpio mode fom user space, need to have changes in kernel.</div>
<div> </div>
<div>Should be the gpio_request() should make the pins to gpio mode and make ready for use.</div>
<div>Similarly gpio_free() should again put the pin into sfio mode with tristate disable.</div>
<div> </div>
<div> </div>
<div>Please review the above and provide feedback.</div>
<div> </div>
<div>Thanks,</div>
<div>Laxman</div>
<div> </div>
</font>
</body>
</html>