]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: tigerlake: Fix GPIO mapping for newer version of software
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Aug 2021 11:21:41 +0000 (14:21 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Aug 2021 15:47:50 +0000 (18:47 +0300)
commit20180444e624a5f2881c74bfe4f3df42fed50235
treefab358ed7ecf10dceadcb3c5fb058b3dbeeca466
parent01da9c8979f3d24bb75ef7080a8d9915e88dff94
pinctrl: tigerlake: Fix GPIO mapping for newer version of software

The software mapping for GPIO, which initially comes from Microsoft,
is subject to change by respective Windows and firmware developers.
Due to the above the driver had been written and published way ahead
of the schedule, and thus the numbering schema used in it is outdated.

Fix the numbering schema in accordance with the real products on market.

Fixes: e9dd8fab137e ("pinctrl: tigerlake: Add support for Tiger Lake-H")
Reported-and-tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Reported-by: Riccardo Mori <patacca@autistici.org>
Reported-and-tested-by: Lovesh <lovesh.bond@gmail.com>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213463
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213579
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213857
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-tigerlake.c