]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/sx151x.h
karo: tx6ul: add support for TX6UL Mainboard (v1)
[karo-tx-uboot.git] / include / sx151x.h
1 /*
2  * (C) Copyright 2013
3  * Viktar Palstsiuk, Promwad, viktar.palstsiuk@promwad.com
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __SX151X_H_
9 #define __SX151X_H_
10
11 int sx151x_get_value(int chip, int gpio);
12 int sx151x_set_value(int chip, int gpio, int val);
13 int sx151x_direction_input(int chip, int gpio);
14 int sx151x_direction_output(int chip, int gpio);
15 int sx151x_reset(int chip);
16
17 #endif /* __SX151X_H_ */