-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: cs35l32: Add support for CS35L32 Boosted Amplifier
This patch adds support for the Cirrus Logic CS35L32 Boosted Amplifier I2S output provides monitor data to the SOC/CODEC/DSP for speaker protection/enhancement algorithms Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information
Brian Austin
authored and
Mark Brown
committed
Aug 16, 2014
1 parent
7d1311b
commit eef5bb2
Showing
5 changed files
with
773 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.