Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1094711iog; Mon, 13 Jun 2022 21:40:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYEWYsJg2XydHiaCYaMPERIYJJSI0Gb1ppPbJ9QdnWy7ZWOTOq6+q3DW1oFWe3mAWq9I/a X-Received: by 2002:a05:6402:2750:b0:42e:3d52:d270 with SMTP id z16-20020a056402275000b0042e3d52d270mr3580147edd.332.1655181610499; Mon, 13 Jun 2022 21:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655181610; cv=none; d=google.com; s=arc-20160816; b=Y5qjUAWEc2IOHxfkWtY1HRhtJ3jsm+9ZfektjAOzFm4kHviej9flnmRICARbqZuagV ISASWmWib6aCehz0p1wSIt0+Fa6Cye78+GlTzGxNkLHKA6UfGEwC0nFcbGM4wLGQiSr2 le30k9eVA/HCis07jpoFWKaNX28BEXRBv09L4a3KYVEQ7l9QeXUm7423tQTxip7xfemn Qv99/ipmFIhgLd31YgLwAB7Lw6dXbiNhrXJ5fak8oYD0Em2cZ+GWuiX8i74liZE+JAef qgBPf1OtswLAmRn410v1oeMQijBB4t2X3NTjMwoNVcxJJG0uI2qjF9fzn9x8CsVxPzFa Nf3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=q6HwFv9FWOg5JPkJiEUhmE0/zr9iiQukpyDMj0o+QbY=; b=S8JRA7joX03VL6bzSYXziZICU/7gAchyQC7mPPKE59OKSYHKbVzEj9JRuKKUrC072Y O/eCmwOdi97z0yEBakE/7lc0E389eUBOI8xNgcgImeXeZhRD15gvu9An7CzMQknxQDH4 G0MKNKuBdQc2WNfjCuDo26GNwitUrBsuSwEG1xKa3Tnsf6m0Ra+iFdtRizUC7jtbdIKy dNWSoMb3RmdV4qhWVOfKqxp6Va2xWOXze5jaC7abWlyHxNIj0kDbYn5aYVfZZxcT1omD fYCSSjHLw+0TKByoAZHaULFupj+Ybj+8P3os4AzGL2yVPV+BNM/JWdabVmNQ5wVnbEwR NF/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 sh16-20020a1709076e9000b00702d8bd9e13si9242281ejc.707.2022.06.13.21.39.45; Mon, 13 Jun 2022 21:40:10 -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 S1351051AbiFNEZo (ORCPT + 99 others); Tue, 14 Jun 2022 00:25:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349618AbiFNEZf (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 6F0962AC51; Mon, 13 Jun 2022 21:25:30 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 107AD1A126F; Tue, 14 Jun 2022 06:25:29 +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 BB2011A2664; Tue, 14 Jun 2022 06:25:28 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id CAEAA180222A; Tue, 14 Jun 2022 12:25:26 +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 0/7] Add PDM/DSD/dataline configuration support Date: Tue, 14 Jun 2022 12:11:17 +0800 Message-Id: <1655179884-12278-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 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 PDM format and DSD format. Add new dts property to configure dataline. The SAI has multiple successive FIFO registers, but in some use case the required dataline/FIFOs are not successive. Shengjiu Wang (7): ASoC: fsl_sai: Add PDM daifmt support ASoC: fsl_sai: Add DSD bit format support ASoC: fsl_sai: Add support for more sample rates ASoc: fsl_sai: Add pinctrl operation for PDM and DSD ASoC: fsl_sai: Move res variable to be global ASoC: dt-bindings: fsl-sai: Add new property to configure dataline ASoC: fsl_sai: Configure dataline/FIFO information from dts property .../devicetree/bindings/sound/fsl-sai.txt | 8 + sound/soc/fsl/fsl_sai.c | 260 ++++++++++++++++-- sound/soc/fsl/fsl_sai.h | 26 +- 3 files changed, 272 insertions(+), 22 deletions(-) -- 2.17.1