summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/gpiomux/mux/chip.h
blob: 9906b258dbffeba4880865fc8798167317571941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __I2C_GPIOMUX_MUX_CHIP_H__
#define __I2C_GPIOMUX_MUX_CHIP_H__

#include <acpi/acpi_device.h>
#include <types.h>

#define MAX_NUM_MUX_GPIOS 4

struct drivers_i2c_gpiomux_mux_config {
	/* GPIOs used to select the mux lines */
	uint32_t mux_gpio_count;
	struct acpi_gpio mux_gpio[MAX_NUM_MUX_GPIOS];
};

#endif /* __I2C_GPIOMUX_MUX_CHIP_H__ */