summaryrefslogtreecommitdiff
path: root/include/dt-bindings/sound/cs35l32.h
blob: 0c6d6a3c15a23f8fae0b8f5422a88a2971c92e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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 */
next.git/diff/tools/hv?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22&id2=575ddce0507789bf9830d089557d2199d2f91865'>diff)
rt2x00: fix clk_get call
clk_get() takes two arguments and might return ERR_PTR(), so we have to nullify pointer on that case, to do not break further call to clk_get_rate(). Reported-by: Felix Fietkau <nbd@nbd.name> Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices") Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/hv')