From patchwork Sat Sep 26 02:02:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lopez Cruz, Misael" X-Patchwork-Id: 50203 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8Q22erg028977 for ; Sat, 26 Sep 2009 02:02:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752927AbZIZCCx (ORCPT ); Fri, 25 Sep 2009 22:02:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752883AbZIZCCx (ORCPT ); Fri, 25 Sep 2009 22:02:53 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:33563 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbZIZCCx convert rfc822-to-8bit (ORCPT ); Fri, 25 Sep 2009 22:02:53 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id n8Q22rG2025863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Sep 2009 21:02:53 -0500 Received: from dlep26.itg.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n8Q22p2b016497; Fri, 25 Sep 2009 21:02:52 -0500 (CDT) Received: from dlee73.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id n8Q22pBf029533; Fri, 25 Sep 2009 21:02:51 -0500 (CDT) Received: from dlee04.ent.ti.com ([157.170.170.9]) by dlee73.ent.ti.com ([157.170.170.88]) with mapi; Fri, 25 Sep 2009 21:02:51 -0500 From: "Lopez Cruz, Misael" To: "alsa-devel@alsa-project.org" , "linux-omap@vger.kernel.org" CC: Mark Brown Date: Fri, 25 Sep 2009 21:02:49 -0500 Subject: [PATCHv2 2/7] ASoC: Add PDM DAI format definition Thread-Topic: [PATCHv2 2/7] ASoC: Add PDM DAI format definition Thread-Index: Aco+TXMA4HFUkAYESSWGF5ZSd2lJGw== Message-ID: <67059DBF19D7214F9C66BB0EA91BA90E90A391E0@dlee04.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add DAI format definition for PDM interfaces. Signed-off-by: Misael Lopez Cruz --- include/sound/soc-dai.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 352d7ee..9239cb0 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -30,6 +30,7 @@ struct snd_pcm_substream; #define SND_SOC_DAIFMT_DSP_A 3 /* L data msb after FRM LRC */ #define SND_SOC_DAIFMT_DSP_B 4 /* L data msb during FRM LRC */ #define SND_SOC_DAIFMT_AC97 5 /* AC97 */ +#define SND_SOC_DAIFMT_PDM 6 /* Pulse density modulation */ /* left and right justified also known as MSB and LSB respectively */ #define SND_SOC_DAIFMT_MSB SND_SOC_DAIFMT_LEFT_J