ACPI / PMIC: AXP288: support virtual GPIO in ACPI table
authorAaron Lu <aaron.lu@intel.com>
Mon, 24 Nov 2014 09:32:33 +0000 (17:32 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Nov 2014 22:32:06 +0000 (23:32 +0100)
commit491cb357decca2b3eeaac5a8498ad23e7dd073b7
tree7dfd51d322c6836ccd0d3332e3e2351e4fbc5360
parentd8139f6311129b4fdc370cbfc03424afea83693b
ACPI / PMIC: AXP288: support virtual GPIO in ACPI table

The same virtual GPIO strategy is also used for the AXP288 PMIC in that
various control methods that are used to do power rail handling and
sensor reading/setting will touch GPIO fields defined under the PMIC
device. The GPIO fileds are only defined by the ACPI code while the
actual hardware doesn't really have a GPIO controller, but to make those
control method execution succeed, we have to install a GPIO handler for
the PMIC device handle. Since we do not need the virtual GPIO strategy,
we can simply do nothing in that handler.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pmic/intel_pmic_xpower.c