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.

Linux/PROCESSOR-SDK-AM437X: Microphone not working

Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: TLV320AIC3100, TMDXEVM438X-EPOS, AM4372

Tool/software: Linux

Hi Team,

We are using TLV320AIC3100 along with AM437x. We are able to get the Speaker working but not able to get the MIC working. we are using the Processor SDK 02.00.02.11. Following is the connctions we have made following connections

Above one is modified as MIC1LP -> MIC OUT

MIC1RP -> Floating

Following is the DTS entries:

        /* tlv320aic3100 added by arun analogics */
        tlv320aic3100: tlv320aic3100@18 {
                #sound-dai-cells = <0>;
                compatible = "ti,tlv320aic3100";
                reg = <0x18>;
                status = "okay";

                pinctrl-names = "default";
                pinctrl-0 = <&clkout1_pin>;

                clocks = <&clkout1_mux_ck>;
                clock-names = "xvclk";
                assigned-clocks = <&clkout1_mux_ck>;
                assigned-clock-parents = <&clkout1_osc_div_ck>;

                //ai31xx-micbias-vg = <MICBIAS_2_0V>;

                /* Regulators */


                AVDD-supply = <&dcdc4>;
                IOVDD-supply = <&dcdc4>;
                DVDD-supply = <&ldo1>;
                SPRVDD-supply = <&vbat>; /* vbat */
                SPLVDD-supply = <&vbat>; /* vbat */
        };


        sound: sound {
                compatible = "simple-audio-card";
                simple-audio-card,name = "AM437x-SK-EVM";
                simple-audio-card,widgets = "Speaker", "Speaker",
                                            "Microphone" ,"Microphone Jack";

                simple-audio-card,routing = "Speaker", "SPL",
                                            "Speaker", "SPR",
                                            "Headphone Jack", "HPL",
                                            "Headphone Jack", "HPR",
                                            "MIC1LP", "MICBIAS",
                                            "MIC1RP", "MICBIAS",
                                           "MIC1LP","Microphone Jack",
                                           "MIC1RP","Microphone Jack";



                simple-audio-card,format = "dsp_b";
                simple-audio-card,bitclock-master = <&sound_master>;
                simple-audio-card,frame-master = <&sound_master>;
                simple-audio-card,bitclock-inversion ;

                simple-audio-card,cpu {
                        sound-dai = <&mcasp1>;
                        /*system-clock-frequency = <12000000>; */
                        system-clock-frequency = <24000000>;
                };

                sound_master: simple-audio-card,codec {
                        sound-dai = <&tlv320aic3100>;
                        /*system-clock-frequency = <12000000>;*/
                        system-clock-frequency = <24000000>;
                };
        };

Attached are the boot logs

