ACPI: PMIC: Add pmic_i2c_address to BYT Crystal Cove support
authorHans de Goede <hdegoede@redhat.com>
Tue, 13 Dec 2022 12:34:54 +0000 (13:34 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Dec 2022 17:46:55 +0000 (18:46 +0100)
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>
drivers/acpi/pmic/intel_pmic_bytcrc.c

index 9ea79f21096581ca7339f4a00f1d3e3b4e2bcf8c..2b09f8da5400e64944478ac92ebe84e51a549277 100644 (file)
@@ -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)