mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Sebastien Bourdelin](/assets/img/avatar_default.png)
This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic Systems. It is used to communicate with the peripherals in the FPGA on the TS-4600 SoM. Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 lines
532 B
C
18 lines
532 B
C
/*
|
|
* Copyright (c) 2016 - Savoir-faire Linux
|
|
* Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef _TS_NBUS_H
|
|
#define _TS_NBUS_H
|
|
|
|
struct ts_nbus;
|
|
|
|
extern int ts_nbus_read(struct ts_nbus *ts_nbus, u8 adr, u16 *val);
|
|
extern int ts_nbus_write(struct ts_nbus *ts_nbus, u8 adr, u16 val);
|
|
|
|
#endif /* _TS_NBUS_H */
|