ACPI: PMIC: Add comments with DSDT power opregion field names
authorHans de Goede <hdegoede@redhat.com>
Wed, 25 Jan 2023 11:38:11 +0000 (12:38 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Jan 2023 15:47:13 +0000 (16:47 +0100)
commit7de6c3fb6dfbf9b920caa8cad953d8ac406f6790
tree17385e5b8c9fc1e0cfee588b12d8141e1e09d071
parent73d15a7c13bfe1292db85ed3de8dfa711291819d
ACPI: PMIC: Add comments with DSDT power opregion field names

The DSDTs of CHT devices using the Dollar Cove TI PMIC, all use
LDO1 - LDO14 names for the DSDT power opregion field names.

Add comments with these fields to make it easier to see which PMIC
registers are being set by ACPI code using these.

Note that LDO4 is missing and the mapped registers jump from 0x43
to 0x45 to match. This matches with how the fields are declared
in the DSDT where LDO4 is skipped too. Note there is no hole in
the field addresses, LDO4 is simply just not defined on either side.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pmic/intel_pmic_chtdc_ti.c