Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp269832imm; Thu, 10 May 2018 20:19:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZosciXdNUTqfX8cEZPrix5/BNVcJxS/Z++c6Up257KU4nyoQcnyNhS1LE4yPxUwFaRUpBM0 X-Received: by 2002:a17:902:6e08:: with SMTP id u8-v6mr3748161plk.96.1526008744857; Thu, 10 May 2018 20:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526008744; cv=none; d=google.com; s=arc-20160816; b=YBMm6s9tblhZC6E/CjZygPiSxtmPNT5QB4VAJueV+za6lPvR6Kz0FfgLTfK3UlfrA6 wKoph2jXewCR04qOfOr84eTeKkEG1oxB3onbCWYvaEBjtMROHRoIsW7MHivZE7VDSLhD fLeY3sXdzsKQs8JnXY1QQR5P2TUzv8atdBSKMtVBv2g6KNbi3YxJu3QL1SDIj3K8y3vm KCfKmY0wh8aKu9zAOQGNwl02y3HwJS8CMm0mWcRNq3J5iYqatZ59LcWhRERKh/U3k5/9 HGDlouh+NqksAvzSnVBHaBk7uPPLh6P7uhgSxWQwnzusUS4kIEHhWKQ1H1R1x/BBMYl6 nATw== 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:arc-authentication-results; bh=loDaMIpzu9lw+7qJD2Bpjm2KiUck1BcTqwjH2U4LPGM=; b=dN+F2aJ1csAR/PUA3AOWAedFR9TIdhs2uoh//rNHPPQl5UmKfz7v6YI5ykZH7lK+gU 3kgoiB5LImnwfmI8NFQa5WwmK4p9rD1+VrA3WpErndhVV1ae51UYXt0NwxJij2HjPSdT xfG35LYrxjne3cBJ3InbUiy1j3+iG1MyF9IH4Xrrk/zNzeh/yajuEXIm6+nhDKuthz4s 9554tlLNq6sVss055ZQ/yN4YiSgltlmp3ONnzoHCByzjhoH08wba9od4rVg4CW8bCUfw MVZa4AO7DeJkuisfcnEPoJXk1SbYXSn8t2XO/yzYs10X7FMWBqA90BHUPhd+rGfZWqoA QhxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=og92juDF; 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 o2-v6si2062157plk.527.2018.05.10.20.18.50; Thu, 10 May 2018 20:19:04 -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=og92juDF; 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 S1752160AbeEKDSM (ORCPT + 99 others); Thu, 10 May 2018 23:18:12 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:43034 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbeEKDSK (ORCPT ); Thu, 10 May 2018 23:18:10 -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=loDaMIpzu9lw+7qJD2Bpjm2KiUck1BcTqwjH2U4LPGM=; b=og92juDF9LQL rz1l+/oBkXkClhl2WRmF+lAeImAYdVo5mtA+qmyuUUni2zHP/zX/Wzl6TIfu7VX6mcMTXvHRwGUAZ SHlA7wHN4KShTn4YWvEizxQPduMJl8eNW/xVMxoo1gIcGbn0f7iawWfymN/jr1veqsKTuj5gcQPA0 lbgdU=; Received: from kd111239172049.au-net.ne.jp ([111.239.172.49] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGyZE-0002bM-BM; Fri, 11 May 2018 03:18:01 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id C668644007A; Fri, 11 May 2018 04:17:53 +0100 (BST) From: Mark Brown To: Srinivas Kandagatla Cc: Mark Brown , andy.gross@linaro.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org, bgoswami@codeaurora.org, mark.rutland@arm.com, devicetree@vger.kernel.org, rohkumar@qti.qualcomm.com, gregkh@linuxfoundation.org, plai@codeaurora.org, tiwai@suse.com, lgirdwood@gmail.com, david.brown@linaro.org, linux-arm-kernel@lists.infradead.org, spatakok@qti.qualcomm.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: qdsp6: dt-bindings: Add q6afe dt bindings" to the asoc tree In-Reply-To: <20180501120820.11016-5-srinivas.kandagatla@linaro.org> Message-Id: <20180511031753.C668644007A@finisterre.ee.mobilebroadband> Date: Fri, 11 May 2018 04:17:53 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: qdsp6: dt-bindings: Add q6afe dt bindings 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 6ad2ef6530bcb9ab838975c1587c527bed422fbe Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Wed, 9 May 2018 13:56:15 +0100 Subject: [PATCH] ASoC: qdsp6: dt-bindings: Add q6afe dt bindings This patch add DT bindings for AFE (Audio Frontend) DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar Reviewed-by: Rob Herring Reviewed-by: Banajit Goswami Signed-off-by: Mark Brown --- .../devicetree/bindings/sound/qcom,q6afe.txt | 104 ++++++++++++++++++ include/dt-bindings/sound/qcom,q6afe.h | 31 ++++++ 2 files changed, 135 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6afe.txt create mode 100644 include/dt-bindings/sound/qcom,q6afe.h diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt new file mode 100644 index 000000000000..14335a08b963 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt @@ -0,0 +1,104 @@ +Qualcomm Audio Front End (Q6AFE) binding + +AFE is one of the APR audio service on Q6DSP +Please refer to qcom,apr.txt for details of the common apr service bindings +used by all apr services. Must contain the following properties. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,q6afe-v." + Or "qcom,q6afe" where the version number can be queried + from DSP. + example "qcom,q6afe" + += AFE DAIs (Digial Audio Interface) +"dais" subnode of the AFE node. It represents afe dais, each afe dai is a +subnode of "dais" representing board specific dai setup. +"dais" node should have following properties followed by dai children. + +- #sound-dai-cells + Usage: required + Value type: + Definition: Must be 1 + +- #address-cells + Usage: required + Value type: + Definition: Must be 1 + +- #size-cells + Usage: required + Value type: + Definition: Must be 0 + +== AFE DAI is subnode of "dais" and represent a dai, it includes board specific +configuration of each dai. Must contain the following properties. + +- reg + Usage: required + Value type: + Definition: Must be dai id + +- qcom,sd-lines + Usage: required for mi2s interface + Value type: + Definition: Must be list of serial data lines used by this dai. + should be one or more of the 1-4 sd lines. + += EXAMPLE + +q6afe@4 { + compatible = "qcom,q6afe"; + reg = ; + + dais { + #sound-dai-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + + hdmi@1 { + reg = <1>; + }; + + prim-mi2s-rx@16 { + reg = <16>; + qcom,sd-lines = <1 3>; + }; + + prim-mi2s-tx@17 { + reg = <17>; + qcom,sd-lines = <2>; + }; + + sec-mi2s-rx@18 { + reg = <18>; + qcom,sd-lines = <1 4>; + }; + + sec-mi2s-tx@19 { + reg = <19>; + qcom,sd-lines = <2>; + }; + + tert-mi2s-rx@20 { + reg = <20>; + qcom,sd-lines = <2 4>; + }; + + tert-mi2s-tx@21 { + reg = <21>; + qcom,sd-lines = <1>; + }; + + quat-mi2s-rx@22 { + reg = <22>; + qcom,sd-lines = <1>; + }; + + quat-mi2s-tx@23 { + reg = <23>; + qcom,sd-lines = <2>; + }; + }; +}; diff --git a/include/dt-bindings/sound/qcom,q6afe.h b/include/dt-bindings/sound/qcom,q6afe.h new file mode 100644 index 000000000000..e162045f5dc9 --- /dev/null +++ b/include/dt-bindings/sound/qcom,q6afe.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_BINDINGS_Q6_AFE_H__ +#define __DT_BINDINGS_Q6_AFE_H__ + +/* Audio Front End (AFE) virtual ports IDs */ +#define HDMI_RX 1 +#define SLIMBUS_0_RX 2 +#define SLIMBUS_0_TX 3 +#define SLIMBUS_1_RX 4 +#define SLIMBUS_1_TX 5 +#define SLIMBUS_2_RX 6 +#define SLIMBUS_2_TX 7 +#define SLIMBUS_3_RX 8 +#define SLIMBUS_3_TX 9 +#define SLIMBUS_4_RX 10 +#define SLIMBUS_4_TX 11 +#define SLIMBUS_5_RX 12 +#define SLIMBUS_5_TX 13 +#define SLIMBUS_6_RX 14 +#define SLIMBUS_6_TX 15 +#define PRIMARY_MI2S_RX 16 +#define PRIMARY_MI2S_TX 17 +#define SECONDARY_MI2S_RX 18 +#define SECONDARY_MI2S_TX 19 +#define TERTIARY_MI2S_RX 20 +#define TERTIARY_MI2S_TX 21 +#define QUATERNARY_MI2S_RX 22 +#define QUATERNARY_MI2S_TX 23 + +#endif /* __DT_BINDINGS_Q6_AFE_H__ */ + -- 2.17.0