diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-05-14 15:33:38 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-14 20:05:21 +0300 |
commit | 79fc48e41e39d7a98c5f8ae37f613d7ff9953c86 (patch) | |
tree | 694018da0d0eb1e19c579836cbc1c35bcd41a9a7 /sound/soc/codecs/tlv320adcx140.h | |
parent | 75b0adbb0806a141b0b5f074cd6bd58bb9870c0d (diff) | |
download | linux-79fc48e41e39d7a98c5f8ae37f613d7ff9953c86.tar.xz |
ASoC: tlv320adcx140: Configure PDM sampling edge
Configure the PDM sampling edges based on the values from the firmware.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200514123338.20392-3-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tlv320adcx140.h')
-rw-r--r-- | sound/soc/codecs/tlv320adcx140.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320adcx140.h b/sound/soc/codecs/tlv320adcx140.h index 6d055e55909e..432eaf25d1a7 100644 --- a/sound/soc/codecs/tlv320adcx140.h +++ b/sound/soc/codecs/tlv320adcx140.h @@ -128,4 +128,7 @@ #define ADCX140_TX_OFFSET_MASK GENMASK(4, 0) +#define ADCX140_NUM_PDM_EDGES 4 +#define ADCX140_PDM_EDGE_SHIFT 7 + #endif /* _TLV320ADCX140_ */ |