1
0
Fork 0
alistair23-linux/drivers/acpi/pmic
Hans de Goede 2bde7c32b1 ACPI / PMIC: xpower: Fix power_table addresses
The power table addresses should be contiguous, but there was a hole
where 0x34 was missing. On most devices this is not a problem as
addresses above 0x34 are used for the BUC# convertors which are not
used in the DSDTs I've access to but after the BUC# convertors
there is a field named GPI1 in the DSTDs, which does get used in some
cases and ended up turning BUC6 on and off due to the wrong addresses,
resulting in turning the entire device off (or causing it to reboot).

Removing the hole in the addresses fixes this, fixing one of my
Bay Trail tablets turning off while booting the mainline kernel.

While at it add comments with the field names used in the DSDTs to
make it easier to compare the register and bits used at each address
with the datasheet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-04-28 23:32:44 +02:00
..
intel_pmic.c ACPI / PMIC: remove modular references from non-modular code 2016-07-16 03:03:14 +02:00
intel_pmic.h ACPI / PMIC: modify the pen function signature to take bit field 2016-06-24 15:25:37 +02:00
intel_pmic_bxtwc.c ACPI / PMIC: remove modular references from non-modular code 2016-07-16 03:03:14 +02:00
intel_pmic_chtwc.c ACPI / PMIC: Add opregion driver for Intel CHT Whiskey Cove PMIC 2017-04-20 12:43:41 +02:00
intel_pmic_crc.c ACPI / PMIC: modify the pen function signature to take bit field 2016-06-24 15:25:37 +02:00
intel_pmic_xpower.c ACPI / PMIC: xpower: Fix power_table addresses 2017-04-28 23:32:44 +02:00