1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __DRIVERS_I2C_PCA9538_CHIP_H__ 4 #define __DRIVERS_I2C_PCA9538_CHIP_H__ 5 6 struct drivers_i2c_pca9538_config { 7 unsigned char in_out; /* Use bit as input(1) or output (0). */ 8 unsigned char invert; /* If a bit is 1, the input will be inverted. */ 9 unsigned char out_val; /* Initial output value to drive. */ 10 }; 11 12 #endif /* __DRIVERS_I2C_PCA9538_CHIP_H__ */ 13