Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1087970iog; Mon, 13 Jun 2022 21:26:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sm+xBJ41BOPiAKxMVZwNfOfSuPYe9ihY8rvtZl9Xme/R75pUYfPYe9F4FJyGOIzK6mo7d4 X-Received: by 2002:a17:90b:3c0b:b0:1ea:769d:4ab2 with SMTP id pb11-20020a17090b3c0b00b001ea769d4ab2mr2458547pjb.196.1655180812468; Mon, 13 Jun 2022 21:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655180812; cv=none; d=google.com; s=arc-20160816; b=wDM1IWIQiw9V7XU+V8veJ6/LjEndKNEO2DXcILNTpdAVbOxa6HYq04CwfuCflJsmBu CZ7eG/GQl1442zt1eQGqIg57FhrRJl2NBKCd7suMAuXX/Gt1KSOBtDdirz6rwGmb40vK Uf3BKqwDhtQor9Ve/MB9PMUu35E3i7XW6T4Jbrj7ZRRdc8cMw828NelVFqvZ3UebGfqC x/OY6AEQ21eL1cZF/l84Dykq0p2bOOtcIokh8HgpI5xzIwlSnF1rp6R/U5tVO1ITAUnQ CuxDAeSQfeLUMwg6+LFMFePNdj2nhRf+PDUMZcfkJjlZv7wOT2YpQhDj7mU/4LCAHiR2 6nLg== 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=wmrU3idbf5zWiYo8HMa4I3/2GsGAkrMx0UfQxIWDQG2B7jgCMvKcbZZ2I8CvHYcgBs zaVfTESRcsstnsq5M37Man5+wxAdjGiSSUxRGNerEnmpEm0w1Rsujwf8UGG78+FP/jHe gUAH6EnLWIeFW4XYzG7VQiKSdCysj2kNOOkLjDYEVs4deTPoAGeXSPwvtutIW7PEypqT nkqQJALYM9B2f0Wvu/3jkzELk+XVK0rs7SJV6YJngjcHUrzVND0A0qnZnNGDv1OfVcUE wePyY+PPkC0Ysmrz/WNKeABo2+PPzq7LReGexswNEIwq4ZI3rAuXmXpr4XRQiXODAkr3 /TkQ== 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 r16-20020a63a550000000b003fae36f0321si12672032pgu.604.2022.06.13.21.26.40; Mon, 13 Jun 2022 21:26:52 -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 S1350600AbiFNEZk (ORCPT + 99 others); Tue, 14 Jun 2022 00:25:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344415AbiFNEZf (ORCPT ); Tue, 14 Jun 2022 00:25:35 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AD862AE2E; Mon, 13 Jun 2022 21:25:32 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id EE18B1A2664; Tue, 14 Jun 2022 06:25:30 +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 A49061A2676; Tue, 14 Jun 2022 06:25:30 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 3BD3D180222A; Tue, 14 Jun 2022 12:25:29 +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 2/7] ASoC: fsl_sai: Add DSD bit format support Date: Tue, 14 Jun 2022 12:11:19 +0800 Message-Id: <1655179884-12278-3-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1655179884-12278-1-git-send-email-shengjiu.wang@nxp.com> References: <1655179884-12278-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