diff options
author | Keerthy <j-keerthy@TI.COM> | 2015-03-17 15:56:05 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-17 12:21:15 +0000 |
commit | e999c7289cf2e542e8be8bc72ba5dc0f8f06c88e (patch) | |
tree | 21523f6328103682ea5349f47068c0cb82031286 /include/linux/mfd/palmas.h | |
parent | a26aeb177d8c1c4df3e32f0a21e8dd5b45ab1fc1 (diff) | |
download | lwn-e999c7289cf2e542e8be8bc72ba5dc0f8f06c88e.tar.gz lwn-e999c7289cf2e542e8be8bc72ba5dc0f8f06c88e.zip |
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>
Diffstat (limited to 'include/linux/mfd/palmas.h')
-rw-r--r-- | include/linux/mfd/palmas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index ee7b1ce7a6f8..bb270bd03eed 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -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; |