]> git.baikalelectronics.ru Git - uboot.git/commit
x86: tangier: Use actual GPIO hardware numbers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 4 Jan 2018 16:40:12 +0000 (18:40 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 8 Jan 2018 08:52:25 +0000 (16:52 +0800)
commitbe31e18b143fd2ddcd8f283a08e67aa2b1832d34
treeb7a2693f4a2bc6ae2d820ca1713257196c926f8e
parente549590a19a6cb04abf971bad0ec0554d593b0c2
x86: tangier: Use actual GPIO hardware numbers

The recent commit 03c4749dd6c7
  ("gpio / ACPI: Drop unnecessary ACPI GPIO to Linux GPIO translation")
in the Linux kernel reveals the issue we have in ACPI tables here,
i.e. we must use hardware numbers for GPIO resources and,
taking into consideration that GPIO and pin control are *different* IPs
on Intel Tangier, we need to supply numbers properly.

Besides that, it improves user experience since the official documentation
for Intel Edison board is referring to GPIO hardware numbering scheme.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/arch-tangier/acpi/southcluster.asl