Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4347095img; Tue, 26 Mar 2019 07:45:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2ZNTn6BBdWvU52Lr77zlXPLvYj6hH7Q3uW+4Xi/ptlfMl5MVPKOZWK2oLKJM9rqpjvGJG X-Received: by 2002:a63:f212:: with SMTP id v18mr8857500pgh.231.1553611535184; Tue, 26 Mar 2019 07:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553611535; cv=none; d=google.com; s=arc-20160816; b=daThZhvt1g3ynCIEijN8KSrTpRLzs1G5xlf5O4GEIDwzIoUspmyr7Hr89CjBqxMXsZ sRy9+haOQjygkMW3hAaJtH5hHx7iD+5nsVn4qCkdvZTUSxOeuSjWcTZJczlyJIbZEIMb 1jKhlOUUVwuLXNm3+FN1wts1tfm1deiqbFZ0RAQaOBvhFZsXAE2Nneq/f2CK1+8YBO++ WTJc7BnGSDwBOqSHI+boGZVtEoCGJ/uTA4Sqf/AezWvTkCkllL90Lj4KNix80ldgDiAF no2DhWF87vdCt+loWeJSSkyDKX8bifouz9SzPiu4xUYwQdexzta+99mFBTlzaxouI9hx XiMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=DOHhCEz+iDroYMF001WfcHeeQfKShlpC7zIxtP6sZSU=; b=NMtAwB16ZAzfYODqxAI6q9GBCTbkige4PUR1Wjt1K6Gf8PgqqHlnj747sZvRqSED3D sYYR8BxhQyraAbJCXuikIm7EmFvVzlniD3TMItMLWItdQubND1UoxhGHLem+h1LqHAmA pMX6MCagsTHWv6WuO9mkPMjyG//pYPqkqRJG1myW2VR/oovO8Njixn+/csPXlSQCX/RQ FX3JQnu48n6sBC7D5orQU6CyJLRttL00rZfNUBL+KYcO16s0Y3EZs8688foCFlroALjc jLKd9sX1IGhuyfXVO+k3kv5FzuQTZbiKHUkB2ftz3BZ95nH9jsVmxzTA6xOxlQWbHY+m vcUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=gIrUObsd; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d14si10480661pln.404.2019.03.26.07.45.19; Tue, 26 Mar 2019 07:45:35 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=gIrUObsd; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731808AbfCZOnB (ORCPT + 99 others); Tue, 26 Mar 2019 10:43:01 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:35698 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728314AbfCZOnA (ORCPT ); Tue, 26 Mar 2019 10:43:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=DOHhCEz+iDroYMF001WfcHeeQfKShlpC7zIxtP6sZSU=; b=gIrUObsd2sji /GsPT26O6UzWEjyqSOTME0SKs6YWqQmQF8GfZKtuESZYIX3+JXr59CXHhFSDgDKXILJEH6YtjxrCQ P69fJCqSJfdz3oanYUuxPv/ayl4DUbambvN0wbVyU6rEkh1g4Ue3Cn7/84Wk6jYY78txXDlMQiY/4 uLBg4=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1h8nHo-0007iI-Kr; Tue, 26 Mar 2019 14:42:44 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 33CE11121B57; Tue, 26 Mar 2019 14:42:44 +0000 (GMT) From: Mark Brown To: Viorel Suman Cc: Mark Brown , Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Jaroslav Kysela , Takashi Iwai , Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , "S.j. Wang" , Daniel Baluta , Cosmin Samoila , "devicetree@vger.kernel.org" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , Viorel Suman , dl-linux-imx , "linuxppc-dev@lists.ozlabs.org" , alsa-devel@alsa-project.org Subject: Applied "ASoC: add fsl_audmix DT binding documentation" to the asoc tree In-Reply-To: <1548155654-12985-3-git-send-email-viorel.suman@nxp.com> X-Patchwork-Hint: ignore Message-Id: <20190326144244.33CE11121B57@debutante.sirena.org.uk> Date: Tue, 26 Mar 2019 14:42:44 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: add fsl_audmix DT binding documentation has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From d0d9071b724123ebde89bdf6b52b86c3289abe85 Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Tue, 22 Jan 2019 11:14:27 +0000 Subject: [PATCH] ASoC: add fsl_audmix DT binding documentation Add the DT binding documentation for NXP Audio Mixer CPU DAI driver. Signed-off-by: Viorel Suman Signed-off-by: Mark Brown --- .../devicetree/bindings/sound/fsl,audmix.txt | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/fsl,audmix.txt diff --git a/Documentation/devicetree/bindings/sound/fsl,audmix.txt b/Documentation/devicetree/bindings/sound/fsl,audmix.txt new file mode 100644 index 000000000000..45f807ec21a5 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,audmix.txt @@ -0,0 +1,54 @@ +NXP Audio Mixer (AUDMIX). + +The Audio Mixer is a on-chip functional module that allows mixing of two +audio streams into a single audio stream. Audio Mixer has two input serial +audio interfaces. These are driven by two Synchronous Audio interface +modules (SAI). Each input serial interface carries 8 audio channels in its +frame in TDM manner. Mixer mixes audio samples of corresponding channels +from two interfaces into a single sample. Before mixing, audio samples of +two inputs can be attenuated based on configuration. The output of the +Audio Mixer is also a serial audio interface. Like input interfaces it has +the same TDM frame format. This output is used to drive the serial DAC TDM +interface of audio codec and also sent to the external pins along with the +receive path of normal audio SAI module for readback by the CPU. + +The output of Audio Mixer can be selected from any of the three streams + - serial audio input 1 + - serial audio input 2 + - mixed audio + +Mixing operation is independent of audio sample rate but the two audio +input streams must have same audio sample rate with same number of channels +in TDM frame to be eligible for mixing. + +Device driver required properties: +================================= + - compatible : Compatible list, contains "fsl,imx8qm-audmix" + + - reg : Offset and length of the register set for the device. + + - clocks : Must contain an entry for each entry in clock-names. + + - clock-names : Must include the "ipg" for register access. + + - power-domains : Must contain the phandle to AUDMIX power domain node + + - dais : Must contain a list of phandles to AUDMIX connected + DAIs. The current implementation requires two phandles + to SAI interfaces to be provided, the first SAI in the + list being used to route the AUDMIX output. + + - model : Must contain machine driver name which will configure + and instantiate the appropriate audio card. + +Device driver configuration example: +====================================== + audmix: audmix@59840000 { + compatible = "fsl,imx8qm-audmix"; + reg = <0x0 0x59840000 0x0 0x10000>; + clocks = <&clk IMX8QXP_AUD_AUDMIX_IPG>; + clock-names = "ipg"; + power-domains = <&pd_audmix>; + dais = <&sai4>, <&sai5>; + model = "imx-audmix"; + }; -- 2.20.1