From patchwork Fri Jul 27 12:59:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Sanjuan X-Patchwork-Id: 10547125 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C9531751 for ; Fri, 27 Jul 2018 12:59:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B4752B865 for ; Fri, 27 Jul 2018 12:59:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3E602B873; Fri, 27 Jul 2018 12:59:45 +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,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 581652B865 for ; Fri, 27 Jul 2018 12:59:45 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5510026772E; Fri, 27 Jul 2018 14:59:43 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C12D4267762; Fri, 27 Jul 2018 14:59:41 +0200 (CEST) Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) by alsa0.perex.cz (Postfix) with ESMTP id 0A2E626774B for ; Fri, 27 Jul 2018 14:59:38 +0200 (CEST) Received: from [148.252.241.226] (helo=ct-lt-1121.office.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1fj2LG-0008VU-Hc; Fri, 27 Jul 2018 13:59:34 +0100 From: Jorge Sanjuan To: lgirdwood@gmail.com, broonie@kernel.org Date: Fri, 27 Jul 2018 13:59:27 +0100 Message-Id: <20180727125931.9794-1-jorge.sanjuan@codethink.co.uk> X-Mailer: git-send-email 2.11.0 Cc: linux-kernel@lists.codethink.co.uk, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, jonathanh@nvidia.com, thierry.reding@gmail.com, linux-tegra@vger.kernel.org Subject: [alsa-devel] [PATCH 0/4] ASoC: Tegra30 TDM support X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset adds support for TDM audio on Tegra30 hardware. It adds the DAI's `set_tdm_slot` callback and enables a tegra pcm to have up to 8 channels. It also includes support for other audio formats supported by the Tegra30 HW and fixes a broken macro needed for setting the TDM on the registers. Based on Linux 4.18-rc3 tag. Edward Cragg (4): ASoC: tegra: i2s: Fix typo/broken macro ASoC: tegra: Add a TDM configuration callback ASoC: tegra: Allow 32-bit and 24-bit samples ASoC: tegra: i2s: Add support for more than 2 channels sound/soc/tegra/tegra30_i2s.c | 72 ++++++++++++++++++++++++++++++++++++------- sound/soc/tegra/tegra30_i2s.h | 2 +- 2 files changed, 62 insertions(+), 12 deletions(-)