summaryrefslogtreecommitdiff
path: root/drivers/acpi/pmic
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-12-13 15:34:54 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-30 20:46:55 +0300
commit73d15a7c13bfe1292db85ed3de8dfa711291819d (patch)
treee74fc5f7344807b8872320af540bf3b3eabe31df /drivers/acpi/pmic
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-73d15a7c13bfe1292db85ed3de8dfa711291819d.tar.xz
ACPI: PMIC: Add pmic_i2c_address to BYT Crystal Cove support
Add a pmic_i2c_address entry to intel_pmic_bytcrc.c, so that intel_soc_pmic_exec_mipi_pmic_seq_element() can be used on devices with a Bay Trail Crystal Cove PMIC OpRegion driver. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/pmic')
-rw-r--r--drivers/acpi/pmic/intel_pmic_bytcrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/pmic/intel_pmic_bytcrc.c b/drivers/acpi/pmic/intel_pmic_bytcrc.c
index 9ea79f210965..2b09f8da5400 100644
--- a/drivers/acpi/pmic/intel_pmic_bytcrc.c
+++ b/drivers/acpi/pmic/intel_pmic_bytcrc.c
@@ -283,6 +283,7 @@ static const struct intel_pmic_opregion_data intel_crc_pmic_opregion_data = {
.power_table_count= ARRAY_SIZE(power_table),
.thermal_table = thermal_table,
.thermal_table_count = ARRAY_SIZE(thermal_table),
+ .pmic_i2c_address = 0x6e,
};
static int intel_crc_pmic_opregion_probe(struct platform_device *pdev)