From patchwork Wed Jul 4 09:49:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10506413 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9053260325 for ; Wed, 4 Jul 2018 09:53:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9048528D19 for ; Wed, 4 Jul 2018 09:53:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8434828D1B; Wed, 4 Jul 2018 09:53:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2818E28D19 for ; Wed, 4 Jul 2018 09:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=WOy6j/BDNmuATgQbDUVIBMx6RA42bavVY1EiWqiadp0=; b=mHPGqDGTfieX4LOEGyTdFZGcbc JjBgiWrHouC0MMMlps0GXGSc+RkSvZwM4i9nzJOCt9GrEfhEq49Oo8t0MRY3J1cGndUKWdsnR9dHh Lxw7hNuVcbs5CXploKEIjQRB8i96uIspGiagYZ8LdANQBr8F8KVlz8+Ll1XeDhGrVCKNTeKrjQTrC G+6HbOHpk28Z00ICoSB76CgcG1W6bP4de89S1QIntHdgeeVmQw1KPehgU4ZCUZtFV8iOyLgzl1s6c dSBeFmv6gIf7WLoB8mtLcS2ZR5jZSA+RGy0wEUHD3iRqM4MHBFzoqjOg1Ns/qcFRVbF7sHj//oq/w jGO/JopQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1faeTJ-0002ss-BR; Wed, 04 Jul 2018 09:53:13 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1faeSG-0001xZ-2H for linux-arm-kernel@lists.infradead.org; Wed, 04 Jul 2018 09:52:09 +0000 Received: by mail-wm0-x233.google.com with SMTP id v16-v6so5134751wmv.5 for ; Wed, 04 Jul 2018 02:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Q8SZ5AGv+OGHVpwVTp0NwXvz0pcK6+whzIzyJVlZ900=; b=GSExf8PoGC3OhjxuWxIT8cLIZKicGYueuSqXbKp47NAOGoHeiRPovSPB+m3cOjJwRm 2x+FwqyKW9shyuTcXrizquH/A4Oyt7cLZqM7rdAX6osCOA/UJ45vR/kZeqokI4DUA07/ eukC7BagOjl+7+qiJrk53XTiuTuAGD3UUnMkc= 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; bh=Q8SZ5AGv+OGHVpwVTp0NwXvz0pcK6+whzIzyJVlZ900=; b=BiulE3rPAzhe4GUrHxvfMu6xlczRlBTbNGitN9aGouXEhj0ZHJj/mdOtYhvvRQ0175 FUUHAwYYt8FSHpR2moLvHum91aZ0OqxS7So3Z9EPDA+VQTAJY4R0r9BhmZGx+R/6lW3U oQU1GLJepzVil0t9Msp2dM2XftJRCcLPddDwIHdigiKFMIBJbXryD5Wpe1hmMWJzrXpx SLQDWaC6QNA7TcxEsZ1XyHVyV3F1jZzGP/o9PAoGtKoXO070LwkMBaAjaNzb1gTOKx42 DWfJktOEtkPQCmqbgsxmrFdYnul1D9JHM2IXaapPJROxF8fBCxD7eaYkS+NFIW3wzq0j UL6w== X-Gm-Message-State: APt69E1KkmJihXkbCO5ADQEpmhc7RHlk1vDNS6Tb9ae6MyaKtNY52BmL axmmJ8acEdAaprUUhWDoxK18Ng== X-Google-Smtp-Source: AAOMgpdQKmxS310bKgCwWM0WtLJ/4JPU5dXJQoeyQfdgEgHg4PkzznY+bsGEHrqEK3PflVwoEbvGmQ== X-Received: by 2002:a1c:f014:: with SMTP id a20-v6mr1064767wmb.97.1530697916181; Wed, 04 Jul 2018 02:51:56 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id 125-v6sm6370089wmw.9.2018.07.04.02.51.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jul 2018 02:51:55 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 3/6] ASoC: qdsp6: q6routing: add slim rx routings Date: Wed, 4 Jul 2018 10:49:41 +0100 Message-Id: <20180704094944.16440-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180704094944.16440-1-srinivas.kandagatla@linaro.org> References: <20180704094944.16440-1-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180704_025208_275468_25FA947D X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bgoswami@codeaurora.org, linux-arm-msm@vger.kernel.org, tiwai@suse.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch add routings mixer controls for slim rx ports. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/sound/soc/qcom/qdsp6/q6routing.c b/sound/soc/qcom/qdsp6/q6routing.c index c80fdbc2442e..35269b492761 100644 --- a/sound/soc/qcom/qdsp6/q6routing.c +++ b/sound/soc/qcom/qdsp6/q6routing.c @@ -68,6 +68,13 @@ { mix_name, "SEC_MI2S_TX", "SEC_MI2S_TX" }, \ { mix_name, "QUAT_MI2S_TX", "QUAT_MI2S_TX" }, \ { mix_name, "TERT_MI2S_TX", "TERT_MI2S_TX" }, \ + { mix_name, "SLIMBUS_0_TX", "SLIMBUS_0_TX" }, \ + { mix_name, "SLIMBUS_1_TX", "SLIMBUS_1_TX" }, \ + { mix_name, "SLIMBUS_2_TX", "SLIMBUS_2_TX" }, \ + { mix_name, "SLIMBUS_3_TX", "SLIMBUS_3_TX" }, \ + { mix_name, "SLIMBUS_4_TX", "SLIMBUS_4_TX" }, \ + { mix_name, "SLIMBUS_5_TX", "SLIMBUS_5_TX" }, \ + { mix_name, "SLIMBUS_6_TX", "SLIMBUS_6_TX" }, \ { mix_name, "PRIMARY_TDM_TX_0", "PRIMARY_TDM_TX_0"}, \ { mix_name, "PRIMARY_TDM_TX_1", "PRIMARY_TDM_TX_1"}, \ { mix_name, "PRIMARY_TDM_TX_2", "PRIMARY_TDM_TX_2"}, \ @@ -122,6 +129,27 @@ SOC_SINGLE_EXT("QUAT_MI2S_TX", QUATERNARY_MI2S_TX, \ id, 1, 0, msm_routing_get_audio_mixer, \ msm_routing_put_audio_mixer), \ + SOC_SINGLE_EXT("SLIMBUS_0_TX", SLIMBUS_0_TX, \ + id, 1, 0, msm_routing_get_audio_mixer, \ + msm_routing_put_audio_mixer), \ + SOC_SINGLE_EXT("SLIMBUS_1_TX", SLIMBUS_1_TX, \ + id, 1, 0, msm_routing_get_audio_mixer, \ + msm_routing_put_audio_mixer), \ + SOC_SINGLE_EXT("SLIMBUS_2_TX", SLIMBUS_2_TX, \ + id, 1, 0, msm_routing_get_audio_mixer, \ + msm_routing_put_audio_mixer), \ + SOC_SINGLE_EXT("SLIMBUS_3_TX", SLIMBUS_3_TX, \ + id, 1, 0, msm_routing_get_audio_mixer, \ + msm_routing_put_audio_mixer), \ + SOC_SINGLE_EXT("SLIMBUS_4_TX", SLIMBUS_4_TX, \ + id, 1, 0, msm_routing_get_audio_mixer, \ + msm_routing_put_audio_mixer), \ + SOC_SINGLE_EXT("SLIMBUS_5_TX", SLIMBUS_5_TX, \ + id, 1, 0, msm_routing_get_audio_mixer, \ + msm_routing_put_audio_mixer), \ + SOC_SINGLE_EXT("SLIMBUS_6_TX", SLIMBUS_6_TX, \ + id, 1, 0, msm_routing_get_audio_mixer, \ + msm_routing_put_audio_mixer), \ SOC_SINGLE_EXT("PRIMARY_TDM_TX_0", PRIMARY_TDM_TX_0, \ id, 1, 0, msm_routing_get_audio_mixer, \ msm_routing_put_audio_mixer), \