regulator: palmas: Add has_regen3 check for TPS659038
Palmas driver is used to cater to even TPS659038 but TPS659038 does not have REGEN3 resource. Adding another field in the driver data to check on that. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -117,6 +117,7 @@ struct palmas_pmic_driver_data {
|
||||
int ldo_begin;
|
||||
int ldo_end;
|
||||
int max_reg;
|
||||
bool has_regen3;
|
||||
struct palmas_regs_info *palmas_regs_info;
|
||||
struct of_regulator_match *palmas_matches;
|
||||
struct palmas_sleep_requestor_info *sleep_req_info;
|
||||
|
Reference in New Issue
Block a user