80546.dmesg.txt
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.18 (root@rndsc20) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 PREEMPT Tue Feb 20 11:51:02 IST 2018
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM437x SK EVM
[    0.000000] cma: Reserved 24 MiB at 0xbe800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0ccc144, node_mem_map eeef9000
[    0.000000]   Normal zone: 1710 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 67584 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (neon )
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260434
[    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 mem=1G rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 998196K/1048576K available (8983K kernel code, 471K rwdata, 3372K rodata, 376K init, 2297K bss, 25804K reserved, 24576K cma-reserved, 245760K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c1905c   (12357 kB)
[    0.000000]       .init : 0xc0c1a000 - 0xc0c78000   ( 376 kB)
[    0.000000]       .data : 0xc0c78000 - 0xc0cedea0   ( 472 kB)
[    0.000000]        .bss : 0xc0cf0000 - 0xc0f2e738   (2298 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000031] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000041] OMAP clocksource: timer1 at 24000000 Hz
[    0.000924] Console: colour dummy device 80x30
[    0.000962] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.090183] pid_max: default: 32768 minimum: 301
[    0.090285] Security Framework initialized
[    0.090351] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.090362] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.091041] Initializing cgroup subsys blkio
[    0.091063] Initializing cgroup subsys memory
[    0.091112] Initializing cgroup subsys devices
[    0.091127] Initializing cgroup subsys freezer
[    0.091140] Initializing cgroup subsys perf_event
[    0.091166] CPU: Testing write buffer coherency: ok
[    0.091519] Setting up static identity map for 0x80008200 - 0x80008270
[    0.097104] devtmpfs: initialized
[    0.108498] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.183383] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.185255] pinctrl core: initialized pinctrl subsystem
[    0.186455] NET: Registered protocol family 16
[    0.187961] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.210188] cpuidle: using governor ladder
[    0.240180] cpuidle: using governor menu
[    0.246615] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[    0.247013] OMAP GPIO hardware version 0.1
[    0.247698] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[    0.248383] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[    0.249096] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[    0.249789] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
[    0.250682] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
[    0.257883] No ATAGs?
[    0.257918] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.257928] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.299094] edma 49000000.edma: TI EDMA DMA engine driver
[    0.299766] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
[    0.300128] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
[    0.303460] vgaarb: loaded
[    0.303943] SCSI subsystem initialized
[    0.304267] usbcore: registered new interface driver usbfs
[    0.304346] usbcore: registered new interface driver hub
[    0.304448] usbcore: registered new device driver usb
[    0.304956] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
[    0.305008] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferring probe
[    0.305139] media: Linux media interface: v0.10
[    0.305201] Linux video capture interface: v2.00
[    0.305267] pps_core: LinuxPPS API ver. 1 registered
[    0.305275] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.305305] PTP clock support registered
[    0.306074] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.306442] Advanced Linux Sound Architecture Driver Initialized.
[    0.307050] NET: Registered protocol family 23
[    0.307134] Bluetooth: Core ver 2.20
[    0.307193] NET: Registered protocol family 31
[    0.307201] Bluetooth: HCI device and connection manager initialized
[    0.307214] Bluetooth: HCI socket layer initialized
[    0.307224] Bluetooth: L2CAP socket layer initialized
[    0.307279] Bluetooth: SCO socket layer initialized
[    0.307617] cfg80211: Calling CRDA to update world regulatory domain
[    0.308284] Switched to clocksource timer1
[    0.317903] NET: Registered protocol family 2
[    0.318734] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.318822] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.318913] TCP: Hash tables configured (established 8192 bind 8192)
[    0.319060] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.319085] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.319275] NET: Registered protocol family 1
[    0.319632] RPC: Registered named UNIX socket transport module.
[    0.319643] RPC: Registered udp transport module.
[    0.319649] RPC: Registered tcp transport module.
[    0.319655] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.319689] PCI: CLS 0 bytes, default 64
[    0.322097] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.322180] audit: initializing netlink subsys (disabled)
[    0.322235] audit: type=2000 audit(0.300:1): initialized
[    0.328214] VFS: Disk quotas dquot_6.6.0
[    0.328545] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.330081] NFS: Registering the id_resolver key type
[    0.330135] Key type id_resolver registered
[    0.330143] Key type id_legacy registered
[    0.332919] NET: Registered protocol family 38
[    0.333022] bounce: pool size: 64 pages
[    0.333039] io scheduler noop registered
[    0.333052] io scheduler deadline registered
[    0.333115] io scheduler cfq registered (default)
[    0.336000] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[    0.338576] pwm-backlight backlight: GPIO lookup for consumer enable
[    0.338595] pwm-backlight backlight: using device tree for GPIO lookup
[    0.338611] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
[    0.338622] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
[    0.338630] pwm-backlight backlight: using lookup tables for GPIO lookup
[    0.338641] pwm-backlight backlight: lookup for GPIO enable failed
[    0.338659] backlight supply power not found, using dummy regulator
[    0.340607] 4832a000.dss supply vdda_video not found, using dummy regulator
[    0.340728] OMAP DSS rev 2.0
[    0.340974] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
[    0.342119] panel-dpi display: GPIO lookup for consumer enable
[    0.342135] panel-dpi display: using device tree for GPIO lookup
[    0.342149] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
[    0.342159] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
[    0.342167] panel-dpi display: using lookup tables for GPIO lookup
[    0.342177] panel-dpi display: lookup for GPIO enable failed
[    0.342877] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    0.344012] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.346715] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.346739] omap8250 44e09000.serial: GPIO lookup for consumer enable
[    0.346749] omap8250 44e09000.serial: using device tree for GPIO lookup
[    0.346763] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
[    0.346772] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
[    0.346781] omap8250 44e09000.serial: using lookup tables for GPIO lookup
[    0.346791] omap8250 44e09000.serial: lookup for GPIO enable failed
[    0.347177] console [ttyS0] disabled
[    0.347248] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.082727] console [ttyS0] enabled
[    1.086750] omap8250 48022000.serial: No clock speed specified: using default: 48000000
[    1.094868] omap8250 48022000.serial: GPIO lookup for consumer enable
[    1.094880] omap8250 48022000.serial: using device tree for GPIO lookup
[    1.094896] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
[    1.094906] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
[    1.094915] omap8250 48022000.serial: using lookup tables for GPIO lookup
[    1.094924] omap8250 48022000.serial: lookup for GPIO enable failed
[    1.095325] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    1.104574] omap8250 48024000.serial: No clock speed specified: using default: 48000000
[    1.112694] omap8250 48024000.serial: GPIO lookup for consumer enable
[    1.112706] omap8250 48024000.serial: using device tree for GPIO lookup
[    1.112720] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48024000[0]'
[    1.112730] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48024000[0]'
[    1.112739] omap8250 48024000.serial: using lookup tables for GPIO lookup
[    1.112749] omap8250 48024000.serial: lookup for GPIO enable failed
[    1.113095] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    1.122332] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    1.130451] omap8250 481a6000.serial: GPIO lookup for consumer enable
[    1.130463] omap8250 481a6000.serial: using device tree for GPIO lookup
[    1.130478] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@481a6000[0]'
[    1.130489] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@481a6000[0]'
[    1.130497] omap8250 481a6000.serial: using lookup tables for GPIO lookup
[    1.130507] omap8250 481a6000.serial: lookup for GPIO enable failed
[    1.130842] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a 8250
[    1.140088] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
[    1.148138] omap8250 481a8000.serial: GPIO lookup for consumer enable
[    1.148148] omap8250 481a8000.serial: using device tree for GPIO lookup
[    1.148161] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@481a8000[0]'
[    1.148171] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@481a8000[0]'
[    1.148179] omap8250 481a8000.serial: using lookup tables for GPIO lookup
[    1.148188] omap8250 481a8000.serial: lookup for GPIO enable failed
[    1.148585] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a 8250
[    1.157753] omap8250 481aa000.serial: No clock speed specified: using default: 48000000
[    1.165878] omap8250 481aa000.serial: GPIO lookup for consumer enable
[    1.165890] omap8250 481aa000.serial: using device tree for GPIO lookup
[    1.165906] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@481aa000[0]'
[    1.165916] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@481aa000[0]'
[    1.165925] omap8250 481aa000.serial: using lookup tables for GPIO lookup
[    1.165934] omap8250 481aa000.serial: lookup for GPIO enable failed
[    1.166262] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a 8250
[    1.176829] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.183756] [drm] Initialized drm 1.1.0 20060810
[    1.199134] brd: module loaded
[    1.207149] loop: module loaded
[    1.212401] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.220339] spi spi1.0: not using DMA for McSPI
[    1.226150] tun: Universal TUN/TAP device driver, 1.6
[    1.231322] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.298316] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.304455] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.311539] libphy: 4a101000.mdio: probed
[    1.315587] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    1.325593] cpsw 4a100000.ethernet: Random MACID = 42:6a:ec:93:96:91
[    1.333211] PPP generic driver version 2.4.2
[    1.337804] PPP BSD Compression module registered
[    1.342673] PPP Deflate Compression module registered
[    1.347771] PPP MPPE Compression module registered
[    1.352638] NET: Registered protocol family 24
[    1.357446] usbcore: registered new interface driver rt2500usb
[    1.363454] usbcore: registered new interface driver rt73usb
[    1.369234] usbcore: registered new interface driver rt2800usb
[    2.179031] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.185622] ehci-pci: EHCI PCI platform driver
[    2.190225] ehci-platform: EHCI generic platform driver
[    2.195837] ehci-omap: OMAP-EHCI Host Controller driver
[    2.201544] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.207803] ohci-pci: OHCI PCI platform driver
[    2.212390] ohci-platform: OHCI generic platform driver
[    2.217839] uhci_hcd: USB Universal Host Controller Interface driver
[    2.224839] dwc3 48390000.usb: otg: primary host xhci-hcd.0.auto registered
[    2.231884] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered
[    2.238806] dwc3 48390000.usb: otg: can't start till gadget registers
[    2.245382] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.251188] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.259346] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00210010
[    2.268147] xhci-hcd xhci-hcd.1.auto: irq 295, io mem 0x483d0000
[    2.274402] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.281253] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.288524] usb usb1: Product: xHCI Host Controller
[    2.293423] usb usb1: Manufacturer: Linux 4.1.18 xhci-hcd
[    2.298856] usb usb1: SerialNumber: xhci-hcd.1.auto
[    2.304443] hub 1-0:1.0: USB hub found
[    2.308252] hub 1-0:1.0: 1 port detected
[    2.312623] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.318413] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.326217] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.334500] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    2.341346] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.348615] usb usb2: Product: xHCI Host Controller
[    2.353513] usb usb2: Manufacturer: Linux 4.1.18 xhci-hcd
[    2.358947] usb usb2: SerialNumber: xhci-hcd.1.auto
[    2.364485] hub 2-0:1.0: USB hub found
[    2.368362] hub 2-0:1.0: 1 port detected
[    2.372987] fusbh200_hcd: FUSBH200 Host Controller (EHCI) Driver
[    2.379100] Warning! fusbh200_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    2.388160] fotg210_hcd: FOTG210 Host Controller (EHCI) Driver
[    2.394066] 4Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    2.403366] usbcore: registered new interface driver cdc_acm
[    2.409206] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.417343] usbcore: registered new interface driver cdc_wdm
[    2.423119] usbcore: registered new interface driver usbtmc
[    2.428793] usbcore: registered new interface driver uas
[    2.434264] usbcore: registered new interface driver usb-storage
[    2.440380] usbcore: registered new interface driver ums-alauda
[    2.446385] usbcore: registered new interface driver ums-cypress
[    2.452493] usbcore: registered new interface driver ums-datafab
[    2.458591] usbcore: registered new interface driver ums_eneub6250
[    2.464844] usbcore: registered new interface driver ums-freecom
[    2.471114] usbcore: registered new interface driver ums-isd200
[    2.477114] usbcore: registered new interface driver ums-jumpshot
[    2.483316] usbcore: registered new interface driver ums-karma
[    2.489241] usbcore: registered new interface driver ums-onetouch
[    2.495424] usbcore: registered new interface driver ums-realtek
[    2.501544] usbcore: registered new interface driver ums-sddr09
[    2.507539] usbcore: registered new interface driver ums-sddr55
[    2.514005] usbcore: registered new interface driver ums-usbat
[    2.520138] usbcore: registered new interface driver usbserial
[    2.526058] usbcore: registered new interface driver cp210x
[    2.531729] usbserial: USB Serial support registered for cp210x
[    2.537759] usbcore: registered new interface driver ftdi_sio
[    2.543589] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.551141] usbcore: registered new interface driver cypress_cy7c63
[    2.628322] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.769631] usb 1-1: New USB device found, idVendor=04b4, idProduct=6570
[    2.776372] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.783564] usb 1-1: Product: USB2.0 Hub
[    2.806678] hub 1-1:1.0: USB hub found
[    2.810815] hub 1-1:1.0: 4 ports detected
[    2.817239] usbcore: registered new interface driver usbtest
[    2.823196] using random self ethernet address
[    2.827669] using random host ethernet address
[    2.832737] usb0: HOST MAC ce:eb:d6:9c:00:d6
[    2.837120] usb0: MAC 42:68:ae:13:9f:40
[    2.841054] using random self ethernet address
[    2.845522] using random host ethernet address
[    2.850081] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    2.856728] g_ether gadget: g_ether ready
[    2.860819] dwc3 48390000.usb: otg: gadget gadget registered
[    2.867100] mousedev: PS/2 mouse device common for all mice
[    2.873347] <<-GTP-INFO->> GTP driver installing...
[    2.879507] i2c /dev entries driver
[    2.883165] Marvell M88ALP01 'CAFE' Camera Controller version 2
[    2.889825] usbcore: registered new interface driver zr364xx
[    2.895606] usbcore: registered new interface driver stkwebcam
[    2.901596] usbcore: registered new interface driver s2255
[    2.907238] usbcore: registered new interface driver uvcvideo
[    2.913111] USB Video Class driver (1.1.1)
[    2.917305] gspca_main: v2.14.0 registered
[    2.921499] cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
[    2.927926] usbcore: registered new interface driver cpia2
[    2.933599] usbcore: registered new interface driver usbtv
[    2.939539] ###### LTC2954_poweroff_probe #########
[    2.944443] ######## LTC2954_poweroff_init ##########
[    2.949569] LTC2954-poweroff ltc2954: GPIO lookup for consumer kill
[    2.949580] LTC2954-poweroff ltc2954: using device tree for GPIO lookup
[    2.949637] of_get_named_gpiod_flags: parsed 'kill-gpios' property of node '/ltc2954[0]' - status (0)
[    2.949710] LTC2954-poweroff ltc2954: GPIO lookup for consumer trigger
[    2.949722] LTC2954-poweroff ltc2954: using device tree for GPIO lookup
[    2.949753] of_get_named_gpiod_flags: parsed 'trigger-gpios' property of node '/ltc2954[0]' - status (0)
[    2.949836] LTC2954-poweroff ltc2954: probe successful
[    2.956626] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.963794] Bluetooth: Virtual HCI driver ver 1.5
[    2.968724] Bluetooth: HCI UART driver ver 2.3
[    2.973195] Bluetooth: HCI UART protocol H4 registered
[    2.978378] Bluetooth: HCI UART protocol BCSP registered
[    2.983711] Bluetooth: HCI UART protocol LL registered
[    2.988881] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.995285] usbcore: registered new interface driver bcm203x
[    3.001134] usbcore: registered new interface driver bpa10x
[    3.006823] usbcore: registered new interface driver bfusb
[    3.012449] usbcore: registered new interface driver btusb
[    3.017969] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    3.024716] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    3.024733] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    3.024788] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    3.024807] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.029506] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    3.029516] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    3.029527] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    3.029537] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    3.029546] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    3.029555] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    3.058836] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
[    3.058903] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    3.058923] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
[    3.058934] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
[    3.058943] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    3.058953] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
[    3.058965] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
[    3.058973] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    3.058982] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
[    3.058991] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
[    3.058998] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    3.059007] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
[    3.088642] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    3.088660] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    3.088674] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
[    3.088684] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
[    3.088693] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    3.088703] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[    3.088714] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    3.088721] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    3.088731] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
[    3.088740] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
[    3.088748] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    3.088756] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[    3.088950] /ocp/mmc@47810000: could not get #dma-cells for /ocp/l4_wkup@44c00000/prcm@1f0000/clocks/mux_synctimer32k_ck
[    3.099990] omap_hsmmc 47810000.mmc: unable to obtain RX DMA engine channel 0
[    3.118321] usb 1-1.1: new high-speed USB device number 3 using xhci-hcd
[    3.128703] ledtrig-cpu: registered to indicate activity on CPUs
[    3.135133] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[    3.142366] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[    3.149592] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[    3.157428]  remoteproc0: wkup_m3 is available
[    3.162091]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    3.171282]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.184493] 
[    3.184493] Misc Driver for Printer Is Registered
[    3.190889] PRINTER GPIO's Initialization Done
[    3.197816] oprofile: no performance counters
[    3.202594] oprofile: using timer interrupt.
[    3.207275] Initializing XFRM netlink socket
[    3.212242] NET: Registered protocol family 10
[    3.217840] sit: IPv6 over IPv4 tunneling driver
[    3.223970] NET: Registered protocol family 17
[    3.228736] NET: Registered protocol family 15
[    3.233324] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    3.247188] IrCOMM protocol (Dag Brattli)
[    3.254291] usb 1-1.1: New USB device found, idVendor=148f, idProduct=5370
[    3.262276] Bluetooth: RFCOMM TTY layer initialized
[    3.267198] Bluetooth: RFCOMM socket layer initialized
[    3.272480] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.279873] Bluetooth: RFCOMM ver 1.11
[    3.283657] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.289020] usb 1-1.1: Product: 802.11 n WLAN
[    3.293399] usb 1-1.1: Manufacturer: Ralink
[    3.297599] usb 1-1.1: SerialNumber: 1.0
[    3.301554] Bluetooth: BNEP filters: protocol multicast
[    3.306812] Bluetooth: BNEP socket layer initialized
[    3.312962] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.319231] Bluetooth: HIDP socket layer initialized
[    3.324528] 8021q: 802.1Q VLAN Support v1.8
[    3.331165] sctp: Hash tables configured (established 65536 bind 65536)
[    3.339036] Key type dns_resolver registered
[    3.343670] omap_voltage_late_init: Voltage driver support not added
[    3.350865] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[    3.359795] cpu cpu0: cpu0 clock notifier not ready, retry
[    3.366578] PM: no-rtc available, rtc-only mode disabled.
[    3.372386] ThumbEE CPU extension supported.
[    3.376781] Registering SWP/SWPB emulation handler
[    3.382858] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[    3.391166] Key type encrypted registered
[    3.396699] omapdrm omapdrm.0: DMM not available, disable DMM support
[    3.404207] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.411044] usb 1-1.1: reset high-speed USB device number 3 using xhci-hcd
[    3.417997] [drm] No driver support for vblank timestamp query.
[    3.454051] Console: switching to colour frame buffer device 40x30
[    3.458364] cfg80211: Calling CRDA to update world regulatory domain
[    3.478411] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    3.484361] omapdrm omapdrm.0: registered panic notifier
[    3.518361] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    3.533816] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[    3.562654] ## aic31xx_i2c_probe: tlv320aic3100 codec_type = 0
[    3.569031] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@44e0b000/tlv320aic3100@18[0]'
[    3.569100] 0-0018 supply HPVDD not found, using dummy regulator
[    3.575396] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[    3.582954] at24 0-0050: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[    3.589999] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[    3.596096] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    3.599719] <<-GTP-INFO->> GTP Driver Version: V2.4<2014/11/28>
[    3.605679] <<-GTP-INFO->> GTP Driver Built@11:43:45, Feb 20 2018
[    3.611872] <<-GTP-INFO->> GTP I2C Address: 0x5d
[    3.616511] ****** Analogics CTP INT Parsing ********
[    3.621707] of_get_named_gpiod_flags: parsed 'goodix,irq-gpio' property of node '/ocp/i2c@4802a000/goodix@5d[0]' - status (0)
[    3.621732] of_get_named_gpiod_flags: parsed 'goodix,rst-gpio' property of node '/ocp/i2c@4802a000/goodix@5d[0]' - status (0)
[    3.621760] 1-005d supply vdd_ana not found, using dummy regulator
[    3.628123] <<-GTP-INFO->> Guitar reset
[    3.778788] <<-GTP-INFO->> IC Version: 911_1060
[    3.784042] <<-GTP-INFO->> Sensor_ID: 2
[    3.787900] <<-GTP-INFO->> Config group2 used,length: 186
[    3.793688] <<-GTP-INFO->> Driver send config.
[    3.804111] <<-GTP-INFO->> X_MAX: 320, Y_MAX: 240, TRIGGER: 0x01
[    3.828333] <<-GTP-INFO->> create proc entry gt9xx_config success
[    3.834701] input: goodix-ts as /devices/virtual/input/input0
[    3.840912] <<-GTP-INFO->> GTP works in interrupt mode.
[    3.846302] <<-GTP-INFO->> Applied memory size:2562.
[    3.851367] <<-GTP-INFO->> I2C function: without pre and end cmd!
[    3.857554] <<-GTP-INFO->> Create proc entry success!
[    3.863697] input: adp5588-keys as /devices/platform/44000000.ocp/4802a000.i2c/i2c-1/1-0034/input/input1
[    3.875957] adp5588_keys 1-0034: Rev.4 keypad, irq 63
[    3.882178] rtc-rx8025 1-0032: rtc core: registered RTC-RX8025 as rtc0
[    3.888827] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
[    3.895655] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    3.895673] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    3.895725] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    3.895745] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.900471]  remoteproc0: powering up wkup_m3
[    3.904858]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
[    3.912144] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    3.912154] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    3.912166] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    3.912176] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    3.912185] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    3.912195] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    3.913555]  remoteproc0: remote processor wkup_m3 is now up
[    3.919303] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[    3.949222] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
[    3.949241] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    3.949257] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
[    3.949267] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
[    3.949277] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    3.949287] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
[    3.949298] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
[    3.949306] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[    3.949315] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
[    3.949325] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
[    3.949333] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[    3.949341] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
[    3.989058] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound[0]'
[    3.989078] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
[    3.989291] ## aic31xx_codec_probe
[    3.992722] aic31xx_add_controls
[    3.996002] 310x snd contrls
[    3.999016] aic31xx_add_widgets
[    4.002232] aic310x_dapm_widgets
[    4.006648] asoc-simple-card sound: control 2:0:0:ADC Fine Capture Volume:0 is already present
[    4.017372] tlv320aic31xx-codec 0-0018: ASoC: Failed to add ADC Fine Capture Volume: -16
[    4.025759] ## aic31xx_set_dai_sysclk: clk_id = 0, freq = 24000000, dir = 0
[    4.032903] ## aic31xx_set_dai_fmt: fmt = 0x1305
[    4.037594] SND_SOC_DAIFMT_DSP_B
[    4.042230] asoc-simple-card sound: tlv320aic31xx-hifi <-> 4803c000.mcasp mapping ok
[    4.050153] asoc-simple-card sound: ASoC: no source widget found for SPR
[    4.056949] asoc-simple-card sound: ASoC: Failed to add route SPR -> direct -> Speaker
[    4.065990] asoc-simple-card sound: ASoC: no sink widget found for Headphone Jack
[    4.075550] asoc-simple-card sound: ASoC: Failed to add route HPL -> direct -> Headphone Jack
[    4.084147] asoc-simple-card sound: ASoC: no sink widget found for Headphone Jack
[    4.091681] asoc-simple-card sound: ASoC: Failed to add route HPR -> direct -> Headphone Jack
[    4.100412] tlv320aic31xx-codec 0-0018: ASoC: Failed to create MIC1RP debugfs file
[    4.108059] tlv320aic31xx-codec 0-0018: ASoC: Failed to create MIC1LP debugfs file
[    4.115802] tlv320aic31xx-codec 0-0018: ASoC: Failed to create ADC debugfs file
[    4.126974] rtc-rx8025 1-0032: setting system clock to 1970-01-01 00:46:25 UTC (2785)
[    4.135043] mmc1: MAN_BKOPS_EN bit is not set
[    4.143397] vmmcwl_fixed: disabling
[    4.147048] ALSA device list:
[    4.150221]   #0: AM437x-SK-EVM
[    4.154019] Waiting for root device /dev/mmcblk0p2...
[    4.160203] mmc1: new high speed MMC card at address 0001
[    4.166172] mmcblk0: mmc1:0001 004G60 3.69 GiB 
[    4.171020] mmcblk0boot0: mmc1:0001 004G60 partition 1 2.00 MiB
[    4.177148] mmcblk0boot1: mmc1:0001 004G60 partition 2 2.00 MiB
[    4.184404]  mmcblk0: p1 p2 p3
[    4.275307] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.283629] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    4.291455] devtmpfs: mounted
[    4.295100] Freeing unused kernel memory: 376K (c0c1a000 - c0c78000)
[    4.395662] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[    6.041116] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
>[    6.386991] udev[410]: starting version 167
[    6.608476] cfg80211: Calling CRDA to update world regulatory domain
[    7.626290] cfg80211: World regulatory domain updated:
[    7.825666] cfg80211:  DFS Master region: unset
[    7.897480] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    8.268542] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.276603] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    9.158279] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    9.166700] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    9.439552] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    9.503403] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    9.519315] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.527403] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    9.843811] EXT4-fs (mmcblk0p3): mounted filesystem with writeback data mode. Opts: barrier=1,data=writeback
[   10.177526] random: dbus-daemon urandom read with 64 bits of entropy available
[   10.387060] gpio-48 (TIMECOUNT): gpiod_request: status -16
[   10.387079] export_store: status -16
[   10.519185] usb 1-1.1: USB disconnect, device number 3
[   10.671189] RTL871X: module init start
[   10.674979] RTL871X: rtl8723bu v4.4.2_18635.20161006_BTCOEX20151228-664a
[   10.681923] RTL871X: build time: Apr 10 2017 17:41:01
[   10.687003] RTL871X: rtl8723bu BT-Coex version = BTCOEX20151228-664a
[   10.695103] usbcore: registered new interface driver rtl8723bu
[   10.701107] RTL871X: module init ret=0
[   14.536257] NOHZ: local_softirq_pending 08
[   14.628064] NOHZ: local_softirq_pending 08
[   14.748130] NOHZ: local_softirq_pending 08
[   14.772062] NOHZ: local_softirq_pending 08
[   14.776900] NOHZ: local_softirq_pending 08
[   14.805398] NOHZ: local_softirq_pending 08
[   14.830516] NOHZ: local_softirq_pending 08
[   14.869976] NOHZ: local_softirq_pending 08
[   14.936279] NOHZ: local_softirq_pending 08
[   15.081944] NOHZ: local_softirq_pending 08
[   33.070624] random: nonblocking pool is initialized

