Shyam, the beaglebone has am335x Sitara processor, which used to be in the family of omap3 processors by ti before they rebranded it. So the relevant file that implements gpio at the lower levels is gpio-omap.c, gpiolib.c is what calls into it. If you want to see how it gets called into, you could print a stack dump to syslog by calling dump_stack() in, for example, _set_gpio_dataout_reg in gpio-omap.c.
On Wednesday, April 8, 2015 at 7:18:01 PM UTC-7, Shyam D wrote: > > after download and compile of linux kernel for beaglebone black i found > these files are been picked and compiled > > built-in.o gpiolib.o gpio-of-helper.o gpio-pcf857x.o > devres.o gpiolib-of.o gpio-omap.o gpio-twl4030.o > > but any way which of these are actually been used for beaglebone black, > because i see pcf857 as gpio expander (is that present on bbb?), gpiolib > for optional use, any way 'open firmware' files i have to look at them, > left is omap based file is that the main file to be looked at ? > > > On 9 April 2015 at 07:26, Shyam D <[email protected] <javascript:>> > wrote: > >> sorry to repeat, my question is >> what files are been compiled out of big kernel tree, so if i want to read >> a GPIO module of beagleboneblack , what files in the gpio source folder >> are compiled so that i can read only those files which are of concern can >> be understood, i think you got my question >> >> On 9 April 2015 at 06:49, Robert Nelson <[email protected] >> <javascript:>> wrote: >> >>> On Wed, Apr 8, 2015 at 8:16 PM, Shyam D <[email protected] >>> <javascript:>> wrote: >>> > i want to read the kernel files, any way thanks for good reference >>> >>> http://lxr.free-electrons.com/ >>> >>> Regards, >>> >>> -- >>> Robert Nelson >>> https://rcn-ee.com/ >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "BeagleBoard" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/beagleboard/0qzzt4G9ooo/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> -----Regards & Thanks >> Shyam Sunder Daram >> Mobile:- +91 95-6082-143-8 >> View My Profile @ LinkedIn >> <http://in.linkedin.com/pub/daram-shyam-sunder/1b/b35/a39> @ Indeed >> <https://my.indeed.com/r/Daram-Sunder/2982c78c647d7ff1?subfrom=b> >> > > > > -- > -----Regards & Thanks > Shyam Sunder Daram > Mobile:- +91 95-6082-143-8 > View My Profile @ LinkedIn > <http://in.linkedin.com/pub/daram-shyam-sunder/1b/b35/a39> @ Indeed > <https://my.indeed.com/r/Daram-Sunder/2982c78c647d7ff1?subfrom=b> > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
