diff options
author | Viktar Palstsiuk <viktar.palstsiuk@promwad.com> | 2013-10-31 12:16:59 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-08 18:39:13 +0400 |
commit | 7d9ec6a0aff88b6d7d3b36c04ff1ae490324ebf1 (patch) | |
tree | d679e1e4414795d8a81788a3bd5f248b10f24ebd /include | |
parent | 3314204b665e42aac360a0f709561d2686ea2862 (diff) | |
download | u-boot-7d9ec6a0aff88b6d7d3b36c04ff1ae490324ebf1.tar.xz |
Add support for SX151x SPI GPIO Expanders
Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sx151x.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sx151x.h b/include/sx151x.h new file mode 100644 index 0000000000..be42b0681b --- /dev/null +++ b/include/sx151x.h @@ -0,0 +1,17 @@ +/* + * (C) Copyright 2013 + * Viktar Palstsiuk, Promwad, viktar.palstsiuk@promwad.com + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __SX151X_H_ +#define __SX151X_H_ + +int sx151x_get_value(int chip, int gpio); +int sx151x_set_value(int chip, int gpio, int val); +int sx151x_direction_input(int chip, int gpio); +int sx151x_direction_output(int chip, int gpio); +int sx151x_reset(int chip); + +#endif /* __SX151X_H_ */ |