Commit ae86dc47 authored by Dan Murphy's avatar Dan Murphy
Browse files

ASoC: tas2562: Add support for digital volume control



Add support for digital volume control.  There is no dedicated register
for volume control but instead there are 4.  The values of the registers
are determined with exponential floating point math.
So a table was created with register values for 2dB step increments
from -110dB to 0dB.

Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200221124151.8774-1-dmurphy@ti.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
(cherry picked from commit bf726b1c)
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
parent 2fb69192
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment