ACPI / PMIC: Add pmic_i2c_address to BYT Crystal Cove support
Subsystems (2)
PATCH 1/1 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.
--- drivers/acpi/pmic/intel_pmic_bytcrc.c | 1 + 1 file changed, 1 insertion(+)
drivers/acpi/pmic/intel_pmic_bytcrc.c +1 -0
@@ -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)
Signature · 1 line
2.38.1
Quoted 3 lines · Hans de Goede
Add a
pmic_i2c_addressentry tointel_pmic_bytcrc.c, so thatintel_soc_pmic_exec_mipi_pmic_seq_element()can be used on devices with a Bay Trail Crystal Cove PMIC OpRegion driver.
OK!
Quoted 20 lines
Signed-off-by Hans de Goede <[email protected]>--- drivers/acpi/pmic/intel_pmic_bytcrc.c | 1 + 1 file changed, 1 insertion(+)drivers/acpi/pmic/intel_pmic_bytcrc.c +1
-0@@ -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)Signature · 1 line
2.38.1
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 25 lines · Andy Shevchenko
Quoted 3 lines · Hans de Goede
Add a
pmic_i2c_addressentry tointel_pmic_bytcrc.c, so thatintel_soc_pmic_exec_mipi_pmic_seq_element()can be used on devices with a Bay Trail Crystal Cove PMIC OpRegion driver.OK!
Reviewed-by Andy Shevchenko <[email protected]>Quoted 16 lines
Signed-off-by Hans de Goede <[email protected]>--- drivers/acpi/pmic/intel_pmic_bytcrc.c | 1 + 1 file changed, 1 insertion(+)drivers/acpi/pmic/intel_pmic_bytcrc.c +1
-0@@ -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, };
Quoted 2 lines
drivers/acpi/pmic/intel_pmic_bytcrc.c static const struct intel_pmic_opregion_data intel_crc_pmic_opregion_data = {
Quoted 2 lines
drivers/acpi/pmic/intel_pmic_bytcrc.c +0
-1static int intel_crc_pmic_opregion_probe (struct platform_device *pdev) --
Applied as 6.3 material, thanks!