diff options
author | Tracy Yi | 2019-05-14 00:35:49 -0500 |
---|---|---|
committer | Tracy Yi | 2019-05-14 00:35:49 -0500 |
commit | e1f2d3c1edb5067ea88e84baf0dfe534b70a9eba (patch) | |
tree | 96421149350a8a1b71ee45eddaf2eabce0fc7582 | |
parent | 2f2096432aa4490ae527dc1ae373a5947d1f95d2 (diff) | |
download | tas2562-android-driver-e1f2d3c1edb5067ea88e84baf0dfe534b70a9eba.tar.gz tas2562-android-driver-e1f2d3c1edb5067ea88e84baf0dfe534b70a9eba.tar.xz tas2562-android-driver-e1f2d3c1edb5067ea88e84baf0dfe534b70a9eba.zip |
Signed-off-by: Tracy Yi <tracy-yi@ti.com>
-rw-r--r-- | tas2562.h | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -54,14 +54,10 @@ | |||
54 | 54 | ||
55 | /* Playback Configuration Reg0 */ | 55 | /* Playback Configuration Reg0 */ |
56 | #define TAS2562_PlaybackConfigurationReg0 TAS2562_REG(0x0, 0x0, 0x03) | 56 | #define TAS2562_PlaybackConfigurationReg0 TAS2562_REG(0x0, 0x0, 0x03) |
57 | #define TAS2562_PlaybackConfigurationReg0_PDMPinMapping_Mask (0x1 << 7) | 57 | #define TAS2562_PlaybackConfigurationReg0_DCBlocker_Mask (0x1 << 6) |
58 | #define TAS2562_PlaybackConfigurationReg0_PDMPinMapping_Pdm0 (0x0 << 7) | 58 | #define TAS2562_PlaybackConfigurationReg0_DCBlocker_Enabled (0x0 << 6) |
59 | #define TAS2562_PlaybackConfigurationReg0_PDMPinMapping_Pdm1 (0x1 << 7) | 59 | #define TAS2562_PlaybackConfigurationReg0_DCBlocker_Disabled (0x1 << 6) |
60 | #define TAS2562_PlaybackConfigurationReg0_PlaybackPDMSource_Mask (0x1 << 6) | 60 | #define TAS2562_PlaybackConfigurationReg0_AmplifierLevel51_Mask (0x1f << 1) |
61 | #define TAS2562_PlaybackConfigurationReg0_PlaybackSource_Mask (0x1 << 5) | ||
62 | #define TAS2562_PlaybackConfigurationReg0_PlaybackSource_Pcm (0x0 << 5) | ||
63 | #define TAS2562_PlaybackConfigurationReg0_PlaybackSource_Pdm (0x1 << 5) | ||
64 | #define TAS2562_PlaybackConfigurationReg0_AmplifierLevel40_Mask (0x1f << 0) | ||
65 | 61 | ||
66 | /* Misc Configuration Reg0 */ | 62 | /* Misc Configuration Reg0 */ |
67 | #define TAS2562_MiscConfigurationReg0 TAS2562_REG(0x0, 0x0, 0x04) | 63 | #define TAS2562_MiscConfigurationReg0 TAS2562_REG(0x0, 0x0, 0x04) |