Could you please let us know what could be wrong here ?

Best Regards,

Ashok

  • Please post the microphone connections. They are not visible.
  • below connections to MIC from CODEC
    MIC1LP -> MIC OUT
    MIC1RP -> Floating
  • What type is the microphone? I don't see any MICBIAS connection.
  • CMC-2242PBL electret condenser microphone. Yes MICBIAS is not connected. Could you please guide us how that should be connected ?


    Best Regards,
    Ashok
  • Look in the codec datasheet. This should also be shown in the microphone datasheet.
  • with help of datasheet made the connections attached circuitry,no luck. please advice any modifications required.

  • Thanks for the connections,but we are not getting any voltage at point of MICBIAS or MIC1L.
  • from software prospective any thing else required,at kernel driver level and amixer settings?
  • Ashok,

    Ashok kusa said:
           /* tlv320aic3100 added by arun analogics */
            tlv320aic3100: tlv320aic3100@18 {
                    #sound-dai-cells = <0>;
                    compatible = "ti,tlv320aic3100";
                    reg = <0x18>;
                    status = "okay";

                    pinctrl-names = "default";
                    pinctrl-0 = <&clkout1_pin>;

                    clocks = <&clkout1_mux_ck>;
                    clock-names = "xvclk";
                    assigned-clocks = <&clkout1_mux_ck>;
                    assigned-clock-parents = <&clkout1_osc_div_ck>;

                    //ai31xx-micbias-vg = <MICBIAS_2_0V>;

                    /* Regulators */


                    AVDD-supply = <&dcdc4>;
                    IOVDD-supply = <&dcdc4>;
                    DVDD-supply = <&ldo1>;
                    SPRVDD-supply = <&vbat>; /* vbat */
                    SPLVDD-supply = <&vbat>; /* vbat */
            };

    Let we start with AIC3100 DTS entry. First of all make sure that entry is within the I2C node:

    &i2c1 {

          tlv320aic3100: tlv320aic3100@18 {

    }

    Next thing I see in AIC3100 node is that you are using pinmux (pinctrl) property here, which seems not supported. See below file:

    linux-kernel/Documentation/devicetree/bindings/sound/tlv320aic31xx.txt

    Please explain what exactly you are pin-muxing here? You should also doble check all your pinmux settings are correct. Check these in user space with devmem2 tool or omapconf tool. Check also you have the expected value in MCASP_PDIR register.

    Note also that AM437x EPOS EVM comes with Speaker and Microphone, same as your custom board. You can refer to the EPOS dts file for reference:

    linux-kernel/arch/arm/boot/dts/am43x-epos-evm.dts

    You can also check EPOS EVM user guide and schematics:

    http://www.ti.com/tool/TMDXEVM438X-EPOS

    Regards,
    Pavel

  • Pavel,
    Thanks for the reply, we able to get the Speaker working and audible. i.e AIC3100 DTS entry & pin mux is properly done under I2C, here my issue is not able to capture MICROPHONE signals.
    please help us capture the voice with MIC.
  • Ashok,

    One of the possible reasons of not being able to capture audio data from MIC is not done pinmux properly. You might setup pinmux properly for playing/transmit audio data through speaker, but miss something in pinmux for capture/receive from MIC.

    Please provide me the McASP pinmux values and MCASP_PDIR register value for analysis.

    Regards,
    Pavel
  • Thanks Pavel,
    Here is the below given McASP pinmux values.

    mcasp1_pins: mcasp_1_pins_default {
    pinctrl-single,pins = <
    0x1a0 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (L23) mcasp0_aclkr.mcasp1_aclkx */
    0x1a4 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (K23) mcasp0_fsr.mcasp1_fsx */
    0x1a8 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (M25) mcasp0_axr1.mcasp1_axr0 */
    0x1ac ( PIN_OUTPUT_PULLDOWN | MUX_MODE3 ) /* (L24) mcasp0_ahclkx.mcasp1_axr1 */
    >;
    };
    mcasp1_pins_sleep: my_mcasp_1_pins_sleep {
    pinctrl-single,pins = <
    0x1a0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L23) mcasp0_aclkr.mcasp1_aclkx */
    0x1a4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K23) mcasp0_fsr.mcasp1_fsx */
    0x1a8 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M25) mcasp0_axr1.mcasp1_axr0 */
    0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L24) mcasp0_ahclkx.mcasp1_axr1 */
    >;
    };

    &mcasp1 {
    #sound-dai-cells = <0>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mcasp1_pins>;
    pinctrl-1 = <&mcasp1_pins_sleep>;

    status = "okay";

    op-mode = <0>;
    tdm-slots = <2>;
    serial-dir = <
    /*0 0 1 2*/
    2 1 0 0
    0 0 0 0
    0 0 0 0
    0 0 0 0
    >;

    /* tx-num-evt = <32>;
    rx-num-evt = <32>;*/

    tx-num-evt = <1>;
    rx-num-evt = <1>;
    };
  • Biser ,Thanks for the hardware connection, at the time of capture we are not getting Voltage (suppose to 2 Volts) at point of MICBIAS or MIC1L.
  • Ashok kusa said:
    Here is the below given McASP pinmux values.

    Ashok kusa said:
    0x1a8 ( PIN_INPUT_PULLDOWN | MUX_MODE3 ) /* (M25) mcasp0_axr1.mcasp1_axr0 */

    You are doing this in kernel (not uboot), right?

    Can you check register CTRL_CONF_MCASP0_AXR1/0x44E109A8 from user space with devmem2 tool. What value you have there? I have some doubts as in am437x-gp-evm.dts we set register CTRL_CONF_RMII1_REFCLK/0x44E10944 as below:

    mcasp1_pins: mcasp1_pins {
            pinctrl-single,pins = <

    AM4372_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE4)    /* rmii1_ref_clk.mcasp1_axr3 */

    >;
        };

    Can you also probe with scope if audio data signal ever occur on that M25 mcasp1_axr0 pin?

    Regards,
    Pavel

  • Ashok kusa said:
    Thanks for the hardware connection, at the time of capture we are not getting Voltage (suppose to 2 Volts) at point of MICBIAS or MIC1L.

    Can you try to add this entry in the aic3100 DTS node:

    #include <dt-bindings/sound/tlv320aic31xx-micbias.h>

    tlv320aic3100: tlv320aic3100@18 {

    aic31xx-micbias-vg = <MICBIAS_2_0V>;

    Will you have 2V in this case?

    Regards,
    Pavel

  • Pavel, Yes pinmux is done in Kernel.

    About the CTRL_CONF_MCASP0_AXR1/0x44E109A8 Register value is
    # ./devmem2 0x44E109A8
    /dev/mem opened.
    Memory mapped at address 0xb6fde000.
    Value at address 0x44E109A8 (0xb6fde9a8): 0x40003

    About the CTRL_CONF_MCASP0_AHCLKX/0x44E109AC Register value is
    # ./devmem2 0x44E109AC
    /dev/mem opened.
    Memory mapped at address 0xb6f86000.
    Value at address 0x44E109AC (0xb6f869ac): 0x3

    Not getting any signal at point of M25 mcasp1_axr0 pin.
  • Ashok kusa said:
    Not getting any signal at point of M25 mcasp1_axr0 pin.

    What is the value of McASP1.MCASP_PDIR register? Make sure that you have the correct values there also.

    If you check with scope the rest of the AM437x McASP1 pins (axr1, aclkx, fsx, ahclkx), do you have the expected values? If you check with scope AM437x I2C pins, do you have the expected values?

    I mean that if everything else is working fine and as expected, then most probably the issue is in the AIC3100 codec settings (HW or SW). For capturing audio from MIC, AM437x device is waiting to receive audio data on the M25 pin. You can check with the Audio codec team for the reason why AIC3100 codec do not send audio data to AM437x McASP module.

    Regards,
    Pavel

  • Dear Pavel,
    help me to find the register address of McASP1.MCASP_PDIR register

    rest of the DTS pins (aclkx ,fsx,axr0 &axr1)

    # /home/devmem2 0x44E109A0
    /dev/mem opened.
    Memory mapped at address 0xb6f05000.
    Value at address 0x44E109A0 (0xb6f059a0): 0x40003
    # /home/devmem2 0x44E109A4
    /dev/mem opened.
    Memory mapped at address 0xb6f65000.
    Value at address 0x44E109A4 (0xb6f659a4): 0x40003
    # /home/devmem2 0x44E109A8
    /dev/mem opened.
    Memory mapped at address 0xb6f69000.
    Value at address 0x44E109A8 (0xb6f699a8): 0x40003
    # /home/devmem2 0x44E109AC
    /dev/mem opened.
    Memory mapped at address 0xb6fc5000.
    Value at address 0x44E109AC (0xb6fc59ac): 0x20003
  • Ashok kusa said:
    help me to find the register address of McASP1.MCASP_PDIR register

    0x4803C014

    Ashok kusa said:
    rest of the DTS pins (aclkx ,fsx,axr0 &axr1)

    # /home/devmem2 0x44E109A0
    /dev/mem opened.
    Memory mapped at address 0xb6f05000.
    Value at address 0x44E109A0 (0xb6f059a0): 0x40003
    # /home/devmem2 0x44E109A4
    /dev/mem opened.
    Memory mapped at address 0xb6f65000.
    Value at address 0x44E109A4 (0xb6f659a4): 0x40003
    # /home/devmem2 0x44E109A8
    /dev/mem opened.
    Memory mapped at address 0xb6f69000.
    Value at address 0x44E109A8 (0xb6f699a8): 0x40003
    # /home/devmem2 0x44E109AC
    /dev/mem opened.
    Memory mapped at address 0xb6fc5000.
    Value at address 0x44E109AC (0xb6fc59ac): 0x20003

    I mean to probe with scope these pins and check if you will have the expected signals there. Have you fixed the 2V issue in MICBIAS?

    Regards,
    Pavel