Date: Thu, 12 Jul 2018 18:53:07 +0200 From: Christian =?ISO-8859-1?Q?Kr=E4mer?= <uddka@student.kit.edu> To: soc-status@freebsd.org Cc: Chuck Tuffli <chuck@freebsd.org>, Luiz Otavio O Souza <loos.br@gmail.com> Subject: User space interface for GPIO interrupts / Status Report Week 8 Message-ID: <20180712185307.b88853daad8a30b329ad5543@student.kit.edu>
index | next in thread | raw e-mail
Hi all, in the course of last week I implemented pin distinction using per file descriptor configuration. This is one of the two possibilities to implement this feature. The second one (having one character device for each mapped pin) was discarded. This week I started to investigate the migration of the code into the gpioc driver as suggested by one of my mentors. As advantage there is no more need to maintain redundant data structures. Moreover the already existing functions and flags in libgpio can be used to handle the interrupt functionality. Special attention hereby is needed in order to not break support for any device that do not support INTRNG. The source code of the driver can be found in my fork of the FreeBSD src tree on GitHub [1]. The utilities for configuration and testing are located in a separate repository [2]. Regards, Chris [1] <https://github.com/ckraemer/freebsd/tree/gsoc2018> [2] <https://github.com/ckraemer/gsoc2018-utils>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180712185307.b88853daad8a30b329ad5543>
