From patchwork Thu Nov 7 01:57:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231613 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 03DA41599 for ; Thu, 7 Nov 2019 01:59:32 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 06E872178F for ; Thu, 7 Nov 2019 01:59:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="vEI4CMeR"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Z62xCmmY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06E872178F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C9E59166D; Thu, 7 Nov 2019 02:58:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C9E59166D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573091968; bh=cAuZA35nsNxropvw5x8ChvxndVbnoX6z4qHVDzH8QmE=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=vEI4CMeRTtiCgZ0LRTup5ZSdugym9u2g5X+lZDbNNPlvc0mMPQEoRn6pwwQvH1PTo uNWotttx0fI8+qtni/3uWk9M5mxP/PXOU6Q0xjoK/HmSk/fPJy5pRgCroW4ZHRFUZh b+HPkZoW+XbUvvQUHy0IdNHnFl9OS1nGxKREN0B4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 16338F8015B; Thu, 7 Nov 2019 02:58:38 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id E93A8F8045F; Thu, 7 Nov 2019 02:58:35 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 958BDF8015B for ; Thu, 7 Nov 2019 02:58:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 958BDF8015B Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Z62xCmmY" Received: by mail-pg1-x543.google.com with SMTP id 29so721045pgm.6 for ; Wed, 06 Nov 2019 17:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BFz5SUfQeFQR2d+nQP7mPvaYeGS1RbBlT4qO/Qhk3Jo=; b=Z62xCmmY0K2ZFvMsihi+nPkR0EG6EK4nvAFMgOc1MMWBeGRr9zTZWLH+tyGQcol8sc FxyLHfJKU9Y+5vuFcT7uqSQP25+G3xG9s8v3ISW80Df2azxG3B/AgjSr4mjDdCzSMHmM v1Efo5tSFaqPzw8/q+oXhuVNeHQOqwoU3p97A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BFz5SUfQeFQR2d+nQP7mPvaYeGS1RbBlT4qO/Qhk3Jo=; b=RBoOIEh4dtRZFOf0yq2XKxuJ/nvbjeRHtCgLib1bsw401jb+rpV2XIkL9WV5+Ic4wW 7CR/dGOusWwFfqVIIEu0jvcLRT4/KPCTR8ep/k/sFNkfPdgp8+DF+yRKYM/ggZ/GMKae Pj6s+8lXxMJ3nlQaItFnfrE0OJPUSkpNffwO/wzzfV3ff4qNCSpmWcLMyZMuGaAKu5ZN CJRF2Ek+w5Dzpxaxj+zxs6xTdvL6KBP9pnPA1h+aQZOFhYAuCWZ4LSPhUhpE4XZSoxcQ KsyLIezPe/r67WO2789srZMYa4hrf9pxt5XP2sieee58smYIP1eQYJFnZ89a45bNxqYS k2vg== X-Gm-Message-State: APjAAAWWjQ1L3kAS/R9BPeAq/E7mM6D3G5ZeJeMUJ2Hm/OcB/GAHSsqD MHCgDCttyiqAPa9Tfg0b+cewmmqyMBS5 X-Google-Smtp-Source: APXvYqwWsrd/HvlTDq1k8hp5meHDXVuBBOgjcdxOMZkR2Uw3T7AHmT0C2laSacffCqT3JQkhlLfeLg== X-Received: by 2002:aa7:9488:: with SMTP id z8mr611935pfk.213.1573091909934; Wed, 06 Nov 2019 17:58:29 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id n3sm290568pff.102.2019.11.06.17.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:29 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:57:58 -0800 Message-Id: <20191107015808.26844-1-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 01/11] ucm: docs: Add JackName value X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This field represents the input device name for a jack detection line Signed-off-by: Curtis Malainey --- include/use-case.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 5cb4f31c..2051bd40 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -320,6 +320,8 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * trick upper software layers to e.g. automatically mute speakers when * headphones are plugged in, but that's application policy * configuration that doesn't belong to UCM configuration files. + * - JackName + * - Input name is the input device name for the jack */ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier, From patchwork Thu Nov 7 01:57:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231617 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8D36139A for ; Thu, 7 Nov 2019 02:00:27 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 471F82178F for ; Thu, 7 Nov 2019 02:00:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="qRx+LYld"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="L6Bs2QkF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 471F82178F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D8E361677; Thu, 7 Nov 2019 02:59:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D8E361677 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092024; bh=CFq15I51naap8bXAYlNozpBzba09e4Py2cdelEJL8Gs=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=qRx+LYlda1AIwsYN9iI+hpu1sDwRX2PxyxAZvt1SMux2ksdOeCaGyShMSrk/iWHmT dPwRRD63uxjcA7MSpW8dpU9P+KmPsyd552NzrZ+N9FNMGUtrcDVQRVwBQrrLQkTENv wn9PFwU5a1uanHwaPlfiKc7hG7cmUeD0vMSAc1w8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D30DEF804FD; Thu, 7 Nov 2019 02:58:39 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7EC56F803F4; Thu, 7 Nov 2019 02:58:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 73405F800F3 for ; Thu, 7 Nov 2019 02:58:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 73405F800F3 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="L6Bs2QkF" Received: by mail-pl1-x642.google.com with SMTP id k7so357742pll.1 for ; Wed, 06 Nov 2019 17:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UfsJvY2cdOU1Cw7G8RBBsya/f9ah4pZopwRcM1t6e3c=; b=L6Bs2QkFYqmTA246qxJZbO4OodYFA4TEf+JWgftyAVo835tqYIupkFDGrAbwvFHVEt 66Y3ciNn3dhgPzU5mPTz+3vTFNv6J2rmgYVmh0XNV/hTAq9O+BUIPXWWfOTJoYyYWH+8 aOl0zruQa8LVwNLsWg0DnOXpyixRDfB7ciUhc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UfsJvY2cdOU1Cw7G8RBBsya/f9ah4pZopwRcM1t6e3c=; b=DFy6lc8ieEo8TEUWmMEurTk5UpeEuQrpR2tgl+MdveapezJ/uMTCe6v7e8bUh35Aor CYMN47KYq9CNoslIFSS0D4wXUvr6LdN18KUAylyzT9Pl8GDkqmwarxJCvy1wWWpSeYdg obGdKp7L9wVKGc+VSgmqeoi35GLeyTo/IJONOvCDZexPiOVWCgc9uZNRzzjyUYBDEoIo MmHULX0rufuNATGKAFJeu2Mqe4Fefd3PXo0ELbmhgVojOSt+kNTImV1IU5BaejPAfRpV ejuoNlQQbcDFPm+hNQxYGoFiPm/wD1a75JCyphJAcA3zXarwdGLKhrgPEXhJ5XE7mz7D +H9g== X-Gm-Message-State: APjAAAXgF1LEHcyG7qnMbGGaBUNV1xMPuBJkNlKhxACKDV3bVMmPE5Tt 0EtRpUU0OcOzU3AtrVdosHOFdoxOXdKn X-Google-Smtp-Source: APXvYqw/Jm4llLEBuk9K2NDXVcUWkD6n4tKYqJ2olPeQhx2ftmuI7wlBqYNK1tIIFI40eQE24kiaAA== X-Received: by 2002:a17:902:6903:: with SMTP id j3mr832231plk.231.1573091911074; Wed, 06 Nov 2019 17:58:31 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id fz12sm224217pjb.15.2019.11.06.17.58.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:30 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:57:59 -0800 Message-Id: <20191107015808.26844-2-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 02/11] ucm: docs: Add JackType value X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Identifies the type of jack and how it should be accessed Signed-off-by: Curtis Malainey --- include/use-case.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 2051bd40..3208cc30 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -322,6 +322,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * configuration that doesn't belong to UCM configuration files. * - JackName * - Input name is the input device name for the jack + * - JackType + * - Specifies whether the jack is accessed via hctl or gpio and therefore + * only carries the possible values of "gpio" or "hctl" */ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier, From patchwork Thu Nov 7 01:58:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231619 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E2AA91850 for ; Thu, 7 Nov 2019 02:01:13 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6EFAF21882 for ; Thu, 7 Nov 2019 02:01:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="ACsjNm4u"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="IM1GgH6k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EFAF21882 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 804FE168B; Thu, 7 Nov 2019 03:00:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 804FE168B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092071; bh=THH5oUkdhg15+w5nBpxMQyGEV1uYS4x9kjWPsmsVD7I=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ACsjNm4u2+AEaXTQmZN800hI94s558u6IJiyRizStkV3ervkWVirqzIXUpxBXMfXZ pvtlRRfGScj+A/YqJh5Ymaefw4g35pXJkac3Z5PlArzWxp1xavVuiUc7UOY5Hm+kC7 r2SWR7fpDEM41OoegsvE8D/hlORYtlEaEao1ljxU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A1332F8060D; Thu, 7 Nov 2019 02:58:41 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 57F7DF803D0; Thu, 7 Nov 2019 02:58:37 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5F3C8F803D0 for ; Thu, 7 Nov 2019 02:58:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5F3C8F803D0 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="IM1GgH6k" Received: by mail-pl1-x642.google.com with SMTP id ay6so365107plb.0 for ; Wed, 06 Nov 2019 17:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UaQxtl71k2I6uPx7Rd6v68//Q8Zy+svLWP033jSUF24=; b=IM1GgH6ksjE/4i3X5amWRjK6A0BGmvxYx4ZFBey69etuRG3SaKUtQNl4HRAj8dRZAl xPiaYczd80kZujjT1PXbsUSMjbmirzZ55h0zblUk5RIcuX3XFFurq9073T2QZk9hxbx0 F2rSmCT/59uUXWkKmqP16U8mMz1Xs/o3lTT7g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UaQxtl71k2I6uPx7Rd6v68//Q8Zy+svLWP033jSUF24=; b=nP91WvS3plp/6Ky51wWYn1KOIF/2lVUMR/siVwqG92gK0JAQI99qtX9VevwFmglLpc co+dnwFkPCrvy9WdybpiBGJNvHx/3FlltL0PbCcmbOwtPf7jKhBibOhX+wc+t1ELpuZP h45E+1GCG67wEUs0D7Sxduz1dW3MdIzW4jrOe5vCCCSnY60GRXhmeE12DwIQQKj2RpI+ mS2E2d68u7Jgg+p6J1kVEP7NJ1dVL2P8aoRVgztUQx7+o/5hmpyUcu7ZIec9azL7yj2R voLGhgEjWxGpYkEXNKgHoLlbmFIJlmeVJHAV0eLKnJ0tPsi7f6B7WDwHsjINmc6dmZlT Ql9g== X-Gm-Message-State: APjAAAWtbhwXAxn8laHwxAjIIP3Z+nhccCKWzJdOxPEw8yi8FacrOecy ZUhodt0FGDBbAgi48d3vN0PBKuRFaPvb X-Google-Smtp-Source: APXvYqwvgqu5XYx082JxZFBQUhM7eJuaIcc5rrTzBdLFrHP05tKZmhLi1hyCi/Wkni3sLzHU9FhrMw== X-Received: by 2002:a17:902:bd8c:: with SMTP id q12mr903397pls.302.1573091912314; Wed, 06 Nov 2019 17:58:32 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id q8sm233033pjp.10.2019.11.06.17.58.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:31 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:00 -0800 Message-Id: <20191107015808.26844-3-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 03/11] ucm: docs: add value JackSwitch X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Identifies event code that will be sent by the device on an jack detect event Signed-off-by: Curtis Malainey --- include/use-case.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 3208cc30..a79e5b91 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -322,6 +322,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * configuration that doesn't belong to UCM configuration files. * - JackName * - Input name is the input device name for the jack + * - JackSwitch + * - The type of event code the jack will send, corresponds to + * Switch Events in include/uapi/linux/input-event-codes.h in the kernel * - JackType * - Specifies whether the jack is accessed via hctl or gpio and therefore * only carries the possible values of "gpio" or "hctl" From patchwork Thu Nov 7 01:58:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231621 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 11C5A139A for ; Thu, 7 Nov 2019 02:02:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 94D97217D7 for ; Thu, 7 Nov 2019 02:02:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="P8F0H2+R"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="EhTTmqRV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94D97217D7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C5EFF1673; Thu, 7 Nov 2019 03:01:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C5EFF1673 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092118; bh=235J15kYBk6CrxDRHik4FW3x46OSsPCD6X001Kwcf9U=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=P8F0H2+RsmtP5NR3V9GNr/hSKTXxWNun6P4ptzyCS1U1BSamaPpLcNpGftzeN/Pxc T8YZSgSONE7R5zA5aVhHzHIsu2+qp8IauadgfMHkoq6vF33EZsbUaUYJTXLoA/j6h0 adEN+7lNvIuiqhZ9dqxX0yA4O9Lue9vVHUvrmux8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6C52AF80633; Thu, 7 Nov 2019 02:58:43 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id EEC25F800F3; Thu, 7 Nov 2019 02:58:38 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0A63EF800F3 for ; Thu, 7 Nov 2019 02:58:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0A63EF800F3 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="EhTTmqRV" Received: by mail-pf1-x441.google.com with SMTP id z4so1040669pfn.12 for ; Wed, 06 Nov 2019 17:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ViaeVOjlrxVWMLZoiFjG6JN27LxosaApg0PY9qQyUPY=; b=EhTTmqRVw/lc4U0BBS9YT4Rjm9jsSECatgBBeekescpeMoBZmrYUQKrNH5FXdRFwli MWjG6bCGpet4VzyPBPvZ30LlUr8jAQsWLk6NEjXDfS8dzL0z0frIxoYsPbwrAuKGQe1P qG7ynR1Goz+GH22Kjzg/bKaQ6FwCxxIdBTFoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ViaeVOjlrxVWMLZoiFjG6JN27LxosaApg0PY9qQyUPY=; b=b8s+ApJQf7HXhh8rxS9eomWMcLzArHr/aBsF/PEegjFOznK/cXzXdjQEwfgTRuY3x8 zjmzLMgTwUyVvwm2hlGsjBMrZe0i8dK9h2UA6m2197EgGmNEilkApU/fStcprqZ2UgLT 2p5CDsdNf5r7CgqfOCPI+Ep8cRXZBVhtrm3BT5eGiJOHccnlDlPutHJHntlUb2qZKU0I HFnZ99DT4Us3X7pr2Pkms251XbvrhyTThH2/va0SEPlvDjYVT5pA0Ye2by+KVV2trdVQ uh/4mJEafCMNKdh4if0K91l58AxnC1a2DjExjmwxgp5LsdGYa/+Kpx3GJtdcgsjcpCPl Z3oA== X-Gm-Message-State: APjAAAVjoh7rMhvCSOtWiQUITTEUmeKQBU+bKFd1raD9i1VL3oTB3Qaz hgzHDUBlQkWdEeu5asRRj7ABV0bx8Fy5 X-Google-Smtp-Source: APXvYqzxBHiE7zGztztecdSFJ6mR66DSlvZoDYubwdEyjq3jnG0Sj57Wq7b7YK3JGjOqe2zZhaqJXg== X-Received: by 2002:a62:ce41:: with SMTP id y62mr673465pfg.34.1573091913523; Wed, 06 Nov 2019 17:58:33 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id p16sm296429pfn.171.2019.11.06.17.58.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:33 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:01 -0800 Message-Id: <20191107015808.26844-4-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 04/11] ucm: docs: Add EDID File value X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Add a sys path to the EDID file for the corresponding HDMI device so userspace can use if needed Signed-off-by: Curtis Malainey --- include/use-case.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index a79e5b91..28e92d17 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -301,6 +301,8 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - name of capture mixer * - CaptureMixerID * - mixer capture ID + * - EDIDFile + * - Path to EDID file for HDMI devices * - JackControl, JackDev, JackHWMute * - Jack information for a device. The jack status can be reported via * a kcontrol and/or via an input device. **JackControl** is the From patchwork Thu Nov 7 01:58:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231623 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6F9041850 for ; Thu, 7 Nov 2019 02:02:27 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F20FF21882 for ; Thu, 7 Nov 2019 02:02:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="VXolH14h"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="CufJuMBQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F20FF21882 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 29E8E168A; Thu, 7 Nov 2019 03:01:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 29E8E168A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092145; bh=LSLmw2pTZLZRMCUbpTvjT+spiAQCeMKypZH6wtd0wS4=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VXolH14hGoCoGbVsNKCC5uN9zCTXR1dkBlwP3GEdNaRut6B+3zsqP1p6I9sfe4CFD 8tW5AFQesii3u9gdJjApYo0G4QUmv7nPpEcMSS3rU4sr5IFnDRYDgmIMTkOXcwmD9F MTuQACGKjODVRzh6M+bIe4oYns5Of9IEWGELFIpc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 5F3A9F80637; Thu, 7 Nov 2019 02:58:45 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id E993FF805FE; Thu, 7 Nov 2019 02:58:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A82AFF80321 for ; Thu, 7 Nov 2019 02:58:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A82AFF80321 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="CufJuMBQ" Received: by mail-pf1-x444.google.com with SMTP id d13so1098856pfq.2 for ; Wed, 06 Nov 2019 17:58:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JIjCVPMpk6TXZlrvXRZPKKPMH134eTVmZNw9qdBi9fE=; b=CufJuMBQzBXE7fvaW7F9ERru9Umjdet6SJMq7ziXZl45Hz1Y75RKGB0DbA/vd+PmoN 21tuP8o1e3RThJ3JPbcLgdWLXDDUbyZvOtBjRF4E59ucdkEDqJeQ2LD3RW2GGKZDNQja Aje76cTe1C2ocqix3+e9IXvN+WswGns/i7Big= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JIjCVPMpk6TXZlrvXRZPKKPMH134eTVmZNw9qdBi9fE=; b=Bl/IBJrg9lT6dAfT08jtM/zwpwrQOtD6PbbVgfk4U/VOzXkL9DFb9rbgixH3Uw3hRn BM+i42V+DpjxW78gdQTQV6brV0/CSWnG/JBFkM+j5IkctlqscWjscnHOK8g83oHRIoHM Vm57yZy2pkPOP4h3DEpzx9MndQFdo6Cqxf8UZoW+xoHNGNsmM8UrbyDv5NLz/YMb230v ItUGHw2bbLznh4wQwaBwWWFzkwGy9uYmxTzsQ7UX1OG1EaY7a8XguZ36vFt7dDQMms1O /ivCQMcAqn2olN6l7+lflrL7HGZxNJvYBmzchmoIydM4XARnItLaehsOaT/6bkoElS1V oipQ== X-Gm-Message-State: APjAAAUnKnpFNGZwC8r4NYy9JKfQ4s2YvQbhZGeKYfaMI2spuIWmE6DB Ni4aCkCWJedR1lNQ7CUOWKhCEz8zOd1p X-Google-Smtp-Source: APXvYqxQH3+UEQ7VUUmnNsHehAjSJTvkQ0hPw/I2GXB6PI/KuJ9opyLFj+cAUwL9Gen2sVIPDdqKyw== X-Received: by 2002:a17:90a:2ec3:: with SMTP id h3mr1447565pjs.131.1573091914624; Wed, 06 Nov 2019 17:58:34 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id y24sm291465pfr.116.2019.11.06.17.58.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:34 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:02 -0800 Message-Id: <20191107015808.26844-5-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 05/11] ucm: docs: Add MinBufferLevel value X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Allows ucm to override minimum buffer level for platforms that incorrectly report their buffer level. Signed-off-by: Curtis Malainey --- include/use-case.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 28e92d17..05628303 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -330,6 +330,10 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - JackType * - Specifies whether the jack is accessed via hctl or gpio and therefore * only carries the possible values of "gpio" or "hctl" + * - MinBufferLevel + * - This is used on platform where reported buffer level is not accurate. + * E.g. "512", which holds 512 samples in device buffer. Note: this will + * increase latency. */ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier, From patchwork Thu Nov 7 01:58:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231625 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 72AAE139A for ; Thu, 7 Nov 2019 02:03:19 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 00CC8217D7 for ; Thu, 7 Nov 2019 02:03:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="SrRdfFZ3"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GT1nvnSj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 00CC8217D7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 29D94167F; Thu, 7 Nov 2019 03:02:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 29D94167F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092197; bh=Uqws3t5nY+/kgWUCa8AT4CfmYjrbGI1+y7tm7YUYmdI=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=SrRdfFZ3qKYCqUcoa0czCjuYeWU/+KutnYwTPQlmXEKpGDERJwhzTeFdXor1Q+K5c JMidnQDvYytQcmQU9YOsvE92Oif5GvO9MGvviLq5ZvAcr0GRmV8uRirCKjiB0/IoeR yQXYhJRty0X98vbFW2XtNVA1qE9KORl3eK9KUX+E= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D4D86F8065B; Thu, 7 Nov 2019 02:58:47 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 19413F80321; Thu, 7 Nov 2019 02:58:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 19B1EF8048D for ; Thu, 7 Nov 2019 02:58:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 19B1EF8048D Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GT1nvnSj" Received: by mail-pl1-x644.google.com with SMTP id e3so334068plt.7 for ; Wed, 06 Nov 2019 17:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NMWAjpmwWtLHCGG+HdeGxWJERp3gGXJOhp0sqZ3EHm4=; b=GT1nvnSj7hvDG6uK+NOaJEYqlw6TARN+ZMPH0bLIYayDjOSamJXuh9aiqDuIZRy8OH agE1ZKvDQ1rMuWlSScOsg2onMRNMx177rwiRIFjHdsEk8bXCh5yQdet8hA65MajW3IGy F3JqznqUUdwRjochG/w3KscGtK2hLyezt9doM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NMWAjpmwWtLHCGG+HdeGxWJERp3gGXJOhp0sqZ3EHm4=; b=lEc/vHZ1FAvdrb2nhllcYC2g6fAk6RCouWqzxRh+dZtwz7GtXG2W+qtbZwcARq1vix yqEY4lTZW0vyJerp3qAwLUXr/BxlbqjdOF+big0r/rPLKweynwg8P6z0yX1ioezXrvDr Z0vLNwOs246RH0xthE2cPg5tgJvmQRYtmUmwMUUHX0Ew99YzH1xfg5ZvPWrB3nHuk+hP 6Z2V54y8SKf7YYp6AurNCbtoQlG1vQzkgyWWu320MYRf5UxmbXaril/JzgHrKCeC8p8f biJSIq++hqkPDOAfgBVzMXDvQWoOCIu4IdgpI0djTTMK1NJdX/tzqNE5gHfFMSxrW5Yz hXBw== X-Gm-Message-State: APjAAAXytgwz+MnntTrhmf7TOWtdiv9HG86++qGe7k7iot090ReOGglp 7xaOClPH8l8qwYbLhFhaVkA3aPKvgLnA X-Google-Smtp-Source: APXvYqzUzF5Rkbb+nVLYFin7HZb7lgKx/7OaR7wM4k3Xq0rOP6fdb8gnDwDDE5bG+V58R/jB84hQ3g== X-Received: by 2002:a17:902:161:: with SMTP id 88mr818651plb.253.1573091915855; Wed, 06 Nov 2019 17:58:35 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id a25sm289748pff.50.2019.11.06.17.58.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:35 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:03 -0800 Message-Id: <20191107015808.26844-6-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 06/11] ucm: docs: Add DisableSoftwareVolume X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Some userspace audio servers might default to software volume, this allows the ucm to force its behaviour Signed-off-by: Curtis Malainey --- include/use-case.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 05628303..1aeaf9d4 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -334,6 +334,8 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - This is used on platform where reported buffer level is not accurate. * E.g. "512", which holds 512 samples in device buffer. Note: this will * increase latency. + * - DisableSoftwareVolume + * - Set to "1" to force userspace to use hardware volume controls */ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier, From patchwork Thu Nov 7 01:58:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231627 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 34920139A for ; Thu, 7 Nov 2019 02:03:54 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B66B32187F for ; Thu, 7 Nov 2019 02:03:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="W26bR/mn"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RiEPm5W8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B66B32187F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EDD6C1694; Thu, 7 Nov 2019 03:03:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EDD6C1694 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092232; bh=uBA27krKJiVOw8Fx+GDNLYhjOtwQ8gLZB3JeVJShtwY=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=W26bR/mnRTgAY4vlyuWZVPgi9XYMTg2Ufv4ssc8XV3L/jGHLsmvlOLt2YGftSCTiu zf8iuqrld0JNcLKkmji3QGEmltPyc2DeK+SDNGwupAA4DUTEBzD4Ok9A4NuVe/1HCR yFjE9GSt+npBuw3LB9NfbtqO7uEx2Vvjd0N7zbtM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BC3D3F80672; Thu, 7 Nov 2019 02:58:48 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 38331F80633; Thu, 7 Nov 2019 02:58:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 13ACFF805FB for ; Thu, 7 Nov 2019 02:58:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 13ACFF805FB Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RiEPm5W8" Received: by mail-pg1-x544.google.com with SMTP id 29so721529pgm.6 for ; Wed, 06 Nov 2019 17:58:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ief1CCT8yjZqBnBQabI8UHJHSOQuYxegwucZ7pBxEn4=; b=RiEPm5W8zCGASeTAlkiKlD5eEmAFZlw/RAPZcaKZBqP9hDelsfjdx702xej6ADm9+u mfs2Z5g2hLfn8rVh7NGX8jpoiRKTAOZIgzhp80Jzpmzu6Q1NXr39+kajGttKVC1LQVeF rJhQG89ZArwF2Q9/v7GDM5X+FXuPTlHC+Qii4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ief1CCT8yjZqBnBQabI8UHJHSOQuYxegwucZ7pBxEn4=; b=G9nwJIyocTUCfVvuuYsiv+LBPhQKnbwYWDNgmv8SoxC+2sbzcVFU0XSYCU5DV7tDH6 pOPtwyMJzpOk9TvELphtCFjkAO0/02KwrPkii3jlxtLAvblI59yaVbbl1nAI4HyEbidx ZfdsdX1cp8i0htrEeSMWeCUyjrhptcWdtUU/YCyRuGU3GnjdQYe5xpeoYLk5dTCgMue4 hDcl5x2zKgV+/wa28UMiQ43RVuDa+X0AwQMNWQVX3X6ml+7aPYo0o1lRRjLtyN44ERhB E0Syj5DL3afqcxbm4xRoCG3/rmp9O2sJ4qH71D+XiNNhiqSah6yYKDAjvz+RZ0tJGH4c WKzg== X-Gm-Message-State: APjAAAXJf8S8hxMf26UL9PGos/8wPRzOzxkvvN5SrS2iDgV6icj5JqjC Q1QeLVEVo3krtNk15KSNuEVbmlML8Gys X-Google-Smtp-Source: APXvYqw/rKRnjDz9H3waLABidn8n0TI9kFRGH2e0HSadqKKLfrvGu1XTKGRcuREMRinr7xCitNnwJA== X-Received: by 2002:a62:be0e:: with SMTP id l14mr668621pff.126.1573091917101; Wed, 06 Nov 2019 17:58:37 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id x12sm275349pfm.130.2019.11.06.17.58.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:36 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:04 -0800 Message-Id: <20191107015808.26844-7-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 07/11] ucm: docs: Add CaptureChannelMap X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Add ucm value to tell userspace to remap channels. This is useful for systems with DMICs where there may be more channels than active channels. Signed-off-by: Curtis Malainey --- include/use-case.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 1aeaf9d4..31f9e4be 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -301,6 +301,10 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - name of capture mixer * - CaptureMixerID * - mixer capture ID + * - CaptureChannelMap + * - Remap channels using ALSA PCM channel mapping API notation + * E.g. "2 3 0 1 -1 -1 -1 -1 -1 -1 -1" means, FL takes channel 2, + * FR takes channel 3, RL takes channel 0, RL takes channel 1. * - EDIDFile * - Path to EDID file for HDMI devices * - JackControl, JackDev, JackHWMute From patchwork Thu Nov 7 01:58:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231629 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 601D814E5 for ; Thu, 7 Nov 2019 02:04:37 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E178821882 for ; Thu, 7 Nov 2019 02:04:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="fe5V6VBH"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="c9YwVE5U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E178821882 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 141D71690; Thu, 7 Nov 2019 03:03:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 141D71690 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092275; bh=PR70I48qW0kKPPK/IfGWgi2zcdxY0dpbj0Cx00rTfnk=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=fe5V6VBHzm4A0Z9wEWgdtD9ZYhyelAsgpzbVsfXvEic82/yAST5UeD/P0wh5h5cDY JO4EjHmviBqTDhZPvVFtxfpE1fHBbOkVX1pl0y0WDmUWcXVsqy0Zeajy+QTjM4G944 /dK6LjQnwJ4u9NXfvtxA/CAWf5wRQxyzBUuzmesc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E39F2F80679; Thu, 7 Nov 2019 02:58:49 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0DBE2F8060F; Thu, 7 Nov 2019 02:58:43 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A4E94F8060F for ; Thu, 7 Nov 2019 02:58:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A4E94F8060F Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="c9YwVE5U" Received: by mail-pg1-x535.google.com with SMTP id l24so702570pgh.10 for ; Wed, 06 Nov 2019 17:58:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J0my/IgGCIKja1eCoOHnpWRTs4h8qjwUqcJfjvpD2/0=; b=c9YwVE5UfGmQP/3zJN7pxbFabhWrarc8iO5b9l0Pa+FiOLWlOrAC9q4cvez5xGezaA 4y4gR/qj/Pg+DfEdsK7vhzDlX7Y74aDX9gApPb63JCgZMHhz4pb1vjxqtbIJirz68FXm caY18YYZ08K0u4IEQ7dPfvm0+4b8av1ZYJnn0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J0my/IgGCIKja1eCoOHnpWRTs4h8qjwUqcJfjvpD2/0=; b=TmfRjIsCK51Xp6DRXLd40JywE+peadlY2QRrMfq+5qRYAquY8uFdsZsMH96wnT47Kq KwHpmOZe7MnkuJsJZrnsYtQZ66ogtd+/KZLVS5k9g10kAlOyXMp890Lqs6wvMqAR9ijI NRhH7dRUcxeat3snx15qqRaGSpaSXh+mhO+LfEN3+QaFECRk2GiD7l8P+8c3W54areos W0+JIotM+h+QoYxqAUhsP/aSDptqZN/s1rcBd/ASFDXYPiVVaGsJf1QPGHtwG+a3zx6u KixJPuvVLbbCxBeM6vgjSw9E8RBNc74jWfrFL7dIjm+pQL4KOJLniAfMAPskd7Ng2SE5 27XA== X-Gm-Message-State: APjAAAWUjywEggw5VKaiHlQw+DgM2HYpaAbWIMvAvsH6+RFEr3cAEkbI u0pOqIzRlxluojun0CleOI9Uh7cyzP/y X-Google-Smtp-Source: APXvYqzfPWVqzT2ZTpJFbDSMTvt+kXVQJBo5B/SqgG2d2195p/uRvUn/c6JxuYE9TPIebE8NveXCuQ== X-Received: by 2002:aa7:814e:: with SMTP id d14mr637138pfn.39.1573091918444; Wed, 06 Nov 2019 17:58:38 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id z7sm371838pgk.10.2019.11.06.17.58.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:37 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:05 -0800 Message-Id: <20191107015808.26844-8-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 08/11] ucm: docs: Add CaptureChannelMap X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Explains to userspace how some channels may need to be rearranged. This is useful for systems that may have DMIC pcms with dead channels that will need remapping. Signed-off-by: Curtis Malainey --- include/use-case.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 31f9e4be..9a10f390 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -305,6 +305,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - Remap channels using ALSA PCM channel mapping API notation * E.g. "2 3 0 1 -1 -1 -1 -1 -1 -1 -1" means, FL takes channel 2, * FR takes channel 3, RL takes channel 0, RL takes channel 1. + * - CoupledMixers + * - Mixer controls that should be changed together. + * E.g. "Left Master,Right Master". * - EDIDFile * - Path to EDID file for HDMI devices * - JackControl, JackDev, JackHWMute From patchwork Thu Nov 7 01:58:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231631 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 97F9115AB for ; Thu, 7 Nov 2019 02:05:19 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2491021D6C for ; Thu, 7 Nov 2019 02:05:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="GOPybJGV"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="IItUhaU5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2491021D6C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 43C2F1689; Thu, 7 Nov 2019 03:04:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 43C2F1689 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092317; bh=VPQvOEwA4aY94mIspSrtwIL4RPmocLGuqX0gHPqKcVU=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=GOPybJGV/1lloOMsBLQlO7ggxrxzLW69ycufMP3dpm0Z6jyO/5jWZe0NxB2QYSvbE fdSSW8Cjry6/gYH5y0+qjeITBVlUO/ePbTN0aC82D0633QGGOqeIV0O6UivIjoV+I4 wAANj92ZRsJ5G3bKAlBF3SoEYAdCxg6iSMCiz1TQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 08851F806E5; Thu, 7 Nov 2019 02:58:51 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id C42C9F80638; Thu, 7 Nov 2019 02:58:44 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,PRX_BODY_13,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E618AF80611 for ; Thu, 7 Nov 2019 02:58:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E618AF80611 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="IItUhaU5" Received: by mail-pg1-x543.google.com with SMTP id 15so727048pgh.5 for ; Wed, 06 Nov 2019 17:58:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/zwKQRbo1F48WVQ7FiEqpiQ2fwE9RtcyH/wIl6nBH4A=; b=IItUhaU54zH+plhqUBmQDT5GKaTmya5m0b86avtOUKwo9Kpz6bwVfLwJYbmA+CrKQq J3s5fLvLfxqUtZhQ7rFOzMJPYtWdutZ0+eVgYLWzjrg8ml9iYtRR3vISNOCKF1Bit6iV cpygVobu+BazlmHoKea5pimPn6m3ZCJyrjgn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/zwKQRbo1F48WVQ7FiEqpiQ2fwE9RtcyH/wIl6nBH4A=; b=leJSszJd61joNvZG2GtwB24VBkXr39xprU0kD4lBHljKT6Kakofh6E1w+M62rcgt2K SnX9mFpPDxGRQ+tdk/6VvbhnDYB/SR8Lu/hsp7a060QcQqNV5FbDB4r/wVUcJI8dOVQC xiu0QRciyHzROEOxiX32ZIivhNBGXc8CeUGGQ7e6wpMi4rWgA/4VCPT0f27XJwpgI1F8 ovwvXw8KN5k5eS/EKL3TPUvSdMrU6axFus+4axdgTq+wAWdw5QdX//IKKcuAjLtdRBja 45dVF20aicOrfXA6/tUKGh0+HxtxwM00D/V2d3Ms6ajKUBYnG/z8HnE7WPtZGb8UaG1i wxmw== X-Gm-Message-State: APjAAAWJpnG5MFJIGmcT6vj6URCPEP7XR50UerqiWKEIiP8jVphXkhbw wGkTfxsQM7WX/FXeSwiHcHvGLEOrOloV X-Google-Smtp-Source: APXvYqw4Q9nLzmqctEemzvkV0Tr0v8FtvhxuxkR2+cQEis0LFdZIfRtqWPB87rZvbTTAmqf69yp3NA== X-Received: by 2002:a17:90a:bd01:: with SMTP id y1mr1501082pjr.108.1573091919693; Wed, 06 Nov 2019 17:58:39 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id e5sm295824pfa.110.2019.11.06.17.58.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:39 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:06 -0800 Message-Id: <20191107015808.26844-9-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 09/11] ucm: docs: Add EchoReferenceDev X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Sometimes userspace may want to use a reference channel to cancel echos when using video chat, this value identifies the device which carries that channel. Signed-off-by: Curtis Malainey --- include/use-case.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 9a10f390..e84f3f8f 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -308,6 +308,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - CoupledMixers * - Mixer controls that should be changed together. * E.g. "Left Master,Right Master". + * - EchoReferenceDev + * - If userspace wants an echo refence channel this value identifies the + * device to be used. * - EDIDFile * - Path to EDID file for HDMI devices * - JackControl, JackDev, JackHWMute From patchwork Thu Nov 7 01:58:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231635 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 606AD15AB for ; Thu, 7 Nov 2019 02:05:54 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E1CC32187F for ; Thu, 7 Nov 2019 02:05:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="VHWaYiSD"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ZHi0sazA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E1CC32187F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 00FAF167F; Thu, 7 Nov 2019 03:05:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 00FAF167F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092352; bh=UGLPjQWXDyMeEI7XZAGUqcC2R7LN6dN2UXmF5I+2hdY=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VHWaYiSD1w+tSZ2MLVjEcSuXVVa6jeOfyr6sNeXgrnx8xF2zCBTq6WYUsVuVYjAGW Ur1ggfp1wATIASfuwzHKbkCYyv4e8DYXgRRuv4IH5XAjFV6E5pedd5jGL4vqz1XPgy aYOHgWVibGJl5JyNyIhbd+mZyXrWXHUQfE3pfAF4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1F168F806EF; Thu, 7 Nov 2019 02:58:52 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id E3651F8063C; Thu, 7 Nov 2019 02:58:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BCEDDF80636 for ; Thu, 7 Nov 2019 02:58:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BCEDDF80636 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ZHi0sazA" Received: by mail-pf1-x444.google.com with SMTP id 3so1051304pfb.10 for ; Wed, 06 Nov 2019 17:58:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2wXWJaSCd2JmRB8D3fuZ5gEYXpLPJzLqFKUZZRyerrI=; b=ZHi0sazA+WoxL8NnNi1psqkdF1RNggult7lzei8x7KVuBXA8DVPqrpaUu5jHFNJ+7w 0CKGh+fcG2XU5IW1KvdxkDRJLlXlak1xddUyaMPwBz5kKR/ZyobVuRE/PxkN8nsmj9x1 Czro2xpp35zGixwMbRZ3sj5wPVqEAqQQ5wMv0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2wXWJaSCd2JmRB8D3fuZ5gEYXpLPJzLqFKUZZRyerrI=; b=FHvwR8PEnuGWXbKppumeXLfXG7qfPf+OeQ9BH8mCBn5zLRcndOoD//eP93yaBlEzVx 3o7YL63OJvNfsc9BBshuAEsq+xdkDtYUXr28zkZZ/qz4MdPO6T3/Xfoqu3cgpRQupUVa vEhJfz/NC7F/2KhkjUAKWbNR2QEeMXaMq1zuduumVsclEyBVeiwwX3jkunI1pkbmShfG apP9ZS2xuTJNona791mM6UttY16YmaYdpmRff1xlqfGbpZvPxSfSUewR9+PSsyGLUyjW 3ZWnEfKlkay+2tm13v4D1sUOhg2SwIjc3guLYPmY/NRJ5uos3kDNyCrWmEHTdbTfWGpr IAtA== X-Gm-Message-State: APjAAAXj3wroJNSi+Hi0gxgOBUBd85Twq5QdUw2fGfg88oPMX1QcSbH8 SVLsDzyQ5C/x8ZfAYabpL6N1mP/uxIPM X-Google-Smtp-Source: APXvYqxGuDbiCkfdq7Tp3thFdRbbOEnazAiL8GVXfeLkNFy7YPy8UELqdRBiDLIMuUj0M33xOd/VKA== X-Received: by 2002:a62:1d8d:: with SMTP id d135mr653053pfd.172.1573091920815; Wed, 06 Nov 2019 17:58:40 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id h66sm292435pfg.23.2019.11.06.17.58.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:40 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:07 -0800 Message-Id: <20191107015808.26844-10-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 10/11] ucm: docs: Add SoftwareGain X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Add software gain ucm definition. Signed-off-by: Curtis Malainey --- include/use-case.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index e84f3f8f..ee6ee5e0 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -344,6 +344,9 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - This is used on platform where reported buffer level is not accurate. * E.g. "512", which holds 512 samples in device buffer. Note: this will * increase latency. + * - SoftwareGain + * - Specify the software gain in 0.01dB. E.g. "20" means there will be + * 0.2 dB software gain on this node. * - DisableSoftwareVolume * - Set to "1" to force userspace to use hardware volume controls */ From patchwork Thu Nov 7 01:58:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Curtis Malainey X-Patchwork-Id: 11231637 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2365615AB for ; Thu, 7 Nov 2019 02:06:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A61FC2187F for ; Thu, 7 Nov 2019 02:06:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="gsG+x5kZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ElLE5SmO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A61FC2187F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DFBC316A1; Thu, 7 Nov 2019 03:05:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DFBC316A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092388; bh=Z0/ywSmaeXyTwP4FSJAjJ+rQNe4jvXXvCf+ECcwXeOc=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gsG+x5kZBMkzUvnN5XbCAJtr+n76UcuhhtehqvTur9tWFg05lQNnAG12ECMp+XvmX ZavDKw/cc/O5I6ju1Fx3JFLUAdsOGTIs9GTbhcglcv+9CCd4+12Vuf3S+yVefLQq3P 8yppOw1U7Zg2+a+wHKJ4BZ2lRe22IY0t/gpXpjuE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F0E91F806FA; Thu, 7 Nov 2019 02:58:52 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1ADFCF8064C; Thu, 7 Nov 2019 02:58:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E1DC2F8060F for ; Thu, 7 Nov 2019 02:58:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E1DC2F8060F Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ElLE5SmO" Received: by mail-pg1-x543.google.com with SMTP id 15so716318pgt.7 for ; Wed, 06 Nov 2019 17:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ox0AO9kWgLrhLk18Ku0peTzE0vVN9WNb0eNmf4Xm75Y=; b=ElLE5SmOCXH03H0i0V6LdXEQOdrOzxB8GZglJhPjJujcjQBM8Zt7WX+DmEsOgpqZEB BVgyN0yDQgLIWnApYqvjJVvyD41msn52iQb2LqoSZQI918HgePH8tFnQVvxl0MifgHGr snOMDjKB+yALeUejXTT+N+im5Xszt9gg+45aQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ox0AO9kWgLrhLk18Ku0peTzE0vVN9WNb0eNmf4Xm75Y=; b=oIWjwuSZSL7VJrtaTs7AjSWPiFMx6Pi+31O1LgUs+hNuQdXOf/4oXh9dfBo3njJdzO wIk8xAmPyrnTb8fo9RNE8kkDZ26hyeMQX+pUkK7Wn6G/vmKHncT5k85K4Op0riGjPHOT ekN/vdj0sPbKBl/jHaQUz4M0rRA/2fEH8zSL8VFJmcT1FphzDXkS1d16TvbSJDb4wthn bre9XR1nq3EpuRs4jS3kn8TjRdrIrQdRApNHWjEBBY+hl2XPCFPNOnPG+gGgoZaWmjmj FrKJvR7Dh/YT0c0KHz+NrEUVlCkioclQQA3vfyegGhKuq6scLGKHN/8xmyESd9aqOqwi yBsg== X-Gm-Message-State: APjAAAVoMwso7QXIKlK4HRDQ4WX5cL3AevvNMBB9exDVXiEmjnqRz3NJ fBzlsFZyW0OGwE9Wp2+8oCva+9HBdoZj X-Google-Smtp-Source: APXvYqyqJpjd23xYJtB0fhy2gtuWL4CCkndVDu4c0bssy+EKWYItYc/yjZikeaQAFU6YjOtP5A46Gg== X-Received: by 2002:a17:90a:fd88:: with SMTP id cx8mr1524712pjb.88.1573091921997; Wed, 06 Nov 2019 17:58:41 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id p16sm296682pfn.171.2019.11.06.17.58.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:41 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:08 -0800 Message-Id: <20191107015808.26844-11-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 11/11] ucm: docs: Add DefaultNodeGain X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Allow ucm to specify a default hardware gain to overide on the respective node. Signed-off-by: Curtis Malainey --- include/use-case.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index ee6ee5e0..d0e821d5 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -347,6 +347,8 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - SoftwareGain * - Specify the software gain in 0.01dB. E.g. "20" means there will be * 0.2 dB software gain on this node. + * - DefaultNodeGain + * - Change the default node gain. E.g: “-700” to set -7 dB on this node * - DisableSoftwareVolume * - Set to "1" to force userspace to use hardware volume controls */