Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
1.5 KiB
ReStructuredText
34 lines
1.5 KiB
ReStructuredText
=====================================================
|
|
Intel INT3496 ACPI device extcon driver documentation
|
|
=====================================================
|
|
|
|
The Intel INT3496 ACPI device extcon driver is a driver for ACPI
|
|
devices with an acpi-id of INT3496, such as found for example on
|
|
Intel Baytrail and Cherrytrail tablets.
|
|
|
|
This ACPI device describes how the OS can read the id-pin of the devices'
|
|
USB-otg port, as well as how it optionally can enable Vbus output on the
|
|
otg port and how it can optionally control the muxing of the data pins
|
|
between an USB host and an USB peripheral controller.
|
|
|
|
The ACPI devices exposes this functionality by returning an array with up
|
|
to 3 gpio descriptors from its ACPI _CRS (Current Resource Settings) call:
|
|
|
|
======= =====================================================================
|
|
Index 0 The input gpio for the id-pin, this is always present and valid
|
|
Index 1 The output gpio for enabling Vbus output from the device to the otg
|
|
port, write 1 to enable the Vbus output (this gpio descriptor may
|
|
be absent or invalid)
|
|
Index 2 The output gpio for muxing of the data pins between the USB host and
|
|
the USB peripheral controller, write 1 to mux to the peripheral
|
|
controller
|
|
======= =====================================================================
|
|
|
|
There is a mapping between indices and GPIO connection IDs as follows
|
|
|
|
======= =======
|
|
id index 0
|
|
vbus index 1
|
|
mux index 2
|
|
======= =======
|