1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2eef5bb24SBrian Austin #ifndef __DT_CS35L32_H 3eef5bb24SBrian Austin #define __DT_CS35L32_H 4eef5bb24SBrian Austin 5eef5bb24SBrian Austin #define CS35L32_BOOST_MGR_AUTO 0 6eef5bb24SBrian Austin #define CS35L32_BOOST_MGR_AUTO_AUDIO 1 7eef5bb24SBrian Austin #define CS35L32_BOOST_MGR_BYPASS 2 8eef5bb24SBrian Austin #define CS35L32_BOOST_MGR_FIXED 3 9eef5bb24SBrian Austin 10eef5bb24SBrian Austin #define CS35L32_DATA_CFG_LR_VP 0 11eef5bb24SBrian Austin #define CS35L32_DATA_CFG_LR_STAT 1 12eef5bb24SBrian Austin #define CS35L32_DATA_CFG_LR 2 13eef5bb24SBrian Austin #define CS35L32_DATA_CFG_LR_VPSTAT 3 14eef5bb24SBrian Austin 15eef5bb24SBrian Austin #define CS35L32_BATT_THRESH_3_1V 0 16eef5bb24SBrian Austin #define CS35L32_BATT_THRESH_3_2V 1 17eef5bb24SBrian Austin #define CS35L32_BATT_THRESH_3_3V 2 18eef5bb24SBrian Austin #define CS35L32_BATT_THRESH_3_4V 3 19eef5bb24SBrian Austin 20eef5bb24SBrian Austin #define CS35L32_BATT_RECOV_3_1V 0 21eef5bb24SBrian Austin #define CS35L32_BATT_RECOV_3_2V 1 22eef5bb24SBrian Austin #define CS35L32_BATT_RECOV_3_3V 2 23eef5bb24SBrian Austin #define CS35L32_BATT_RECOV_3_4V 3 24eef5bb24SBrian Austin #define CS35L32_BATT_RECOV_3_5V 4 25eef5bb24SBrian Austin #define CS35L32_BATT_RECOV_3_6V 5 26eef5bb24SBrian Austin 27eef5bb24SBrian Austin #endif /* __DT_CS35L32_H */ 28