Re: [beagleboard] Re: Prevent linux from clearing GPIO pins during boot

2014-01-04 Thread Vaibhav Bedia
On Fri, Dec 27, 2013 at 4:45 AM, Ives van der Flaas ives@gmail.com wrote:
 Some more information: I'm running the BeagleBone Black with a 3.8.13-bone33
 kernel.


Adding the HWMOD_INIT_NO_RESET flag to gpio0 and gpio1 structs in
arch/arm/mach-omap2/omap_hwmod_33xx_data.c similar to [1] should work.

[1]https://git.ti.com/~mugunthanvnm/ti-linux-kernel/mugunth-connectivity-linux-feature-tree/commit/e43edd44fd2174cdabd459c1d97c7f0d512d1b04

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: Prevent linux from clearing GPIO pins during boot

2013-12-27 Thread Ives van der Flaas
Some more information: I'm running the BeagleBone Black with a 
3.8.13-bone33 kernel. 

Op donderdag 26 december 2013 09:42:12 UTC+1 schreef Ives van der Flaas:

 I have two GPIO pins that I'd like to be high during the boot process. 
 These pins, GPIO 44 and 23, are connected to LEDs through some circuitry. 
 I've managed to set those pins when uBoot runs, but they are reset during 
 the boot process: as soon as the linux kernel starts these pins are pulled 
 low. After linux finishes booting I install a device tree overlay and can 
 resume control of the pins.

 How can I prevent these pins from being cleared? Is this done by the linux 
 kernel itself or some driver? How do I start looking for the code 
 responsible?

 (I also posted this question 3 days ago but it hasn't appeared in the 
 relevant group). 


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.