mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-07 23:03:06 +00:00
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
|
# SPDX-License-Identifier: GPL-2.0-only
|
||
|
config INTEL_CHT_INT33FE
|
||
|
tristate "Intel Cherry Trail ACPI INT33FE Driver"
|
||
|
depends on X86 && ACPI && I2C && REGULATOR
|
||
|
depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)
|
||
|
depends on USB_ROLES_INTEL_XHCI=y || (USB_ROLES_INTEL_XHCI=m && m)
|
||
|
depends on TYPEC_MUX_PI3USB30532=y || (TYPEC_MUX_PI3USB30532=m && m)
|
||
|
help
|
||
|
This driver add support for the INT33FE ACPI device found on
|
||
|
some Intel Cherry Trail devices.
|
||
|
|
||
|
There are two kinds of INT33FE ACPI device possible: for hardware
|
||
|
with USB Type-C and Micro-B connectors. This driver supports both.
|
||
|
|
||
|
The INT33FE ACPI device has a CRS table with I2cSerialBusV2
|
||
|
resources for Fuel Gauge Controller and (in the Type-C variant)
|
||
|
FUSB302 USB Type-C Controller and PI3USB30532 USB switch.
|
||
|
This driver instantiates i2c-clients for these, so that standard
|
||
|
i2c drivers for these chips can bind to the them.
|
||
|
|
||
|
If you enable this driver it is advised to also select
|
||
|
CONFIG_BATTERY_BQ27XXX=m or CONFIG_BATTERY_BQ27XXX_I2C=m for Micro-B
|
||
|
device and CONFIG_TYPEC_FUSB302=m and CONFIG_BATTERY_MAX17042=m
|
||
|
for Type-C device.
|