blob: 7549d5019e8bf6749c477a64b59c9f28b645245e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Brian Austineef5bb22014-08-04 15:11:16 -05002#ifndef __DT_CS35L32_H
3#define __DT_CS35L32_H
4
5#define CS35L32_BOOST_MGR_AUTO 0
6#define CS35L32_BOOST_MGR_AUTO_AUDIO 1
7#define CS35L32_BOOST_MGR_BYPASS 2
8#define CS35L32_BOOST_MGR_FIXED 3
9
10#define CS35L32_DATA_CFG_LR_VP 0
11#define CS35L32_DATA_CFG_LR_STAT 1
12#define CS35L32_DATA_CFG_LR 2
13#define CS35L32_DATA_CFG_LR_VPSTAT 3
14
15#define CS35L32_BATT_THRESH_3_1V 0
16#define CS35L32_BATT_THRESH_3_2V 1
17#define CS35L32_BATT_THRESH_3_3V 2
18#define CS35L32_BATT_THRESH_3_4V 3
19
20#define CS35L32_BATT_RECOV_3_1V 0
21#define CS35L32_BATT_RECOV_3_2V 1
22#define CS35L32_BATT_RECOV_3_3V 2
23#define CS35L32_BATT_RECOV_3_4V 3
24#define CS35L32_BATT_RECOV_3_5V 4
25#define CS35L32_BATT_RECOV_3_6V 5
26
27#endif /* __DT_CS35L32_H */