xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/sound/cs35l32.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot #ifndef __DT_CS35L32_H
3*c66ec88fSEmmanuel Vadot #define __DT_CS35L32_H
4*c66ec88fSEmmanuel Vadot 
5*c66ec88fSEmmanuel Vadot #define CS35L32_BOOST_MGR_AUTO		0
6*c66ec88fSEmmanuel Vadot #define CS35L32_BOOST_MGR_AUTO_AUDIO	1
7*c66ec88fSEmmanuel Vadot #define CS35L32_BOOST_MGR_BYPASS	2
8*c66ec88fSEmmanuel Vadot #define CS35L32_BOOST_MGR_FIXED		3
9*c66ec88fSEmmanuel Vadot 
10*c66ec88fSEmmanuel Vadot #define CS35L32_DATA_CFG_LR_VP		0
11*c66ec88fSEmmanuel Vadot #define CS35L32_DATA_CFG_LR_STAT	1
12*c66ec88fSEmmanuel Vadot #define CS35L32_DATA_CFG_LR		2
13*c66ec88fSEmmanuel Vadot #define CS35L32_DATA_CFG_LR_VPSTAT	3
14*c66ec88fSEmmanuel Vadot 
15*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_THRESH_3_1V	0
16*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_THRESH_3_2V	1
17*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_THRESH_3_3V	2
18*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_THRESH_3_4V	3
19*c66ec88fSEmmanuel Vadot 
20*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_RECOV_3_1V		0
21*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_RECOV_3_2V		1
22*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_RECOV_3_3V		2
23*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_RECOV_3_4V		3
24*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_RECOV_3_5V		4
25*c66ec88fSEmmanuel Vadot #define CS35L32_BATT_RECOV_3_6V		5
26*c66ec88fSEmmanuel Vadot 
27*c66ec88fSEmmanuel Vadot #endif /* __DT_CS35L32_H */
28