1# SPDX-License-Identifier: GPL-2.0-only
2config INTEL_CHT_INT33FE
3	tristate "Intel Cherry Trail ACPI INT33FE Driver"
4	depends on X86 && ACPI && I2C && REGULATOR
5	depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)
6	depends on USB_ROLES_INTEL_XHCI=y || (USB_ROLES_INTEL_XHCI=m && m)
7	depends on TYPEC_MUX_PI3USB30532=y || (TYPEC_MUX_PI3USB30532=m && m)
8	help
9	  This driver add support for the INT33FE ACPI device found on
10	  some Intel Cherry Trail devices.
11
12	  There are two kinds of INT33FE ACPI device possible: for hardware
13	  with USB Type-C and Micro-B connectors. This driver supports both.
14
15	  The INT33FE ACPI device has a CRS table with I2cSerialBusV2
16	  resources for Fuel Gauge Controller and (in the Type-C variant)
17	  FUSB302 USB Type-C Controller and PI3USB30532 USB switch.
18	  This driver instantiates i2c-clients for these, so that standard
19	  i2c drivers for these chips can bind to the them.
20
21	  If you enable this driver it is advised to also select
22	  CONFIG_BATTERY_BQ27XXX=m or CONFIG_BATTERY_BQ27XXX_I2C=m for Micro-B
23	  device and CONFIG_TYPEC_FUSB302=m and CONFIG_BATTERY_MAX17042=m
24	  for Type-C device.
25