Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp170603iog; Fri, 17 Jun 2022 01:01:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uI52QumSZnhdQXc0tVtJubWVQdqSRhHew8BJKEVRz2/ucNTIonKW+49UPxRIIWl0ZsB+r/ X-Received: by 2002:a05:6402:5c8:b0:433:545f:a811 with SMTP id n8-20020a05640205c800b00433545fa811mr10816415edx.101.1655452888399; Fri, 17 Jun 2022 01:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655452888; cv=none; d=google.com; s=arc-20160816; b=znEPyGMLrt1bHn4noDsD/XWrJv+wCyk6z+K5frAooPiSUU6CRsV16cIBdWJtBOoYvK B472K4JTDtkHxjD+AXLb2+slWO6WZcu3p0o0Bjl+ijf2AIk2rWTtcgvuGcrEMRfS2WzM B/iysMG77hRtF5r1NssdGPzDas+0bpMKW8XtJ2SRbbVMWDIjmYAt3E7Kb4ikx8jOr61z OduX3h+fy+nKnyi1S7zfVDIH4jQAPKwPEWS4UGBWWp03q51hUihjLCJdxhtBzdT6C2Y5 pMolCb4elys3MDBScIARUBYBN9GKEvanGCqiCaVcPcyLeGR2a9PxrbYGz/BLPxqGUSnr kYEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=88CR56n+CigVw3FF8a18Fzm7Z+nzPr37Pb5o5ASuJF0=; b=va8tBpKFqHwVoNRrKJapjqegu4/CUSQ2wDDq1s9L5Cfkzvd8vf/Lnqpd/HqGHa2EMS mCvdLRcHFq30swacwxOX4mQn4+dvFELTq5o/M5Ybi5mbYsuORzC1zY2g4y5EoYDLXHjR 7wAFetiLD7Aj+hIameqGZOgDenF8jwLNUw+QGRbYKa2jvhC2kqfUUHJtnXKz+6hWp2Y7 0JjwxO9DUT8GD+Perv6qcGXyZTQjPG4KaSKJEunvZyYEX6CW4SlUFhnu23EiL/RAu4Te gSPHtKUAUvTH1PZ2c9knFkisgaultFfPmeRNxIIyAOsTpyqM1gXctrFDclZNggC8ts6r nd/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y25-20020a170906519900b00711ebe604d6si4147644ejk.1002.2022.06.17.01.00.59; Fri, 17 Jun 2022 01:01:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380727AbiFQH7V (ORCPT + 99 others); Fri, 17 Jun 2022 03:59:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380718AbiFQH7U (ORCPT ); Fri, 17 Jun 2022 03:59:20 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 966685DE51; Fri, 17 Jun 2022 00:59:19 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2A9331A2A06; Fri, 17 Jun 2022 09:59:18 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D44501A1704; Fri, 17 Jun 2022 09:59:17 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id E67E6180222B; Fri, 17 Jun 2022 15:59:15 +0800 (+08) From: Shengjiu Wang To: nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, shengjiu.wang@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, robh+dt@kernel.org, krzk+dt@kernel.org, devicetree@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/7] ASoC: fsl_sai: Add DSD bit format support Date: Fri, 17 Jun 2022 15:44:32 +0800 Message-Id: <1655451877-16382-3-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1655451877-16382-1-git-send-email-shengjiu.wang@nxp.com> References: <1655451877-16382-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support DSD_U8, DSD_U16_LE, DSD_U32_LE. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_sai.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h index bc2a86a413e1..e28a49ce12ef 100644 --- a/sound/soc/fsl/fsl_sai.h +++ b/sound/soc/fsl/fsl_sai.h @@ -11,7 +11,10 @@ #define FSL_SAI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\ SNDRV_PCM_FMTBIT_S20_3LE |\ SNDRV_PCM_FMTBIT_S24_LE |\ - SNDRV_PCM_FMTBIT_S32_LE) + SNDRV_PCM_FMTBIT_S32_LE |\ + SNDRV_PCM_FMTBIT_DSD_U8 |\ + SNDRV_PCM_FMTBIT_DSD_U16_LE |\ + SNDRV_PCM_FMTBIT_DSD_U32_LE) /* SAI Register Map Register */ #define FSL_SAI_VERID 0x00 /* SAI Version ID Register */ -- 2.17.1