Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp387606ybb; Wed, 1 Apr 2020 01:54:53 -0700 (PDT) X-Google-Smtp-Source: APiQypK8P4Lqg07e4XGR1ug98OaOea/Xhk/plh52/OKH6NQOZDmp9LNw5HHqoaq/JO2l5V3DWDkZ X-Received: by 2002:aca:aa81:: with SMTP id t123mr2044887oie.117.1585731293257; Wed, 01 Apr 2020 01:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585731293; cv=none; d=google.com; s=arc-20160816; b=ay2k0LWEBKfS31c9i8Jg+RY0Clbe4JaAdsaD25mKbvFRR2hp8mZQjfFAVgQP5rttyX 7tSdmTMzQd5If9ikTuoCby1fCp/jFW97+EdToBqgHl9XBgszk1/SgVF+TIf3GtAY/gT4 UY4byWJEctun/IUm9beyVRz8eAu+0Y3phJQ67F8BTu4IW79OB/gvJhf+Fqb4QoTbm9XL RQme5srykk/5at4+YP28AkP/zhvr4VMRZ8Rx815Hqk9fL4PF9+RI6sYHNsFr7nib4ocD URKXc4moKlrOc0JyirB/dkC3deOHbdRzM1A3gRWSnZUoJemVwenAcv077sq+/QhPjSPD CV4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=wTF3TIY5VuL1DTGXWVEDfzD1sCHF7IgueCRqk7QgT5c=; b=oH7F+4rDBXSGkWw8UxxKxJACBi9g4TDrM7Ry/q54omLu2qmfJ+ADfduIlG1zHSUyBU 7FJrI4rypNWXhd9iYkzQ2u4NyzEBIpmXhZGeRMSajOe9RS/pTqogYAQ+Thx7s+Z0heiw HMkERb6Ky8h1Q3BZl+fKYoLXP+IziUjqgOQwgnIFyrGs3EisuZr6QcCsZDz0bW6pNLFo KGviD/vAlxe7lMDju1yC0K+PwElDdxGIziAdaRaKS1fb+Mb72XxcKSxIntL0o2OMDQD4 HEdI5oOB/RkIVp4RSGZd2XKq4lSeSmxPqyQ764WQxI2ft0rMQ46Qbhy9Aofbo7B+hTk9 M+1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si538035oti.159.2020.04.01.01.54.40; Wed, 01 Apr 2020 01:54:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732091AbgDAIxX (ORCPT + 99 others); Wed, 1 Apr 2020 04:53:23 -0400 Received: from inva020.nxp.com ([92.121.34.13]:38090 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732064AbgDAIxV (ORCPT ); Wed, 1 Apr 2020 04:53:21 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F24791A0D3B; Wed, 1 Apr 2020 10:53:19 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D41881A0D75; Wed, 1 Apr 2020 10:53:12 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 070F640297; Wed, 1 Apr 2020 16:53:03 +0800 (SGT) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/7] ASoC: dt-bindings: fsl_asrc: Add new property fsl,asrc-format Date: Wed, 1 Apr 2020 16:45:35 +0800 Message-Id: <47fcf06689d1a086141ce4d80f7ea7af7958dc89.1585726761.git.shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to support new EASRC and simplify the code structure, We decide to share the common structure between them. This bring a problem that EASRC accept format directly from devicetree, but ASRC accept width from devicetree. In order to align with new ESARC, we add new property fsl,asrc-format. The fsl,asrc-format can replace the fsl,asrc-width, then driver can accept format from devicetree, don't need to convert it to format through width. Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/fsl,asrc.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,asrc.txt b/Documentation/devicetree/bindings/sound/fsl,asrc.txt index cb9a25165503..998b4c8a7f78 100644 --- a/Documentation/devicetree/bindings/sound/fsl,asrc.txt +++ b/Documentation/devicetree/bindings/sound/fsl,asrc.txt @@ -51,6 +51,10 @@ Optional properties: will be in use as default. Otherwise, the big endian mode will be in use for all the device registers. + - fsl,asrc-format : Defines a mutual sample format used by DPCM Back + Ends, which can replace the fsl,asrc-width. + The value is 2 (S16_LE), or 6 (S24_LE). + Example: asrc: asrc@2034000 { -- 2.21.0