Kernelnewbies Mailing Lists
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

alsa

Nuno Sá

Sept. 13, 2019
2:05 p.m.

Hi all, Im currently doing a driver for the alsa subsystem. This is my first interaction with it, so sorry if this is to trivial. Since this is my first time on the subsystem I'm first posting my question here before going to the alsa mailing list. So, I'm doing a codec driver for this device https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118... . The device is a converter from PDM to I2S/TDM and it has 4 PDM inputs which can be enabled/disabled via I2C. My question is, how can I add controls to enable/disable the inputs? I'm trying to use `SND_SOC_DAPM_SWITCH()` together with a `SOC_DAPM_SINGLE()` control. The thing is, when I use alsamixer this controls only come up on the playback tab which makes me feel that something is not ok (the device only supports Capture stream). Is this correct way to add controls for input's? Any inputs would be helpful... Thanks in advance, Nuno Sá

0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.12.