0 Replies Latest reply on Jan 26, 2009 2:13 PM by aragats

    GPIO and SMbus in Linux


      I have installed Linux 2.6.28 on Fit-pc [1] computer which based on
      AMD Geode LX800 500MHz (Chipset AMD CS5536).

      I want to utilize the GPIOs (as well as SMbus) to control some custom peripherals.
      The kernel 2.6.28 already has cs5535_gpio driver, but I've patched
      it to get the corresponding devices in /dev automatically [2].

      Now I have the following devices:

      Now I need to go to the next step.
      What is the "proper way" to work with GPIO/SMbus from within Linux?
      Could sombody advise and/or refer documentation/software/drivers?

      [1] http://www.fit-pc.com/new/specifications.html
      [2] http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg02428.html//www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg02428.html