forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/acpi/pmic/intel_pmic.h
....@@ -15,10 +15,14 @@
1515 int (*update_aux)(struct regmap *r, int reg, int raw_temp);
1616 int (*get_policy)(struct regmap *r, int reg, int bit, u64 *value);
1717 int (*update_policy)(struct regmap *r, int reg, int bit, int enable);
18
+ int (*exec_mipi_pmic_seq_element)(struct regmap *r, u16 i2c_address,
19
+ u32 reg_address, u32 value, u32 mask);
1820 struct pmic_table *power_table;
1921 int power_table_count;
2022 struct pmic_table *thermal_table;
2123 int thermal_table_count;
24
+ /* For generic exec_mipi_pmic_seq_element handling */
25
+ int pmic_i2c_address;
2226 };
2327
2428 int intel_pmic_install_opregion_handler(struct device *dev, acpi_handle handle, struct regmap *regmap, struct intel_pmic_opregion_data *d);