This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Audio out on JAMR board(MCASP6) with vayu board.

Other Parts Discussed in Thread: TLV320AIC3106

Hi All,

I am using defaul kernel,bootloader and android from 6AK1.2 release.

Default DTS file have some MCASP6 multichannel configration.

I am able to play audio and capture audion from main cpu board(MCASP3) using default android image.

Can anyone guide me how to play audio on JAMR board(MCASP6).

Regards,

Bharat Gohil

  • Hello Bharat,

    To complete McASP6 configuration you must add McASP6 module in arch/arm/boot/dts/dra7.dtsi

    http://review.omapzoom.org/#/c/35980/2/arch/arm/boot/dts/dra7.dtsi

        »    »    mcasp6: mcasp@48474000 {    1768
                »    »    »    compatible = "ti,dra7-mcasp-audio";    1769
                »    »    »    ti,hwmods = "mcasp6";    1770
                »    »    »    reg = <0x48474000 0x2000>,    1771
                »    »    »    <0x4844c000 0x1000>;    1772
                »    »    »    reg-names = "mpu","dat";    1773
                »    »    »    interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,    1774
                »    »    »    »    <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;    1775
                »    »    »    interrupt-names = "tx", "rx";    1776
                »    »    »    dmas = <&sdma 139 &dmacb>, <&sdma 138 &dmacb>;    1777
                »    »    »    dma-names = "tx", "rx";    1778
                »    »    »    clocks = <&mcasp6_ahclkx_mux>;    1779
                »    »    »    clock-names = "fck";    1780
                »    »    »    status = "disabled";    1781
                »    »    };

    http://review.omapzoom.org/#/c/35979/2/arch/arm/mach-omap2/omap_hwmod_7xx_data.c

    See following patch to set crossbar configuration - http://review.omapzoom.org/#/c/35778/

    Could you check the clock configuration status for MCASP6 module by registers in PRCM:

    CM_L4PER2_CLKSTCTRL[27] CLKACTIVITY_MCASP6_AUX_GFCLK
    CM_L4PER2_MCASP6_CLKCTRL[1:0] MODULEMODE - 0x2 0x2: Module is explicitly enabled.
    CM_L4PER2_CLKSTCTRL[1:0] CLKTRCTRL  - 0x2 SW_WKU

    Best regards,

    Yanko

  • Hi Yanko,

    Thanks for quick reply.

    I thinks MCSP6 configure in my dra7.dtsi file.

    mcasp6: mcasp@48474000 {
                compatible = "ti,dra7-mcasp-audio";
                reg = <0x48474000 0x2000>,
                    <0x4844c000 0x1000>;
                reg-names = "cfg","dat";
                interrupts = <0 156 0x4>, /* AREVT */
                         <0 157 0x4>; /* TXEVT */
                interrupt-names = "rx", "tx";
                ti,hwmods = "mcasp6";
                op-mode = <0>;        /* MCASP_IIS_MODE */
                tdm-slots = <8>;
                num-serializer = <4>;
                serial-dir = <1 2 0 0>;    /* 0:INACTIVE, 1:TX, 2:RX */
                ti,tx-inactive-mode = <2>; /* 0: Hi-Z, 2: Low, 3: High */
                ti,rx-inactive-mode = <2>; /* 0: Hi-Z, 2: Low, 3: High */
                tx-num-evt = <8>;
                rx-num-evt = <8>;
            };

    my dra7-evm.dts file have

    sound {
            compatible = "ti,dra7-evm-sound";
            ti,model = "dra7evm";
            ti,always-on;

            gpios = <&pcf_hdmi 1 0>;

            /* Audio routing */
            ti,audio-routing =
                "LINE1L", "Line In",
                "LINE1R", "Line In",
                "MIC3L", "Mic Bias 2V",
                "MIC3R", "Mic Bias 2V",
                "Mic Bias 2V", "Main Mic",
                "Headphone", "HPLOUT",
                "Headphone", "HPROUT",
                "Line Out", "LLOUT",
                "Line Out", "RLOUT",
                "J3A LINE1L", "JAMR3 Stereo Aux In",
                "J3A LINE1R", "JAMR3 Stereo Aux In",
                "J3B LINE1L", "JAMR3 Mono Mic 1",
                "J3B LINE1R", "JAMR3 Mono Mic 2",
                "JAMR3 Line Out 1", "J3A LLOUT",
                "JAMR3 Line Out 1", "J3A RLOUT",
                "JAMR3 Line Out 2", "J3B LLOUT",
                "JAMR3 Line Out 2", "J3B RLOUT",
                "JAMR3 Line Out 3", "J3C LLOUT",
                "JAMR3 Line Out 3", "J3C RLOUT";

            /* Media DAI link */
            ti,media-cpu = <&mcasp3>;
            ti,media-codec = <&tlv320aic3106>;
            ti,media-mclk-freq = <11289600>;
            ti,media-slots = <2>;

            /* Multichannel DAI link */
            ti,multichannel-cpu = <&mcasp6>;
            ti,multichannel-codec-a = <&tlv320aic3106a>;
            ti,multichannel-codec-b = <&tlv320aic3106b>;
            ti,multichannel-codec-c = <&tlv320aic3106c>;
            ti,multichannel-slots = <8>;
            ti,multichannel-mclk-freq = <11289600>;
            ti,multichannel-shared;

            /* Bluetooth */
            ti,bt-cpu = <&mcasp7>;
            ti,bt-bclk-freq = <512000>;
        };

    Is other than above configuration required?.

    Using "aplay" i am able to play file on CPU board(MCASP3) but not on JAMR board(MCASP6).

    Is any configration required to play audio to JAMR board.

    widget available for MCSASP6 if i type "amixer" comand.

    Simple mixer control 'J3C ADC HPF Cut-off',0
      Capabilities: enum
      Items: 'Disabled' '0.0045xFs' '0.0125xFs' '0.025xFs'
      Item0: 'Disabled'
      Item1: 'Disabled'
    Simple mixer control 'J3C AGC',0
      Capabilities: pswitch
      Playback channels: Front Left - Front Right
      Mono:
      Front Left: Playback [off]
      Front Right: Playback [off]
    Simple mixer control 'J3C De-emphasis',0
      Capabilities: pswitch
      Playback channels: Front Left - Front Right
      Mono:
      Front Left: Playback [off]
      Front Right: Playback [off]
    Simple mixer control 'J3C HP',0
      Capabilities: pswitch
      Playback channels: Front Left - Front Right
      Mono:
      Front Left: Playback [on]
      Front Right: Playback [on]
    Simple mixer control 'J3C HP DAC',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 118
      Mono:
      Front Left: Playback 71 [60%] [-23.50dB]
      Front Right: Playback 71 [60%] [-23.50dB]
    Simple mixer control 'J3C HP Line2 Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C HP PGA Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C HPCOM',0
      Capabilities: pswitch
      Playback channels: Front Left - Front Right
      Mono:
      Front Left: Playback [on]
      Front Right: Playback [on]
    Simple mixer control 'J3C HPCOM DAC',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 118
      Mono:
      Front Left: Playback 71 [60%] [-23.50dB]
      Front Right: Playback 71 [60%] [-23.50dB]
    Simple mixer control 'J3C HPCOM Line2 Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C HPCOM PGA Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C Left AGC Attack time',0
      Capabilities: enum
      Items: '8ms' '11ms' '16ms' '20ms'
      Item0: '8ms'
    Simple mixer control 'J3C Left AGC Decay time',0
      Capabilities: enum
      Items: '100ms' '200ms' '400ms' '500ms'
      Item0: '100ms'
    Simple mixer control 'J3C Left AGC Target level',0
      Capabilities: enum
      Items: '-5.5dB' '-8dB' '-10dB' '-12dB' '-14dB' '-17dB' '-20dB' '-24dB'
      Item0: '-5.5dB'
    Simple mixer control 'J3C Left DAC Mux',0
      Capabilities: enum
      Items: 'DAC_L1' 'DAC_L3' 'DAC_L2'
      Item0: 'DAC_L1'
    Simple mixer control 'J3C Left HP Mixer DACL1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Left HP Mixer DACR1',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 118
      Mono: Playback 118 [100%] [0.00dB] [off]
    Simple mixer control 'J3C Left HP Mixer Line2L Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left HP Mixer Line2R Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Left HP Mixer PGAL Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left HP Mixer PGAR Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Left HPCOM Mixer DACL1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Left HPCOM Mixer DACR1',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 118
      Mono: Playback 118 [100%] [0.00dB] [off]
    Simple mixer control 'J3C Left HPCOM Mixer Line2L Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left HPCOM Mixer Line2R Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Left HPCOM Mixer PGAL Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left HPCOM Mixer PGAR Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Left HPCOM Mux',0
      Capabilities: enum
      Items: 'differential of HPLOUT' 'constant VCM' 'single-ended'
      Item0: 'differential of HPLOUT'
    Simple mixer control 'J3C Left Line Mixer DACL1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Left Line Mixer DACR1',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 118
      Mono: Playback 118 [100%] [0.00dB] [off]
    Simple mixer control 'J3C Left Line Mixer Line2L Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left Line Mixer Line2R Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Left Line Mixer PGAL Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left Line Mixer PGAR Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Left Line1L Mux',0
      Capabilities: enum
      Items: 'single-ended' 'differential'
      Item0: 'single-ended'
    Simple mixer control 'J3C Left Line1R Mux',0
      Capabilities: enum
      Items: 'single-ended' 'differential'
      Item0: 'single-ended'
    Simple mixer control 'J3C Left Line2L Mux',0
      Capabilities: enum
      Items: 'single-ended' 'differential'
      Item0: 'single-ended'
    Simple mixer control 'J3C Left PGA Mixer Line1L',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Left PGA Mixer Line1R',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left PGA Mixer Line2L',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left PGA Mixer Mic3L',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Left PGA Mixer Mic3R',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Line',0
      Capabilities: pswitch
      Playback channels: Front Left - Front Right
      Mono:
      Front Left: Playback [on]
      Front Right: Playback [on]
    Simple mixer control 'J3C Line DAC',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 118
      Mono:
      Front Left: Playback 71 [60%] [-23.50dB]
      Front Right: Playback 71 [60%] [-23.50dB]
    Simple mixer control 'J3C Line Line2 Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C Line PGA Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C Mono',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Mono DAC',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 118
      Mono:
      Front Left: Playback 71 [60%] [-23.50dB]
      Front Right: Playback 71 [60%] [-23.50dB]
    Simple mixer control 'J3C Mono Line2 Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C Mono Mixer DACL1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Mono Mixer DACR1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Mono Mixer Line2L Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Mono Mixer Line2R Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Mono Mixer PGAL Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Mono Mixer PGAR Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Mono PGA Bypass',0
      Capabilities: volume
      Playback channels: Front Left - Front Right
      Capture channels: Front Left - Front Right
      Limits: 0 - 118
      Front Left: 71 [60%] [-23.50dB]
      Front Right: 71 [60%] [-23.50dB]
    Simple mixer control 'J3C Output Driver Power-On time',0
      Capabilities: enum
      Items: '0us' '10us' '100us' '1ms' '10ms' '50ms' '100ms' '200ms' '400ms' '800ms' '2s' '4s'
      Item0: '0us'
    Simple mixer control 'J3C Output Driver Ramp-up step',0
      Capabilities: enum
      Items: '0ms' '1ms' '2ms' '4ms'
      Item0: '0ms'
    Simple mixer control 'J3C PCM',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 127
      Mono:
      Front Left: Playback 127 [100%] [0.00dB]
      Front Right: Playback 127 [100%] [0.00dB]
    Simple mixer control 'J3C PGA',0
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 119
      Front Left: Capture 32 [27%] [16.00dB] [on]
      Front Right: Capture 32 [27%] [16.00dB] [on]
    Simple mixer control 'J3C Right AGC Attack time',0
      Capabilities: enum
      Items: '8ms' '11ms' '16ms' '20ms'
      Item0: '8ms'
    Simple mixer control 'J3C Right AGC Decay time',0
      Capabilities: enum
      Items: '100ms' '200ms' '400ms' '500ms'
      Item0: '100ms'
    Simple mixer control 'J3C Right AGC Target level',0
      Capabilities: enum
      Items: '-5.5dB' '-8dB' '-10dB' '-12dB' '-14dB' '-17dB' '-20dB' '-24dB'
      Item0: '-5.5dB'
    Simple mixer control 'J3C Right DAC Mux',0
      Capabilities: enum
      Items: 'DAC_R1' 'DAC_R3' 'DAC_R2'
      Item0: 'DAC_R1'
    Simple mixer control 'J3C Right HP Mixer DACL1',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 118
      Mono: Playback 118 [100%] [0.00dB] [off]
    Simple mixer control 'J3C Right HP Mixer DACR1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Right HP Mixer Line2L Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Right HP Mixer Line2R Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right HP Mixer PGAL Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Right HP Mixer PGAR Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right HPCOM Mixer DACL1',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 118
      Mono: Playback 118 [100%] [0.00dB] [off]
    Simple mixer control 'J3C Right HPCOM Mixer DACR1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Right HPCOM Mixer Line2L Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Right HPCOM Mixer Line2R Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right HPCOM Mixer PGAL Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Right HPCOM Mixer PGAR Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right HPCOM Mux',0
      Capabilities: enum
      Items: 'differential of HPROUT' 'constant VCM' 'single-ended' 'differential of HPLCOM' 'external feedback'
      Item0: 'differential of HPROUT'
    Simple mixer control 'J3C Right Line Mixer DACL1',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 118
      Mono: Playback 118 [100%] [0.00dB] [off]
    Simple mixer control 'J3C Right Line Mixer DACR1',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Right Line Mixer Line2L Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Right Line Mixer Line2R Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right Line Mixer PGAL Bypass',0
      Capabilities: volume volume-joined pswitch pswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Limits: 0 - 118
      Mono: 118 [100%] [0.00dB] Playback [off]
    Simple mixer control 'J3C Right Line Mixer PGAR Bypass',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right Line1L Mux',0
      Capabilities: enum
      Items: 'single-ended' 'differential'
      Item0: 'single-ended'
    Simple mixer control 'J3C Right Line1R Mux',0
      Capabilities: enum
      Items: 'single-ended' 'differential'
      Item0: 'single-ended'
    Simple mixer control 'J3C Right Line2R Mux',0
      Capabilities: enum
      Items: 'single-ended' 'differential'
      Item0: 'single-ended'
    Simple mixer control 'J3C Right PGA Mixer Line1L',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right PGA Mixer Line1R',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'J3C Right PGA Mixer Line2R',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right PGA Mixer Mic3L',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'J3C Right PGA Mixer Mic3R',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'Left AGC Attack time',0
      Capabilities: enum
      Items: '8ms' '11ms' '16ms' '20ms'
      Item0: '8ms'
    Simple mixer control 'Left AGC Decay time',0
      Capabilities: enum
      Items: '100ms' '200ms' '400ms' '500ms'
      Item0: '100ms'
    Simple mixer control 'Left AGC Target level',0
      Capabilities: enum
     Items: '-5.5dB' '-8dB' '-10dB' '-12dB' '-14dB' '-17dB' '-20dB' '-24dB'

      Item0: '-5.5dB'

    Is other configuration required using "amixer". Is on/off any switch or volume configuration.

    meanwhile i check clock configuration suggest by you.

    Regards,

    Bharat Gohil

  • Hi Yanko,

    Please find below log for registers
    # devmem 0x4A009904 //CM_L4PER2_MCASP6_CLKCTRL
    0x05010002 // 0x2: Module is explicitly enabled.

    # devmem 0x4A0098FC //CM_L4PER2_CLKCTRL
    0xCC3F0003 // 0x3[0:1] HW_AUTO, 0x1[27]Corresponding clock is running or gating/ungating
    transition is on-going

    Can you guide me what should i do next?
    should change CM_L4PER2_CLKCTRL to SW_WKUP>

    this is critical to resolve.

    eagerly waiting for your response.

    Regards,
    Bharat Gohil
  • Hi Yanko,

    Thanks for support.

    I am able find out problem.

    aplay get default card to 0(card),0(device).

    Just change device 0 to 1.

    Thanks anyway.

    Regards,

    Bharat Gohil