From patchwork Sat Mar 10 02:24:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 131263 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1690553lja; Fri, 9 Mar 2018 18:28:19 -0800 (PST) X-Google-Smtp-Source: AG47ELvaZtW/Lrt4Rej/a8/x5XNP+YoOfQeRfrrEWolT9CpJF0IVIg1RQnjnR9t3UIbqmN36e3/E X-Received: by 2002:a17:902:594c:: with SMTP id e12-v6mr577864plj.323.1520648899180; Fri, 09 Mar 2018 18:28:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520648899; cv=none; d=google.com; s=arc-20160816; b=sLBSEeyVZxNpN7cDv7huotOyp5sfOspfMgxm0LKvg8s1K//g9IkPy0qn9U12vZ+ftY jox6RCi8MU31luSJ1efCVlGq2FepZ31lEXXeOjCtn6HvI2OVTrPrkV4vSK+br5yQ5VUv 2rZjlAJZpfphMQnDCkKQ9kWuw8DWIv/IXGMuL7xPFNqWAKIm0vZyKBYdcgylnHtBeCdX kiNhlTDjydyqOMeb3JFMRCu1jCiU1b63DMCUwvsT5BNLq9BrZgLqck3RwKmMQft8kgFn s1smzX/YYRkOFKN7PlUnyBM+F3JxI38IsV7T/Dpjee4ZS1PqubIzFQUgECX8HJptOMbH E4OA== 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:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=i4Y916wk5L2VlZbsmuAzdRY5cI59LTGgrN2x6Srlrr8=; b=DUNpUfL9S+rhSUCeoHbQuN89Ol2n+uNaKZmFRL6dxcwxfMXm/SUz0l7YQOaLY/nYqb CJFoynRZGvTG/xtWggAm9vTyhlRzM469lBUO43ErHazePbxQ49EjKSuladBw1JBAl6Te wq5n1LDZJrvwR7/wECYHnBut+WQjCGCuSkKbjng3XBi+pUevPrP0Uf03DsSRBp+V3XpJ Wowq4PJiuNK4ouz+V0Hj3EOt6eTokyBNfawNk59ai26UiANwFQU1dOoS5IaxbpMhMsBs eNcQpRaXtyh3W1mRljEugqYEhct0aE/zBp2e/+NBpIAx5J4qfQAKj8QDy3ojBTuMYh6p 7QXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P6cws3LA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1-v6si1967961pls.21.2018.03.09.18.28.18; Fri, 09 Mar 2018 18:28:19 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=P6cws3LA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933048AbeCJC2P (ORCPT + 28 others); Fri, 9 Mar 2018 21:28:15 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33517 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932999AbeCJC2J (ORCPT ); Fri, 9 Mar 2018 21:28:09 -0500 Received: by mail-wm0-f68.google.com with SMTP id s206so5685373wme.0 for ; Fri, 09 Mar 2018 18:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=i4Y916wk5L2VlZbsmuAzdRY5cI59LTGgrN2x6Srlrr8=; b=P6cws3LAGxr7DxByp2T5/vfhROMjegn8hGug+oMoUcXXsCONxXB+6Yz2mKjQJ57n9l KVI1o0Yf7vE6259ItDjuMh3hFIibg2nZx0yalwtp4FRkDZF7Rt0q3mk2thcwOJRy897z zbsj+oIiepEe3WZllztmIqpTAGeBixw1LX45E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=i4Y916wk5L2VlZbsmuAzdRY5cI59LTGgrN2x6Srlrr8=; b=kyKIUvasGrCpCA/GwXa/2Gtn/XU8hku2tT6Rm1JQUyhvOr+ZNspEBu+E2/CvLgZPIY k6FcLlGcNg0b9LA9F6W/cka3hvvp78Ira3aPP2WZUEvj46IULLk7CbrSl+TupvJDQAiQ KhT6NugV3QBcMBcQXU45PA1eiOnj7T7s75tbWDdPLxbnE7om67BSoRkmgiSbpE4X/h3H rCQ33tuIR0hleNiMvUCL+MKAPhM9SVSdcmjAqOUODOML4nzS7uTVoiY2VoasY0AA+hxz EIvQ5PuHuL8aoIswYMg67lt36Rd0Uow0jQCui5DQzeKKIjHH6PVGn6q5v52eGR2zI6WN 0xRg== X-Gm-Message-State: AElRT7FZu0UY+mwz4f/1kvZlqiAX/ZWoZfXFFtjxgkzBIO7e3tdO5kmX uh9MnMX/lBi9y+hTEAovv8yw9w== X-Received: by 10.28.92.208 with SMTP id q199mr54569wmb.91.1520648888806; Fri, 09 Mar 2018 18:28:08 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id g78sm21489wmc.31.2018.03.09.18.28.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 18:28:08 -0800 (PST) From: srinivas.kandagatla@linaro.org To: andy.gross@linaro.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org Cc: gregkh@linuxfoundation.org, david.brown@linaro.org, mark.rutland@arm.com, lgirdwood@gmail.com, plai@codeaurora.org, bgoswami@codeaurora.org, tiwai@suse.com, perex@perex.cz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rohkumar@qti.qualcomm.com, spatakok@qti.qualcomm.com, srinivas.kandagatla@linaro.org Subject: [PATCH v4 21/24] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings Date: Sat, 10 Mar 2018 02:24:53 +0000 Message-Id: <20180310022456.26739-22-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180310022456.26739-1-srinivas.kandagatla@linaro.org> References: <20180310022456.26739-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,apq8096.txt -- 2.15.1 diff --git a/Documentation/devicetree/bindings/sound/qcom,apq8096.txt b/Documentation/devicetree/bindings/sound/qcom,apq8096.txt new file mode 100644 index 000000000000..fddc9f0ce3a5 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,apq8096.txt @@ -0,0 +1,80 @@ +* Qualcomm Technologies APQ8096 ASoC sound card driver + +This binding describes the APQ8096 sound card, which uses qdsp for audio. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,apq8096-sndcard" + +- qcom,audio-routing: + Usage: Optional + Value type: + Definition: A list of the connections between audio components. + Each entry is a pair of strings, the first being the + connection's sink, the second being the connection's + source. Valid names could be power supplies, MicBias + of codec and the jacks on the board: + += dailinks +Each subnode of sndcard represents either a dailink, and subnodes of each +dailinks would be cpu/codec/platform dais. + +- link-name: + Usage: required + Value type: + Definition: User friendly name for dai link + += CPU, PLATFORM, CODEC dais subnodes +- cpu: + Usage: required + Value type: + Definition: cpu dai sub-node + +- codec: + Usage: required + Value type: + Definition: codec dai sub-node + +- platform: + Usage: opional + Value type: + Definition: platform dai sub-node + +- sound-dai: + Usage: required + Value type: + Definition: dai phandle/s and port of CPU/CODEC/PLATFORM node. + +Example: + +audio { + compatible = "qcom,apq8096-sndcard"; + qcom,model = "DB820c"; + com,audio-routing = "RX_BIAS", "MCLK"; + + mm1-dai-link { + link-name = "MultiMedia1"; + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + platform { + sound-dai = <&q6asmdai>; + }; + }; + + hdmi-dai-link { + link-name = "HDMI Playback"; + cpu { + sound-dai = <&q6afe HDMI_RX>; + }; + + platform { + sound-dai = <&q6adm>; + }; + + codec { + sound-dai = <&hdmi 0>; + }; + }; +};