linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] ASoC: codecs: jz4725b: Various improvements and fixes
@ 2022-10-16 13:26 Siarhei Volkau
  2022-10-16 13:26 ` [PATCH v3 1/7] ASoC: codecs: jz4725b: add missed Line In power control bit Siarhei Volkau
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Siarhei Volkau @ 2022-10-16 13:26 UTC (permalink / raw)
  Cc: Siarhei Volkau, Paul Cercueil, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, linux-mips, alsa-devel,
	linux-kernel

The patchset fixes:
 - Line In path stays powered off during capturing or
   bypass to mixer.
 - incorrectly represented dB values in alsamixer, et al.
 - incorrect represented Capture input selector in alsamixer
   in Playback tab.
 - wrong control selected as Capture Master

The patchset improves:
 - Exposes output stage (post mixer) gain control and makes it new
   Master playback gain, DAC gain was the previous master.
   However, no Master mute now.
 - Exposes all mixer inputs (both Mics, LineIn and DAC) with their
   gain controls.
 - Exposes microphones widgets: single/differential input, boost.

Known issues:
 - Bypass path enablement isn't applied immediately, for make
   things going bit clock needs to be triggered for a bit,
   e.g. by aplay dummy.wav
   It might be a hardware bug, since the bit clock isn't
   declared as required for codec operation.

Tested on:
 - Ritmix RZX-27 (jz4725b).
 - Ritmix RZX-50 (jz4755).

Diff from v2:
 - add microphone widgets

Diff from v1:
 - each change in a separate patch

Tested-by: Siarhei Volkau <lis8215@gmail.com>
Signed-off-by: Siarhei Volkau <lis8215@gmail.com>

Siarhei Volkau (7):
  ASoC: codecs: jz4725b: add missed Line In power control bit
  ASoC: codecs: jz4725b: fix reported volume for Master ctl
  ASoC: codecs: jz4725b: use right control for Capture Volume
  ASoC: codecs: jz4725b: fix capture selector naming
  ASoC: codecs: jz4725b: use right control for Master Playback
  ASoC: codecs: jz4725b: add missed Mixer inputs
  ASoC: codecs: jz4725b: add missed microphone widgets

 sound/soc/codecs/jz4725b.c | 109 +++++++++++++++++++++++++++++++------
 1 file changed, 92 insertions(+), 17 deletions(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-10-20 12:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-16 13:26 [PATCH v3 0/7] ASoC: codecs: jz4725b: Various improvements and fixes Siarhei Volkau
2022-10-16 13:26 ` [PATCH v3 1/7] ASoC: codecs: jz4725b: add missed Line In power control bit Siarhei Volkau
2022-10-16 13:26 ` [PATCH v3 2/7] ASoC: codecs: jz4725b: fix reported volume for Master ctl Siarhei Volkau
2022-10-16 13:26 ` [PATCH v3 3/7] ASoC: codecs: jz4725b: use right control for Capture Volume Siarhei Volkau
2022-10-16 13:26 ` [PATCH v3 4/7] ASoC: codecs: jz4725b: fix capture selector naming Siarhei Volkau
2022-10-16 13:26 ` [PATCH v3 5/7] ASoC: codecs: jz4725b: use right control for Master Playback Siarhei Volkau
2022-10-16 13:26 ` [PATCH v3 6/7] ASoC: codecs: jz4725b: add missed Mixer inputs Siarhei Volkau
2022-10-16 13:26 ` [PATCH v3 7/7] ASoC: codecs: jz4725b: add missed microphone widgets Siarhei Volkau
2022-10-18 11:28 ` [PATCH v3 0/7] ASoC: codecs: jz4725b: Various improvements and fixes Mark Brown
2022-10-20 11:58   ` Siarhei Volkau
2022-10-20 12:01     ` Paul Cercueil
2022-10-20 12:14     ` Mark Brown
2022-10-20 12:29       ` Siarhei Volkau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).