summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorƁukasz Majewski <[email protected]>2012-11-13 03:22:04 +0000
committerAnatolij Gustschin <[email protected]>2012-11-14 11:21:10 +0100
commitbf995a9a28c7a987be0b3df9d4f84da63c9bfb1c (patch)
tree3e2ce0935072444370efd3f23d4bd47c88245ca0 /include
parentb95aacd332cde91299cf05e1a87dc6d7de545adb (diff)
pmic:max8997: Function for calculating LDO internal register value
Function for calculating LDO internal register value from passed micro Volt. Signed-off-by: Lukasz Majewski <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Cc: Stefano Babic <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/power/max8997_pmic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/power/max8997_pmic.h b/include/power/max8997_pmic.h
index 1db7deb3beb..03cac041f19 100644
--- a/include/power/max8997_pmic.h
+++ b/include/power/max8997_pmic.h
@@ -200,4 +200,6 @@ enum {
EN_LDO = (0x3 << 6),
};
+#define MAX8997_LDO_MAX_VAL 0x3F
+unsigned char max8997_reg_ldo(int uV);
#endif /* __MAX8997_PMIC_H_ */