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.

PCM6260-Q1: Need Linux driver and integration document for PCM6260-Q1

Part Number: PCM6260-Q1

Hello team,

we are using PCM6260-Q1 for mic, the link provided in the previous message is not having download link, please provide us the link to download Linux driver and integration document.

  • Hi Bharath,

    Linux drivers are located in the product page, click "Download options." See the picture below:

    Best regards,
    Jeff McPherson

  • thank Jeff McPherson,

    we will check and update you the status of integration

  • hello Jeff,

    we are not able to download the attachment  BBB-patch mentioned in the 'guideline document for audio in Linux' as i shared the screenshot,

    because of the patch we are not able get pcm6240.c and .h, can share us those patches too.

  • Hi Bharath,

    I've moved this ticket to our software team to assist you. They will follow up shortly.

    Best regards,
    Jeff McPherson

  • We have upsream the pcmdevice driver code into linux community, also support pcm6260

    pcm6240.c « codecs « soc « sound - kernel/git/next/linux-next.git - The linux-next integration testing tree

    pcm6240.h « codecs « soc « sound - kernel/git/next/linux-next.git - The linux-next integration testing tree

    As to BBB-patch, there's no code only config file for BBB platform. If your platform is not BBB, you can't use it on your platform.

    One more thing, kindly share you platform information and platform. thanks.

  • we are NVIDIA orin nano SOM and our custom carrier board with that.

    linux version 5.15.136.

    we are getting this compilation issues

      CC [M]  sound/soc/codecs/pcm6240.o
    sound/soc/codecs/pcm6240.c:2047:23: error: ‘REGCACHE_MAPLE’ undeclared here (not in a function); did you mean ‘REGCACHE_NONE’?
     2047 |         .cache_type = REGCACHE_MAPLE,
          |                       ^~~~~~~~~~~~~~
          |                       REGCACHE_NONE
    make[4]: *** [scripts/Makefile.build:295: sound/soc/codecs/pcm6240.o] Error 1
    make[3]: *** [scripts/Makefile.build:559: sound/soc/codecs] Error 2
    make[2]: *** [scripts/Makefile.build:559: sound/soc] Error 2
    make[1]: *** [Makefile:1912: sound] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:34: kernel] Error 2

  • and this error we got for trying to compile the whole pcdmdevices folder,

    CC sound/soc/codecs/pcmdevice/pcmdevice-core.o
    sound/soc/codecs/pcmdevice/pcmdevice-core.c: In function ‘pcmdevice_codec_probe’:
    sound/soc/codecs/pcmdevice/pcmdevice-core.c:1223:17: error: ‘FW_ACTION_HOTPLUG’ undeclared (first use in this function)
    1223 | FW_ACTION_HOTPLUG
    | ^~~~~~~~~~~~~~~~~
    sound/soc/codecs/pcmdevice/pcmdevice-core.c:1223:17: note: each undeclared identifier is reported only once for each function it appears in
    sound/soc/codecs/pcmdevice/pcmdevice-core.c: At top level:
    sound/soc/codecs/pcmdevice/pcmdevice-core.c:1446:18: error: ‘struct snd_soc_dai_driver’ has no member named ‘symmetric_rates’; did you mean ‘symmetric_rate’?
    1446 | .symmetric_rates = 1,
    | ^~~~~~~~~~~~~~~
    | symmetric_rate
    sound/soc/codecs/pcmdevice/pcmdevice-core.c:1446:36: warning: initialization of ‘const struct snd_soc_cdai_ops *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    1446 | .symmetric_rates = 1,
    | ^
    sound/soc/codecs/pcmdevice/pcmdevice-core.c:1446:36: note: (near initialization for ‘pcmdevice_dai_driver[0].cops’)
    make[5]: *** [scripts/Makefile.build:295: sound/soc/codecs/pcmdevice/pcmdevice-core.o] Error 1
    make[5]: *** Waiting for unfinished jobs....
    CC sound/soc/codecs/pcmdevice/pcmdevice-rw.o
    CC sound/soc/codecs/pcmdevice/pcmdevice-ops.o
    make[4]: *** [scripts/Makefile.build:559: sound/soc/codecs/pcmdevice] Error 2
    make[3]: *** [scripts/Makefile.build:559: sound/soc/codecs] Error 2
    make[2]: *** [scripts/Makefile.build:559: sound/soc] Error 2
    make[1]: *** [Makefile:1912: sound] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:32: kernel] Error 2