diff options
Diffstat (limited to 'src/drivers/i2c/pca9538/chip.h')
-rw-r--r-- | src/drivers/i2c/pca9538/chip.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/drivers/i2c/pca9538/chip.h b/src/drivers/i2c/pca9538/chip.h new file mode 100644 index 0000000000..9c60aab226 --- /dev/null +++ b/src/drivers/i2c/pca9538/chip.h @@ -0,0 +1,21 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2018 Siemens AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +struct drivers_i2c_pca9538_config { + unsigned char in_out; /* Use bit as input(1) or output (0). */ + unsigned char invert; /* If a bit is 1, the input will be inverted. */ + unsigned char out_val; /* Initial output value to drive. */ +}; |