Skip to contentSkip to conversation

ACPI / PMIC: Add pmic_i2c_address to BYT Crystal Cove support

PATCH Applied Hans de Goede 3 participants 3 messages Dec 13, 2022 – Dec 30, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 9ea79f210965..2b09f8da5400 100644
@@ -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
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Hans de Goede

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.

OK!

Quoted 20 lines
---
 drivers/acpi/pmic/intel_pmic_bytcrc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/acpi/pmic/intel_pmic_bytcrc.c +1 -0
index 9ea79f210965..2b09f8da5400 100644
@@ -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
maintainer Applied
#2 lore raw
Quoted 25 lines · Andy Shevchenko
Quoted 3 lines · Hans de Goede

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.

OK!

Quoted 16 lines
---
 drivers/acpi/pmic/intel_pmic_bytcrc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/acpi/pmic/intel_pmic_bytcrc.c +1 -0
index 9ea79f210965..2b09f8da5400 100644
@@ -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 -1
 static int intel_crc_pmic_opregion_probe(struct platform_device *pdev)
--

Applied as 6.3 material, thanks!