Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
28 lines
748 B
C
28 lines
748 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __DT_CS35L32_H
|
|
#define __DT_CS35L32_H
|
|
|
|
#define CS35L32_BOOST_MGR_AUTO 0
|
|
#define CS35L32_BOOST_MGR_AUTO_AUDIO 1
|
|
#define CS35L32_BOOST_MGR_BYPASS 2
|
|
#define CS35L32_BOOST_MGR_FIXED 3
|
|
|
|
#define CS35L32_DATA_CFG_LR_VP 0
|
|
#define CS35L32_DATA_CFG_LR_STAT 1
|
|
#define CS35L32_DATA_CFG_LR 2
|
|
#define CS35L32_DATA_CFG_LR_VPSTAT 3
|
|
|
|
#define CS35L32_BATT_THRESH_3_1V 0
|
|
#define CS35L32_BATT_THRESH_3_2V 1
|
|
#define CS35L32_BATT_THRESH_3_3V 2
|
|
#define CS35L32_BATT_THRESH_3_4V 3
|
|
|
|
#define CS35L32_BATT_RECOV_3_1V 0
|
|
#define CS35L32_BATT_RECOV_3_2V 1
|
|
#define CS35L32_BATT_RECOV_3_3V 2
|
|
#define CS35L32_BATT_RECOV_3_4V 3
|
|
#define CS35L32_BATT_RECOV_3_5V 4
|
|
#define CS35L32_BATT_RECOV_3_6V 5
|
|
|
|
#endif /* __DT_CS35L32_H */
|