diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-02-24 13:35:55 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2017-03-22 10:29:46 +0100 |
commit | 8cb2cbae45ae46b1e1be16950670d5c5d4408474 (patch) | |
tree | 89c51bfb02568a4e3d749281fb6089bfb41677b2 /Documentation/extcon | |
parent | extcon: int3496: Rename GPIO pins in accordance with binding (diff) | |
download | linux-8cb2cbae45ae46b1e1be16950670d5c5d4408474.tar.xz linux-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.txt | 5 |
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 |