summaryrefslogtreecommitdiff
path: root/Documentation/extcon
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-02-24 14:35:55 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2017-03-22 18:29:46 +0900
commit8cb2cbae45ae46b1e1be16950670d5c5d4408474 (patch)
tree89c51bfb02568a4e3d749281fb6089bfb41677b2 /Documentation/extcon
parent90400c5884b89a5db232049721ef4dc1ab2f1f1c (diff)
downloadlwn-8cb2cbae45ae46b1e1be16950670d5c5d4408474.tar.gz
lwn-8cb2cbae45ae46b1e1be16950670d5c5d4408474.zip
extcon: int3496: Add GPIO ACPI mapping table
In order to make GPIO ACPI library stricter prepare users of gpiod_get_index() to correctly behave when there no mapping is provided by firmware. Here we add explicit mapping between _CRS GpioIo() resources and their names used in the driver. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'Documentation/extcon')
-rw-r--r--Documentation/extcon/intel-int3496.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/extcon/intel-int3496.txt b/Documentation/extcon/intel-int3496.txt
index af0b366c25b7..8155dbc7fad3 100644
--- a/Documentation/extcon/intel-int3496.txt
+++ b/Documentation/extcon/intel-int3496.txt
@@ -20,3 +20,8 @@ Index 1: The output gpio for enabling Vbus output from the device to the otg
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