Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect SSP port number from NHLT table - 2 #4524

Closed

Commits on Aug 14, 2023

  1. ALSA: hda: intel-nhlt: add intel_nhlt_ssp_dir_mask() function

    This helper function returns bitmask of SSP ports which support
    specific direction according to endpoint descriptors. Smart
    amplifier's render feedback does not count when finding SSP ports with
    capture direction so caller could use this function to find out which
    port is for headset(both render and capture) and which port is for
    speakers(render only).
    
    Signed-off-by: Brent Lu <[email protected]>
    brentlu committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    ecb387b View commit details
    Browse the repository at this point in the history
  2. ASoC: SOF: Intel: hda: add new SSP port mask information

    Add new fields to snd_soc_acpi_mach_params structure to provide
    machine drivers SSP port mask of BT sideband device, render device,
    and capture device. Machine driver could use the information to
    detect the port number of headset, speaker, and BT offload devices.
    
    Signed-off-by: Brent Lu <[email protected]>
    brentlu committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e9244c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. ASoC: Intel: sof_rt5682: ssp port overwrite from NHLT

    With bitmasks from NHLT table, we could detect the port number of
    headset, speakers, and bt offload. Here we assume a headset supports
    both render and capture direction and speakers support render
    direction only. BT offload has its own device type so we don't need to
    check direction field in the NHLT endpoint descriptor.
    
    Signed-off-by: Brent Lu <[email protected]>
    brentlu committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    b42980a View commit details
    Browse the repository at this point in the history