]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/pca9698.h
Merge branch '2020-05-15-misc-bugfixes'
[thirdparty/u-boot.git] / include / pca9698.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
042f9f10
DE
2/*
3 * (C) Copyright 2011
d38826a3 4 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
042f9f10
DE
5 */
6
486cad03
DE
7#ifndef __PCA9698_H_
8#define __PCA9698_H_
9
042f9f10
DE
10int pca9698_request(unsigned gpio, const char *label);
11void pca9698_free(unsigned gpio);
12int pca9698_direction_input(u8 addr, unsigned gpio);
13int pca9698_direction_output(u8 addr, unsigned gpio, int value);
14int pca9698_get_value(u8 addr, unsigned gpio);
15int pca9698_set_value(u8 addr, unsigned gpio, int value);
486cad03
DE
16
17#endif /* __PCA9698_H_ */