diff mbox series

ACPI / PMIC: Add pmic_i2c_address to BYT Crystal Cove support

Message ID 20221213123454.11404-1-hdegoede@redhat.com
State Accepted
Commit 73d15a7c13bfe1292db85ed3de8dfa711291819d
Headers show
Series ACPI / PMIC: Add pmic_i2c_address to BYT Crystal Cove support | expand

Commit Message

Hans de Goede Dec. 13, 2022, 12:34 p.m. UTC
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>
---
 drivers/acpi/pmic/intel_pmic_bytcrc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Rafael J. Wysocki Dec. 30, 2022, 5:48 p.m. UTC | #1
On Tue, Dec 13, 2022 at 2:04 PM Andy Shevchenko <andy@kernel.org> wrote:
>
> On Tue, Dec 13, 2022 at 01:34:54PM +0100, Hans de Goede wrote:
> > 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!
> Reviewed-by: Andy Shevchenko <andy@kernel.org>
>
> > Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> > ---
> >  drivers/acpi/pmic/intel_pmic_bytcrc.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > 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)
> > --

Applied as 6.3 material, thanks!
diff mbox series

Patch

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)