Skip to content

Commit 1d0c4fe

Browse files
Rishikesh-DVeeruPrudhvi
authored andcommitted
feat(linux): Update docs for AM62L Audio
Update the MCASP instance and pins used for Tx and Rx. Update Additional Information Signed-off-by: Rishikesh Donadkar <[email protected]>
1 parent f555717 commit 1d0c4fe

File tree

1 file changed

+52
-2
lines changed
  • source/linux/Foundational_Components/Kernel/Kernel_Drivers

1 file changed

+52
-2
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Audio.rst

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,56 @@ Board-specific instructions
790790
<../../../How_to_Guides/Target/How_to_playback_audio_over_HDMI.html>`__
791791
guide.
792792

793+
.. ifconfig:: CONFIG_part_variant in ('AM62LX')
794+
795+
.. rubric:: SK-AM62L
796+
:name: sk-am62l
797+
798+
| The board uses **tlv320aic3106 codec** connected through **McASP0
799+
[AXR0 for playback, AXR1 for Capture]** for audio. The board features
800+
one TRRS 3.5mm jack, that can be used for simultaneous stereo playback
801+
and mono recording. Same McASP0 lines are also muxed to the **sii9022
802+
HDMI bridge**.
803+
804+
.. rubric:: Kernel config
805+
:name: kernel-config-9
806+
807+
.. code-block:: text
808+
809+
Device Drivers --->
810+
Sound card support --->
811+
Advanced Linux Sound Architecture --->
812+
ALSA for SoC audio support --->
813+
Audio support for Texas Instruments SoCs --->
814+
<*> Multichannel Audio Serial Port (McASP) support
815+
CODEC drivers --->
816+
<*> Texas Instruments TLV320AIC3x CODECs
817+
<*> ASoC Simple sound card support
818+
819+
.. rubric:: User space
820+
:name: user-space-9
821+
822+
The hardware defaults are correct for audio playback, the routing is OK
823+
and the volume is 'adequate' but in case the volume is not correct:
824+
825+
.. code-block:: text
826+
827+
amixer sset PCM 90%
828+
829+
For recording using the mic pin on the 3.5mm jack, you will need to unmute
830+
MIC3R on the codec, and increase the capture volume:
831+
832+
.. code-block:: text
833+
834+
amixer sset 'Left PGA Mixer Mic3R' on
835+
amixer sset 'Right PGA Mixer Mic3R' on
836+
amixer sset PGA 90%
837+
838+
To switch to using HDMI for playback you can refer to the `How to playback
839+
audio over HDMI
840+
<../../../How_to_Guides/Target/How_to_playback_audio_over_HDMI.html>`__
841+
guide.
842+
793843
Potential issues
794844
^^^^^^^^^^^^^^^^
795845

@@ -864,15 +914,15 @@ Additional Information
864914
#. `Interfacing DRA7xx Audio to Analog Codecs
865915
<http://www.ti.com/lit/an/sprac09a/sprac09a.pdf>`__
866916

867-
.. ifconfig:: CONFIG_part_family in ('J7_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family')
917+
.. ifconfig:: CONFIG_part_family in ('J7_family', 'AM62X_family', 'AM62AX_family', 'AM62PX_family', 'AM62LX_family')
868918

869919
#. `Tools and Techniques for Audio Debugging
870920
<https://www.ti.com/lit/an/sprac10/sprac10.pdf>`__
871921

872922
.. rubric:: Audio hardware codecs
873923
:name: additional-information-audio-hardware-codecs
874924

875-
.. ifconfig:: CONFIG_part_variant in ('Gen', 'AM335X', 'AM437X', 'AM62X', 'AM62AX', 'AM62PX', 'J722S')
925+
.. ifconfig:: CONFIG_part_variant in ('Gen', 'AM335X', 'AM437X', 'AM62X', 'AM62AX', 'AM62PX', 'J722S', 'AM62LX')
876926

877927
#. `TLV320AIC31 - Low-Power Stereo CODEC with HP
878928
Amplifier <http://www.ti.com/lit/ds/symlink/tlv320aic31.pdf>`__

0 commit comments

Comments
 (0)