Hector Martin
f5468beeab
ASoC: tas2764: Set the SDOUT polarity correctly
...
TX launch polarity needs to be the opposite of RX capture polarity, to
generate the right bit slot alignment.
Reviewed-by: Neal Gompa <neal@gompa.dev >
Signed-off-by: Hector Martin <marcan@marcan.st >
Signed-off-by: James Calligeros <jcalligeros99@gmail.com >
Link: https://patch.msgid.link/20250218-apple-codec-changes-v2-28-932760fd7e07@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2025-02-18 20:08:43 +00:00
Hector Martin
a3f172359e
ASoC: tas2764: Fix power control mask
...
Reviewed-by: Neal Gompa <neal@gompa.dev >
Signed-off-by: Hector Martin <marcan@marcan.st >
Signed-off-by: James Calligeros <jcalligeros99@gmail.com >
Link: https://patch.msgid.link/20250218-apple-codec-changes-v2-1-932760fd7e07@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2025-02-18 20:08:42 +00:00
Martin Povišer
aca86ec9a0
ASoC: tas2764: Export highpass filter setting
...
Expose a control for the setting of 'DC blocker' highpass filter in the
playback path of TAS2764.
Signed-off-by: Martin Povišer <povik+lin@cutebit.org >
Link: https://lore.kernel.org/r/20220825140241.53963-6-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-08-25 18:00:00 +01:00
Martin Povišer
dae191fb95
ASoC: tas2764: Add IRQ handling
...
Add an IRQ handler which logs detected faults (but doesn't do anything
else).
Signed-off-by: Martin Povišer <povik+lin@cutebit.org >
Link: https://lore.kernel.org/r/20220825140241.53963-5-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-08-25 17:59:59 +01:00
Martin Povišer
d1a10f1b48
ASoC: tas2764: Fix and extend FSYNC polarity handling
...
Fix setting of FSYNC polarity in case of LEFT_J and DSP_A/B formats.
Do NOT set the SCFG field as was previously done, because that is not
correct and is also in conflict with the "ASI1 Source" control which
sets the same SCFG field!
Also add support for explicit polarity inversion.
Fixes: 827ed8a0fa ("ASoC: tas2764: Add the driver for the TAS2764")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org >
Link: https://lore.kernel.org/r/20220630075135.2221-2-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-07-07 17:16:33 +01:00
Dan Murphy
827ed8a0fa
ASoC: tas2764: Add the driver for the TAS2764
...
Introduce the Texas Instruments TAS2764 amplifier driver
with I/V sense for loud speaker applications.
Signed-off-by: Dan Murphy <dmurphy@ti.com >
Link: https://lore.kernel.org/r/20201007155341.10139-2-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2020-10-08 21:16:51 +01:00