I am a newbie on Linux and sorry for asking this question(I can't grasp big picture by now)
I want to control GPIO on my target board(am335x), and I'v got a running kernel on my board(which was done by a board vendor).
I heard that general use case of using GPIO is by using Sysfs entry which is sys/class/gpio~
I am used to using /dev entry and read and write onto them so I can control device. (so this is my point of view)
But when I check using 'lsmod' there are no related GPIO module(driver) but there are sys/class/gpio entry.
so, my question is, If there is no GPIO module(driver) in Kernel, how can sysfs gpio entry be made???
I want to control GPIO on my target board(am335x), and I'v got a running kernel on my board(which was done by a board vendor).
I heard that general use case of using GPIO is by using Sysfs entry which is sys/class/gpio~
I am used to using /dev entry and read and write onto them so I can control device. (so this is my point of view)
But when I check using 'lsmod' there are no related GPIO module(driver) but there are sys/class/gpio entry.
so, my question is, If there is no GPIO module(driver) in Kernel, how can sysfs gpio entry be made???