mb/amb/birman*/gpio: remove configuration for VDD_MEM_VID[0,1]
[coreboot2.git] / src / drivers / i2c / sx9360 / chip.h
blob397ea3f5d286df8ce2c793833f04a1423924ca1b
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DRIVERS_I2C_SX9360_CHIP_H__
4 #define __DRIVERS_I2C_SX9360_CHIP_H__
6 #include <acpi/acpi_device.h>
7 #include <device/i2c_simple.h>
9 struct drivers_i2c_sx9360_config {
10 /* Device Description */
11 const char *desc;
13 /* ACPI _UID */
14 unsigned int uid;
16 /* Bus speed in Hz, default is I2C_SPEED_FAST */
17 enum i2c_speed speed;
19 /* Use GPIO-based interrupt instead of IO-APIC */
20 struct acpi_gpio irq_gpio;
22 /* IO-APIC interrupt */
23 struct acpi_irq irq;
26 * Registers definition in the kernel source tree at:
27 * Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
30 /* Raw Proximity filter strength: When not set, disabled. */
31 uint32_t proxraw_strength;
33 /* Average Proximity filter strength: When not set, disabled. */
34 uint32_t avg_pos_strength;
36 /* Capacitance measure resolution. Driver default: 128. */
37 uint32_t resolution;
40 #endif /* __DRIVERS_I2C_SX9360_CHIP_H__ */